[postgis-users] createlang plpgsql mydatabase

Robert Aldridge bamarob55 at yahoo.com
Fri Apr 16 07:30:41 PDT 2004


I'm having problems with the createlang command when,
as the postgres user, I run:

createlang plpgsql mydatabase

I get:

createlang: could not connect to database mydatabase:
could not connect to server: No such file or directory
     Is the server running locally and accepting
     connections on Unix domain socket
"/tmp/.s.PGSQL.5432"?

However, if I run:

psql -d mydatabase

It connects to the database fine.  I get:

mydatabase=#


Any ideas why createlang isn't working?  Do I have to
install the language before I can create it on a
database?

Thanks for any input you can provide,

Robert Aldridge


	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



More information about the postgis-users mailing list