If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > Error running adminpack--1.0.sql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-01-11, 02:26
kuaeg kuaeg is offline
Registered User
 
Join Date: Oct 2011
Posts: 8
Error running adminpack--1.0.sql

Hi,

I encountered the following errors when running adminpack--1.0.sql:
psql -U postgres < adminpack--1.0.sql
----------------------------------------------------------------------
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
ERROR: function pg_catalog.pg_file_rename(text, text, text) does not exist
LINE 3: AS 'SELECT pg_catalog.pg_file_rename($1, $2, NULL:g_catalo...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
ERROR: function "pg_file_read" already exists with same argument types
ERROR: function "pg_file_length" already exists with same argument types
ERROR: function "pg_logfile_rotate" already exists with same argument types

----------------------------------------------------------------------

I have tried to run
sudo -u postgres psql <enter>
create extension "adminpack";
create extension "uuid-ossp";

But still got the above errors.

Regards,
Eye Gee
Reply With Quote
  #2 (permalink)  
Old 11-01-11, 21:32
kuaeg kuaeg is offline
Registered User
 
Join Date: Oct 2011
Posts: 8
Re: Error running adminpack--1.0.sql

Hi,

"create extension adminpack" works!

Regards,
Eye Gee
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On