Re: Scripting Functions to Separate Files - Mailing list pgsql-general

From Tino Wildenhain
Subject Re: Scripting Functions to Separate Files
Date
Msg-id 1120677238.1183.193.camel@Andrea.peacock.de
Whole thread Raw
In response to Scripting Functions to Separate Files  ("Mike Fahrenkrog" <mikef@travelpost.com>)
List pgsql-general
Am Mittwoch, den 06.07.2005, 11:35 -0700 schrieb Mike Fahrenkrog:
> Hi,
> Does anyone know an efficient way to script database objects
> (preferably all objects, but particularly functions) to separate
> files? I would like to have a separate file for each object, so that I
> can easily add them to source control.
>
Yes, you simply use a text editor and write the files.
You use psql yourdb <small_file_for_one_object
to create/modify your objects after you edit them.




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.3.2 closing connections, sometimes
Next
From: felix@crowfix.com
Date:
Subject: Re: 7.3.2 closing connections, sometimes