pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Dmitri Bichko <dbichko@aveopharma.com>
To: pgsql-sql@postgresql.org
Subject: Re: interesting SQL puzzle - concatenating column with itself.
Date: Tue, 17 May 2005 19:57:32 +0200
Message-ID: <op.sqxlh6zath1vuj@localhost> (raw)
In-Reply-To: <7A4ADADFC8AFF0478D47F63BEDD57CE3A27953@gpmail.gphq.genpathpharma.com>
References: <7A4ADADFC8AFF0478D47F63BEDD57CE3A27953@gpmail.gphq.genpathpharma.com>


> I'm just curious - what's the 'OFFSET 0' for?

	Trick to fool postgres into thinking it can't rewrite out your subquery  
and eliminate it ...



view thread (8+ messages)

Message-ID: <op.sqxlh6zath1vuj@localhost>
Permalink:  ../op.sqxlh6zath1vuj@localhost/
Also on:    postgresql.org/message-id/op.sqxlh6zath1vuj@localhost

 · 

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: lists@boutiquenumerique.com, dbichko@aveopharma.com
  Subject: Re: interesting SQL puzzle - concatenating column with itself.
  In-Reply-To: <op.sqxlh6zath1vuj@localhost>

* 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