pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Chambers <gwchamb@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Inserting Multiple Random Rows
Date: Wed, 28 Apr 2010 13:48:36 -0400
Message-ID: <z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.com> (raw)
In-Reply-To: <20335.1272474358@sss.pgh.pa.us>
References: <q2x302670f21004280922ic25b4f91k968effc6926a6243@mail.gmail.com>
	<20335.1272474358@sss.pgh.pa.us>

Tom,

> I believe the sub-SELECT will only get executed once, since it has no
> dependency on the outer query.

That seems to be the behavior its exhibiting.

> What were you expecting to happen?

The clouds parting, choirs of angels singing, and fireworks
celebrating the veil of my obtuseness being lifted, and my grasp and
command of SQL to be complete and infinite.  None of which appears
will ever happen...

-- Gary Chambers

/* Nothing fancy and nothing Microsoft! */



view thread (7+ messages)  latest in thread

Message-ID: <z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.com>
Permalink:  ../z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.com/
Also on:    postgresql.org/message-id/z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.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: gwchamb@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Inserting Multiple Random Rows
  In-Reply-To: <z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.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