Open bhaskar2khaneja opened 5 years ago
Hi! Noticed the following two issues when using pgsanity:
pgsanity
pgsanity seems to throw an error on the first line in this SQL code:
\set start 1234 delete from x where y >= :start;
Also doesn't seem to catch syntax errors in plpgsql code block:
DO $zzz$ dsafdsf BEGIN update test set id=4 where city='def'; END $zzz$ LANGUAGE plpgsql;
Can confirm doesn't work inside code blocks. This is most unfortunate, as we are moving more and more to functions.
Hi! Noticed the following two issues when using
pgsanity
:pgsanity seems to throw an error on the first line in this SQL code:
Also doesn't seem to catch syntax errors in plpgsql code block: