[COMMITTERS] pgsql: Fix pg_rewind regression failure after "fast promotion"

2015-04-30 Thread Heikki Linnakangas
Fix pg_rewind regression failure after "fast promotion" pg_rewind looks at the control file to determine the server's timeline. If the standby performs a "fast promotion", the timeline ID in the control file is not updated until the next checkpoint. The startup process requests a checkpoint immedi

[COMMITTERS] pgsql: Fix up some loose ends for CURRENT_USER as RoleSpec

2015-04-30 Thread Alvaro Herrera
Fix up some loose ends for CURRENT_USER as RoleSpec In commit 31eae6028eca4, some documents were not updated to show the new capability; fix that. Also, the error message you get when CURRENT_USER and SESSION_USER are used in a context that doesn't accept them could be clearer about it being a pr

[COMMITTERS] pgsql: Create an infrastructure for parallel computation in PostgreSQL.

2015-04-30 Thread Robert Haas
Create an infrastructure for parallel computation in PostgreSQL. This does four basic things. First, it provides convenience routines to coordinate the startup and shutdown of parallel workers. Second, it synchronizes various pieces of state (e.g. GUCs, combo CID mappings, transaction snapshot)

[COMMITTERS] pgsql: Fix pg_upgrade's multixact handling (again)

2015-04-30 Thread Alvaro Herrera
Fix pg_upgrade's multixact handling (again) We need to create the pg_multixact/offsets file deleted by pg_upgrade much earlier than we originally were: it was in TrimMultiXact(), which runs after we exit recovery, but it actually needs to run earlier than the first call to SetMultiXactIdLimit (bef

[COMMITTERS] pgsql: Fix pg_upgrade's multixact handling (again)

2015-04-30 Thread Alvaro Herrera
Fix pg_upgrade's multixact handling (again) We need to create the pg_multixact/offsets file deleted by pg_upgrade much earlier than we originally were: it was in TrimMultiXact(), which runs after we exit recovery, but it actually needs to run earlier than the first call to SetMultiXactIdLimit (bef

[COMMITTERS] pgsql: Fix pg_upgrade's multixact handling (again)

2015-04-30 Thread Alvaro Herrera
Fix pg_upgrade's multixact handling (again) We need to create the pg_multixact/offsets file deleted by pg_upgrade much earlier than we originally were: it was in TrimMultiXact(), which runs after we exit recovery, but it actually needs to run earlier than the first call to SetMultiXactIdLimit (bef

Re: [COMMITTERS] Re: pgsql: to_char(): have format 'OF' only show the leading negative sign

2015-04-30 Thread Bruce Momjian
On Thu, Apr 30, 2015 at 09:07:45AM -0400, Robert Haas wrote: > >> > > Since abs() is declared to return just an int. I don't see it anywhere > >> > > in our tree and I'm not sure how portable it actually is, but labs() is > >> > > supposedly in C89, so perhaps that should be used here instead? > >

Re: [COMMITTERS] Re: pgsql: to_char(): have format 'OF' only show the leading negative sign

2015-04-30 Thread Robert Haas
On Wed, Apr 29, 2015 at 5:05 PM, Bruce Momjian wrote: > On Wed, Apr 29, 2015 at 02:22:22PM -0400, Stephen Frost wrote: >> * Robert Haas (robertmh...@gmail.com) wrote: >> > On Wed, Apr 29, 2015 at 10:11 AM, Stephen Frost wrote: >> > > * Bruce Momjian (br...@momjian.us) wrote: >> > >> to_char(): h

[COMMITTERS] pgsql: Fix typo

2015-04-30 Thread Magnus Hagander
Fix typo Amit Langote Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/da114099afd47b95831514d3a8785c7726eefe03 Modified Files -- doc/src/sgml/replication-origins.sgml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers