From: | Rolf Mueller <rolf(dot)mueller(at)uni-tuebingen(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | transfer binary data to C-language function |
Date: | 2001-01-29 07:48:38 |
Message-ID: | Pine.LNX.4.21.0101290831320.21211-100000@fourier.zool.biologie.uni-tuebingen.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Dear PostgreSQL-experts,
may I request your advice for implementing the following application:
I have binary data vectors of experimental data, about 10 million of
them in total, each between 10 and 40 Kbytes long. I want to store the
experimental conditions pertaining to each of the data vectors in a
PostgreSQL database and the data themselves in a file. I want to do
this file-handling (creation, reading & writing) in a compiled (C)
language function, so that I can do everything over one database
connection, instead of having a separate program on a separate port
take care of the data files. Right now, I am converting the data
vectors to a string representation and back. But I wonder whether
there is a more efficient way of handing over the data to my function?
Thank you very much for your help.
Rolf
Rolf Mueller, rolf(dot)mueller(at)uni-tuebingen(dot)de
Biosonar Lab, Tuebingen University,
Morgenstelle 28, 72076 Tuebingen
Phone +49 7071 29-74838 Fax. +49 7071 292618
From | Date | Subject | |
---|---|---|---|
Next Message | Pete Forman | 2001-01-29 08:39:22 | Re: beta3 Solaris 7 (SPARC) port report |
Previous Message | Thomas T. Thai | 2001-01-29 07:20:31 | Re: increase WAL_FILES |