Re: using querys like: 'select table.*'

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: using querys like: 'select table.*'
Date: 2009-12-03 00:29:49
Message-ID: 200912021629.49766.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 02 December 2009 4:04:47 pm erobles wrote:
> erobles wrote:
> > Hi!
> >
> > In postgresql 7.2 i can use this kind of querys:
> >
> > select table.* ;
> >
> > select * from table1 where table1.key=othertable.key;
> >
> >
> > but in postgresql 8.3 i have an error like this:
> > ERROR: missing FROM-clause entry for table ...
> >
> >
> > what should i do to solve this? :-)

Short term see here for config setting in postgresql.conf that can revert the
behavior.
http://www.postgresql.org/docs/8.3/interactive/runtime-config-compatible.html#RUNTIME-CONFIG-COMPATIBLE-VERSION

Long term, change the queries :)

--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2009-12-03 00:36:40 Re: Large Objects and Replication question
Previous Message Greg Smith 2009-12-03 00:24:58 Re: use log_statement to log only SELECTs?