empty column name in error message - Mailing list pgsql-hackers

From Amit Langote
Subject empty column name in error message
Date
Msg-id CA+HiwqFA+BGyBFimjiYXXMa2Hc3fcL0+OJOyzUNjhU4NCa_XXw@mail.gmail.com
Whole thread Raw
Responses Re: empty column name in error message  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: non-exclusive backup cleanup is mildly broken
Next
From: Andrew Dunstan
Date:
Subject: Re: Allow cluster owner to bypass authentication