Re: [HACKERS] pg_basebackups and slots - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] pg_basebackups and slots
Date
Msg-id CAB7nPqSGAzp+4mjSHZC4v+7ngpx+GjCWpSWbQ5-+NOtseH+W-w@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] pg_basebackups and slots  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [HACKERS] pg_basebackups and slots  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Fri, Dec 16, 2016 at 3:32 PM, Magnus Hagander <magnus@hagander.net> wrote:
> I don't really know how to write a good test for it. I mean, we could run it
> with the parameter, but how to we make it actually verify the slot? Make a
> really big database to make it guaranteed to be slow enough that we can
> notice it in a different session?

No, not that. I was meaning tests to trigger the error code paths with
the compatibility switches you are adding.
-- 
Michael



pgsql-hackers by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: [HACKERS] pg_basebackups and slots
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] Declarative partitioning - another take