Re: BUG? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: BUG?
Date
Msg-id Pine.LNX.4.44.0311081502010.11030-100000@peter.localdomain
Whole thread Raw
In response to BUG?  (Martin Marques <martin@bugs.unl.edu.ar>)
List pgsql-general
Martin Marques writes:

> Look at the NOTICE:
>
> siprebi=> SELECT max(tprestamo.cantmaxpres) FROM  tprestamo t,usuarios
> u,personas p,objetos o, tipodoc td  WHERE t.cateusuario = u.cateusuario AND
> u.persona = p.codigo AND p.docnum = 23622139 AND p.tdocu = td.codigo AND
> td.nombre = 1 AND t.cateobjeto = o.cateobjeto AND o.ninventario = 29 AND
> o.uacademi = 4;
> NOTICE:  Adding missing FROM-clause entry for table "tprestamo"

If you assign an alias to a table, the original table name becomes
invisible.  Read the documentation.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-general by date:

Previous
From: Martin Marques
Date:
Subject: BUG?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: BUG?