Postgres 9.2.1 on OSX 10.9.2.
If I run the following crosstab example query:
CREATE EXTENSION tablefunc; CREATE TABLE ct(id SERIAL, rowid TEXT, attribu
You can change the first line into:
CREATE EXTENSION IF NOT EXISTS tablefunc;