Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: OCI and Pos...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 1097 of 1134
Post > Topic >>

Re: OCI and Postgres - Compile error

by =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker@[EMAIL PROTECTED] > May 9, 2008 at 05:33 PM

iavian wrote:
> I am trying to compile a code that includes header from both oracle
> and postgres

That's seriously unlikely to work.  Database systems are jealous beasts 
--- they don't like sharing relations with the same program.

> /usr/local/pgsql/include/server/c.h:420: error: conflicting
> declaration 'typedef struct varlena text'
> /opt/oracle/product/10.2.0/rdbms/public/oratypes.h:196: error: 'text'
> has a previous declaration as `typedef oratext text'

> How do i fix this ?

By picking one DBMS for your app.
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 4 Posts in Topic:
OCI and Postgres - Compile error
iavian <vijay@[EMAIL P  2008-05-08 02:20:48 
Re: OCI and Postgres - Compile error
Phil Carmody <thefatph  2008-05-09 17:33:07 
Re: OCI and Postgres - Compile error
=?ISO-8859-1?Q?Hans-Bernh  2008-05-09 17:33:11 
Re: OCI and Postgres - Compile error
Jonathan Leffler <jlef  2008-05-09 17:33:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 3:44:38 CDT 2008.