Re: stored procs

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: stored procs
Дата
Msg-id 4E83CCFB.1010602@hogranch.com
обсуждение исходный текст
Ответ на stored procs  ("J.V." <jvsrvcs@gmail.com>)
Список pgsql-general
On 09/28/11 6:33 PM, J.V. wrote:
> Is is possible within a stored procedure to read all the tables in a
> schema into a list?
>
> From that list and for each table is it possible to find the foreign
> keys in that table?
>
> From that list of foreign keys, is it possible to find out which field
> in which table the FK corresponds to?
>
> I need to extract this meta-data for a project.
>

that metadata should all be available in the information_schema.





--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


В списке pgsql-general по дате отправления:

Предыдущее
От: "J.V."
Дата:
Сообщение: stored proc
Следующее
От: Venkat Balaji
Дата:
Сообщение: Re: : Looking for a PostgreSQL book