Re: [HACKERS] Index created in BEFORE trigger not updated during INSERT - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Index created in BEFORE trigger not updated during INSERT
Date
Msg-id 3483.1496592610@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Index created in BEFORE trigger not updated during INSERT  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> The patch looks good to me, could you add a regression test?

Done, thanks for the review.  I stuck the test into triggers.sql,
which is not completely on point since there are other ways to get
to this error.  But if we're thinking of it as a framework for testing
other CheckTableNotInUse cases then adding it to e.g. create_index.sql
doesn't seem right either.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Sokolov Yura
Date:
Subject: Re: [HACKERS] Fix performance of generic atomics
Next
From: "Mengxing Liu"
Date:
Subject: Re: [HACKERS] Re: [GSOC 17] Eliminate O(N^2) scaling from rw-conflict tracking in serializable transactions