Re: getting non-atomic field with C API - Mailing list pgsql-general

From Alex Pilosov
Subject Re: getting non-atomic field with C API
Date
Msg-id Pine.BSO.4.10.10106111026510.17529-100000@spider.pilosoft.com
Whole thread Raw
In response to getting non-atomic field with C API  (HYip <hualinyip@earthlink.net>)
List pgsql-general
You have to actually parse it down. You'll get {1,2,3,4} (as a char*) when
you do a select, then its your responsibility to break it up to individual
values.

On Mon, 4 Jun 2001, HYip wrote:

> I have a field that is an array of int.  I want to get it to the array
> in a C program.  Anyone has an example how to do it in C.
>
> Thanks
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>


pgsql-general by date:

Previous
From: Shaun Thomas
Date:
Subject: Re: foreign keys constraints, depending on each other
Next
From: Tatsuo Ishii
Date:
Subject: Re: Yet another Postgresql article...