Re: Automated scripting... - Mailing list pgsql-sql

From Albert REINER
Subject Re: Automated scripting...
Date
Msg-id 20010131182512.B7533@frithjof
Whole thread Raw
In response to Automated scripting...  (jkakar@expressus.com)
List pgsql-sql
Saluton,

On Tue, Jan 30, 2001 at 03:54:53PM -0800, jkakar@expressus.com wrote:
...
> I'm building a script to create a relatively large database.  At some
> point in the script I would like to be able to save values into
> variables so that I can use them to populate rows.

Your script will be handled via psql, right? Then you can use \set and
interpolation, as described in `man psql`.

Albert.


-- 

--------------------------------------------------------------------------
Albert Reiner                                   <areiner@tph.tuwien.ac.at>
Deutsch       *       English       *       Esperanto       *       Latine
--------------------------------------------------------------------------


pgsql-sql by date:

Previous
From: Jie Liang
Date:
Subject: Re: Array as parameter in plpgSQL functions
Next
From: Justin Clift
Date:
Subject: Re: HELP: Scarey pl/pgsql problem