Search Postgresql Archives

Re: about Command Prompt.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

runas is not required.

for example)
C:\Program Files\PostgreSQL\8.3-beta1\bin>psql -f filename.sql postgres postgres

Password for user postgres:****

pleae see.
psql --help

Regards,
Hiroshi Saito

----- Original Message ----- From: longlong
To: pgsql-general@xxxxxxxxxxxxxx
Sent: Tuesday, October 09, 2007 9:25 PM
Subject: about Command Prompt.


what i want is using the psql to excute  a serial  SQL command like create table in a file.
but i have tried " runas /noprofile /env /user:postgres "f:\postgre\bin\psql -f filename" "in Windows cmd ,it doesn't work.

Is there any way to do this   or
How can I make my order work just like in Command Prompt?

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux