64 bit ints vs libpq-fe.h

Started by Magnus Haganderabout 13 years ago3 messages
#1Magnus Hagander
magnus@hagander.net

It's no longer possible to build pgadmin with libpq from git master:

/opt/pgsql/inst-pg/head/include/libpq-fe.h:551:8: error: ‘pg_int64’
does not name a type

and related messages about it.

This seems to be related to
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=95d035e66d8e4371d35830d81f39face03cd4c45

AFAICT, this suddenly requires that any user of libpq has pg_int64
defined, which isn't likely to happen outside of postgres itself.

Or am I reading things wrong?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Magnus Hagander (#1)
Re: 64 bit ints vs libpq-fe.h

Magnus Hagander <magnus@hagander.net> writes:

It's no longer possible to build pgadmin with libpq from git master:
/opt/pgsql/inst-pg/head/include/libpq-fe.h:551:8: error: �pg_int64�
does not name a type

[ scratches head ... ] That should be typedef'd in postgres_ext.h.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Magnus Hagander
magnus@hagander.net
In reply to: Tom Lane (#2)
Re: 64 bit ints vs libpq-fe.h

On Mon, Nov 26, 2012 at 5:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Magnus Hagander <magnus@hagander.net> writes:

It's no longer possible to build pgadmin with libpq from git master:
/opt/pgsql/inst-pg/head/include/libpq-fe.h:551:8: error: ‘pg_int64’
does not name a type

[ scratches head ... ] That should be typedef'd in postgres_ext.h.

Ha. A wipe+reinstall seems to have fixed it. Must've been something
broken in my build dependencies.

Sorry about the noise.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers