Re: Looping through string constants - Mailing list pgsql-general

From David Kerr
Subject Re: Looping through string constants
Date
Msg-id 20090813000250.GA54023@mr-paradox.net
Whole thread Raw
In response to Re: Looping through string constants  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, Aug 12, 2009 at 07:10:16PM -0400, Tom Lane wrote:
- David Kerr <dmk@mr-paradox.net> writes:
- > I'd like to loop through a group of constant string values using plpgsql
- > The best analog i can think of would be in a shell script
- > #!/usr/bin/ksh
-
- > for a in a b c d e; do
-
- Use VALUES?

looks like that'll do it, thanks!

Dave

pgsql-general by date:

Previous
From: Aleksey Tsalolikhin
Date:
Subject: Re: trouble building pgbench on CentOS 5.3: /usr/bin/ld: cannot find -lpgport
Next
From: Shoaib Mir
Date:
Subject: Re: Simulate count result are distinct between 8.3 and 8.4