pgtap 0.90.0 installation problem

24 views
Skip to first unread message

Dickson dos Santos Guedes

unread,
Dec 23, 2011, 10:47:13 AM12/23/11
to pgxn-...@googlegroups.com
Hi PGXNers!

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;
^
":(


[]s
--
Dickson S. Guedes
mail/xmpp: gue...@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br
http://github.net/guedes - twitter: @guediz

David E. Wheeler

unread,
Dec 23, 2011, 11:52:23 AM12/23/11
to pgxn-...@googlegroups.com
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.

Best,

David

Dickson dos Santos Guedes

unread,
Dec 23, 2011, 12:06:59 PM12/23/11
to pgxn-...@googlegroups.com
> 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.

Ah, OK. I'll see if there could be a bug in pgxn-utils' templates like
that too, because I'm not considering this, I think there is no bug with
that, but will poke into that only when I'm back from my vacation.

Best!

Daniele Varrazzo

unread,
Dec 23, 2011, 3:24:38 PM12/23/11
to pgxn-...@googlegroups.com

Yup: the names are <http://pgxn.org/spec#Term>, so they may be invalid PG names.

Will fix. Open ticket https://github.com/dvarrazzo/pgxnclient/issues/10

-- Daniele

Reply all
Reply to author
Forward
0 new messages