Re: Fix for tablename in targetlist - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for tablename in targetlist
Date
Msg-id 26056.992440328@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix for tablename in targetlist  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
> On Tue, 12 Jun 2001, Bruce Momjian wrote:
>> I am confused.  I thought I fixed this about a month ago.  Do we need
>> more coded added here?  

You did, and we don't.  In current sources:

regression=# SELECT pg_class FROM pg_class;
ERROR:  You can't use relation names alone in the target list, try relation.*.
regression=#

One might quibble with the wording of the error message, but at least
it's to the point.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Indexing on a separate volume
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: vacuum