pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julian Scarfe <jscarfe@callnetuk.com>
To: pgsql interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Paths in DBD::Pg
Date: Sun, 16 May 1999 16:34:44 +0100
Message-ID: <373EE594.D51FE2BE@callnetuk.com> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <373EE594.D51FE2BE@callnetuk.com>
Permalink:  ../373EE594.D51FE2BE@callnetuk.com/
Also on:    postgresql.org/message-id/373EE594.D51FE2BE@callnetuk.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jscarfe@callnetuk.com
  Subject: Re: Paths in DBD::Pg
  In-Reply-To: <373EE594.D51FE2BE@callnetuk.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox