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 archives
  Advanced Search

Re: Syntax for partitioning


  • From: Stephen Frost <sfrost(at)snowman(dot)net>
  • To: Jeff Davis <pgsql(at)j-davis(dot)com>
  • Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: Syntax for partitioning
  • Date: Fri, 30 Oct 2009 16:51:48 -0400
  • Message-id: <20091030205147.GA17756@tamriel.snowman.net> <text/plain>

* Jeff Davis (pgsql(at)j-davis(dot)com) wrote:
> Oid is unsigned, typmod is signed. We might be able to get away with it,
> but -1 is treated specially in some places outside of the type-specific
> functions, e.g. exprTypmod().

Any negative result returned from the input handling function is
considered an error, as I recall.  It's more than just '-1'..

> I haven't looked at all of these places yet, so maybe a few simple
> changes would allow us to treat typmod as a full 32 bits. Or perhaps it
> could just be expanded to a signed 64-bit int. What do you think?

That was shot down previously due to the way typmods are passed around
currently..  Not that it wouldn't be really nice..

	Thanks,

		Stephen

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group