I had a nice little challenge getting a Set Equals test with pgTAP working recently. My function returns a table that contains data from across multiple tenants and I needed to be able to validate the result-set, but I ran into a problem with pgTAP set_seq VALUES being able to test it because the table is a “pseudo-type”. Here is how I got it working…
-
Search It!
-
Recent Entries
- Indexing good practices
- a challenge with returning a table and testing with pgTAP
- Impact of WHERE clause function(column) use
- Using a concatenated index to eliminate table access
- Moving SQL Plan baselines
- Selecting a range of dates when your “group by” query is missing dates.
- My Oracle Data Guard HowTo
- Bad interface, bad interface (vSphere UI)
- How to reference a shell variable named by another shell variable
- Selecting rows when the data does not exist
-
Links