Re: [ADMIN] PGPASSWORD

2006-02-23 Thread Andy Shellam
Look at your pg_hba.conf file - your old configuration might have had a "trust" authentication set somewhere for your local machine/network IPs, rendering any password unnecessary. Andy Mr. Dan wrote: Hi, When I was running 8.0.X on linux, I didn't have to include the postgres -P password i

Re: [ADMIN] PGPASSWORD

2006-02-23 Thread Tom Lane
"Mr. Dan" <[EMAIL PROTECTED]> writes: > Has anyone else noticed they had to start including a password for > the postgres user in 8.1.X? No. I'll bet a very good dinner that you changed the pg_hba.conf configuration file when you updated the PG installation. regards, tom

Re: [ADMIN] PGPASSWORD

2006-02-23 Thread Jim C. Nasby
Depending on your actual config, you could well be able to set postgresql up so that it doesn't need any passwords, too. I prefer this when possible... but you need to understand the rammifications if you care about your data. Though, if all you're doing is running pgbench, I'd say just setup ever

Re: [ADMIN] PGPASSWORD

2006-02-23 Thread Mr. Dan
Thanks Milen! I use -P is bash shell scirpts. It used with with pgbench. see pgbench --help. ~DjK ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED

Re: [ADMIN] PGPASSWORD

2006-02-23 Thread Milen A. Radev
Mr. Dan написа: > Hi, > > When I was running 8.0.X on linux, I didn't have to include the postgres > -P password in my shell scripts(.sh). After I switched to 8.1.X, I've > had to include the -P PASSWORD ** in all my scripts. I'm thinking > I'll just add PGPASSWORD as a postgres environment

[ADMIN] PGPASSWORD

2006-02-23 Thread Mr. Dan
Hi, When I was running 8.0.X on linux, I didn't have to include the postgres -P password in my shell scripts(.sh). After I switched to 8.1.X, I've had to include the -P PASSWORD ** in all my scripts. I'm thinking I'll just add PGPASSWORD as a postgres environment variable instead. I di