Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aghGB-0007Bz-EV for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Mar 2016 23:23:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aghGA-0003a7-Tm for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Mar 2016 23:23:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aghGA-0003Zy-JN for pgsql-bugs@postgresql.org; Thu, 17 Mar 2016 23:23:18 +0000 Received: from 104-190-1-44.lightspeed.sndgca.sbcglobal.net ([104.190.1.44] helo=joeconway.com) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aghG7-0004Hz-BB for pgsql-bugs@postgresql.org; Thu, 17 Mar 2016 23:23:18 +0000 Received: from [72.214.29.243] (account jconway@joeconway.com HELO [192.168.4.41]) by joeconway.com (CommuniGate Pro SMTP 6.1.4) with ESMTPSA id 16256967; Thu, 17 Mar 2016 16:23:12 -0700 Subject: Re: BUG #14024: problem in Creating pivot table To: amr.fadly@vodafone.com, pgsql-bugs@postgresql.org References: <20160316135657.5232.46379@wrigleys.postgresql.org> From: Joe Conway Message-ID: <56EB3C60.3000904@joeconway.com> Date: Thu, 17 Mar 2016 16:23:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160316135657.5232.46379@wrigleys.postgresql.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s8f7Bgp7trnSSECtC667LK00vnbGXNQT7" X-Pg-Spam-Score: -0.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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --s8f7Bgp7trnSSECtC667LK00vnbGXNQT7 From: Joe Conway To: amr.fadly@vodafone.com, pgsql-bugs@postgresql.org Message-ID: <56EB3C60.3000904@joeconway.com> Subject: Re: [BUGS] BUG #14024: problem in Creating pivot table References: <20160316135657.5232.46379@wrigleys.postgresql.org> In-Reply-To: <20160316135657.5232.46379@wrigleys.postgresql.org> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 03/16/2016 06:56 AM, amr.fadly@vodafone.com wrote: > The following bug has been logged on the website: >=20 > Bug reference: 14024 > Logged by: AmrFadly > Email address: amr.fadly@vodafone.com > PostgreSQL version: 9.5.0 > Operating system: Windows 7 > Description:=20=20=20=20=20=20=20=20 >=20 > 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: >=20 > ERROR: function crosstab(unknown, unknown) does not exist > SQL state: 42883 > Hint: No function matches the given name and argument types. You might ne= ed > to add explicit type casts. > Character: 15 You should not assume this is a bug until proven it is not misconfiguration. Next time, unless you are sure, please ask for help on the general or novice list first. I'll bet the extension is not installed. Please run \dx from psql. If you don't see tablefunc among the listed installed extensions, then you need to create it. HTH, Joe --=20 Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development --s8f7Bgp7trnSSECtC667LK00vnbGXNQT7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJW6zxgAAoJEDfy90M199hlEwIP/3HW1Ffxf5o/nU/TWKfmjR7L hg9JBILcstySPGzr+EnT/Q+gKOC4h3yOjijVNDnqokHJ8Du4I3Dokkg1tiin8+cy AUzsafJtOFo28ZBVKB01/dBc3sz2wZ1LpY7ySbf5ZW1WRmLNsYgH/siSXB8+P2DU LUZsEbyv80oAeBL6GERGZQBu6uzUOX8fMObUckSCTA8bEesXRHV7uSqb/XzDR7z6 aryZ4YSU6neJzqybjEkvXyHubV1vJhkwzTBKA8Hav1AfcO/rkKaZcApH5MwcVX9X BgKkTMwPu1b5zLso14Nkun7hqYJjSYaGCqw0DKKCRbvr3cGdioSrPoe7+ThCP/JF FPW+h216Zvc14JYpucimmpfVSdfwom9ilBFow4+8bTzW7aRuRz0MC6AcTrmVxyeA 2t/QpOlwbZLWzZrYe1BQb/RYwCW8/31jzMTLDqwTZRW1M4f2LnwThkZiykZ6X+vr +SAOMoD57kUsremWfp6C/1VGDBJVMKgCElo+t1AkV/XKZKp5jFPGLtteVp/D6U/F tYoeM2yXDRfOxLnn64lVW5el3aSiCxiBTuXAfOpD6b32JXuNHGr16+zKBwgpd5ZY 3DIiwuiwwDPpeuMJqaL/CDPUtlV/dovbf84pw76DWm3PXjq14LnWf1j6jnCwi/1m Whgu8OrFIxQmaPL0M9s2 =oq+a -----END PGP SIGNATURE----- --s8f7Bgp7trnSSECtC667LK00vnbGXNQT7--