[COMMITTERS] pgsql: Ignore object files generated by ecpg test suite on Windows

2015-03-09 Thread Michael Meskes
Ignore object files generated by ecpg test suite on Windows Patch by Michael Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/b9e538b190d9cf4387361214eadc430393ebf852 Modified Files -- .../ecpg/test/compat_informix/.gitignore |9

[COMMITTERS] pgsql: Move WAL-related definitions from dbcommands.h to separate heade

2015-03-09 Thread Heikki Linnakangas
Move WAL-related definitions from dbcommands.h to separate header file. This makes it easier to write frontend programs that needs to understand the WAL record format of CREATE/DROP DATABASE. dbcommands.h cannot easily be #included in a frontend program, because it pulls in other header files that

[COMMITTERS] pgsql: Fix handling of sortKeys field in Tuplesortstate.

2015-03-09 Thread Robert Haas
Fix handling of sortKeys field in Tuplesortstate. Commit 5cefbf5a6c4466ac6b1cc2a4316b4eba9108c802 introduced an assumption that this field would always be non-NULL when doing a merge pass, but that's not true. Without this fix, you can crash the server by building a hash index that is sufficientl

[COMMITTERS] pgsql: Ignore leftover artifacts from ecpg testsuite runs on Windows.

2015-03-09 Thread Michael Meskes
Ignore leftover artifacts from ecpg testsuite runs on Windows. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/fa83f809458a966dff225d3d266399d48e7b5e6e Modified Files -- .gitignore |1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-committers ma

[COMMITTERS] pgsql: Revert "Ignore object files generated by ecpg test suite on Wind

2015-03-09 Thread Michael Meskes
Revert "Ignore object files generated by ecpg test suite on Windows" This reverts commit b9e538b190d9cf4387361214eadc430393ebf852. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2093eb4d4c2b55962df613fdd6f605ce4dc67217 Modified Files -- .../ecpg/test/co

[COMMITTERS] pgsql: Allow CURRENT/SESSION_USER to be used in certain commands

2015-03-09 Thread Alvaro Herrera
Allow CURRENT/SESSION_USER to be used in certain commands Commands such as ALTER USER, ALTER GROUP, ALTER ROLE, GRANT, and the various ALTER OBJECT / OWNER TO, as well as ad-hoc clauses related to roles such as the AUTHORIZATION clause of CREATE SCHEMA, the FOR clause of CREATE USER MAPPING, and t

Re: [COMMITTERS] pgsql: Allow CURRENT/SESSION_USER to be used in certain commands

2015-03-09 Thread Alvaro Herrera
Alvaro Herrera wrote: > Allow CURRENT/SESSION_USER to be used in certain commands hm, this created a crasher in ExecAlterDefaultPrivilegesStmt apparently. I'm looking into it. -- Álvaro Herrerahttp://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training

[COMMITTERS] pgsql: Fix crasher bugs in previous commit

2015-03-09 Thread Alvaro Herrera
Fix crasher bugs in previous commit ALTER DEFAULT PRIVILEGES was trying to decode the list of roles in the FOR clause as a list of names rather than of RoleSpecs; and the IN clause in CREATE ROLE was doing the same thing. This was evidenced by crashes on some buildfarm machines, though on my plat

[COMMITTERS] pgsql: Keep CommitTs module in sync in standby and master

2015-03-09 Thread Alvaro Herrera
Keep CommitTs module in sync in standby and master We allow this module to be turned off on restarts, so a restart time check is enough to activate or deactivate the module; however, if there is a standby replaying WAL emitted from a master which is restarted, but the standby isn't, the state in t