pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Roman Šindelář <roman.sindelar@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: ALTER SUBSCRIPTION ... REFRESH cannot be executed from a function
Date: Wed, 06 Dec 2023 10:15:43 -0500
Message-ID: <1101517.1701875743@sss.pgh.pa.us> (raw)
In-Reply-To: <CAE+_rYFLZtVqwnteQR-zZDTSEe4dB9BV_==6TQ+bKob4YDHcxQ@mail.gmail.com>
References: <CAE+_rYE7Xy4Ya1=7n0fHpU5WxTMEBEV81GWncQJi42APBdSnSQ@mail.gmail.com>
	<CAE+_rYFLZtVqwnteQR-zZDTSEe4dB9BV_==6TQ+bKob4YDHcxQ@mail.gmail.com>

=?UTF-8?B?Um9tYW4gxaBpbmRlbMOhxZk=?= <roman.sindelar@gmail.com> writes:
> - ALTER SUBSCRIPTION ... REFRESH cannot be executed from a function in all
> PGSQL versions 14+, is it desired behavior?

It's intentional to get some other benefits, if that's what you mean.
See

https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=ce0fdbfe972

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <1101517.1701875743@sss.pgh.pa.us>
Permalink:  ../1101517.1701875743@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1101517.1701875743@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, roman.sindelar@gmail.com, pgsql-general@lists.postgresql.org
  Subject: Re: ALTER SUBSCRIPTION ... REFRESH cannot be executed from a function
  In-Reply-To: <1101517.1701875743@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox