Re: Table dependencies - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Table dependencies
Date
Msg-id 20090414163616.GA30633@a-kretschmer.de
Whole thread Raw
In response to Table dependencies  (Kaarel Kitsemets <krl@klaabu.com>)
List pgsql-general
In response to Kaarel Kitsemets :
> Hi
>
> I need to make a change to a table that many stored procedures depend
> on. Is there an automatic way of finding all the functions that depend
> on a certain table?

Not really, but for functions written not in C you can ask the column
prosrc from the table pg_proc if there occur the table-name.


HTH, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: Re: Move databases from Pg 7.2.1 to 8.3.x
Next
From: "Roderick A. Anderson"
Date:
Subject: Re: Move databases from Pg 7.2.1 to 8.3.x