pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject:  [ psqlodbc-Bugs-1000422 ] Couldn't compile 08.01.0101 with Unix PG 7.4.5 development environment
Date: Thu,  1 Dec 2005 18:23:49 +0000 (GMT)
Message-ID: <20051201182349.8D605112500B@pgfoundry.org> (raw)

Bugs item #1000422, was opened at 2005-11-17 15:57
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000422&group_id=1000125

Category: None
Group: None
Status: Closed
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Couldn't compile 08.01.0101 with Unix PG 7.4.5 development environment

Initial Comment:
When I try to compile 08.01.0101 under Linux RH9 with PG 7.4.5 development, I receive next error messages:

connection.c: In function `CC_send_cancel_request':
connection.c:1626: `PGcancel' undeclared (first use in this function)
...

Thank you.
Eugene Fokin.


----------------------------------------------------------------------

>Comment By: Ludek Finstrle (luf)
Date: 2005-12-01 19:23

Message:
Or if you need compile new driver againist older PgSQL try replace CC_send_cancel_request function (in connection.c) by this one:

int
CC_send_cancel_request(const ConnectionClass *conn)
{
        if (PQrequestCancel(conn) == 1)
                return TRUE;
        else
                return FALSE;
}

----------------------------------------------------------------------

Comment By: Dave Page  (dpage)
Date: 2005-11-19 22:23

Message:
Yes, it would appear that we have used features only in 8.0 or above. You will need to build and install 8/8.1 to compile psqlODBC I'm afraid. It should work just fine with 7.4 though.

Don't forget to install it somewhere other than whereever your current version lives!!

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000422&group_id=1000125



view thread (2+ messages)

Message-ID: <20051201182349.8D605112500B@pgfoundry.org>
Permalink:  ../20051201182349.8D605112500B@pgfoundry.org/
Also on:    postgresql.org/message-id/20051201182349.8D605112500B@pgfoundry.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: noreply@pgfoundry.org
  Subject: Re: [ psqlodbc-Bugs-1000422 ] Couldn't compile 08.01.0101 with Unix PG 7.4.5 development environment
  In-Reply-To: <20051201182349.8D605112500B@pgfoundry.org>
  References: <20051201182349.8D605112500B@pgfoundry.org>

* 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