pgsql: Remove definition of JUMBLE_SIZE from queryjumble.h

2022-10-04 Thread Michael Paquier
Remove definition of JUMBLE_SIZE from queryjumble.h The same exists in queryjumble.c, and it is used only locally in this file so let's remove the definition in the header. Author: Tatsu Nakamori Reviewed-by: Tom Lane, Julien Rouhaud Discussion: https://postgr.es/m/bb4ebd0412da9b1ac87a5eb2a3646..

pgsql: Use macros from xlog_internal.h for WAL segment logic in pg_rese

2022-10-04 Thread Michael Paquier
Use macros from xlog_internal.h for WAL segment logic in pg_resetwal When scanning for the end of WAL, pg_resetwal has been maintaining its own internal logic to calculate segment numbers and to parse a WAL segment name for its timeline and segment number. The code claimed for example that XLogFr

pgsql: Add a few new patterns to the tab completion of psql

2022-10-04 Thread Michael Paquier
Add a few new patterns to the tab completion of psql This improves the tab completion of psql on a few points: - Provide a list of subscriptions on \dRs. - Provide a list of publications on \dRp. - Add CURRENT_ROLE, CURRENT_USER, SESSION_USER when OWNER TO is provided at the end of a query (as def

pgsql: Tag refs/tags/REL_15_RC2 was created

2022-10-04 Thread noreply
Tag refs/tags/REL_15_RC2 was created.