On Wed, Jun 29, 2016 at 1:55 AM, Pavel Stehule <pavel.steh...@gmail.com> wrote:
> I am writing two background workers - autoreindex and scheduler. In Both I
> need to execute queries from top level. I had to wrote redundant code
> autoreindex_execute_sql_command .Same code is in pglogical. Some statements
> - like VACUUM or REINDEX CONCURRENTLY is not possible call from SPI.
> Can be nice to have this function in core.
pg_background handles this. Somebody might want to resurrect that patch.
The Enterprise PostgreSQL Company
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: