Package Details: psqlodbc 16.00.0000-2

Git Clone URL: https://aur.archlinux.org/psqlodbc.git (read-only, click to copy)
Package Base: psqlodbc
Description: PostgreSQL ODBC driver
Upstream URL: http://www.postgresql.org
Licenses: GPL
Submitter: Barthalion
Maintainer: FieldOfClay
Last Packager: FieldOfClay
Votes: 3
Popularity: 0.000000
First Submitted: 2018-01-07 16:38 (UTC)
Last Updated: 2024-10-01 23:38 (UTC)

Latest Comments

FieldOfClay commented on 2024-10-01 23:50 (UTC)

Newer versions of this (>16) do not support linux at the moment, see https://github.com/postgresql-interfaces/psqlodbc/issues/28. Once this has been resolved, I'll update it.

sturu commented on 2024-05-29 13:30 (UTC) (edited on 2024-05-29 13:31 (UTC) by sturu)

As of 28th May installation fails with:

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-16.00.0000.tar.gz

Workaround - edit pkgbuild before installation (e.g. paru -Syu --fm vim) Change source line in PKGBUILD from:

source=(https://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-$pkgver.tar.gz)

to

source=(https://ftp.postgresql.org/pub/odbc/versions.old/src/psqlodbc-$pkgver.tar.gz)

jvr3 commented on 2024-02-19 11:45 (UTC)

For me, this fails with:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/postgresql/internal -DUNICODE_SUPPORT -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT psqlodbcw_la-info.lo -MD -MP -MF .deps/psqlodbcw_la-info.Tpo -c info.c  -fPIC -DPIC -o .libs/psqlodbcw_la-info.o
In file included from statement.h:15,
                 from bind.c:23:
/usr/include/postgresql/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
  168 | extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
      |        ^~~~
In file included from connection.h:14,
                 from info.c:34:
/usr/include/postgresql/internal/pqexpbuffer.h:168:8: error: unknown type name 'bool'
  168 | extern bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
      |        ^~~~
make[1]: *** [Makefile:664: psqlodbcw_la-bind.lo] Error 1

I guess my gcc doesn't like c language 'bool' types.

ecognito commented on 2021-02-01 06:13 (UTC)

I think the instructions in psqlodbc.install need to change the library file referenced from psqlodbca.so to psqlodbcw.so.

The former is the ASCII driver, I believe.