Re: psql not showing triggers

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql not showing triggers
Date: 2001-10-06 14:40:46
Message-ID: 200110061440.f96Eekn01651@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[ There is text before PGP section. ]
>
-- Start of PGP signed section.
> 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

Good catch. Your guess was right, and it hadn not been fixed. Patch
attached and applied.

As far as CVS, that page should be accurate. It was updated a few days
ago with the correct information.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 598 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-10-06 19:14:23 anoncvs and CVS link off developers.postgresql.org
Previous Message Greg Sabino Mullane 2001-10-06 12:00:54 psql not showing triggers