Re: Changing Passwords as Encrypted not Clear-Text - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Changing Passwords as Encrypted not Clear-Text
Date
Msg-id 201112190857.49967.adrian.klaver@gmail.com
Whole thread Raw
In response to Re: Changing Passwords as Encrypted not Clear-Text  (MURAT KOÇ <m.koc21@gmail.com>)
Responses Re: Changing Passwords as Encrypted not Clear-Text  (MURAT KOÇ <m.koc21@gmail.com>)
List pgsql-general
On Monday, December 19, 2011 7:26:33 am MURAT KOÇ wrote:
> Hi Adrian,
>
> I wrote a desktop application on Windows by using "Npgsql.dll". So, I send
> SQL statement to database from this application code. I can't use psql
> command line (I know "\password" command changes password encrypted text).
>
> Because of this, I have to use "ALTER USER" statement from application
> code. Or what could you give another advice?

Another option would be to change logging behavior on the fly using SET:

http://www.postgresql.org/docs/9.0/interactive/sql-set.html

set log_statement= 'none';


This will need to be done as a superuser.

>
> Best Regards
> Murat KOC
>

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Rick Pufky
Date:
Subject: Re: recovery_target_timeline and multiple slave behavior when master fails
Next
From: Pavel Stehule
Date:
Subject: Re: Feature Request: Better handling of foreign keys in DELETE statements