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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: probable faq: internal format of numerics



Brian Hurt <bhurt(at)janestcapital(dot)com> writes:
> This is probably a FAQ, but I've googled the question and haven't found 
> an answer.  What is the internal format of  numerics?

"Use the source, Luke"

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/numeric.h
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/numeric.c

> I can think of three different ways numerics could be stored 
> in PostGreSQL:

It's actually not any of the above, but it's definitely decimal not
binary.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group