From: Markus Schaber <schabi@logix-tt.com>
To: Michael Burke <michael@engtech.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: SELECT composite type
Date: Thu, 06 Apr 2006 11:28:00 +0200
Message-ID: <4434DF20.2070300@logix-tt.com> (raw)
In-Reply-To: <200604051257.09980.michael@engtech.ca>
References: <200604051257.09980.michael@engtech.ca>
Hi, Michael,
Michael Burke wrote:
> This statement works, but I don't want to duplicate the function call as this
> should be unnecessary.
Is this for aesthetic reasons (typing the query), or for speed reasons?
If the latter one is true, then check that all functions are defined as
"immutable" or, at least, "stable". Then the qery planner should flatten
them to be called only once.
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
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: schabi@logix-tt.com, michael@engtech.ca
Subject: Re: SELECT composite type
In-Reply-To: <4434DF20.2070300@logix-tt.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