pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julie Russell <julie.russell@throughput.com.au>
To: Jeroen T. Vermeulen <jtv@xs4all.nl>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpqxx
Date: Wed, 12 Nov 2003 09:42:28 +1100
Message-ID: <CAEDLLCOCGBPMAAFIFOCOELFCAAA.julie.russell@throughput.com.au> (raw)
In-Reply-To: <20031111184256.GA4814@xs4all.nl>

Hi there,

I downloaded libpqxx-2.0.0 from
http://gborg.postgresql.org/project/libpqxx/download/download.php

I implemented the code in class DatabaseHandler which compiles fine, but as
soon as I #include "DatabaseHandler.h" in any other class, it pulls up
compiler errors from libpqxx. I do have #ifdefs so the header shouldn't be
included twice... Any ideas?

Cheers,
Julie.

> -----Original Message-----
> From: pgsql-interfaces-owner@postgresql.org
> [mailto:pgsql-interfaces-owner@postgresql.org]On Behalf Of Jeroen T.
> Vermeulen
> Sent: Wednesday, 12 November 2003 5:43 AM
> To: Julie Russell
> Cc: pgsql-interfaces@postgresql.org
> Subject: Re: [INTERFACES] libpqxx
>
>
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> On Wed, Nov 12, 2003 at 05:25:05AM +1100, Julie Russell wrote:
> >
> > /usr/include/pqxx/connection.h:185: error: extraneous `int' ignored
> > /usr/include/pqxx/connection.h:185: error: parse error before `)' token
>
> Looks like you're using an outdated version...  Have you looked at the
> 2.0 release?  See http://pqxx.tk/ (slightly easier than looking it up
> at GBorg).
>
> Out of interest, which version were you using and where did you get it
> from?  Because I don't recall ever seeing this problem before with 1.5.1,
> which has been the stable release for many months and is still fairly
> widely used AFAIK.
>
>
> Jeroen
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>
>





view thread (4+ messages)  latest in thread

Message-ID: <CAEDLLCOCGBPMAAFIFOCOELFCAAA.julie.russell@throughput.com.au>
Permalink:  ../CAEDLLCOCGBPMAAFIFOCOELFCAAA.julie.russell@throughput.com.au/
Also on:    postgresql.org/message-id/CAEDLLCOCGBPMAAFIFOCOELFCAAA.julie.russell@throughput.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: julie.russell@throughput.com.au, jtv@xs4all.nl
  Subject: Re: libpqxx
  In-Reply-To: <CAEDLLCOCGBPMAAFIFOCOELFCAAA.julie.russell@throughput.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox