Re: Function and view to retrieve WAL receiver status - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Function and view to retrieve WAL receiver status
Date
Msg-id CA+TgmoYcq4NM5xwkv-ObDJQn-dhugd9GSxJA7ySBr=hUp9ifqw@mail.gmail.com
Whole thread Raw
In response to Re: Function and view to retrieve WAL receiver status  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Function and view to retrieve WAL receiver status  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Mon, Dec 14, 2015 at 7:23 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Tue, Dec 15, 2015 at 5:27 AM, Gurjeet Singh wrote:
>> The function, maybe. But emitting an all-nulls row from a view seems
>> counter-intuitive, at least when looking at it in context of relational
>> database.
>
> OK, noted. Any other opinions?

I wouldn't bother with the view.  If we're going to do it, I'd say
just provide the function and let people SELECT * from it if they want
to.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: broken autocomplete in head
Next
From: Michael Paquier
Date:
Subject: Re: extend pgbench expressions with functions