Re: [HACKERS] Enhancing PGSQL to be compatible with InformixSQL

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Rod Chamberlin <rod(at)querix(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Enhancing PGSQL to be compatible with InformixSQL
Date: 2000-01-07 02:57:41
Message-ID: 3.0.1.32.20000106185741.00ed7b6c@mail.pacifier.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 07:08 PM 1/6/00 +0000, Thomas Lockhart wrote:
>> I've been wanting outer joins, but in my porting efforts have managed
>> to work around them without too much difficulty, even though 6.5's
>> limitations on subselects (not in target lists) requires that I
>> create PL/pgSQL functions in some cases.
>> I certainly can't speak for the majority of users, but as one data
>> point I'd personally rather see outer joins done right (SQL 92
>> syntax) and wait a bit.
>
>A bit of a misunderstanding here: we are using SQL92 syntax but will
>try to implement the outer join operation using *internal* data
>structures similar to what we have now.

Yes, I've seen the existing code, in particular regarding inner
joins.

>Any alternate syntaxes are just a diversion which slow us down on the
>road to world domination ;)

That's my first feeling, too, as I hope I made clear.

If you don't mind my asking, just what are the difficulties? Bruce
mentioned the optimizer. I noticed the executor code that does
merge joins has conditionalized stuff in it to insert the nulls
required by outer join. And the parser has conditionalized stuff
to deal with them.

So, is it ("just", he says :) the optimizer, or more?

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
Nature photos, on-line guides, Pacific Northwest
Rare Bird Alert Service and other goodies at
http://donb.photo.net.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 2000-01-07 03:18:42 RE: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL
Previous Message Don Baccus 2000-01-07 02:52:00 Re: [HACKERS] Enhancing PGSQL to be compatible with Informix SQL