Re: Getting source code for database objects

Поиск
Список
Период
Сортировка
От Klint Gore
Тема Re: Getting source code for database objects
Дата
Msg-id 48744068.7000000@une.edu.au
обсуждение исходный текст
Ответ на Getting source code for database objects  (Artacus <artacus@comcast.net>)
Список pgsql-general
Artacus wrote:
> On pgadmin, when you click on a table or function, you get the source
> code (DDL) to create that table or function.
>
> I want to take that and check it into subversion so I have one file for
> each table, function, view, etc. My question is, how do you get that
> source code? I've been playing with pgadmin and wireshark trying to
> figure out what commands or queries it is using to no avail.
>
>
See GetSql method of schema/*.cpp

This used to be on the list of possible PG projects for the google
summer of code but seems to have been removed.

klint.

--
Klint Gore
Database Manager
Sheep CRC
A.G.B.U.
University of New England
Armidale NSW 2350

Ph: 02 6773 3789
Fax: 02 6773 3266
EMail: kgore4@une.edu.au


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Feature: FOR UPDATE SKIP LOCKED
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: array sort for varchar arrays?