![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
Skeptik schrieb: Hello. How to pass password in these commands, without beeing prompted, and without pgpass.conf? If you DB is on a unix machine and you connect from this machine, you can use this line in pg_hba.conf: local all all ident sameuser This allows access without password if the db-username matches the unix username. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de |
#32
| |||
| |||
|
|
Skeptik schrieb: Hello. How to pass password in these commands, without beeing prompted, and without pgpass.conf? If you DB is on a unix machine and you connect from this machine, you can use this line in pg_hba.conf: local all all ident sameuser This allows access without password if the db-username matches the unix username. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de |
#33
| |||
| |||
|
|
Skeptik schrieb: Hello. How to pass password in these commands, without beeing prompted, and without pgpass.conf? If you DB is on a unix machine and you connect from this machine, you can use this line in pg_hba.conf: local all all ident sameuser This allows access without password if the db-username matches the unix username. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de |
![]() |
| Thread Tools | |
| Display Modes | |
| |