Re: Changing Passwords as Encrypted not Clear-Text

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: MURAT KOÇ <m(dot)koc21(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing Passwords as Encrypted not Clear-Text
Date: 2011-12-19 16:57:49
Message-ID: 201112190857.49967.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2011-12-19 16:58:52 Re: Feature Request: Better handling of foreign keys in DELETE statements
Previous Message Rick Pufky 2011-12-19 16:56:15 Re: recovery_target_timeline and multiple slave behavior when master fails