Re: [BUGS] LINE COMMAND

2010-08-16 Thread Felipe Lopes
Great! Thanks a lot! 2010/8/16 Mike Fowler > On 16/08/10 15:03, Felipe Lopes wrote: > >> 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" >> Th

Re: [BUGS] LINE COMMAND

2010-08-16 Thread Tom Lane
Felipe Lopes writes: > 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" This is intentionally not supported. If it were supported it would be insecure

Re: [BUGS] LINE COMMAND

2010-08-16 Thread Mike Fowler
On 16/08/10 15:03, Felipe Lopes wrote: 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: