[PATCHES] Want to add to contrib.... xmldbx

2006-01-29 Thread Mark Woodward
I have a fairly simple extension I want to add to contrib. It is an XML parser that is designed to work with a specific dialect. I have a PHP extension called xmldbx, it allows the PHP system to serialize its web session data to an XML stream. (or just serialize variables) PHP's normal serializer

[PATCHES] drop user/group/role if exists

2006-01-29 Thread Andrew Dunstan
This patch provides DROP ... IF EXISTS for user/group/role. If there's no objection I will apply it soon and document it. cheers andrew Index: src/backend/commands/user.c === RCS file: /cvsroot/pgsql/src/backend/commands/user.c,v

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ... TO

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 09:50:08PM +, David Fetter wrote: The following bug has been logged online: Bug reference: 2221 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version: all Operating system: all Description:Bad delimiters

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ... TO

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 04:41:43PM -0800, David Fetter wrote: On Sun, Jan 29, 2006 at 09:50:08PM +, David Fetter wrote: The following bug has been logged online: Bug reference: 2221 Logged by: David Fetter Email address: [EMAIL PROTECTED] PostgreSQL version:

Re: [PATCHES] Patch for ALTER TABLE / TYPE

2006-01-29 Thread NAKANO Yoshihisa
Tom Lane wrote: After looking at the test case a bit, I have an alternate approach: constraints on the column will have DEPENDENCY_AUTO type, while constraints using the column will have DEPENDENCY_NORMAL type. Therefore, if we drop the NORMAL ones before the AUTO ones, that should be enough

Re: [PATCHES] [BUGS] BUG #2221: Bad delimiters allowed in COPY ...

2006-01-29 Thread David Fetter
On Sun, Jan 29, 2006 at 10:20:47PM -0500, Neil Conway wrote: On Sun, 2006-01-29 at 17:03 -0800, David Fetter wrote: Another followup, this time with the comment done right. + /* Disallow the forbidden_delimiter strings */ + if (strcspn(cstate-delim, BADCHARS) != 1) +