> ereport(...errmsg("trouble at offset " UINT64_FORMAT, bigintvar));
One more solution: add format code %D to expand_fmt_string() which should be
expanded to usual %d on 32-bit architecture and to UINT64_FORMAT on 64-bit.
--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/
In response to
Responses
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2006-09-06 16:43:29 |
| Subject: Re: [HACKERS] Open items for 8.2 |
| Previous: | From: John Jawed | Date: 2006-09-06 16:39:24 |
| Subject: Re: site down? |
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2006-09-06 16:55:07 |
| Subject: Re: [HACKERS] pgsql: Fix compiler warnings on 64-bit boxes: |
| Previous: | From: User H-saito | Date: 2006-09-06 16:07:40 |
| Subject: npgsql - Npgsql: The project file for VisualStudio2003 is added. |