Re: [PATCHES] allow CSV quote in NULL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] allow CSV quote in NULL
Date
Msg-id 25923.1185898960@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] allow CSV quote in NULL  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [PATCHES] allow CSV quote in NULL  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Other, unrelated, options being or not being there doesn't really have
> any bearing on this though.  I'm not inventing new syntax here.  I'm
> just removing a restriction on what the user can do that doesn't need
> to exist.

I don't think you're "just removing a restriction".  What you're doing
is exposing a whole lot of strange and arguably broken corner cases.
If we accept this patch I think we'll be fielding bug reports as a
result for years to come.  I *especially* dislike the part about
allowing the delimiter character in the null string --- that will allow
people to complain about the order in which decisions are made.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Machine available for community use
Next
From: Tom Lane
Date:
Subject: Re: stats_block_level