clkao / plv8js-migrated

Automatically exported from code.google.com/p/plv8js
Other
0 stars 0 forks source link

unsupported language plv8 #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I built an RPM for 1.4.1 based on 
http://code.google.com/p/plv8js/issues/detail?id=57 which was pretty 
straightforward.

createlang -d testdb plv8 works without error.

psql -d testdb -c "CREATE LANGUAGE plv8" gives an error message:

ERROR: unsupported language "plv8"
HINT: The supported languages are listed in the pg_pltemplate system catalog.

Did I forget to do some step in my RPM (e.g. register the language in 
pg_pltemplate or is this a real bug?

I attached the spec file in case you want to use/adapt it (contains a few 
alterations for our build env), the posgres RPMs are from the 9.2 PDGD 
repository:
Name        : postgresql92-server
Arch        : x86_64
Version     : 9.2.4
Release     : 1PGDG.rhel6

Original issue reported on code.google.com by joern....@ott-consult.de on 12 Jun 2013 at 4:08

Attachments:

GoogleCodeExporter commented 9 years ago
CREATE EXTENSION plv8, not LANGUAGE.

Original comment by umi.tan...@gmail.com on 16 Jun 2013 at 5:07

GoogleCodeExporter commented 9 years ago

Original comment by umi.tan...@gmail.com on 22 Jun 2013 at 10:34