Skip site navigation (1) Skip section navigation (2)

Re: Proposal: More portable way to support 64bit platforms

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tsutomu Yamada <tsutomu(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Proposal: More portable way to support 64bit platforms
Date: 2009-06-29 14:20:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tsutomu Yamada <tsutomu(at)sraoss(dot)co(dot)jp> writes:
> Yes, I have read through the discusion but it seems somewhat faded
> out. This is because no platform other than Windows has 64bit
> pointer issues IMO. I think using intptr_t is cleaner and will bring
> more portability. Moreover it will solve Windows 64bit pointer issues,
> I believe.

The problem with this is that it's barely the tip of the iceberg.
One point I recall is that there are lots of places where "%lu" is
assumed to be the correct format to print Datums with.  If it were
actually possible to support Win64 with only a couple of dozen lines
of changes, we would have done it long since.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2009-06-29 14:26:56
Subject: Re: [PATCH] user mapping extension to pg_ident.conf
Previous:From: Robert HaasDate: 2009-06-29 14:15:43
Subject: Re: Query progress indication - an implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group