by fbax@[EMAIL PROTECTED]
(Frank Bax)
Mar 15, 2008 at 11:55 AM
Alex du Plessis wrote:
> Is there a way to initialize a field in a table in a specific database
> on server startup?
Simple; just add something like this to a server startup script:
psql -c 'update table set field=value where ...' database user
or
echo 'update table set field=value where ...' | psql database user
--
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice