| From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Table dependencies |
| Date: | 2009-04-14 16:36:16 |
| Message-ID: | 20090414163616.GA30633@a-kretschmer.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-04-14 16:42:27 | Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'... |
| Previous Message | Joshua D. Drake | 2009-04-14 16:36:01 | Re: "PostgreSQL in the cloud" now up on media.postgresql.org |