[postgis-users] createlang plpgsql mydatabase
Paul Ramsey
pramsey at refractions.net
Fri Apr 16 07:47:20 PDT 2004
Could you have different versions of createlang and psql? Because they
both use libpq, if they are compiled at the same time, with the same
configuration, they generally work identically (same libpq defaults),
so the problem you are getting should not occur.
On Friday, April 16, 2004, at 07:30 AM, Robert Aldridge wrote:
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
Paul Ramsey
Refractions Research
Email: pramsey at refractions.net
Phone: (250) 885-0632
More information about the postgis-users
mailing list