Re: Looping through string constants

From: David Kerr <dmk(at)mr-paradox(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Looping through string constants
Date: 2009-08-13 00:02:51
Message-ID: 20090813000250.GA54023@mr-paradox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 12, 2009 at 07:10:16PM -0400, Tom Lane wrote:
- David Kerr <dmk(at)mr-paradox(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2009-08-13 00:07:01 Re: Simulate count result are distinct between 8.3 and 8.4
Previous Message Aleksey Tsalolikhin 2009-08-12 23:45:53 Re: trouble building pgbench on CentOS 5.3: /usr/bin/ld: cannot find -lpgport