Re: Feedback on writing extensible modules

From: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Feedback on writing extensible modules
Date: 2009-05-20 19:51:18
Message-ID: A2D86136-4E28-4D31-8EE6-E95FAB0C5BF7@hi-media.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Le 20 mai 09 à 20:51, Simon Riggs a écrit :
> 1. Want some very clear and supported way to know whether Postgres is
> fully up. Currently, if you write _PG_init you sometimes need to
> know if
> it is being executed by LOAD or as a reload. So actual initialisation
> sometimes needs to happen outside of _PG_init.

And currently calling SPI_connect() from _PG_init will crash the
backend. I'll try to obtain a gdb backtrace, I've just been told about
pre_auth_delay and post_auth_delay parameters.

Regards,
--
dim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-05-20 19:57:01 Re: bootstrap table with TimestampTz type
Previous Message Alvaro Herrera 2009-05-20 19:40:58 Re: bootstrap table with TimestampTz type