Re: how to get the connected session pointer ( Archive * AH)

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to get the connected session pointer ( Archive * AH)
Date: 2013-10-22 09:05:34
Message-ID: CAKoxK+48tcRqP7vN5fY3-NLroTN3Pu5kDvtiau3q8BLjrr11qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 22, 2013 at 1:32 AM, AI Rumman <rummandba(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rémi Cura 2013-10-22 09:53:49 Re: Count of records in a row
Previous Message Amit Langote 2013-10-22 08:21:20 A client and server encoding question