On Wed, Aug 12, 2009 at 07:10:16PM -0400, Tom Lane wrote: - David Kerr <dmk@xxxxxxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general