[postgis-devel] Array support in libpq

Jorge Arévalo jorge.arevalo at gmail.com
Mon Jul 13 09:18:56 PDT 2009


Hello,

On Mon, Jul 13, 2009 at 5:46 PM, Mateusz
Loskot<Mateusz.Loskot at cadcorp.com> wrote:
> Jorge Arévalo wrote:
>> Does libpq have support for array datatype nowadays? I'm trying to
>> find a function like PQgetvalue to get array values but I can't.
>
> I'd suggest to search through the PostgreSQL archives as this issue
> has been discussed a couple of times:
>
> "PQgetvalue is always going to give you the string representation
> of the field value *unless* you specify a binary cursor.
> In that case you'll get all requested fields in binary form,
> and it's your responsibility to deal with making sense of what you get."
>
> You can find more here:
>
> http://archives.postgresql.org/pgsql-sql/2003-03/msg00586.php
> http://archives.postgresql.org/pgsql-interfaces/2006-06/msg00003.php
>

Yes, I actually read this sentence in any post (I can't remember), ant
I've visited these posts too. They're marked as "to-read". Many
thanks, I'll continue investigating...

Best regards,
Jorge


>
> Best regards,
> --
> Mateusz Loskot
> Senior Programmer, Cadcorp
> http://www.cadcorp.com
>
>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list