Simple question for psql

Started by Hadley Willanalmost 23 years ago5 messagesgeneral
Jump to latest
#1Hadley Willan
hadley.willan@deeperdesign.co.nz

Hi all,
How do I show the code for a function?

\d doesn't work against them?

and \df lists them....

I looked at \? and nothing jumped out?

Thank You.
--
Hadley Willan > Systems Development > Deeper Design Limited. +64(7)377-3328
hadley.willan@deeperdesign.co.nz > www.deeperdesign.com > +64(21)-28-41-463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.

#2Heath Tanner
heath@inligo.com
In reply to: Hadley Willan (#1)
Re: Simple question for psql

On Wednesday, April 23, 2003, at 10:36 PM, Hadley Willan wrote:

Hi all,
How do I show the code for a function?

\d doesn't work against them?

and \df lists them....

I looked at \? and nothing jumped out?

\df+ function_name

-heath

#3Hadley Willan
hadley.willan@deeperdesign.co.nz
In reply to: Heath Tanner (#2)
Re: Simple question for psql

Thanks.

However, I still can't seem to list the pg_catalog functions like
RI_FKey_cascade_del?

Hadley

On Thu, 2003-04-24 at 15:06, Heath Tanner wrote:

On Wednesday, April 23, 2003, at 10:36 PM, Hadley Willan wrote:

Hi all,
How do I show the code for a function?

\d doesn't work against them?

and \df lists them....

I looked at \? and nothing jumped out?

\df+ function_name

-heath

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
Hadley Willan > Systems Development > Deeper Design Limited. +64(7)377-3328
hadley.willan@deeperdesign.co.nz > www.deeperdesign.com > +64(21)-28-41-463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.

#4Alvaro Herrera
alvherre@dcc.uchile.cl
In reply to: Hadley Willan (#3)
Re: Simple question for psql

On Thu, Apr 24, 2003 at 03:15:25PM +1200, Hadley Willan wrote:

Thanks.

However, I still can't seem to list the pg_catalog functions like
RI_FKey_cascade_del?

Those are defined in C in Postgres' source code itself,
in src/backend/utils/adt/ri_triggers.c
(most if not all are in src/backend/utils/adt)

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Use it up, wear it out, make it do, or do without"

#5Hadley Willan
hadley.willan@deeperdesign.co.nz
In reply to: Alvaro Herrera (#4)
Re: Simple question for psql

Okay, I'll check them out.

Thanks
On Thu, 2003-04-24 at 15:27, Alvaro Herrera wrote:

On Thu, Apr 24, 2003 at 03:15:25PM +1200, Hadley Willan wrote:

Thanks.

However, I still can't seem to list the pg_catalog functions like
RI_FKey_cascade_del?

Those are defined in C in Postgres' source code itself,
in src/backend/utils/adt/ri_triggers.c
(most if not all are in src/backend/utils/adt)

--
Hadley Willan > Systems Development > Deeper Design Limited. +64(7)377-3328
hadley.willan@deeperdesign.co.nz > www.deeperdesign.com > +64(21)-28-41-463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.