Skip to content

Doesn't work with psql meta-commands & plpgsql syntax? #28

@bhaskar2khaneja

Description

@bhaskar2khaneja

Hi! Noticed the following two issues when using pgsanity:

  1. pgsanity seems to throw an error on the first line in this SQL code:
\set start 1234
delete from x where y >= :start;
  1. 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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions