Re: Is there any oracle user_source table equivalent in postgre?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Is there any oracle user_source table equivalent in postgre?
Date: 2010-03-05 11:48:17
Message-ID: hmqr1t$jn4$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

venkatrao(dot)b(at)tcs(dot)com, 05.03.2010 12:40:
>
> Hello,
>
> Can any one help me if oracle like any user_source table is there in
> postgre 8.4 (in pg_catalog or information_schema).
> Actually we migrated code from Oracle to Postgre. Now i want to search
> in how many places( i.e. in functions ) we have used a particular
> syntax( e.g. current_date). This can be achieved by using data
> dictionary view user_source in oracle.
>
> thanks in advance...

Source code for stored functions is available in pg_catalog.pg_proc.prosrc
Source code for views is available in pg_catalog.pg_views.definition

All catalog views are documented here:
http://www.postgresql.org/docs/current/static/catalogs.html

Thomas

P.S.: it's either Postgres or PostgreSQL but never Postgre ;)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vibhor Kumar 2010-03-05 11:58:01 Re: [NOVICE] Is there any oracle user_source table equivalent in postgre?
Previous Message venkatrao.b 2010-03-05 11:40:56 Is there any oracle user_source table equivalent in postgre?

Browse pgsql-novice by date

  From Date Subject
Next Message Vibhor Kumar 2010-03-05 11:58:01 Re: [NOVICE] Is there any oracle user_source table equivalent in postgre?
Previous Message venkatrao.b 2010-03-05 11:40:56 Is there any oracle user_source table equivalent in postgre?