Paths in DBD::Pg - Mailing list pgsql-interfaces

From Julian Scarfe
Subject Paths in DBD::Pg
Date
Msg-id 373EE594.D51FE2BE@callnetuk.com
Whole thread Raw
Responses Re: [INTERFACES] Paths in DBD::Pg
List pgsql-interfaces
I'd like to deal with geometrical data types, paths in particular,
efficiently in Perl using Pg. But Pg, understadably I suppose, just
returns a path as a scalar string like ((1,2),(3,4),(5,6)). Whereas I
can 'eval' a point fairly efficiently, it's not very efficient to turn a
long string such as the above into an array of arrays.

Am I missing something in the Pg interface that would allow me to get
paths into sensible data structures efficiently?

Julian Scarfe



pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Re: [HACKERS] 6.5 cvs: problem with includes in src/interfaces/libpq++/
Next
From: selkovjr@mcs.anl.gov
Date:
Subject: Re: [INTERFACES] Paths in DBD::Pg