"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
>> Does anyone know why so many LEFT JOINs are used in psql/describe.c to
>> join to the pg_namespace table, like here:
> Yes, pg_relnamespace is definitely not null. I've actually already removed
> the left joins from my \df patch, since I had to rewrite some of the
> queries anyway. If this is wrong, please let me know of course!
I think the idea was to be certain to show every pg_proc entry (or other
catalog for other \d commands), no matter how badly broken the catalog
interrelationships might be. If there's not an unarguable reason
for eliminating the left joins I'd be inclined to keep it like that.
What does an inner join buy here, other than brittleness?
(Yeah, I have the perspective of a developer who deals with broken
situations every day. So?)
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2005-04-02 05:04:48|
|Subject: Re: [HACKERS] plPHP in core? |
|Previous:||From: Marc G. Fournier||Date: 2005-04-02 04:43:25|
|Subject: Re: [HACKERS] plPHP in core?|