Good morning,
I recently installed PostgreSQL 9.0 on Windows XP with the intent to use the crosstab function in one of my PostgreSQL databases. I have a complete install, the process is running in Task Manager, and I’ve been able to run basic commands. However, getting crosstab working (and installing tablefunc) have been an issue that perhaps you can clear up.
As I understand it, all I should need to do to install tablefunc is run /share/contrib/tablefunc.sql either through pgAdmin or the command line. In either case, I’m getting the error “ERROR: could not access file “$libdir/tablefunc”: No such file or directory”. I’ve checked to make sure that the $libdir variable is pointing to the correct place, and have tried editing the sql file itself to make sure it’s pointing to the correct place.
Are there any additional steps I need to perform before I can get tablefunc installed? Do I need to download the contrib files separately? It appears that they exist as they should, with tablefunc.sql existing in the /contrib folder and a tablefunc.dll existing in the /lib folder. If I do need to install something additional, where can I find the necessary files? My google searches have yet to turn up a place to install the packages for Windows.
Thanks in advance for your help,
Ian Miller
Ian P Miller
Emerging Technologies Tech Analyst
JPMorgan Chase Enterprise Systems
1111 Polaris Parkway, Columbus, OH 43240
Office Phone: 614-217-2830
This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities.