[COMMITTERS] pgsql: Exclude sepgsql from MSVC regression testing as well

2011-01-23 Thread Magnus Hagander
Exclude sepgsql from MSVC regression testing as well In passing, change exclusion in the build to follow the same pattern as other always-excluded modules. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=97520809424d46c55e2faf73b5f09cb64b52f4

[COMMITTERS] pgsql: Silence compiler warning about uninitialized variable, noted by

2011-01-23 Thread Heikki Linnakangas
Silence compiler warning about uninitialized variable, noted by Itagaki Takahiro Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=56d77c9e56adbd856beba00af3dc607687d30198 Modified Files -- src/bin/pg_dump/pg_backup_archiver.c |

[COMMITTERS] pgsql: PGXS support for contrib/hstore

2011-01-23 Thread Robert Haas
PGXS support for contrib/hstore Joey Adams Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41611f16e933dafa9c3ae0477f89537ea1459eb6 Modified Files -- contrib/hstore/Makefile | 13 + 1 files changed, 9 insertions(+),

[COMMITTERS] pgsql: Blind attempt to exclude sepgsql from MSVC build system.

2011-01-23 Thread Robert Haas
Blind attempt to exclude sepgsql from MSVC build system. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=c26ac226e45fbf84cd63588498c00da9417aebc1 Modified Files -- src/tools/msvc/Install.pm |1 + src/tools/msvc/Mkvcbuild.pm |

Re: [COMMITTERS] pgsql: sepgsql, an SE-Linux integration for PostgreSQL

2011-01-23 Thread Robert Haas
On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown wrote: > There are quite a few sentences which I'm not sure how to correct as I > don't know how they're supposed to read.  But I've put together a > patch to correct some of the typos and grammar.  There's a lot I > haven't yet gone through though. Tha

[COMMITTERS] pgsql: First round of cleanup of sepgsql code and documentation.

2011-01-23 Thread Robert Haas
First round of cleanup of sepgsql code and documentation. Robert Haas, with a few suggestions from Thom Brown Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=194c8f713aa62a528afa4ce4274b80aaff9eb264 Modified Files -- contrib/sepg

Re: [COMMITTERS] pgsql: sepgsql, an SE-Linux integration for PostgreSQL

2011-01-23 Thread Thom Brown
On 24 January 2011 01:48, Robert Haas wrote: > sepgsql, an SE-Linux integration for PostgreSQL > > This is still pretty rough - among other things, the documentation > needs work, and the messages need a visit from the style police - > but this gets the basic framework in place. > > KaiGai Kohei >

[COMMITTERS] pgsql: sepgsql, an SE-Linux integration for PostgreSQL

2011-01-23 Thread Robert Haas
sepgsql, an SE-Linux integration for PostgreSQL This is still pretty rough - among other things, the documentation needs work, and the messages need a visit from the style police - but this gets the basic framework in place. KaiGai Kohei Branch -- master Details --- http://git.postgresq

[COMMITTERS] pgsql: Make walsender options order-independent

2011-01-23 Thread Magnus Hagander
Make walsender options order-independent While doing this, also move base backup options into a struct instead of increasing the number of parameters to multiple functions for each new option. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e

[COMMITTERS] pgsql: Reorder includes to unbreak MSVC

2011-01-23 Thread Magnus Hagander
Reorder includes to unbreak MSVC Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=39e911e28a7a998d9439c0f5886c97fbbfc72a75 Modified Files -- src/bin/pg_dump/pg_backup_directory.c |6 +++--- 1 files changed, 3 insertions(+), 3 de

[COMMITTERS] pgsql: Add 'directory' format to pg_dump. The new directory format is c

2011-01-23 Thread Heikki Linnakangas
Add 'directory' format to pg_dump. The new directory format is compatible with the 'tar' format, in that untarring a tar format archive produces a valid directory format archive. Joachim Wieland and Heikki Linnakangas Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgr

[COMMITTERS] pgsql: Fix another portability issue in pg_basebackup.

2011-01-23 Thread Tom Lane
Fix another portability issue in pg_basebackup. The target of sscanf with a %o format had better be of integer width, but "mode_t" conceivably isn't that. Another compiler warning seen only on some platforms; this one I think is potentially a real bug and not just a warning. Branch -- master

[COMMITTERS] pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc

2011-01-23 Thread Tom Lane
Improve getObjectDescription's display of pg_amop and pg_amproc entries. Include the lefttype/righttype columns explicitly (instead of assuming the reader can deduce them from the operator or function description), and move the operator or function description to the end of the string, to make it

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Devrim GÜNDÜZ
On Sun, 2011-01-23 at 13:36 -0500, Tom Lane wrote: > >> gcc 4.4.5, standard on Fedora 13. I'm surprised that yours did not > show > >> it, because the usage pattern looks beyond gcc's ability to prove > safe. > > > Interesting. I just make clean/make:ed it again to make sure, and it > > doesn't. A

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Magnus Hagander
On Sun, Jan 23, 2011 at 19:36, Tom Lane wrote: > Magnus Hagander writes: >> On Sun, Jan 23, 2011 at 19:21, Tom Lane wrote: >>> Magnus Hagander writes: Which compiler did that come out of? I don't think I saw it on any of the ones I tried.. > >>> gcc 4.4.5, standard on Fedora 13.  I'm

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Tom Lane
Magnus Hagander writes: > On Sun, Jan 23, 2011 at 19:21, Tom Lane wrote: >> Magnus Hagander writes: >>> Which compiler did that come out of? I don't think I saw it on any of >>> the ones I tried.. >> gcc 4.4.5, standard on Fedora 13.  I'm surprised that yours did not show >> it, because the usa

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Magnus Hagander
On Sun, Jan 23, 2011 at 19:21, Tom Lane wrote: > Magnus Hagander writes: >> Which compiler did that come out of? I don't think I saw it on any of >> the ones I tried.. > > gcc 4.4.5, standard on Fedora 13.  I'm surprised that yours did not show > it, because the usage pattern looks beyond gcc's a

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Tom Lane
Magnus Hagander writes: > Which compiler did that come out of? I don't think I saw it on any of > the ones I tried.. gcc 4.4.5, standard on Fedora 13. I'm surprised that yours did not show it, because the usage pattern looks beyond gcc's ability to prove safe. regards, t

[COMMITTERS] pgsql: Revert "Factor out functions responsible for caching I/O routine

2011-01-23 Thread Tom Lane
Revert "Factor out functions responsible for caching I/O routines". This reverts commit 740e54ca84c437fd67524f97a3ea9ddea752e208, which seems to have tickled an optimization bug in gcc 4.5.x, as reported upstream at https://bugzilla.redhat.com/show_bug.cgi?id=671899 Since this patch had no purpose

Re: [COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Magnus Hagander
Which compiler did that come out of? I don't think I saw it on any of the ones I tried.. //Magnus On Sun, Jan 23, 2011 at 19:08, Tom Lane wrote: > Suppress uninitialized-variable warning. > > Branch > -- > master > > Details > --- > http://git.postgresql.org/gitweb?p=postgresql.git;a=com

[COMMITTERS] pgsql: Add .gitignore file to silence complaints about pg_basebackup.

2011-01-23 Thread Tom Lane
Add .gitignore file to silence complaints about pg_basebackup. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=10e99f15d423b1730929af1992593c6649952fd5 Modified Files -- src/bin/pg_basebackup/.gitignore |1 + 1 files changed, 1

[COMMITTERS] pgsql: Suppress uninitialized-variable warning.

2011-01-23 Thread Tom Lane
Suppress uninitialized-variable warning. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb Modified Files -- src/bin/pg_basebackup/pg_basebackup.c |2 +- 1 files changed, 1 insertions(+),

[COMMITTERS] pgsql: Silence flex warnings about DOS file paths in MSVC builds

2011-01-23 Thread Andrew Dunstan
Silence flex warnings about DOS file paths in MSVC builds Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6c41cf5977ca3f13159b980d4b216e3bc9df90e8 Modified Files -- src/tools/msvc/pgflex.bat |3 +++ 1 files changed, 3 insertion

Re: [COMMITTERS] pgsql: Add pg_basebackup tool for streaming base backups

2011-01-23 Thread Tom Lane
Magnus Hagander writes: > On Sun, Jan 23, 2011 at 18:14, Tom Lane wrote: >> The Windows buildfarm members would like this patch better if you used >> pg_strcasecmp not strcasecmp. > Yeah, I've applied a patch for that already. Ah, yes, see it now. Sorry for the noise.

Re: [COMMITTERS] pgsql: Add pg_basebackup tool for streaming base backups

2011-01-23 Thread Magnus Hagander
On Sun, Jan 23, 2011 at 18:14, Tom Lane wrote: > Magnus Hagander writes: >> Add pg_basebackup tool for streaming base backups > > The Windows buildfarm members would like this patch better if you used > pg_strcasecmp not strcasecmp. > Yeah, I've applied a patch for that already. --  Magnus Ha

Re: [COMMITTERS] pgsql: Add pg_basebackup tool for streaming base backups

2011-01-23 Thread Tom Lane
Magnus Hagander writes: > Add pg_basebackup tool for streaming base backups The Windows buildfarm members would like this patch better if you used pg_strcasecmp not strcasecmp. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)

[COMMITTERS] pgsql: Use pg_strcasecmp instead of strcasecmp for portability

2011-01-23 Thread Magnus Hagander
Use pg_strcasecmp instead of strcasecmp for portability Per buildfarm. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d13e0975c9812dea583486e1d2efd3bc3e638df5 Modified Files -- src/bin/pg_basebackup/pg_basebackup.c |4 ++-- 1

[COMMITTERS] pgsql: Only show pg_stat_replication details to superusers

2011-01-23 Thread Magnus Hagander
Only show pg_stat_replication details to superusers Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f88a638199d8505e7a01548cb647f908ae1e469f Modified Files -- doc/src/sgml/monitoring.sgml|4 +++- src/backend/replication

[COMMITTERS] snapshot - src: FIX: trigger status messages

2011-01-23 Thread User Cunha17
Log Message: --- FIX: trigger status messages Modified Files: -- src/pl: setTriggerStatus.pl (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/setTriggerStatus.pl?r1=1.5&r2=1.6) -- Sent via pgsql-committers mailing list (pgsql-co

[COMMITTERS] snapshot - src: Missing variable declaration.

2011-01-23 Thread User Cunha17
Log Message: --- Missing variable declaration. Modified Files: -- src/pl: setTriggerStatus.pl (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/setTriggerStatus.pl?r1=1.4&r2=1.5) -- Sent via pgsql-committers mailing list (pgsql-c

[COMMITTERS] snapshot - src: FIX: Disable trigger BUG

2011-01-23 Thread User Cunha17
Log Message: --- FIX: Disable trigger BUG Modified Files: -- src/pl: setTriggerStatus.pl (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/setTriggerStatus.pl?r1=1.3&r2=1.4) -- Sent via pgsql-committers mailing list (pgsql-commit

[COMMITTERS] snapshot - src: FIX: retrieval of schema and tablename

2011-01-23 Thread User Cunha17
Log Message: --- FIX: retrieval of schema and tablename Modified Files: -- src/pl: retrieveMasterForSnapshot.pl (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/retrieveMasterForSnapshot.pl?r1=1.4&r2=1.5) -- Sent via pgsql-commi

[COMMITTERS] snapshot - src: ENH: message functions

2011-01-23 Thread User Cunha17
Log Message: --- ENH: message functions Modified Files: -- src/sql: pgsnapshots_refresh_snapshot.sql (r1.13 -> r1.14) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_refresh_snapshot.sql?r1=1.13&r2=1.14) pgsnapshots_create_

[COMMITTERS] snapshot - src: FIX: on prebuilt table not disabling trigger ENH:

2011-01-23 Thread User Cunha17
Log Message: --- FIX: on prebuilt table not disabling trigger ENH: message functions Modified Files: -- src/pl: getKeyColumns.pl (r1.3 -> r1.4) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/getKeyColumns.pl?r1=1.3&r2=1.4) performCompl

[COMMITTERS] pgsql: filemode is parsed on win32 even if never used

2011-01-23 Thread Magnus Hagander
filemode is parsed on win32 even if never used Per buildfarm failure. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fe12263c9f3db78a5359865a6617e23a27e59691 Modified Files -- src/bin/pg_basebackup/pg_basebackup.c |2 -- 1 fi

[COMMITTERS] pgsql: Add pg_basebackup tool for streaming base backups

2011-01-23 Thread Magnus Hagander
Add pg_basebackup tool for streaming base backups This tool makes it possible to do the pg_start_backup/ copy files/pg_stop_backup step in a single command. There are still some steps to be done before this is a complete backup solution, such as the ability to stream the required WAL logs, but it