Re: UNION JOIN vs UNION SELECT
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>,
pgsql-hackers@postgreSQL.org
Date: 2000-10-16T03:51:57Z
Lists: pgsql-hackers
> You'll probably recall that the ambiguity between NOT NULL and NOT > DEFERRABLE gave us similar problems. We were able to get around that > by pretending NOT DEFERRABLE is an independent clause and leaving some > of the parsing work to be done by analyze.c, but I don't think that > trick will work here. > > I seem to recall a third case where a lookahead would have helped, > but can't find the details in the archives right now. > > I think it's time to bite the bullet and put in a lookahead filter. > What say you? Hmmm. Not real excited about that for performance reasons. Other options? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026