pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter K. Stys <pstys@ohri.ca>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq.a and Xcode on Mac OS X
Date: Thu, 01 Mar 2007 14:21:16 -0500
Message-ID: <12824.1172776876@sss.pgh.pa.us> (raw)
In-Reply-To: <8B50CB22-C969-494B-9341-B570513C2638@ohri.ca>
References: <8B50CB22-C969-494B-9341-B570513C2638@ohri.ca>

"Peter K. Stys" <pstys@ohri.ca> writes:
> ... My test program builds and runs fine, links  
> against libpq.a no problem, but upon execution of a simple:
> conn = PQconnectdb(conninfo);
> (taken from the Postgres examples) the debugger stops in asm code  
> (presumably the library) with the error:
> Cannot access memory at address 0x0.

What conninfo string are you passing?

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <12824.1172776876@sss.pgh.pa.us>
Permalink:  ../12824.1172776876@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12824.1172776876@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pstys@ohri.ca
  Subject: Re: libpq.a and Xcode on Mac OS X
  In-Reply-To: <12824.1172776876@sss.pgh.pa.us>

* 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