Re: Pass ParseState as down to utility functions.
jian he <jian.universality@gmail.com>
From: jian he <jian.universality@gmail.com>
To: Kirill Reshke <reshkekirill@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-06T08:41:49Z
Lists: pgsql-hackers
Attachments
- v6-0001-print-out-error-position-for-some-DDL-command.patch (text/x-patch) patch v6-0001
hi. extensive test for ATExecAddOf DefineType ATPrepAlterColumnType ATExecAlterColumnType DefineDomain AlterType transformAlterTableStmt only AlterType, ATExecAlterColumnType function code change no tests. AlterType doesn't have location info, can not print it out. ATExecAlterColumnType is unreachable, because ATPrepAlterColumnType catched most of the error. especially extensive tests for DefineDomain. AlterDomainAddConstraint related error case, i created another thread (refactor AlterDomainAddConstraint (alter domain add constraint))
Commits
-
Print out error position for some ALTER TABLE ALTER COLUMN type
- 65281391a937 18.0 landed
-
Print out error position for some more DDLs
- 0f23dedc9176 18.0 landed
-
Print out error position for CREATE DOMAIN
- 39240bcad56d 18.0 landed
-
Add some regression tests for missing DDL patterns
- 0172b4c9449e 18.0 landed
-
Re-implement the ereport() macro using __VA_ARGS__.
- e3a87b4991cc 13.0 cited