getting non-atomic field with C API
Started by HYipalmost 25 years ago2 messagesgeneral
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
Re: getting non-atomic field with C API
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:
Show quoted text
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