Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python

Поиск
Список
Период
Сортировка
От Ryan Davis
Тема Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
Дата
Msg-id 46B72658.70504@acceleration.net
обсуждение исходный текст
Ответ на libpq.dll as part of PGDB module: access to PostgreSQL from Python  (ekzept <bayesianlogic@acm.org>)
Ответы Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python
Список pgsql-admin
Python is looks for them on a path, and I'm a little fuzzy on which path it was looking in, so I just copied the postgres DLLs into site-packages.

I got this working by copying the following DLLs from C:\Program Files\pgAdmin III\1.6 to C:\Python25\Lib\site-packages:
  • comerr32.dll
  • krb5_32.dll
  • libiconv-2.dll
  • libintl-2.dll
  • libpq.dll
After that my pgdb working like a charm.

HTH,
Ryan Davis
Acceleration.net
Director of Programming Services
2831 NW 41st street, suite B
Gainesville, FL 32606

Office: 352-335-6500 x 124
Fax: 352-335-6506


ekzept wrote:
the module PGDB which gives Python access to PostgreSql currently
wants for a copy of a properly located or proper libpq.dll library, on
Windows.

anyone know what the current story on this is?

thanks,
-- jt


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
              http://archives.postgresql.org
 

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

Предыдущее
От: "j a"
Дата:
Сообщение: Recovery from Current WAL (8.2)
Следующее
От: ekzept
Дата:
Сообщение: Re: libpq.dll as part of PGDB module: access to PostgreSQL from Python