Thread: Binaries readme change needed
Hi all, Magnus, please change in readme: 8. To register the postgresql service, type *pg_ctl register -U postgres -P passwd*. This will install the PostgreSQL service. You may now close down the postgres user's command window. to: 8. To register the postgresql service, start new cmd window as administrator(or any with admin privileges) user. Type *pg_ctl register -U postgres -P passwd*. This will install the PostgreSQL service. You may now close down the postgres user's command window. - "normal" user can't registry services .... Best regards Rony
Updated, thanks. //Magnus >-----Original Message----- >From: Ronald Kuczek [mailto:kuczek@kuczek.pl] >Sent: den 17 juli 2004 00:16 >To: pgsql-hackers-win32@postgresql.org >Subject: [pgsql-hackers-win32] Binaries readme change needed > > >Hi all, >Magnus, please change in readme: >8. To register the postgresql service, type *pg_ctl register >-U postgres >-P passwd*. This will install the PostgreSQL service. You may >now close >down the postgres user's command window. >to: >8. To register the postgresql service, start new cmd window as >administrator(or any with admin privileges) user. Type >*pg_ctl register >-U postgres -P passwd*. This will install the PostgreSQL service. You >may now close down the postgres user's command window. >- "normal" user can't registry services .... > >Best regards >Rony > > >---------------------------(end of >broadcast)--------------------------- >TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html >
Użytkownik Magnus Hagander napisał: >Updated, thanks. > >//Magnus > > > Probably this "normal user" has no PGDATA environment variable. I had created postgres user and never login as postgres ;-) (in readme you wrote only : "Create a user called postgres or use an existing user. That user should have the 'log on as a service' right but must not have Administrator rights. The postgres user should have a password." - you have to suppose - a "normal" windows user will create a new account and will never login and set environment variables for this new user) Maybe instruction "pg_ctl register -U postgres -P passwd -D "your_pgdatapath_withslashes_insteadof_backslahes" " in readme would be better ? Best regards Rony