Re: [ADMIN] PostgreSQL installation problem on Windows XP Home

2005-03-06 Thread Magnus Hagander
Title: Message



A 
couple of comments:
 
pgadmin asked you for the postgres database account. NOT for the service 
account. The postgres database account is never autogenerated, it is always 
entered during the installation (on the initdb page).
 
To 
change a users password in any windows version, inculding XP Home, 
run:
net 
user accountname newpassword
 
If 
it's a domain account, just add "/DOMAIN" at the end.
 
If you 
want to delete it, as others has pointed out already, just run "net user 
accountname /delete".
 
I 
beleive there are also third-party tools available to do this in a GUI, but I 
don't know of any specific tool I can point you at.
 
//Magnus
 
 

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  On Behalf Of Hagop H.Sent: den 4 mars 2005 
  22:08To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
  PGSQL-admin@postgresql.org; PGSQL-general@postgresql.orgSubject: 
  [ADMIN] PostgreSQL installation problem on Windows XP 
Home
  
  I know that my problem is due to 
  my carelessness and ignorance, but I didn’t think that installing PostgreSQL 
  would cause a state of affairs not easily reversed. Please excuse the length 
  of the following narrative.
   
  When installing PostgreSQL 8.0.1 
  on my laptop running Windows XP Home (SP2), I let the installer create the 
  postgres account and generate a password. I didn’t write down the password. I 
  figured that if the installer was going to generate a random password, it 
  would store it in some configuration or log file and not ask me for it. I was 
  wrong. (Perhaps a warning for idiots like me would be appropriate in the MSI 
  installer file?) When I went to connect to the template1 database, PGAdmin III 
  asked me for the postgres account password, which I was unable to 
  provide.
   
  Normally this wouldn’t be a 
  problem. I figured I’d just start up Control Panel and change the postgres 
  account password. Unfortunately, Windows XP Home doesn’t provide any obvious 
  tools to change a system account password. I only know how to change user 
  account passwords. Control Panel’s User Accounts tool is useless for this 
  problem.
   
  I uninstalled PostgreSQL, thinking 
  that reinstalling it might help. I tried removing the postgres account to no 
  avail. My only indication that the postgres account still exists is the 
  Windows Services administration utility. I know of no method to delete the 
  account. Microsoft’s Knowledge Base provided no help. Windows XP Professional 
  contains a tool called Local Users and Groups (lusrmgr.msc) that allows the 
  administrator to change any account’s password. Windows XP Home cannot run 
  that program. 
   
  When I reinstall PostgreSQL, I am 
  asked for the postgres account password. I know I could rename the postgres 
  account name to postgres1 or something else, but I don’t know if that will 
  create any further issues for me. I could also upgrade the laptop’s OS to XP 
  Pro in order to change the postgres account password, but that feels like 
  using a sledgehammer to cut diamonds.
   
  I certainly bear most of the 
  blame. It would be too easy to bash Microsoft for this. I also wish that 
  PostgreSQL’s installer did not auto-generate passwords that cannot be changed. 
  None of what I went through was necessary.
   
  If someone could tell me either 
  how to delete the postgres account or change its password, I would appreciate 
  the assistance.
   
  Regards,
   
  Hagop 
  Hagopian


[ADMIN] how to install pg 8 in windows fat32 partition

2005-03-06 Thread guly
 I want to install pg 8 in my own pc.But my windows partition type is 
FAT32.When I was installing,There always showed me an error that it only 
supports NTFS type. Can I install pg8 at FAT32?



---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [ADMIN] how to install pg 8 in windows fat32 partition

2005-03-06 Thread Richard Sitompul
Hi Gul,
You can install :), but I'm not sure pg8 can be runs in fat32, Because
some functions of pg8 not support in fat32.

Regards,
Richard Sitompul



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of guly
Sent: Monday, March 07, 2005 10:25
To: pgsql-admin
Subject: [ADMIN] how to install pg 8 in windows fat32 partition

 I want to install pg 8 in my own pc.But my windows partition type is
FAT32.When I was installing,There always showed me an error that it only
supports NTFS type. Can I install pg8 at FAT32?



---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


[ADMIN] Help on maintaining pgsql/data folder size

2005-03-06 Thread Pradeepkumar, Pyatalo (IE10)
Title: Help on maintaining pgsql/data folder size






Hi all,


I am using PostgreSQL 7.4.3. The problem I am facing is that the size of pgsql/data folder keeps increasing and at a point the it takes up all the disk space and it freezes the system. The pg_xlog and the pg_clog folders are taking up most of the disk space. In the documentation, it says that I have to move the pg_xlog folder to some other location and create a symbolic link to that path from the original path. But the problem is for our application, we are using a 512 MB compact flash and there is no harddiskso I need to check the database folder size somehow. Could anyone help me out in this regard.

Between in order to recover the disk space, I am using a script which vacuums the database regularly.


Thanks in advance for all your valuable inputs.


Regards,
Pradeep





Re: [ADMIN] how to install pg 8 in windows fat32 partition

2005-03-06 Thread Miroslav Šulc
You can see this FAQ: 
http://pginstaller.projects.postgresql.org/FAQ_windows.html#2.4

If you have OS that supports NTFS, you can use console command 'convert' 
to convert FAT to NTFS.

Miroslav Åulc

guly wrote:
I want to install pg 8 in my own pc.But my windows partition type is FAT32.When 
I was installing,There always showed me an error that it only supports NTFS 
type. Can I install pg8 at FAT32?

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
 

begin:vcard
fn;quoted-printable:Miroslav =C5=A0ulc
n;quoted-printable:=C5=A0ulc;Miroslav
org:StartNet s.r.o.
adr;quoted-printable;quoted-printable:;;Vrchlick=C3=A9ho 161/5;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+420 257 225 602
tel;cell:+420 603 711 413
x-mozilla-html:TRUE
url:http://www.startnet.cz
version:2.1
end:vcard


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])