From: Nick Fankhauser <nickf@ontko.com>
To: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: pgsql-sql@postgresql.org
Subject: Re: interesting SQL puzzle - concatenating column with itself.
Date: Tue, 10 May 2005 14:56:35 -0500
Message-ID: <428111F3.2090002@ontko.com> (raw)
In-Reply-To: <20050508212905.GA14422@dcc.uchile.cl>
References: <427E60BC.8060701@ontko.com>
<20050508212905.GA14422@dcc.uchile.cl>
Alvaro Herrera wrote:
> The order is not really guaranteed, though if this is a one-shot thing,
> you may get away with turning off hashed aggregates.
>
When I read this, I assumed there was a runtime parameter I could set that was similar to ENABLE_HASHJOIN. Are you referring to a different runtime parameter or something else entirely?
BTW the concatenation function you suggest works nicely except that as you noted, it concatenates in an unpredictable order, so I'm now trying to solve that problem.
-Nick
------------------------------------------------------------------
Nick Fankhauser
nickf@ontko.com Phone 765.935.4283 Fax 765.962.9788
Ray Ontko & Co. - Software Consulting Services
http://www.ontko.com
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: nickf@ontko.com, alvherre@dcc.uchile.cl
Subject: Re: interesting SQL puzzle - concatenating column with itself.
In-Reply-To: <428111F3.2090002@ontko.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