Re: Pg (Perl for Postgresql)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pg (Perl for Postgresql)
Дата
Msg-id 10058.1040342388@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Pg (Perl for Postgresql)  (Laurette Cisneros <laurette@nextbus.com>)
Список pgsql-interfaces
Laurette Cisneros <laurette@nextbus.com> writes:
> The column and the table are named the same:
> select x, y from y;

> In 7.3 it gives the error message:
> ERROR:  You can't use relation names alone in the target list, try relation.*.

> It works fine in 7.2

Hm, there must be more to it than meets the eye, because that condition
alone doesn't cause a problem:

regression=# create table y (x int, y int);
CREATE TABLE
regression=# select x, y from y;x | y
---+---
(0 rows)

How did you declare the table, exactly?
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Laurette Cisneros
Дата:
Сообщение: Re: Pg (Perl for Postgresql)
Следующее
От: Bruce Badger
Дата:
Сообщение: MD5 PasswordPacket