Re: [PATCH] Support for pg_stat_archiver view - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [PATCH] Support for pg_stat_archiver view
Date
Msg-id CA+U5nMLtO2NzHJ+VHfp1gyF2snxMF9oZzie=VspHATO-8rSibg@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Support for pg_stat_archiver view  (Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>)
Responses Re: [PATCH] Support for pg_stat_archiver view
Re: [PATCH] Support for pg_stat_archiver view
List pgsql-hackers
On 4 January 2014 13:01, Gabriele Bartolini
<gabriele.bartolini@2ndquadrant.it> wrote:

>> I'd suggest making the view on top of an SRF like pg_stat_replication
>> and pg_stat_activity (for example), instead of a whole lot of separate
>> function calls like the older stats views.
>
> Ok, good idea.

Not sure I see why it needs to be an SRF. It only returns one row.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Standalone synchronous master
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] Support for pg_stat_archiver view