pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: James Cooper <jim@luckydigital.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: syntax question
Date: Sun, 23 Feb 2003 16:25:26 -0800
Message-ID: <200302231625.26793.josh@agliodbs.com> (raw)
In-Reply-To: <009a01c2db95$15173e10$c900a8c0@jax>
References: <006401c2db87$fc09be00$c900a8c0@jax>
	<200302231507.23831.josh@agliodbs.com>
	<009a01c2db95$15173e10$c900a8c0@jax>

James,

> but thats what:
> rec record
> select into rec id from table;
> return rec.id
>
> does
>
> my question was can i do this with a query built inside a string?

No.  That's what I was talking about.  You have to use the loop.


-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (7+ messages)  latest in thread

Message-ID: <200302231625.26793.josh@agliodbs.com>
Permalink:  ../200302231625.26793.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200302231625.26793.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, jim@luckydigital.com
  Subject: Re: syntax question
  In-Reply-To: <200302231625.26793.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox