Re: [BUGS] BUG #7559: syslogger doesn't close stdout and stderr

2012-09-22 Thread Reinhard Max
On Fri, 21 Sep 2012 at 14:17, Tom Lane wrote: All of the use-cases I've thought of for wanting to capture stderr output for it amount to debugging of some form or other, so it's probably good enough for that to only work in the first logger incarnation after database start --- bu

Re: [BUGS] BUG #7559: syslogger doesn't close stdout and stderr

2012-09-20 Thread Reinhard Max
per-centric), I think the default should be to let the logger do the redirection and having a command line switch or postgresql.conf variable to suppress it for debugging purposes. cu Reinhard -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes t

Re: [BUGS] BUG #7559: syslogger doesn't close stdout and stderr

2012-09-20 Thread Reinhard Max
be closed if it is either 1 or 2, which is quite likely to happen as we've just closed these two and open() typically gets the lowest unused FD number. BTW, I think the other dup2() for stderr in syslogger.c should get such a check as well, even if the clash is less likely to happen

Re: [BUGS] BUG #7559: syslogger doesn't close stdout and stderr

2012-09-19 Thread Reinhard Max
errors it might run into before its own logging has been set up. cu Reinhard -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] BUG #7559: syslogger doesn't close stdout and stderr

2012-09-19 Thread reinhard
The following bug has been logged on the website: Bug reference: 7559 Logged by: Reinhard Max Email address: reinh...@m4x.de PostgreSQL version: 9.1.5 Operating system: openSUSE Description: When initially starting up, syslogger keeps stdout and stderr open instead

[BUGS] BUG #4179: pg_standby reports "file size greater than expected"

2008-05-17 Thread Reinhard Zitzmann
The following bug has been logged online: Bug reference: 4179 Logged by: Reinhard Zitzmann Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3.1 Operating system: Centos 5 Description:pg_standby reports "file size greater than expected" Details: When

Re: [BUGS] pgtcl large object fix

2003-08-14 Thread Reinhard Max
lity problems might we > create if we make this change? ByteArrays were introduced in Tcl 8.1 (March 1999) along with the change to use UTF-8 as internal string encoding. cu Reinhard ---(end of broadcast)--- TIP 9: the planner will ignor

Re: [BUGS] Bug #756: suggestion: file with password instead of

2002-09-05 Thread Reinhard Max
ll need to have the password file on another than the default place, e.g. because the home directory is on NFS and thus considered unsafe, the file format could simply allow some sort of include command. cu Reinhard ---(end of broadcast)

Re: [BUGS] Bug #756: suggestion: file with password instead of

2002-09-05 Thread Reinhard Max
setting yet another environment variable? cu Reinhard ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [BUGS] pg_hba.conf confusion

2002-06-18 Thread Reinhard Max
entry is being used. If now the mask in the first entry is 0.0.0.0, any IP adress matches: (127.0.0.1 & 0.0.0.0) == (192.168.1.1 & 0.0.0.0) 0.0.0.0 == 0.0.0.0 ... and therefore the second entry is never being checked. cu Reinhard ---(end

Re: [BUGS] pg_hba.conf confusion

2002-06-18 Thread Reinhard Max
tch this line. cu Reinhard ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [BUGS] Bug #630: date/time storage problem: timestamp parsed

2002-04-11 Thread Reinhard Max
, and show a difference of 8 hour (regression.diffs attached). I've added code to DetermineLocalTimeZone that elogs and ERROR if mktime returns < 0, which showed, that this also happens in some other tests, but without affecting the results there (maybe pure luck?). cu Reinhar

Re: [BUGS] Indexes not always used after inserts/updates/vacuum

2002-03-04 Thread Reinhard Max
Hi, On Fri, 1 Mar 2002 at 09:37, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> writes: > > > I'll tell my colleague (it's his test database, after all) that he > > should take more realistic test data before complaining about bad > > performance... &

Re: [BUGS] Indexes not always used after inserts/updates/vacuum

2002-02-28 Thread Reinhard Max
| 1010 | 1004 | 38431 foo | 1010 | 10423442 | 352072 (2 rows) I'll tell my colleague (it's his test database, after all) that he should take more realistic test data before complaining about bad performance... cu Reinhard ---(end

Re: [BUGS] Indexes not always used after inserts/updates/vacuum

2002-02-28 Thread Reinhard Max
On Thu, 28 Feb 2002 at 10:15, Tom Lane wrote: > Okay. It looks like foo.id has a pretty strong but not perfect > descending order (the correlation statistic is -0.563276). The > planner is evidently not rating that effect strongly enough. Yes, that seems to be the reason. When I try S

Re: [BUGS] Indexes not always used after inserts/updates/vacuum

2002-02-28 Thread Reinhard Max
On Thu, 28 Feb 2002 at 09:51, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> writes: > > I've just found a case where forcing indexscans results in much higher > > speed. > > > -> Index Scan using foo_pkey on foo > >

Re: [BUGS] Indexes not always used after inserts/updates/vacuum

2002-02-28 Thread Reinhard Max
I've reproduced that several times. Even on a newly started postmaster the query takes less than 2.5 seconds with seqscans swited off. cu Reinhard ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[BUGS] performance problems on updates on large tables with indexes

2002-02-27 Thread Reinhard Max
chance to avoid the massive performance hit other than dropping the indexes before the update and re-creating them afterwards? The machine is a PIII/1GHz with 256MB of RAM and a UDMA100 disk running PostgreSQL 7.2 on Linux 2.4.17. Thanks in advance and greetings from Nuremberg, Reinhard

[BUGS] 7.2b5 libpq++ include files broken?

2002-01-22 Thread Reinhard Max
ternal in addition to -I/usr/include/pgsql or is the relocation of headers to the 'internal' subdirectory still incomplete? cu Reinhard ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriat

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-09-06 Thread Reinhard Max
and PL/Tcl with Tcl versions prior and after Tcl's move to UTF-8. One Question remains here: Do --enable-multibyte and --enable-unicode-conversion have any downsides (besides a larger executable), if they are compiled in, but not used? cu Reinhard ---(end of broad

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Reinhard Max
On Fri, 20 Jul 2001, Peter Eisentraut wrote: > Reinhard Max writes: > > > OK, I'll pack the new stuff inside #ifdef TCL_UTF8 and define that if > > the Tcl version is 8.1 or greater. > > No, please add a configure check for Tcl_UtfToExternalDString or > some other

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-19 Thread Reinhard Max
On Wed, 18 Jul 2001, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> writes: > > On Wed, 18 Jul 2001, Bruce Momjian wrote: > >> Do you have any idea how this will work with earlier TCL versions? > > > It won't. If pgtcl is supposed to still be able to

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-19 Thread Reinhard Max
On Wed, 18 Jul 2001, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> writes: > > On Wed, 18 Jul 2001, Bruce Momjian wrote: > >> Do you have any idea how this will work with earlier TCL versions? > > > It won't. If pgtcl is supposed to still be able to

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread Reinhard Max
ng added to TCL? According to Tcl's changelog files, it was added in 1997 for Tcl 8.1 wich was released in 1999. cu Reinhard Max Maintainer of the Tcl/Tk and PostgreSQL packages for SuSE Linux ---(end of broadcast)--- TIP 3: if posting

Re: [BUGS] Some regression tests are failed RH7.0

2001-03-20 Thread Reinhard Max
set it to POSIX before starting the postmaster. AFAIK glibc-2.2.2 will fix this bug. cu Reinhard ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl

Re: [BUGS] NOTICE: pg_setlocale()

2001-02-19 Thread Reinhard Max
current glibc which will be fixed in the next version. As a workarround you can try to unset LANG and all LC_* variables. cu Reinhard

SuSE Linux 7.0 SMP (was: Re: [BUGS] RE : Postgres)

2000-10-30 Thread Reinhard Max
mbination, please let me know. cu Reinhard -- If you put garbage in a computer nothing comes out but garbage. But this garbage, having passed through a very expensive machine, is somehow enobled and none dare criticize it.

[BUGS] Patch for Linux-IA64

2000-07-05 Thread Reinhard Max
src/backend/libpq/pqcomm.c as workarround for the PostgreSQL RPMs for SuSE Linux which I am currently working on. The patch (hack) doing this is also included. Regards, Reinhard Max -- If you put garbage in a computer nothing comes out but garbage. But this garbage, having passed throug