pgsql: Fix "invalid spinlock number: 0" error in pg_stat_wal_receiver.

2021-02-18 Thread Fujii Masao
Fix "invalid spinlock number: 0" error in pg_stat_wal_receiver. Commit 2c8dd05d6c added the atomic variable writtenUpto into walreceiver's shared memory information. It's initialized only when walreceiver started up but could be read via pg_stat_wal_receiver view anytime, i.e., even before it's in

pgsql: Fix "invalid spinlock number: 0" error in pg_stat_wal_receiver.

2021-02-18 Thread Fujii Masao
Fix "invalid spinlock number: 0" error in pg_stat_wal_receiver. Commit 2c8dd05d6c added the atomic variable writtenUpto into walreceiver's shared memory information. It's initialized only when walreceiver started up but could be read via pg_stat_wal_receiver view anytime, i.e., even before it's in

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Fix another ancient bug in parsing of BRE-mode regular expressio

2021-02-18 Thread Tom Lane
Fix another ancient bug in parsing of BRE-mode regular expressions. While poking at the regex code, I happened to notice that the bug squashed in commit afcc8772e had a sibling: next() failed to return a specific value associated with the '}' token for a "\{m,n\}" quantifier when parsing in basic

pgsql: Add nbtree README section on page recycling.

2021-02-18 Thread Peter Geoghegan
Add nbtree README section on page recycling. Consolidate discussion of how VACUUM places pages in the FSM for recycling by adding a new section that comes after discussion of page deletion. This structure reflects the fact that page recycling is explicitly decoupled from page deletion in Lanin &

pgsql: Update snowball

2021-02-18 Thread Peter Eisentraut
Update snowball Update to snowball tag v2.1.0. Major changes are new stemmers for Armenian, Serbian, and Yiddish. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/678d0e239b67174f349a401ea7dcecabb3c5b137 Modified Files -- doc/src/sgml/textsearch.sgml