Re: Table rewrite supporting functions for event triggers

2024-09-12 Thread Michael Paquier
On Thu, Sep 12, 2024 at 08:52:00AM -0400, Greg Sabino Mullane wrote: > I do like the simplicity of the bitmap: > > if (reason & 1) > print "Table has changed from logged to unlogged" > if (reason & 2) > print "Default has been changed" > > versus with text[]: > > foreach reason in tablereaso

Re: Table rewrite supporting functions for event triggers

2024-09-12 Thread Greg Sabino Mullane
On Wed, Sep 11, 2024 at 11:17 PM Michael Paquier wrote: > If multiple are set, let's just make it text[], then. > Hmmm...I guess it's better than an integer, in some ways, but I'm still a weak -1. > That would be a step backwards for anyone possibly using that integer > > programatically to (fo

Add mention to related system catalog functions on Tablespaces documentation pages.

2024-09-12 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/16/manage-ag-tablespaces.html Description: The tablespaces documentation page seems to be missing a mention to the following functions: pg_tablespace_databases pg_tablespace_location These a