pgsql: Fix compilation error introduced by commit 8e1fae1938.

2021-12-22 Thread Amit Kapila
Fix compilation error introduced by commit 8e1fae1938. Author: Masahiko Sawada Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/94226d4506e66d6e7cbf4b391f1e7393c1962841 Modified Files -

Re: pgsql: Move parallel vacuum code to vacuumparallel.c.

2021-12-22 Thread Masahiko Sawada
On Thu, Dec 23, 2021 at 3:49 PM Amit Kapila wrote: > > On Thu, Dec 23, 2021 at 11:50 AM Amit Kapila wrote: > > > > Move parallel vacuum code to vacuumparallel.c. > > > > There appears to be one failure: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2021-12-23%2006%3A26%3

Re: pgsql: Move parallel vacuum code to vacuumparallel.c.

2021-12-22 Thread Amit Kapila
On Thu, Dec 23, 2021 at 11:50 AM Amit Kapila wrote: > > Move parallel vacuum code to vacuumparallel.c. > There appears to be one failure: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2021-12-23%2006%3A26%3A03. I'll look into it. -- With Regards, Amit Kapila.

pgsql: Move parallel vacuum code to vacuumparallel.c.

2021-12-22 Thread Amit Kapila
Move parallel vacuum code to vacuumparallel.c. This commit moves parallel vacuum related code to a new file commands/vacuumparallel.c so that any table AM supporting indexes can utilize parallel vacuum in order to call index AM callbacks (ambulkdelete and amvacuumcleanup) with parallel workers. A

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- REL_11_STABLE Det

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- master Details --

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- REL_14_STABLE Det

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- REL_12_STABLE Det

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- REL_10_STABLE Det

pgsql: doc: clarify when expression indexes evaluate their expressions

2021-12-22 Thread Bruce Momjian
doc: clarify when expression indexes evaluate their expressions Only non-HOT updates evaluate the index expression. Reported-by: Chris Lowder Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch -- REL_13_STABLE Det

pgsql: Remove unused include

2021-12-22 Thread Peter Eisentraut
Remove unused include "utils/builtins.h" was used for pg_strtouint64(), added by cff440d368690f94fbda1a475277e90ea2263843, removed by 3c6f8c011f85df7b35c32f4ccaac5c86c9064a4a. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/4965f75484aea9d273b11ad4957f57d8dc1ed4b0

pgsql: Remove unused include

2021-12-22 Thread Peter Eisentraut
Remove unused include "fmgr.h" was used for load_external_function(), added by a05dc4d7fd57d4ae084c1f0801973e5c1a1aa26e, removed by f9143d102ffd0947ca904c62b1d3d6fd587e0c80. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2f4fd1a73ba59247d4413f33d6178bbcbcfab60f Mo