On Mon, Dec 14, 2015 at 3:09 PM, Gurjeet Singh <singh.gurj...@gmail.com> wrote: > On Dec 13, 2015 9:56 PM, "Michael Paquier" <michael.paqu...@gmail.com> > wrote: >> If the node has no WAL receiver active, a tuple with NULL values is >> returned instead. > > IMO, in the absence of a WAL receiver the SRF (and the view) should not > return any rows.
The whole point is to not use a SRF in this case: there is always at most one WAL receiver. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers