AW: Fix for tablename in targetlist

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: Fix for tablename in targetlist
Date: 2001-05-21 15:09:54
Message-ID: 11C1E6749A55D411A9670001FA6879633682DC@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > I tend to agree that we should not change the code to make "select tab"
> > work, on the grounds of error-proneness.
>
> OK, here is another patch that does this:
>
> test=> select test from test;
> test
> ------
> 1
> (1 row)

I object also. It is not a feature, and it might stand in the way of a future interpretation.
What does it buy you except saving the 2 chars '.*' ? Imho it is far from obvious behavior.

Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2001-05-21 15:13:28 shared library strangeness?
Previous Message Jan Wieck 2001-05-21 15:06:13 PL/pgSQL CURSOR support