pgtap
pgtap copied to clipboard
[Feature] throws_matching DETAIL: portion?
Do you have access to the DETAIL: portion of the error message? F'rinstance, I'm porting over contrib/cube's tests to pgtap, and I'd like to check for "Different point dimensions in (1,2) and (1,2,3)", not just "bad cube representation".
Not AFAIK, because PL/pgSQL (the language in which pgTAP is written) offers only SQLSTATE, which is the error code, and and SQLERRM, which is the error message. I forgot about this; I'd actually meant to request some way to get at the details some time ago.
Looks like the functionality has been added for 9.2.
Re-opening so I can keep it on my radar for future improvements.