From: Josh Berkus <josh@agliodbs.com>
To: Roberto Mello <rmello@cc.usu.edu>
To: pgsql-sql@postgresql.org
Subject: Re: Return type of triger functions from OPAQUE to TRIGGER in 7.3
Date: Tue, 25 Feb 2003 16:42:35 -0800
Message-ID: <200302251642.35425.josh@agliodbs.com> (raw)
In-Reply-To: <20030225192043.GA30324@cc.usu.edu>
References: <20030225192043.GA30324@cc.usu.edu>
Roberto,
> We found out a few days ago that in PG 7.3 the return type for trigger
> functions was redefined from OPAQUE to TRIGGER. What's the rationale
> behind this? Is this for standards compliance (forgive my ignorance about
> the standard's details)? Were there other gains to be obtained from this
> move?
Yes. In < 7.3, OPAQUE actually referred to 3 different types of non-parsable
return values. Differntiating the different types should be an improvement
in both performance and error prevention.
> So right now we are stuck on either changing the return type of every
> trigger for TRIGGER (which means no 7.2 compatibility) or stay stuck in
> 7.2-land.
Seems to me that this could be done to the whole OpenACS package with a Perl
or Sed script.
--
Josh Berkus
josh@agliodbs.com
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, rmello@cc.usu.edu
Subject: Re: Return type of triger functions from OPAQUE to TRIGGER in 7.3
In-Reply-To: <200302251642.35425.josh@agliodbs.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