psql not showing triggers

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: psql not showing triggers
Date: 2001-10-06 12:00:54
Message-ID: 200110061200.IAA20040@granger.mail.mindspring.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

While playing around with trying to add foreign keys to the
\d table display in psql, I noticed that tableinfo.triggers
is not used once it is set. I think it is meant to go here:

/* count triggers */
if (!error && tableinfo.hasrules)

as:

/* count triggers */
if (!error && tableinfo.triggers)

Does that seem right? Since the archive links on the web page,
and cvs appear to be down, I cannot check if this has been
already fixed. Also, after all the hullabaloo about cvs, is there
a definitive page for using it? This one, maybe?:

http://developer.postgresql.org/TODO/docs/cvs.html

Thanks,
Greg Sabino Mullane
greg(at)turnstep(dot)com PGP Key: 0x14964AC8 200110060755

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iQA/AwUBO77yubybkGcUlkrIEQKYCQCfW9SRNR3WqeHQyDlZ5QT67I7y0MoAn2zg
hNqKkxYnDBU6h60TUXsaK3m0
=h46E
-----END PGP SIGNATURE-----

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-10-06 14:40:46 Re: psql not showing triggers
Previous Message Bill Shui 2001-10-06 04:28:22 plpgsql question.