-----BEGIN PGP SIGNED MESSAGE-----
> Does anyone know why so many LEFT JOINs are used in psql/describe.c to
> join to the pg_namespace table, like here:
> I thought a pg_class row always pointed to a valid pg_namespace row
> because of our dependency restrictions.
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!
The patch has actually been done for some time now, but the tab completion
part of it got tricky with things like \df <tab> and \dfS <tab>, since the
code pretty much assumes that the only differentiation of system/non-system
objects occurs in pg_class objects. I'll try to get back to it next week,
once DBD::Pg 1.41 is finished up.
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200504012315
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
In response to
pgsql-hackers by date
|Next:||From: Marc G. Fournier||Date: 2005-04-02 04:43:25|
|Subject: Re: [HACKERS] plPHP in core?|
|Previous:||From: Tom Lane||Date: 2005-04-02 04:02:36|
|Subject: Re: Debugging deadlocks |