Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id CF5E116B31C for ; Sun, 4 Dec 2011 23:06:12 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RXOse-00041N-5W for pgsql-bugs@postgresql.org; Mon, 05 Dec 2011 03:06:12 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pB535wcJ023152; Sun, 4 Dec 2011 22:05:58 -0500 (EST) To: maxim.boguk@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6326: SELECT ARRAY(SELECT ...) syntax and array[] results doesn't work In-reply-to: References: Comments: In-reply-to maxim.boguk@gmail.com message dated "Mon, 05 Dec 2011 02:35:36 +0000" Date: Sun, 04 Dec 2011 22:05:58 -0500 Message-ID: <23150.1323054358@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -3.1 (---) X-Archive-Number: 201112/37 X-Sequence-Number: 31848 maxim.boguk@gmail.com writes: > SELECT ARRAY(SELECT ...) > doesn't work when subselect return any array. > Is that syntax supposed to work with anyarray types? No. regards, tom lane