Re: using querys like: 'select table.*' - Mailing list pgsql-general

From Adrian Klaver
Subject Re: using querys like: 'select table.*'
Date
Msg-id 200912021629.49766.aklaver@comcast.net
Whole thread Raw
In response to Re: using querys like: 'select table.*'  (erobles <erobles@sensacd.com.mx>)
List 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@comcast.net

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: use log_statement to log only SELECTs?
Next
From: Tatsuo Ishii
Date:
Subject: Re: Large Objects and Replication question