Search Postgresql Archives

Re: Unable to run createlang (or psql for that matter)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you.

The reason I wanted to use it interactively is, at base, ignorance.

I do not completely remember everything that happened when I installed Postgresql (on Mac OSX). I did it with the Enterprise installer, however, that I do remember.

But what I begin to think is that *any* installation procedure for Postgres should/must include a blocking requirement that the installer set up a user account before the installation can proceed.

I would not even know that the user "postgres" existed had it not been for the fact that I kept tripping up over lack of access with my user account to the database (hence for example my placing files the database needs to access *outside* my user account where "postgres" can get at them).

At least I think that's what has happened.

As is true of so many things in life, I have tripped over a false dichotomy ("postgres" or "me"). The reality is "postgres" and "me".

John

P.S. Which is not to say that there are not false syntheses in life. "Guns and butter" leaps to mind.




On Apr 26, 2010, at 10:58 AM, Dave Page wrote:

On Mon, Apr 26, 2010 at 8:55 AM, John Gage <jsmgage@xxxxxxxxxxxxxx> wrote:

A very key difficulty is that if I attempt to add postgres as a user to my system, my system tells me postgres already is a user. But, unfortunately, postgres as a user on my system has no password. His postgresql password
does not work on the system.

The account doesn't have a password by default as it's a service
account and you shouldn't need to use it interactively.

If you really want to though, just set a password:

gator:~ dpage$ sudo passwd postgres
Changing password for postgres.
New password:
Retype new password:
gator:~ dpage$ su - postgres
Password:
gator:~ postgres$

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux