On Dec 23, 2011, at 7:47 AM, Dickson dos Santos Guedes wrote:
> I'm trying to install pgtap from PGXN on 9.1.2. But...
> $ pgxn load pgtap > INFO: best version: pgtap 0.90.0 > CREATE EXTENSION > ERROR: syntax error at or near "-" at character 23 > STATEMENT: CREATE EXTENSION pgtap-core; > ERROR: syntax error at or near "-" > LINE 1: CREATE EXTENSION pgtap-core; > ^ > ":(
Likely a bug in pgxn-client. It should probably just double-quote all the extensions it tries to load; any with dashes won’t work without quoting.