| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Daniel Lopez <ridruejo(at)atm9(dot)com(dot)dtu(dot)dk>, pgsql-sql(at)hub(dot)org |
| Subject: | Re: [SQL] weird exists behaviour |
| Date: | 1999-09-23 15:40:24 |
| Message-ID: | 199909231540.LAA17079@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Péder | 1999-09-23 16:28:23 | partial indexes (indices) |
| Previous Message | Tom Lane | 1999-09-23 15:16:07 | Re: [SQL] weird exists behaviour |