Re: Post Install / Secure PostgreSQL - Mailing list pgsql-general

From Carlos Mennens
Subject Re: Post Install / Secure PostgreSQL
Date
Msg-id AANLkTimcdEyUuaHqKFTX-uvYTpEz_SZW1FknJZWQpN2V@mail.gmail.com
Whole thread Raw
In response to Re: Post Install / Secure PostgreSQL  (Richard Broersma <richard.broersma@gmail.com>)
List pgsql-general
On Tue, Sep 14, 2010 at 1:52 PM, Richard Broersma <richard.broersma@gmail.com>
> You'd want to use "ALTER USER"
>
> http://www.postgresql.org/docs/8.4/interactive/sql-alteruser.html
>
> So:
>
> ALTER USER carlos WITH ENCRYPTED PASSWORD 'password';

I find it strange when I am logged in as super user 'postgres' and
type the exact syntax but after 'carlos' above, for some reason it no
longer auto completes 'WITH' for some reason. Then when I manually
just type the word 'WITH' even though the tab auto-complete didn't
recognize it. I then type 'ENCRY' and press the tab key, PostgreSQL
for some odd reason changes the syntax of 'ENCRY' to 'RECURSIVE'. I
don't understand this database behavior & understand that I can
manually just type everything you posted above and the command works
but I depend on auto complete and this doesn't make any sense.

Am I doing something wrong for why PostgreSQL just randomly alters my
input when I press the 'tab' key?

pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: Post Install / Secure PostgreSQL
Next
From: Carlos Mennens
Date:
Subject: Identify Login User & Permissions