We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
If I parse and then de-parse the following statement:
CREATE INDEX "foo.index" ON foo USING btree (bar)
then I end up with a result where the index name is unquoted, which is a syntax error:
CREATE INDEX foo.index ON foo USING btree (bar)
PostgresQL (tested on 10.23 and 15.1) reports:
postgres=# CREATE INDEX foo.index ON foo USING btree (bar); ERROR: syntax error at or near "." (SQLSTATE 42601)
The text was updated successfully, but these errors were encountered:
Deparser: Ensure index names are quoted as identifiers
b66f9ef
Fixes pganalyze/pg_query_go#77
@lwithers Thanks for the report - that's an oversight in the deparser code, see pganalyze/libpg_query#182
Sorry, something went wrong.
Deparser: Ensure index names are quoted as identifiers (#182)
ff32f92
Successfully merging a pull request may close this issue.
Hi,
If I parse and then de-parse the following statement:
then I end up with a result where the index name is unquoted, which is a syntax error:
PostgresQL (tested on 10.23 and 15.1) reports:
The text was updated successfully, but these errors were encountered: