Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aghEo-00079y-00 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Mar 2016 23:21:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aghEn-00028V-Io for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Mar 2016 23:21:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aghEn-000287-1R for pgsql-bugs@postgresql.org; Thu, 17 Mar 2016 23:21:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aghEd-0007gy-0z for pgsql-bugs@postgresql.org; Thu, 17 Mar 2016 23:21:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2HNLfeM016198; Thu, 17 Mar 2016 19:21:41 -0400 From: Tom Lane To: amr.fadly@vodafone.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14024: problem in Creating pivot table In-reply-to: <20160316135657.5232.46379@wrigleys.postgresql.org> References: <20160316135657.5232.46379@wrigleys.postgresql.org> Comments: In-reply-to amr.fadly@vodafone.com message dated "Wed, 16 Mar 2016 13:56:57 -0000" Date: Thu, 17 Mar 2016 19:21:41 -0400 Message-ID: <16197.1458256901@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org amr.fadly@vodafone.com writes: > we are trying to do the example in the documentation to create pivot table > using crosstab function, it is not working and gives the below error: > ERROR: function crosstab(unknown, unknown) does not exist crosstab() is in the tablefunc extension, which you evidently haven't installed (basically "CREATE EXTENSION tablefunc"). See the general installation instructions at http://www.postgresql.org/docs/9.5/static/contrib.html regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs