Re: Feedback on writing extensible modules - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Feedback on writing extensible modules
Date
Msg-id 1405.1242849803@sss.pgh.pa.us
Whole thread Raw
In response to Feedback on writing extensible modules  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Feedback on writing extensible modules  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> 2. shmem_startup_hook doesn't allow multiple modules to create shmem.
> All callers of the hook think they are the only caller, causing chaos if
> multiple people need this.

The only known caller, contrib/pg_stat_statements/, does not think that.
Do what it does.

I agree it's undocumented, but so are the other hooks ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: bootstrap table with TimestampTz type
Next
From: Simon Riggs
Date:
Subject: Re: Feedback on writing extensible modules