can we enhance regtype infunction to support %type and %type[]

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: can we enhance regtype infunction to support %type and %type[]
Date: 2010-09-04 05:30:09
Message-ID: AANLkTim+1CE+qLsz=55n5nO6aDc9GQdsX+u5ij0_PUB0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I am looking on ToDo topic - Allow handling of %TYPE arrays, e.g.
tab.col%TYPE[]

Some the most simple solution can be enhancing regtype to support this
syntax - this can be relative simple, and it can be useful for other
PL and for dynamic SQL too. It can be simple test - if some table has
a column or not.

comments?

Regards

Pavel Stehule

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Max Bowsher 2010-09-04 07:22:36 Re: git: uh-oh
Previous Message Tom Lane 2010-09-04 05:21:33 Re: lexing small ints as int2