Batch Scripting of DB Objects to Separate Files

Поиск
Список
Период
Сортировка
От Mike Fahrenkrog
Тема Batch Scripting of DB Objects to Separate Files
Дата
Msg-id 20050705224155.5B7F45290D@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-novice

Hi,

Could someone please advise as to the most efficient way to script database objects (preferably all objects, but particularly functions) to separate files with a single command? Is there a PostgreSQL command or Win32 client tool that can do this? The export metadata tool in EMS PostgreSQL Manager seems to only allow the generation of a single script. I would like to have a separate file for each object, so that I can easily add the objects to source control.

Thanks,
--Mike

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

Предыдущее
От: Jeffrey Melloy
Дата:
Сообщение: Re: Ambiguous columns
Следующее
От: "Reinhard Hnat"
Дата:
Сообщение: Rules and transactions