pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Rosenberg <richrosenberg@earthlink.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: polymorphic function in 7.4 vs. 8.3
Date: Thu, 11 Jun 2009 17:49:46 -0400
Message-ID: <20491.1244756986@sss.pgh.pa.us> (raw)
In-Reply-To: <200906111442.17861.richrosenberg@earthlink.net>
References: <200906111442.17861.richrosenberg@earthlink.net>

Richard Rosenberg <richrosenberg@earthlink.net> writes:
> Tom, thanks for your prompt reply. I think I may have my head on straight now, 
> this should work:

Yeah, but you're still out of luck on 7.4.  Its plpgsql doesn't have any
ability to pass whole-row variables into expressions.  I don't see any
answer for you except breaking down the row into columns, which of
course is going to be a huge notational PITA.

Sure you can't move the DB off 7.4?  There would be pretty considerable
benefits from adopting some recent release instead.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <20491.1244756986@sss.pgh.pa.us>
Permalink:  ../20491.1244756986@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20491.1244756986@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, richrosenberg@earthlink.net
  Subject: Re: polymorphic function in 7.4 vs. 8.3
  In-Reply-To: <20491.1244756986@sss.pgh.pa.us>

* 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