Re: Variables in PostgreSQL? [was: Is my MySQL Gaining?] - Mailing list pgsql-general

From Chris Travers
Subject Re: Variables in PostgreSQL? [was: Is my MySQL Gaining?]
Date
Msg-id 008201c3cdb6$cf15a4f0$9944053d@winxp
Whole thread Raw
In response to Re: Is my MySQL Gaining ?  (Christopher Murtagh <christopher.murtagh@mcgill.ca>)
List pgsql-general
The other problem though is that I might want to SET the variable from a
query result.  Is there any way I can do that within psql?

For example, something that would allow me to run a query, set the variable
from the query result and then use that variable in another set of queries.
This would drastically help on maintaining upgrade scripts for my db's.

Best Wishes,
Chris Travers


pgsql-general by date:

Previous
From: "Chris Travers"
Date:
Subject: Re: Is my MySQL Gaining ?
Next
From: Alex
Date:
Subject: pg_recvbuf errors