Re: Fix for tablename in targetlist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix for tablename in targetlist
Date: 2001-06-13 13:52:08
Message-ID: 26056.992440328@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2001-06-13 13:55:45 Re: Indexing on a separate volume
Previous Message Bruce Momjian 2001-06-13 13:50:38 Re: Re: Improving pg_hba.conf