<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br>On 2010-04-19, at 1:58 PM, John Abraham wrote:<br><blockquote type="cite"> I think there already is some PGLSQL routing for crosstabbing<br></blockquote><br>It's here, in /share/contrib/tablefunc.sql<br>TABLEFUNC, <a href="http://www.postgresonline.com/journal/index.php?/archives/14-CrossTab-Queries-in-PostgreSQL-using-tablefunc-contrib.html">http://www.postgresonline.com/journal/index.php?/archives/14-CrossTab-Queries-in-PostgreSQL-using-tablefunc-contrib.html</a><br>and it looks like it's written in C.<br><br>--<br>John <br><a href="mailto:jabraham@ucalgary.ca">jabraham@ucalgary.ca</a><br></body></html>