Summary table trigger example race condition - Mailing list pgsql-patches

From Jim C. Nasby
Subject Summary table trigger example race condition
Date
Msg-id 20060105213645.GY43311@pervasive.com
Whole thread Raw
Responses Re: Summary table trigger example race condition
List pgsql-patches
http://www.postgresql.org/docs/current/static/plpgsql-trigger.html
example 36-4 has a race condition in the code that checks to see if a
row exists. It should use the code from example 36-1. This patch fixes
that. It also adds some commands to show what the summary table output
looks like. Unfortunately gamke html is bombing with some kind of
library error, so I can't verify that I didn't break the sgml.

BTW, should this have gone to -docs instead?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

Attachment

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: [HACKERS] Inconsistent syntax in GRANT
Next
From: Mark Kirkwood
Date:
Subject: Re: Summary table trigger example race condition