Re: [HACKERS] Adding a copying type for array elements

2014-02-26 Thread Pavel Stehule
2014-02-26 21:12 GMT+01:00 AlexK : > It would be nice to be able to declare something like this for a function > returning an unnested array: > > RETURNS TABLE(some_value mytable.myarray_column%ELEMENT_TYPE, ...) > it has sense, but it is dangerous with current implementation. There are no persis

[HACKERS] Adding a copying type for array elements

2014-02-26 Thread AlexK
It would be nice to be able to declare something like this for a function returning an unnested array: RETURNS TABLE(some_value mytable.myarray_column%ELEMENT_TYPE, ...) Does it make sense? -- View this message in context: http://postgresql.1045698.n5.nabble.com/Adding-a-copying-type-for-arr