On Tue, Oct 22, 2013 at 1:32 AM, AI Rumman <rummandba@xxxxxxxxx> wrote: > Hi, > > Is there a way in Postgresql C function to get the connected session pointer > ( Archive * AH) > and use it for further execution? If I read pg_archiver.c correctly, the AH pointer is used only during the archiving and is not "globally" stored anywhere, and therefore I suspect the answer is NO (at least unless you modify the archiver). What is the aim of having such pointer? Luca -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general