Re: [PATCHES] [patch] 7.4 initdb - drop trailing slash from $PGDATA

2004-01-18 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Jari Aalto wrote: >> I made a mistake while running 7.4 under W2k/Cygwin, so perhaps >> the patch would give user a little more comfort. > I don't see how. Please explain. CVS-tip initdb seems to be written to suppress any trailing slash in the PGDA

Re: [PATCHES] pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

2004-01-18 Thread Tom Lane
Patrick Samson <[EMAIL PROTECTED]> writes: > Add a call to Tcl_FindExecutable() in > pltcl.c - pltcl_init_all(), > just before the call to Tcl_CreateInterp(). > It should be called with argv[0] as argument, but I > don't know how to get this piece of information for > pltcl.dll. Anyway, for Window

Re: [PATCHES] [patch] Postgres 7.4 - doc INSTALL/Cygwin

2004-01-18 Thread Peter Eisentraut
Jari Aalto wrote: > Here is small patch to help people reading the documentation > under Cygwin. What about those not running under Cygwin? ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] [patch] INSTALL doc note (was Re: [BUGS] BUG #1051: Cannot remove groups)

2004-01-18 Thread Peter Eisentraut
Jari Aalto wrote: > Thank you. That did it. May I suggest adding this: > > > --- INSTALL.old 2004-01-17 13:34:22.0 +0200 > +++ INSTALL 2004-01-17 13:33:32.0 +0200 > @@ -15,6 +15,7 @@ >mkdir /usr/local/pgsql/data >chown postgres /usr/local/pgsql/data >su - postgre

Re: [PATCHES] [patch] 7.4 initdb - drop trailing slash from $PGDATA

2004-01-18 Thread Peter Eisentraut
Jari Aalto wrote: > I made a mistake while running 7.4 under W2k/Cygwin, so perhaps > the patch would give user a little more comfort. I don't see how. Please explain. ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [PATCHES] pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

2004-01-18 Thread Peter Eisentraut
Patrick Samson wrote: > This proposed patch is related to: > http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00024.php First of all, you cannot change the order of postgres.h and tcl.h -- period. Secondly, no // comments, no "personal" comments, no mailing list archive references. Expla

[PATCHES] pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution

2004-01-18 Thread Patrick Samson
This proposed patch is related to: http://archives.postgresql.org/pgsql-cygwin/2004-01/msg00024.php Add a call to Tcl_FindExecutable() in pltcl.c - pltcl_init_all(), just before the call to Tcl_CreateInterp(). It should be called with argv[0] as argument, but I don't know how to get this piece of

[PATCHES] [patch] Postgres 7.4 - doc INSTALL/Cygwin

2004-01-18 Thread Jari Aalto
Here is small patch to help people reading the documentation under Cygwin. --- INSTALL.orig2004-01-16 18:23:24.0 +0200 +++ INSTALL 2004-01-17 09:11:22.0 +0200 @@ -15,11 +15,24 @@ mkdir /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su - postgre

[PATCHES] [patch] 7.4 initdb - drop trailing slash from $PGDATA

2004-01-18 Thread Jari Aalto
I made a mistake while running 7.4 under W2k/Cygwin, so perhaps the patch would give user a little more comfort. [EMAIL PROTECTED]:~/work/tpu/course/1132/sql/postgres# LC_ALL=C initdb /usr/share/postgresql/data/ The files belonging to this database system will be owned by user "root". This user

[PATCHES] [patch] INSTALL doc note (was Re: [BUGS] BUG #1051: Cannot remove groups)

2004-01-18 Thread Jari Aalto
"PostgreSQL Bugs List" <[EMAIL PROTECTED]> writes: > I tried to install all from fresh with: > ... > But that dind't affect the groups or users. This was verified by running > select from pg_group and pg_users immedately after total recreation. Tom Lane: Your trace s

[PATCHES] client_encoding in dump file

2004-01-18 Thread Pavel Stehule
Hello I send my first patch for PostgreSQL - maybe ugly patch. This patch generate on top of dump file line with setting of current encoding. Its useful for languages like czech with more than one wide used encoding. We need informations about used encoding. Regards Pavel Stehule 51a52,53 > s