Re: Don'st start streaming after creating a slot in pg_receivexlog - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Don'st start streaming after creating a slot in pg_receivexlog
Date
Msg-id 20150729104136.GA10043@alap3.anarazel.de
Whole thread Raw
In response to Re: Don'st start streaming after creating a slot in pg_receivexlog  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 2015-07-29 09:23:43 +0100, Simon Riggs wrote:
> Creating a temporary slot goes against the whole concept of slots, so using
> the same id in the same script isn't actually needed, except maybe to
> simplify testing.

The concept of a slot is to reserve resources. I don't see why it's
wrong to reserve resources temporarily.



pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: more RLS oversights
Next
From: Andres Freund
Date:
Subject: Re: pg_basebackup and replication slots