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

2010-09-04 Thread Tom Lane
Pavel Stehule pavel.steh...@gmail.com writes: 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 I'm not really in favor of adding a wart like that to regtype, and I don't see how it

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

2010-09-04 Thread Pavel Stehule
2010/9/4 Tom Lane t...@sss.pgh.pa.us: Pavel Stehule pavel.steh...@gmail.com writes: 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 I'm not really in favor of adding a wart like

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

2010-09-03 Thread Pavel Stehule
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