From: | Simeon Mariasoosai <Simeon(dot)Mariasoosai(at)StartelCorp(dot)com> |
---|---|
To: | "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Need help on bytea usage |
Date: | 2003-06-30 17:27:18 |
Message-ID: | E1D267B01738D211826900C04F922053902ED6@starnt.irvine.startelcorp.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hi,
I am trying to use bytea in postgres to store binary data such as a
structure. I used sql insert statement. I tried malloc and PQescapeBytea in
vain.
i tried palloc but get undefined references to CurrentMemoryContext and
MemoryContextAlloc.
I am trying to find any sample code that inserts a binary data using bytea
storage type in postgres. I am using linux, and libpq libraries.
I couldnt find any sample code so far. I greatly appreciate your help in
pointing me towards some sample code that does this.
Thanks
Simon
From | Date | Subject | |
---|---|---|---|
Next Message | Nicolás Alvarez | 2003-07-04 22:39:47 | install postgresql 7.2 with CXX on sco openserver 5.0.5 |
Previous Message | Robert Treat | 2003-06-30 17:12:49 | Re: emarsden's pg.scm for guile (with some extensions) |