pgsql: pgbench: Remove duplicate entries from table of builtin function

2018-07-23 Thread Robert Haas
pgbench: Remove duplicate entries from table of builtin functions. Fabien Coelho Discussion: http://postgr.es/m/alpine.DEB.2.21.1807221822320.19939@lancre Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/14ca287bcf329b26a6a8041ba69cc12332aba22c Modified File

pgsql: pgbench: Remove duplicate entries from table of builtin function

2018-07-23 Thread Robert Haas
pgbench: Remove duplicate entries from table of builtin functions. Fabien Coelho Discussion: http://postgr.es/m/alpine.DEB.2.21.1807221822320.19939@lancre Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3214463228f45df033c14ed3925a318a99d72ce2 Modified Files -

pgsql: Use setproctitle_fast() to update the ps status, if available.

2018-07-23 Thread Thomas Munro
Use setproctitle_fast() to update the ps status, if available. FreeBSD has introduced a faster variant of setproctitle(). Use it, where available. Author: Thomas Munro Discussion: https://postgr.es/m/CAEepm=1wKMTi81uodJ=1KbJAz5WedOg=cr8ewexrufeaxwe...@mail.gmail.com Branch -- master Detai

pgsql: Fix calculation for WAL segment recycling and removal

2018-07-23 Thread Michael Paquier
Fix calculation for WAL segment recycling and removal Commit 4b0d28de06 has removed the prior checkpoint and related facilities but has left WAL recycling based on the LSN of the prior checkpoint, which causes incorrect calculations for WAL removal and recycling for max_wal_size and min_wal_size.

pgsql: Fix calculation for WAL segment recycling and removal

2018-07-23 Thread Michael Paquier
Fix calculation for WAL segment recycling and removal Commit 4b0d28de06 has removed the prior checkpoint and related facilities but has left WAL recycling based on the LSN of the prior checkpoint, which causes incorrect calculations for WAL removal and recycling for max_wal_size and min_wal_size.

pgsql: Refactor cluster_rel() to handle more options

2018-07-23 Thread Michael Paquier
Refactor cluster_rel() to handle more options This extends cluster_rel() in such a way that more options can be added in the future, which will reduce the amount of chunk code for an upcoming SKIP_LOCKED aimed for VACUUM. As VACUUM FULL is a different flavor of CLUSTER, we want to make that exten