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

From: John Gage <jsmgage(at)numericable(dot)fr>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Jorge Arevalo <jorgearevalo(at)gis4free(dot)org>, PostgreSQL - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unable to run createlang (or psql for that matter)
Date: 2010-04-26 10:07:25
Message-ID: C720A79B-89AE-4A89-AA1E-2C03A39ACB9A@numericable.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)numericable(dot)fr>
> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Luís de Sousa 2010-04-26 10:09:45 Convert odb to Postgres
Previous Message Luís de Sousa 2010-04-26 10:06:23 Convert odb to Postgres