Re: pg_basebackups and slots

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackups and slots
Date: 2016-12-16 06:40:08
Message-ID: CAB7nPqSGAzp+4mjSHZC4v+7ngpx+GjCWpSWbQ5-+NOtseH+W-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 16, 2016 at 3:32 PM, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2016-12-16 08:02:48 Re: Declarative partitioning - another take
Previous Message Abhijit Menon-Sen 2016-12-16 06:37:35 Re: pg_basebackups and slots