Re: Rethinking user-defined-typmod before it's too late

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Rethinking user-defined-typmod before it's too late
Date: 2007-06-15 16:40:54
Message-ID: 4672C116.6050007@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I propose changing the typmodin signature to "typmodin(cstring[]) returns
> int4", that is, the typmods will be passed as strings not integers. This
> will incur a bit of extra conversion overhead for the normal uses where
> the typmods are integers, but I think the gain in flexibility is worth
agree

> it. I'm inclined to make the code in parse_type.c take either integer

And modify ArrayGetTypmods() to ArrayGetIntegerTypmods()

Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2007-06-15 16:49:48 Re: How does the tsearch configuration get selected?
Previous Message Tom Lane 2007-06-15 16:40:09 Re: How does the tsearch configuration get selected?