[COMMITTERS] pgsql: Improve docs for timing and skipping of checkpoints

2011-11-03 Thread Simon Riggs
Improve docs for timing and skipping of checkpoints Greg Smith Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/43342891861cc2d08dea2b1c8b190e15e5a36551 Modified Files -- doc/src/sgml/wal.sgml | 11 +-- 1 files changed, 9 insertions(+), 2 deletio

[COMMITTERS] pgsql: Support range data types.

2011-11-03 Thread Heikki Linnakangas
Support range data types. Selectivity estimation functions are missing for some range type operators, which is a TODO. Jeff Davis Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4429f6a9e3e12bb4af6e3677fbc78cd80f160252 Modified Files -- doc/src/sgml/cat

[COMMITTERS] pgsql: Pre-pad WAL files when streaming transaction log

2011-11-03 Thread Magnus Hagander
Pre-pad WAL files when streaming transaction log Instead of filling files as they appear, pre-pad the WAL files received when streaming xlog the same way that the server does. Data is streamed into a .partial file which is then renamed()d into palce when it's complete, but it will always be 16MB.

[COMMITTERS] pgsql: Properly close replication connection in pg_receivexlog

2011-11-03 Thread Magnus Hagander
Properly close replication connection in pg_receivexlog Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/3b06105c7d999752177f98fdad20278d57804f8f Modified Files -- src/bin/pg_basebackup/pg_receivexlog.c |2 ++ 1 files changed, 2 insertions(+), 0 deletio

[COMMITTERS] pgsql: Do not treat a superuser as a member of every role for HBA purpo

2011-11-03 Thread Andrew Dunstan
Do not treat a superuser as a member of every role for HBA purposes. This makes it possible to use reject lines with group roles. Andrew Dunstan, reviewd by Robert Haas. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/94cd0f1ad8af722a48a30a1087377b52ca99d633 Modifi

[COMMITTERS] pgsql: Implement a dry-run mode for isolationtester

2011-11-03 Thread Alvaro Herrera
Implement a dry-run mode for isolationtester This mode prints out the permutations that would be run by the given spec file, in the same format used by the permutation lines in spec files. This helps in building new spec files. Author: Alexander Shulgin, with some tweaks by me Branch -- mas

[COMMITTERS] pgsql: Adjust pg_upgrade "new database skip" code, e.g. 'postgres', to

2011-11-03 Thread Bruce Momjian
Adjust pg_upgrade "new database skip" code, e.g. 'postgres', to more cleanly handle old/new database mismatches. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/84b8fcaa923259d6f7daf228183ecbeb924dc950 Modified Files -- contrib/pg_upgrade/relfilenode.c |

Re: [COMMITTERS] pgsql: Do not treat a superuser as a member of every role for HBA purpo

2011-11-03 Thread Tom Lane
Andrew Dunstan writes: > Do not treat a superuser as a member of every role for HBA purposes. > This makes it possible to use reject lines with group roles. As committed, this patch also changes the behavior of "samerole", but the doc update fails to reflect that. regards

Re: [COMMITTERS] pgsql: Do not treat a superuser as a member of every role for HBA purpo

2011-11-03 Thread Andrew Dunstan
On 11/03/2011 03:16 PM, Tom Lane wrote: Andrew Dunstan writes: Do not treat a superuser as a member of every role for HBA purposes. This makes it possible to use reject lines with group roles. As committed, this patch also changes the behavior of "samerole", but the doc update fails to refle

[COMMITTERS] pgsql: Role membership of superusers is only by explicit membership for

2011-11-03 Thread Andrew Dunstan
Role membership of superusers is only by explicit membership for HBA. Document that this rule applies to 'samerole' as well as to named roles. Per gripe from Tom Lane. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f66c8252ab9a64dd49a0af2b481a2621dd008768 Modified

[COMMITTERS] pgsql: Fix inline_set_returning_function() to allow multiple OUT parame

2011-11-03 Thread Tom Lane
Fix inline_set_returning_function() to allow multiple OUT parameters. inline_set_returning_function failed to distinguish functions returning generic RECORD (which require a column list in the RTE, as well as run-time type checking) from those with multiple OUT parameters (which do not). This prev

[COMMITTERS] pgsql: Fix inline_set_returning_function() to allow multiple OUT parame

2011-11-03 Thread Tom Lane
Fix inline_set_returning_function() to allow multiple OUT parameters. inline_set_returning_function failed to distinguish functions returning generic RECORD (which require a column list in the RTE, as well as run-time type checking) from those with multiple OUT parameters (which do not). This prev

[COMMITTERS] pgsql: Fix inline_set_returning_function() to allow multiple OUT parame

2011-11-03 Thread Tom Lane
Fix inline_set_returning_function() to allow multiple OUT parameters. inline_set_returning_function failed to distinguish functions returning generic RECORD (which require a column list in the RTE, as well as run-time type checking) from those with multiple OUT parameters (which do not). This prev

[COMMITTERS] pgsql: Fix inline_set_returning_function() to allow multiple OUT parame

2011-11-03 Thread Tom Lane
Fix inline_set_returning_function() to allow multiple OUT parameters. inline_set_returning_function failed to distinguish functions returning generic RECORD (which require a column list in the RTE, as well as run-time type checking) from those with multiple OUT parameters (which do not). This prev

[COMMITTERS] pgsql: Fix bogus code in contrib/ tsearch dictionary examples.

2011-11-03 Thread Tom Lane
Fix bogus code in contrib/ tsearch dictionary examples. Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xs

[COMMITTERS] pgsql: Fix bogus code in contrib/ tsearch dictionary examples.

2011-11-03 Thread Tom Lane
Fix bogus code in contrib/ tsearch dictionary examples. Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xs

[COMMITTERS] pgsql: Fix bogus code in contrib/ tsearch dictionary examples.

2011-11-03 Thread Tom Lane
Fix bogus code in contrib/ tsearch dictionary examples. Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xs

[COMMITTERS] pgsql: Improve comments for TSLexeme data structure.

2011-11-03 Thread Tom Lane
Improve comments for TSLexeme data structure. Mostly, clean up long-ago pgindent damage. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a0d2f05a0d433ab68ec378744ff920562a5ef681 Modified Files -- src/include/tsearch/ts_public.h | 27 +++

[COMMITTERS] pgsql: Fix bogus code in contrib/ tsearch dictionary examples.

2011-11-03 Thread Tom Lane
Fix bogus code in contrib/ tsearch dictionary examples. Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xs

[COMMITTERS] pgsql: Fix bogus code in contrib/ tsearch dictionary examples.

2011-11-03 Thread Tom Lane
Fix bogus code in contrib/ tsearch dictionary examples. Both dict_int and dict_xsyn were blithely assuming that whatever memory palloc gives back will be pre-zeroed. This would typically work for just about long enough to run their regression tests, and no longer :-(. The pre-9.0 code in dict_xs

[COMMITTERS] pgsql: Unbreak isolationtester on Win32

2011-11-03 Thread Alvaro Herrera
Unbreak isolationtester on Win32 I broke it in a previous commit because I neglected to install the necessary incantations to have getopt() work on Windows. Per red blots in buildfarm. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/e145891c984540a86788f88b604c766c9