pgsql: Add bc6041b61f to .git-blame-ignore-revs.

2023-08-30 Thread Tatsuo Ishii
Add bc6041b61f to .git-blame-ignore-revs. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5ed593e5b76c177ea5cecb70e9fd2a223da32f21 Modified Files -- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+)

pgsql: Fix code indentation vioaltion introduced in commit 3c662643c4.

2023-08-30 Thread Tatsuo Ishii
Fix code indentation vioaltion introduced in commit 3c662643c4. Per buildfarm member koel Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/bc6041b61f6678d32a5cfb70744653cd8f8d01c0 Modified Files -- src/bin/pgbench/pgbench.c | 5 +++-- 1 file changed, 3 in

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- m

pgsql: postgres_fdw: Fix test for parameterized foreign scan.

2023-08-30 Thread Etsuro Fujita
postgres_fdw: Fix test for parameterized foreign scan. Commit e4106b252 should have updated this test, but did not; back-patch to all supported branches. Reviewed by Richard Guo. Discussion: http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com Branch -- R

pgsql: Doc: Improve documentation for creating custom scan paths.

2023-08-30 Thread Etsuro Fujita
Doc: Improve documentation for creating custom scan paths. This improves the documentation related to parallel query a little bit. Reviewed by Richard Guo. Discussion: https://postgr.es/m/CAPmGK159eJShAR4ek4Db8oHD4%2BZ18zwJkisEWkqRN-80BdDGFQ%40mail.gmail.com Branch -- master Details -

pgsql: Fix possible compiler warning

2023-08-30 Thread Peter Eisentraut
Fix possible compiler warning related to 1fa9241bdd Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/fe39f433528c7a5648a4b94bf11773f9c51e28ac Modified Files -- src/backend/commands/sequence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: Rename some support functions for pgstat* views.

2023-08-30 Thread Nathan Bossart
Rename some support functions for pgstat* views. Presently, pgstat_fetch_stat_beentry() accepts a session's backend ID as its argument, and pgstat_fetch_stat_local_beentry() accepts a 1-based index in an internal array as its argument. The former is typically used wherever a user must provide a b

pgsql: Use actual backend IDs in pg_stat_get_backend_subxact().

2023-08-30 Thread Nathan Bossart
Use actual backend IDs in pg_stat_get_backend_subxact(). Unlike the other pg_stat_get_backend* functions, pg_stat_get_backend_subxact() looks up the backend entry by using its integer argument as a 1-based index in an internal array. The other functions look for the entry with the matching sessio

pgsql: Use actual backend IDs in pg_stat_get_backend_subxact().

2023-08-30 Thread Nathan Bossart
Use actual backend IDs in pg_stat_get_backend_subxact(). Unlike the other pg_stat_get_backend* functions, pg_stat_get_backend_subxact() looks up the backend entry by using its integer argument as a 1-based index in an internal array. The other functions look for the entry with the matching sessio

pgsql: Rename some support functions for pgstat* views.

2023-08-30 Thread Nathan Bossart
Rename some support functions for pgstat* views. Presently, pgstat_fetch_stat_beentry() accepts a session's backend ID as its argument, and pgstat_fetch_stat_local_beentry() accepts a 1-based index in an internal array as its argument. The former is typically used wherever a user must provide a b

pgsql: Fix some shadow variables in src/backend/replication/

2023-08-30 Thread Michael Paquier
Fix some shadow variables in src/backend/replication/ The code is able to compile already without warnings under -Wshadow=compatible-local, which is itself already enabled in the tree, and the ones fixed here showed up with the more restrictive -Wshadow. There are more of these that we may want t

pgsql: Restructure DECLARE_INDEX arguments

2023-08-30 Thread Peter Eisentraut
Restructure DECLARE_INDEX arguments Separate the table name from the index declaration. We need that anyway later for the ALTER TABLE / USING INDEX commands, so we might as well structure the declarations like that to begin with. Discussion: https://www.postgresql.org/message-id/flat/75ae5875-3