can we enhance regtype infunction to support %type and %type[] - Mailing list pgsql-hackers

From Pavel Stehule
Subject can we enhance regtype infunction to support %type and %type[]
Date
Msg-id AANLkTim+1CE+qLsz=55n5nO6aDc9GQdsX+u5ij0_PUB0@mail.gmail.com
Whole thread Raw
Responses Re: can we enhance regtype infunction to support %type and %type[]  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: lexing small ints as int2
Next
From: Max Bowsher
Date:
Subject: Re: git: uh-oh