Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id E3C2E1C6FE3C for ; Thu, 26 Jan 2012 10:53:43 -0400 (AST) Received: from oproxy6-pub.bluehost.com ([67.222.54.6]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RqQhm-000387-CK for pgsql-bugs@postgresql.org; Thu, 26 Jan 2012 14:53:43 +0000 Received: (qmail 26850 invoked by uid 0); 26 Jan 2012 14:53:25 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by cpoproxy3.bluehost.com with SMTP; 26 Jan 2012 14:53:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=hsEw9iTNRbsCAssL4c8FT2CJw86l/IBWv9b3s41jBD0=; b=uyHbSs2aT7JbQ+q0B++YguJegsripLAeFuqmR7DPHymYFoaDgD7d9V7j04LCTcbr+5K4Q8VTHwaax8J+DuGzD2rZRXf/x/S3eROr2gRto2ZQz2hCKamhleTgZmGVERgf; Received: from [177.0.93.121] (helo=[10.3.2.6]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RqQhY-0008SE-O1; Thu, 26 Jan 2012 07:53:25 -0700 Message-ID: <4F216864.2000906@timbira.com> Date: Thu, 26 Jan 2012 11:51:16 -0300 From: Euler Taveira de Oliveira User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Sasa.Petrovic@falc.biz CC: pgsql-bugs@postgresql.org Subject: Re: One question about VACUUMDB command - please References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 177.0.93.121 authed with euler@timbira.com} X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/177 X-Sequence-Number: 32244 On 26-01-2012 05:31, Sasa.Petrovic@falc.biz wrote: > Why this comand that I write belove ask me for password, even I create user > into DB with same password like user on my server that execute this command? > PostgreSQL doesn't inherit authentication properties from operational system. Instead you could use environment variables [1], pgpass.conf file [2] or even tune pg_hba.conf [3] to not ask the password for certain host/user/database. [1] http://www.postgresql.org/docs/current/static/libpq-envars.html [2] http://www.postgresql.org/docs/current/static/libpq-pgpass.html [3] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento