pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Version 8.1
2+ messages / 2 participants
[nested] [flat]

* Version 8.1
@ 2005-11-18 12:35 Diego <diego@unimedijui.com.br>
  2005-11-18 12:15 ` Re: Version 8.1 Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Diego @ 2005-11-18 12:35 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have this SQL working very well in 8.0:

{SELECT *, tabpes.cod, tabpes.nome
FROM fincli_pesaut
WHERE TRUE
AND id_cli = '001/12'
AND id_pes = tabpes.id}

Why don´t work in 8.1?
ERROR:  missing FROM-clause entry for table "tabpes"

[]s
Diego Ziquinatti





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Version 8.1
  2005-11-18 12:35 Version 8.1 Diego <diego@unimedijui.com.br>
@ 2005-11-18 12:15 ` Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2005-11-18 12:15 UTC (permalink / raw)
  To: Diego <diego@unimedijui.com.br>; +Cc: pgsql-admin

Diego wrote:
> Why don´t work in 8.1?

Because it is violating the SQL standard and 8.1 is stricter in that 
regard.

> ERROR:  missing FROM-clause entry for table "tabpes"

So add that table to the FROM clause.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-11-18 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 12:35 Version 8.1 Diego <diego@unimedijui.com.br>
2005-11-18 12:15 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox