Re: [PATCHES] [pgsql-hackers-win32] Repleacement for src/port/snprintf.c

2005-02-22 Thread Kurt Roeckx
On Mon, Feb 21, 2005 at 10:53:08PM -0500, Bruce Momjian wrote: > > Applied. The configure test is a little broken. It needs to quote the $'s. I've rewritten the test a little. Kurt Index: config/c-library.m4 === RCS file: /proje

Re: [PATCHES] Fix memcmp() with different sizes.

2004-02-03 Thread Kurt Roeckx
On Mon, Feb 02, 2004 at 09:27:46PM -0500, Tom Lane wrote: > Kurt Roeckx <[EMAIL PROTECTED]> writes: > > - if (memcmp(re_array[i].cre_pat, text_re, text_re_len) == 0 && > > + if (VARSIZE(re_array[i].cre_pat) == text_re_len && > > +

[PATCHES] Fix memcmp() with different sizes.

2004-02-02 Thread Kurt Roeckx
Not everything in the re_array is the same size. This patch first checks that they actually are the same size in the first place. Kurt Index: src/backend/utils/adt/regexp.c === RCS file: /projects/cvsroot/pgsql-server/src/backend/u

Re: [PATCHES] remove obsolete NULL casts

2004-01-05 Thread Kurt Roeckx
On Mon, Jan 05, 2004 at 04:31:40PM -0500, Neil Conway wrote: > In any modern dialect of C, casting the "NULL" pointer literal to a > specific pointer type is unnecessary. For example: > > char *foo; > foo = malloc(...); > if (foo == (char *) NULL) {...} In src/backend/port/darwin/sys

Re: [PATCHES] ISO year.

2003-12-19 Thread Kurt Roeckx
On Fri, Dec 19, 2003 at 07:14:53PM -0500, Bruce Momjian wrote: > > Which patch is OK? The one attached? You looked like you were making > changes to this patch in your later emails. That is the changed/good patch. Kurt ---(end of broadcast)---

Re: [PATCHES] ISO year.

2003-12-18 Thread Kurt Roeckx
On Thu, Dec 18, 2003 at 06:47:41PM +0100, Peter Eisentraut wrote: > Kurt Roeckx wrote: > > I have no idea if this in Oracle or not. But it's something I > > needed, and other people in the past asked about it too. > > It is in Oracle, but you aren't exactly on th

Re: [PATCHES] ISO year.

2003-12-18 Thread Kurt Roeckx
On Thu, Dec 18, 2003 at 06:47:41PM +0100, Peter Eisentraut wrote: > Kurt Roeckx wrote: > > I have no idea if this in Oracle or not. But it's something I > > needed, and other people in the past asked about it too. > > It is in Oracle, but you aren't exactly on th

Re: [PATCHES] ISO year.

2003-12-18 Thread Kurt Roeckx
On Thu, Dec 18, 2003 at 11:41:18AM -0500, Tom Lane wrote: > Kurt Roeckx <[EMAIL PROTECTED]> writes: > > This patch allows you to use I as format specifier to get the > > ISO year, the year correspondeing to the ISO week number (IW). > > The purpose of to_char() as I

[PATCHES] ISO year.

2003-12-18 Thread Kurt Roeckx
This patch allows you to use I as format specifier to get the ISO year, the year correspondeing to the ISO week number (IW). Kurt Index: doc/src/sgml/func.sgml === RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,

[PATCHES] Walker/mutator prototype.

2003-12-14 Thread Kurt Roeckx
This patch adds proper prototypes to the walkers and mutators. I changed the patch as Greg Stark suggested. Kurt Index: src/backend/catalog/dependency.c === RCS file: /projects/cvsroot/pgsql-server/src/backend/catalog/dependency.c

[PATCHES] on_proc_exit/on_shmem_exit prototypes.

2003-12-09 Thread Kurt Roeckx
This patch properly sets the prototype for the on_shmem_exit and on_proc_exit functions, and adjust all other related code to use the proper types too. Kurt Index: src/backend/access/transam/xlog.c === RCS file: /projects/cvsroot/p

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-02 Thread Kurt Roeckx
creating template1 database in /export/home/tbaden/posttemp/postgresql-7.4/src/test/regress/./tmp_check/data/b+ase/1... FATAL: could not create semaphores: No space left on device DETAIL: Failed system call was semget(1, 17, 03600). HINT: This error does *not* mean that you have run out of disk

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-01 Thread Kurt Roeckx
On Mon, Dec 01, 2003 at 06:08:06PM -0500, Tom Lane wrote: > Kurt Roeckx <[EMAIL PROTECTED]> writes: > > On Mon, Dec 01, 2003 at 05:19:17PM -0500, Tom Lane wrote: > >> After reviewing the proposed patch, I find it hard to believe that the > >> patch would have fixed

Re: [PATCHES] 7.4 shared memory error on 64-bit SPARC/Solaris 5.8

2003-12-01 Thread Kurt Roeckx
On Mon, Dec 01, 2003 at 05:19:17PM -0500, Tom Lane wrote: > Thomas Baden <[EMAIL PROTECTED]> writes: > > Hi there. My install was failing the regression tests > > due to a shared memory error. > > After reviewing the proposed patch, I find it hard to believe that the > patch would have fixed any

Re: [PATCHES] file too large, segmentation fault

2003-11-28 Thread Kurt Roeckx
On Sun, Nov 23, 2003 at 10:51:10PM -0500, Anjan Dave wrote: > Hi All: > > I am trying to restore a database on a different machine (7.2.3 on Sol9 to 7.2.4 > RH8), and i get the following error, that i haven't seen before: > > -bash-2.05b$ pg_restore -d access -Ft -a access.dump.tar > pg_restor

Re: [pgsql-hackers-win32] [PATCHES] SRA Win32 sync() code

2003-11-19 Thread Kurt Roeckx
On Mon, Nov 17, 2003 at 12:46:34AM -0500, Bruce Momjian wrote: > Tom Lane wrote: > > > Do we know that having the background writer fsync a file that was > > > written by a backend cause all the data to fsync? I think I could write > > > a program to test this by timing each of these tests: > > >

Re: [PATCHES] SIGPIPE handling

2003-11-16 Thread Kurt Roeckx
On Sun, Nov 16, 2003 at 06:28:06PM +0100, Kurt Roeckx wrote: > On Sun, Nov 16, 2003 at 12:56:10PM +0100, Manfred Spraul wrote: > > Hi, > > > > attached is an update of my automatic sigaction patch: I've moved the > > actual sigaction calls into pqsign

Re: [PATCHES] SIGPIPE handling

2003-11-16 Thread Kurt Roeckx
On Sun, Nov 16, 2003 at 12:56:10PM +0100, Manfred Spraul wrote: > Hi, > > attached is an update of my automatic sigaction patch: I've moved the > actual sigaction calls into pqsignal.c and added a helper function > (pgsignalinquire(signo)). I couldn't remove the include from > fe-connect.c: it

Re: [PATCHES] IPV4 addresses on IPV6 machines in pg_hba.conf

2003-09-04 Thread Kurt Roeckx
On Wed, Sep 03, 2003 at 07:19:16PM +0200, Andreas Pflug wrote: > This was discussed in [HACKERS] TCP/IP with 7.4 beta2 broken? > > > I created a patch to hba.c which uses IPV4 entries as IPV6 entries if > running on a IPV6 system (which is detected from a port coming in as > AF_INET6). > You'r

Re: [PATCHES] IPv6 patch doesn't work fine

2003-06-28 Thread Kurt Roeckx
On Thu, Jun 26, 2003 at 08:02:01AM -0400, Kris Jurka wrote: > > > On Thu, 26 Jun 2003, Manuel Gil [iso-8859-1] Pérez wrote: > > > Hi all. > > > > I have a Java application that it connects to the PostgreSQL database with > > IPv6 patch installed. > > > What exactly do you have for the URL in the