From: | Jerry LeVan <jerry(dot)levan(at)eku(dot)edu> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Where are PL/pgsql definitions kept? |
Date: | 2004-03-12 21:12:17 |
Message-ID: | F10A423E-7469-11D8-BE0D-000393779D9C@eku.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ahh, thank you, the definition is actually stored in pg_proc in the
prosrc column.
I have been examining the system tables using my home brewed BiggerSQL
Postgresql Database Browser ( http://homepage.mac.com/levanj/Cocoa ) a
MacOS X utility.
BiggerSQL displays tables in a table format, one row per record.
When I displayed the pg_proc table it *appeared* that that column
contained
an empty string. Evidently the stored string starts with a new line
character.
Using the "arrow" keys to advance into the field got me to the next
line in
the definition and I was able to then see the rest of the definition ;(.
Thank you :)
Jerry
On Mar 12, 2004, at 3:47 PM, Richard Huxton wrote:
> On Friday 12 March 2004 20:12, Jerry LeVan wrote:
>>
>> Is it possible to recover the text of a function definition from
>> within
>> postgresql?
>
> In psql: \df+ my_func_name
>
> To see how that works, start psql with -E
>
> --
> Richard Huxton
> Archonet Ltd
>
From | Date | Subject | |
---|---|---|---|
Next Message | Eric Ridge | 2004-03-12 21:27:22 | How reliable are the stats collector stats? |
Previous Message | pw | 2004-03-12 20:58:36 | Re: (THE_ANSWER) What is the syntax for UPDATE from one |