On Mon, Feb 21, 2022 at 5:11 PM Simon Riggs <simon.ri...@enterprisedb.com> wrote: > > On Sat, 19 Feb 2022 at 17:03, Andres Freund <and...@anarazel.de> wrote: > > > > Hi, > > > > On 2022-02-19 14:10:39 +0000, Simon Riggs wrote: > > IMO we should instead consider either deprecating file based promotion, or > > adding an optional dependency on filesystem monitoring APIs (i.e. inotify > > etc) > > that avoid the need to poll for file creation.
Came here to suggest exactly that :) > Deprecating explicit file-based promotion is possible and simple, so > that is the approach in the latest version of the patch. Is there any actual use-case for this other than backwards compatibility? The alternative has certainly been around for some time now, so if we don't know a specific use-case for the file-based one it's definitely time to deprecate it properly. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/