From: | "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Missing library files?? |
Date: | 2002-06-19 14:18:57 |
Message-ID: | 3D1092D1.6010907@cs.man.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>"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.
>
True, but if you guys decide to change the structure of a box string
down the line then not too good for backwards compatibility. sscanf here
I come....
>
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2002-06-19 14:19:15 | Re: ecpg and bison again |
Previous Message | Tom Lane | 2002-06-19 14:14:32 | Re: ecpg and bison again |