LINE COMMAND

From: Felipe Lopes <felipelopess(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: LINE COMMAND
Date: 2010-08-16 14:03:49
Message-ID: AANLkTi=G4vFo5UtBhDXVsj7OA0S4q-eHv6stFHw6F1tE@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I would like to run a line command (psql) with the supplied password without
pausing the command, but this option is not available:

psql --username=root --password=root my_bd < "script.sql"

The pass only can be informed after execution, pausing the command:

psql --username=root --password my_bd<script.sql
Senha para usußrio root: ****

Thanks.

--
Felipe L.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mike Fowler 2010-08-16 14:47:01 Re: LINE COMMAND
Previous Message Mariusz Majer 2010-08-16 07:54:44 Re: BUG #5614: Varchar column (with DEFAULT NULL) stores 'UL' value instead of null