pgsql: Doc: Fix list of storage parameters available for ALTER TABLE

2020-01-23 Thread Michael Paquier
Doc: Fix list of storage parameters available for ALTER TABLE Only the parameter parallel_workers can be used directly with ALTER TABLE. Issue introduced in 6f3a13f, so backpatch down to 10. Author: Justin Pryzby Discussion: https://postgr.es/m/[email protected] Backpatch-thro

pgsql: Doc: Fix list of storage parameters available for ALTER TABLE

2020-01-23 Thread Michael Paquier
Doc: Fix list of storage parameters available for ALTER TABLE Only the parameter parallel_workers can be used directly with ALTER TABLE. Issue introduced in 6f3a13f, so backpatch down to 10. Author: Justin Pryzby Discussion: https://postgr.es/m/[email protected] Backpatch-thro

pgsql: Doc: Fix list of storage parameters available for ALTER TABLE

2020-01-23 Thread Michael Paquier
Doc: Fix list of storage parameters available for ALTER TABLE Only the parameter parallel_workers can be used directly with ALTER TABLE. Issue introduced in 6f3a13f, so backpatch down to 10. Author: Justin Pryzby Discussion: https://postgr.es/m/[email protected] Backpatch-thro

pgsql: Doc: Fix list of storage parameters available for ALTER TABLE

2020-01-23 Thread Michael Paquier
Doc: Fix list of storage parameters available for ALTER TABLE Only the parameter parallel_workers can be used directly with ALTER TABLE. Issue introduced in 6f3a13f, so backpatch down to 10. Author: Justin Pryzby Discussion: https://postgr.es/m/[email protected] Backpatch-thro

pgsql: Add configure probe for rl_completion_suppress_quote.

2020-01-23 Thread Tom Lane
Add configure probe for rl_completion_suppress_quote. I had supposed that all versions of Readline that have filename quoting hooks also have the rl_completion_suppress_quote variable. But it seems OpenBSD managed to find a version someplace that does not, so we'll have to expend a separate config

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

pgsql: Fix an oversight in commit 4c70098ff.

2020-01-23 Thread Tom Lane
Fix an oversight in commit 4c70098ff. I had supposed that the from_char_seq_search() call sites were all passing the constant arrays you'd expect them to pass ... but on looking closer, the one for DY format was passing the days[] array not days_short[]. This accidentally worked because the day a

Re: pgsql: walreceiver uses a temporary replication slot by default

2020-01-23 Thread Robert Haas
On Tue, Jan 14, 2020 at 8:57 AM Peter Eisentraut wrote: > walreceiver uses a temporary replication slot by default > > If no permanent replication slot is configured using > primary_slot_name, the walreceiver now creates and uses a temporary > replication slot. A new setting wal_receiver_create_t

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Clean up formatting.c's logic for matching constant strings.

2020-01-23 Thread Tom Lane
Clean up formatting.c's logic for matching constant strings. seq_search(), which is used to match input substrings to constants such as month and day names, had a lot of bizarre and unnecessary behaviors. It was mostly possible to avert our eyes from that before, but we don't want to duplicate th

pgsql: Improve psql's tab completion for filenames.

2020-01-23 Thread Tom Lane
Improve psql's tab completion for filenames. The Readline library contains a fair amount of knowledge about how to tab-complete filenames, but it turns out that that doesn't work too well unless we follow its expectation that we use its filename quoting hooks to quote and de-quote filenames. We w

pgsql: Doc: Fix and tweak documentation for ANALYZE reporting

2020-01-23 Thread Michael Paquier
Doc: Fix and tweak documentation for ANALYZE reporting The docs had some typos and grammar mistakes, and its indentation was inconsistent. Author: Amit Langote, Justin Pryzby Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.po