From: | wieck(at)debis(dot)com (Jan Wieck) |
---|---|
To: | pgsql-hackers(at)postgreSQL(dot)org (PostgreSQL HACKERS) |
Subject: | update_pg_pwd and AR triggers |
Date: | 1999-12-21 22:31:40 |
Message-ID: | m120Xoi-0003kHC@orion.SAPserv.Hamburg.dsh.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I have additional information on the update_pg_pwd()
discussion, whether AFTER ROW triggers should return
HeapTuple or void. The return value of AFTER ROW triggers
isn't void - definitely.
The trigger manager tries to pfree() the returned pointer, if
it's neither NULL, nor one of the tuples he sent down to the
trigger (trigtuple and newtuple).
Thus, ANY trigger must at least return (HeapTuple)NULL.
Fix is committed.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck(at)debis(dot)com (Jan Wieck) #
From | Date | Subject | |
---|---|---|---|
Next Message | Ed Loehr | 1999-12-21 23:40:36 | Re: [HACKERS] Re: QUESTION: Replication |
Previous Message | Keith Parks | 1999-12-21 20:25:05 | RE: [HACKERS] NOTICE: LockRelease: locktable lookup failed, no lock |