empty column name in error message
Amit Langote <amitlangote09@gmail.com>
From: Amit Langote <amitlangote09@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-12-17T06:47:07Z
Lists: pgsql-hackers
Attachments
- ConstructTupleDescriptor-set-attname-earlier.patch (application/octet-stream) patch
Hi, I wonder if it's worthwhile to fix the following not-so-friendly error message: create index on foo ((row(a))); ERROR: column "" has pseudo-type record For example, the attached patch makes it this: create index on foo ((row(a))); ERROR: column "row" has pseudo-type record Note that "row" as column name has been automatically chosen by the caller. Thanks, Amit
Commits
-
Fix error reporting for index expressions of prohibited types.
- fc449abc3dcc 11.7 landed
- da5dd421833b 9.5.21 landed
- 97ba30fab51a 12.2 landed
- 5c5a268c605b 10.12 landed
- 298d056d9d97 9.4.26 landed
- 275a8ac4f75c 9.6.17 landed
- 2acab054b3ff 13.0 landed