Skip site navigation (1) Skip section navigation (2)

Re: sig 11 in RC3

From: Holger Krug <hkrug(at)rationalizer(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: sig 11 in RC3
Date: 2002-01-04 16:42:14
Message-ID: 20020104174214.B24700@dev12.rationalizer.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Jan 04, 2002 at 11:02:04AM -0500, Tom Lane wrote:
> mlw <markw(at)mohawksoft(dot)com> writes:

> Alternatively, keep the data structure in a longer-lived context
> (TransactionCommandContext should work) instead of the per-tuple
> context.

It depends, I had to use `TopTransactionContect' in a similar case.

If you really want to return a pointer, I would recommend to
introduce a new type `pointer', where the input and output functions
simply call `elog(ERROR,..)'. This way you can avoid to forget that
your pointer cannot be externalized.

-- 
Holger Krug
hkrug(at)rationalizer(dot)com

In response to

pgsql-hackers by date

Next:From: Kaare RasmussenDate: 2002-01-04 16:47:51
Subject: Re: Updated TODO item
Previous:From: Holger KrugDate: 2002-01-04 16:36:57
Subject: ON ERROR triggers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group