NK <noc100@yahoo.gr> writes:
> Could you please tell me the way to take the names of the columns?
There is no way to do that in the grammar, because it doesn't have the
information available.
You could probably modify the insert-statement processing in analyze.c
to print out the column names, once it's matched up the raw parse tree
with information from the system catalogs.
regards, tom lane