Re: [SQL] weird exists behaviour - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] weird exists behaviour
Date
Msg-id 199909231540.LAA17079@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] weird exists behaviour  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
> Note to hackers: here is another example of people getting confused
> by automatic addition of FROM clauses.  The same query can behave
> differently depending on whether it is a sub-query or not: a free
> table name might get bound to a table of the outer query, or generate
> an implicit FROM clause in the standalone case, yielding very different
> result sets.

I think we need to issue an elog(NOTICE) when we create a table entry on
the fly.


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: [SQL] weird exists behaviour
Next
From: Daniel Péder
Date:
Subject: partial indexes (indices)