pgsql: Improve terminology

2022-09-23 Thread Peter Eisentraut
Improve terminology Use "prepared transaction" instead of "two-phrase transaction". This is in line with c5d67881d343a507269bde124a49df19e0296157. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/8d985560fc1de6197323d4397d2a2bf762657463 Modified Files --

pgsql: Improve terminology

2022-09-23 Thread Peter Eisentraut
Improve terminology Use "prepared transaction" instead of "two-phrase transaction". This is in line with 0e60a50e0bf158bead247731e00cee95bcf64daf. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6d6e1368722c664eef547d59ab23a29e555778c8 Modified Files -

pgsql: Doc: make an editorial pass over the v15 release notes.

2022-09-23 Thread Tom Lane
Doc: make an editorial pass over the v15 release notes. Rearrange, reword, clarify, fix markup, etc etc. Also include commit bd8ac900d. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/2b14b5b5d9d5cf2f039a90a670abaf7b2f37bbe6 Modified Files -- do

pgsql: Doc: minor cleanups.

2022-09-23 Thread Tom Lane
Doc: minor cleanups. Improve a couple of things I noticed while working on v15 release notes. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/cea5aa988ea84182f61b1b84d7dafe06e4d90a9b Modified Files -- doc/src/sgml/config.sgml| 7 --- d

pgsql: Doc: minor cleanups.

2022-09-23 Thread Tom Lane
Doc: minor cleanups. Improve a couple of things I noticed while working on v15 release notes. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5f1048881d5f16475b76e168bfe962682c741fb5 Modified Files -- doc/src/sgml/config.sgml| 7 --- doc/src/

pgsql: pgstat: Fix transactional stats dropping for indexes

2022-09-23 Thread Andres Freund
pgstat: Fix transactional stats dropping for indexes Because index creation does not go through heap_create_with_catalog() we didn't call pgstat_create_relation(), leading to index stats of a newly created realtion not getting dropped during rollback. To fix, move the pgstat_create_relation() to h

pgsql: pgstat: Fix transactional stats dropping for indexes

2022-09-23 Thread Andres Freund
pgstat: Fix transactional stats dropping for indexes Because index creation does not go through heap_create_with_catalog() we didn't call pgstat_create_relation(), leading to index stats of a newly created realtion not getting dropped during rollback. To fix, move the pgstat_create_relation() to h

Re: pgsql: Doc: update v15 release notes through today.

2022-09-23 Thread Tom Lane
Alvaro Herrera writes: > On 2022-Sep-23, Tom Lane wrote: >> Account for commits since 2022-06-11. > I think commit 0032a5456708 should be listed in the incompabilities > section: "PQsendQuery is no longer supported in pipeline mode. > Applications that are using that combination will need to be m

Re: pgsql: Doc: update v15 release notes through today.

2022-09-23 Thread Alvaro Herrera
On 2022-Sep-23, Tom Lane wrote: > Doc: update v15 release notes through today. > > Account for commits since 2022-06-11. I think commit 0032a5456708 should be listed in the incompabilities section: "PQsendQuery is no longer supported in pipeline mode. Applications that are using that combination

pgsql: Doc: update v15 release notes through today.

2022-09-23 Thread Tom Lane
Doc: update v15 release notes through today. Account for commits since 2022-06-11. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/e956325c8bc8c7257b04c322bf996fff2d81b514 Modified Files -- doc/src/sgml/release-15.sgml | 223 +

pgsql: Remove PQsendQuery support in pipeline mode

2022-09-23 Thread Alvaro Herrera
Remove PQsendQuery support in pipeline mode The extended query protocol implementation I added in commit acb7e4eb6b1c has bugs when used in pipeline mode. Rather than spend more time trying to fix it, remove that code and make the function rely on simple query protocol only, meaning it can no lon

pgsql: Remove PQsendQuery support in pipeline mode

2022-09-23 Thread Alvaro Herrera
Remove PQsendQuery support in pipeline mode The extended query protocol implementation I added in commit acb7e4eb6b1c has bugs when used in pipeline mode. Rather than spend more time trying to fix it, remove that code and make the function rely on simple query protocol only, meaning it can no lon

pgsql: Stop using PQsendQuery in libpq_pipeline

2022-09-23 Thread Alvaro Herrera
Stop using PQsendQuery in libpq_pipeline The "emulation" I wrote for PQsendQuery in pipeline mode to use extended query protocol, in commit acb7e4eb6b1c, is problematic. Due to numerous bugs we'll soon remove it. As a first step and for all branches back to 14, stop using PQsendQuery in libpq_pi

pgsql: Stop using PQsendQuery in libpq_pipeline

2022-09-23 Thread Alvaro Herrera
Stop using PQsendQuery in libpq_pipeline The "emulation" I wrote for PQsendQuery in pipeline mode to use extended query protocol, in commit acb7e4eb6b1c, is problematic. Due to numerous bugs we'll soon remove it. As a first step and for all branches back to 14, stop using PQsendQuery in libpq_pi

pgsql: Stop using PQsendQuery in libpq_pipeline

2022-09-23 Thread Alvaro Herrera
Stop using PQsendQuery in libpq_pipeline The "emulation" I wrote for PQsendQuery in pipeline mode to use extended query protocol, in commit acb7e4eb6b1c, is problematic. Due to numerous bugs we'll soon remove it. As a first step and for all branches back to 14, stop using PQsendQuery in libpq_pi

pgsql: Doc: add list of major features to the v15 release notes.

2022-09-23 Thread Tom Lane
Doc: add list of major features to the v15 release notes. Jonathan Katz (word-smithed a bit by me) Discussion: https://postgr.es/m/[email protected] Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/a2ab0ad88cf87e0dcd9fc4c7fc