Re: Rethinking user-defined-typmod before it's too late - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Rethinking user-defined-typmod before it's too late
Date
Msg-id 4672C116.6050007@sigaev.ru
Whole thread Raw
In response to Rethinking user-defined-typmod before it's too late  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Rethinking user-defined-typmod before it's too late
List 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@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: How does the tsearch configuration get selected?
Next
From: Teodor Sigaev
Date:
Subject: Re: How does the tsearch configuration get selected?