variables in psql - Mailing list pgsql-hackers

From Keala Jacobs
Subject variables in psql
Date
Msg-id 37543F0D.2CD0E09D@itd.sterling.com
Whole thread Raw
Responses Re: [HACKERS] variables in psql
List pgsql-hackers
Does postgres support the use of variables as in the example below?

update table1 set column1=@variable
where column2='text4column2'
and @variable=(select column3 from table2 where column4='text4column4');

If not, how do I execute a statement like this in postgres?

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] LIMITS
Next
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Re: [SQL] Column name's length