Re: [PERFORM] Foreign key performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: Kevin Brown <kevin(at)sysexperts(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PERFORM] Foreign key performance
Date: 2003-04-20 17:09:24
Message-ID: 6996.1050858564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> writes:
> Okay, this changes the second paragraph of that comment. I left in the
> comment that's really similar next to where I actually do the selection of
> which start point to use.

This had a bit of a problem yet: the loop in deferredTriggerInvokeEvents
expects 'prev_event' to point to the list entry just before 'event'.
A nice byproduct of fixing that is we don't uselessly rescan the last list
entry. I also tried to improve the comments a little. You can see what
I actually applied at
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/trigger.c

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-20 17:41:13 Re: pg 7.3.2 assert statement fails. process terminated
Previous Message Joshua Drake 2003-04-20 17:05:23 Re: Upgrade to RedHat 9.0 broke PostgreSQL

Browse pgsql-performance by date

  From Date Subject
Next Message Ian Knopke 2003-04-20 18:09:05 problems
Previous Message Andrew Sullivan 2003-04-20 16:46:09 Re: [SQL] Yet Another (Simple) Case of Index not used