Documentation missing bigint?

Started by Paul Jungwirthover 11 years ago3 messagesgeneral
Jump to latest
#1Paul Jungwirth
pj@illuminatedcomputing.com

Hello,

The table of which C types represent which SQL types seems to be missing bigint:

http://www.postgresql.org/docs/9.3/static/xfunc-c.html#XFUNC-C-TYPE-TABLE

It looks like bigint should be listed and should correspond to an
int64 C type. Also I see there is an INT8OID, PG_GETARG_INT64,
DatumGetInt64, and Int64GetDatum---I think all for bigints. Does that
sound right? If so, would you like a documentation patch?

Thanks,
Paul

--
_________________________________
Pulchritudo splendor veritatis.

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

#2Michael Paquier
michael@paquier.xyz
In reply to: Paul Jungwirth (#1)
Re: Documentation missing bigint?

On Fri, Dec 12, 2014 at 5:03 AM, Paul Jungwirth
<pj@illuminatedcomputing.com> wrote:

http://www.postgresql.org/docs/9.3/static/xfunc-c.html#XFUNC-C-TYPE-TABLE

It looks like bigint should be listed and should correspond to an
int64 C type. Also I see there is an INT8OID, PG_GETARG_INT64,
DatumGetInt64, and Int64GetDatum---I think all for bigints. Does that
sound right? If so, would you like a documentation patch?

+1 for adding it.
-- 
Michael

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

#3Bruce Momjian
bruce@momjian.us
In reply to: Paul Jungwirth (#1)
Re: Documentation missing bigint?

On Thu, Dec 11, 2014 at 12:03:56PM -0800, Paul Jungwirth wrote:

Hello,

The table of which C types represent which SQL types seems to be missing bigint:

http://www.postgresql.org/docs/9.3/static/xfunc-c.html#XFUNC-C-TYPE-TABLE

It looks like bigint should be listed and should correspond to an
int64 C type. Also I see there is an INT8OID, PG_GETARG_INT64,
DatumGetInt64, and Int64GetDatum---I think all for bigints. Does that
sound right? If so, would you like a documentation patch?

Applied doc patch attached. Thanks for the report.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

Attachments:

bigint.difftext/x-diff; charset=us-asciiDownload+5-0