Laurette Cisneros <laurette(at)nextbus(dot)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