| From: | "Albert REINER" <areiner(at)tph(dot)tuwien(dot)ac(dot)at> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Automated scripting... |
| Date: | 2001-01-31 17:25:12 |
| Message-ID: | 20010131182512.B7533@frithjof |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Saluton,
On Tue, Jan 30, 2001 at 03:54:53PM -0800, jkakar(at)expressus(dot)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(at)tph(dot)tuwien(dot)ac(dot)at>
Deutsch * English * Esperanto * Latine
--------------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mark Volpe | 2001-01-31 17:42:01 | Re: Index scan |
| Previous Message | mig | 2001-01-31 16:23:01 | Re: RE: Rownum/ row Id |