Re: Missing library files??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Missing library files??
Date: 2002-06-19 14:06:04
Message-ID: 4118.1024495564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk> writes:
> Fair enough - that's what I half expected. I'm wanting to write some
> embedded sql that selects a box attribute from a relation - is there any
> direct way of retrieving a BOX typed value from the select without
> having to go through decoding the retrieved string. I know I can do this
> using a binary cursor, but this means moving from embedded sql.

The binary representation of BOX wouldn't necessarily be the same on
client and server machines anyway (surely you don't want to wire in
an assumption that client and server are on the same kind of hardware).

I'd say bite the bullet and parse the ASCII string; it's hardly
difficult.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-06-19 14:14:32 Re: ecpg and bison again
Previous Message Thomas Lockhart 2002-06-19 14:05:47 Re: SQL99 feature list