Re: [HACKERS] array_to_column function

2004-10-31 Thread David Fetter
On Sat, Oct 30, 2004 at 11:55:48PM +0200, Markus Bertheau wrote: В Сбт, 30.10.2004, в 21:54, David Fetter пишет: Kind people, CREATE OR REPLACE FUNCTION array_to_column (ANYARRAY) You want to see that function distributed with PostgreSQL? It would probably have to be implemented in C

Re: [HACKERS] array_to_column function

2004-10-31 Thread Joe Conway
David Fetter wrote: On Sat, Oct 30, 2004 at 11:55:48PM +0200, Markus Bertheau wrote: CREATE OR REPLACE FUNCTION array_to_column (ANYARRAY) You want to see that function distributed with PostgreSQL? It would probably have to be implemented in C then, because PL/pgSQL-support has to be explicitly

[HACKERS] array_to_column function

2004-10-30 Thread David Fetter
Kind people, Here's something I came up with, having accidentally discovered the ARRAY() constructor (BTW, I think at least some pointer to it should be in the array section of functions operators). CREATE OR REPLACE FUNCTION array_to_column (ANYARRAY) RETURNS SETOF ANYELEMENT IMMUTABLE

Re: [HACKERS] array_to_column function

2004-10-30 Thread Markus Bertheau
, 30.10.2004, 21:54, David Fetter : Kind people, CREATE OR REPLACE FUNCTION array_to_column (ANYARRAY) You want to see that function distributed with PostgreSQL? It would probably have to be implemented in C then, because PL/pgSQL-support has to be explicitly enabled for every database. --