Re: \df+ and pg_proc query

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: \df+ and pg_proc query
Date: 2001-07-13 09:11:46
Message-ID: 008901c10b7b$d9350ca0$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "Thalis A. Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu>

> I assume that there is in fact a difference between doing:
>
> \df+ <func_name>
>
> and:
>
> select oid,proname,prosrc from pg_proc where proname='func_name';
>
> because I have a plpgsql function for a trigger, which I can see with the
second method (the select...) but not with the first method (the \df+ ). Is
it not possible to have the \df actually show up all functions?

Start psql with -E and then do \df+ to see what query PG actually uses (this
works for any \command)

- Richard Huxton

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2001-07-13 09:17:53 Re: Foreign keys?
Previous Message Keith F Irwin 2001-07-13 08:28:28 Postgresql & Python 2