pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6199: Can't install datatype hstore
3+ messages / 3 participants
[nested] [flat]

* BUG #6199: Can't install datatype hstore
@ 2011-09-06 11:55  Hadmut <hadmut@danisch.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Hadmut @ 2011-09-06 11:55 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6199
Logged by:          Hadmut
Email address:      hadmut@danisch.de
PostgreSQL version: 9.1 rc1
Operating system:   Ubuntu Oneiric
Description:        Can't install datatype hstore
Details: 

Hi,

I'd like to run a database application which requires datatype hstore. 

But when trying something like

psql -f /usr/share/postgresql/9.1/extension/hstore--1.0.sql


I get error messages like 

psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:8: NOTICE:  return
type hstore is only a shell
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:8: ERROR:  could
not access file "MODULE_PATHNAME": Datei oder Verzeichnis nicht gefunden
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:13: NOTICE: 
argument type hstore is only a shell
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:13: ERROR:  could
not access file "MODULE_PATHNAME": Datei oder Verzeichnis nicht gefunden
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:18: NOTICE:  return
type hstore is only a shell
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:18: ERROR:  could
not access file "MODULE_PATHNAME": Datei oder Verzeichnis nicht gefunden
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:23: NOTICE: 
argument type hstore is only a shell
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:23: ERROR:  could
not access file "MODULE_PATHNAME": Datei oder Verzeichnis nicht gefunden
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:32: ERROR: 
function hstore_in(cstring) does not exist
psql:/usr/share/postgresql/9.1/extension/hstore--1.0.sql:37: NOTICE: 
argument type hstore is only a shell
 
...


regards



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6199: Can't install datatype hstore
@ 2011-09-06 16:26  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Hadmut <hadmut@danisch.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2011-09-06 16:26 UTC (permalink / raw)
  To: Hadmut <hadmut@danisch.de>; +Cc: pgsql-bugs

"Hadmut" <hadmut@danisch.de> writes:
> I'd like to run a database application which requires datatype hstore. 

> But when trying something like

> psql -f /usr/share/postgresql/9.1/extension/hstore--1.0.sql

That is not how you install extensions anymore.  Use CREATE EXTENSION.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6199: Can't install datatype hstore
@ 2011-09-06 17:07  Hadmut Danisch <hadmut@danisch.de>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Hadmut Danisch @ 2011-09-06 17:07 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

On 06.09.2011 18:26, Tom Lane wrote:
> Use CREATE EXTENSION.

Yup, that worked. Thanks! :-)

regards
Hadmut




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2011-09-06 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 11:55 BUG #6199: Can't install datatype hstore Hadmut <hadmut@danisch.de>
2011-09-06 16:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-09-06 17:07   ` Hadmut Danisch <hadmut@danisch.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox