Re: libpq.a and Xcode on Mac OS X

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq.a and Xcode on Mac OS X
Дата
Msg-id 12824.1172776876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq.a and Xcode on Mac OS X  ("Peter K. Stys" <pstys@ohri.ca>)
Список pgsql-interfaces
"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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Chris Long"
Дата:
Сообщение: ruby-postgres for Ruby 1.9
Следующее
От: John DeSoi
Дата:
Сообщение: Re: libpq.a and Xcode on Mac OS X