Re: Regular expression that splits CSV string into table - Mailing list pgsql-general

From Jeff Davis
Subject Re: Regular expression that splits CSV string into table
Date
Msg-id 1284227312.11260.1.camel@jdavis-laptop
Whole thread Raw
In response to Re: Regular expression that splits CSV string into table  (Nick <nboutelier@gmail.com>)
List pgsql-general
On Fri, 2010-09-10 at 18:11 -0700, Nick wrote:
> I dont mind if the commas are at the beginning and end, im more
> concerned about "three,four" staying in one row because its surrounded
> by quotes. -Nick

It doesn't sound like a regex is the best solution here. Why not write a
function in a language that offers a CSV library, like python?

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: Martin Gainty
Date:
Subject: Re: SQL Programming Question
Next
From: Darren Duncan
Date:
Subject: Re: SQL Programming Question