Re: [ADMIN] PostgreSQL Database freezes during backup then generates drwtsn.exe process

2008-12-02 Thread Bob Lunney
Ward,I've experienced the exact problem you describe.  The two machines where identical in every way: make, model, disk layout, OS, etc., and this scenario happens regardless of which machine was the primary and which was the warm-standby.  Note I was not running pgAgent.I was using pg_standby to i

Re: [ADMIN] PostgreSQL Database freezes during backup then generates drwtsn.exe process

2008-12-02 Thread Steve Crawford
Ward Eaton wrote: I'm running PostgreSQL 8.3 on a Windows 2003 machine (pgAgent service is also installed and running). The system is running as a redundant database server. Thus, backing up from one machine to another, and transferring over WAL logs. In the postageSQL log files there are

Re: [ADMIN] change user passwd

2008-12-02 Thread Chris Browne
[EMAIL PROTECTED] (Isabella Ghiurea) writes: > I'm using PG 8.3.4 , what's the method for remote users to change > their PG passwd . The method is to use the "ALTER USER" command. -- (format nil "[EMAIL PROTECTED]" "cbbrowne" "acm

Re: [ADMIN] Not so simple query and a half million loop

2008-12-02 Thread DANIEL CRISTIAN CRUZ
Because of a Bad Model... When it is a single event egw_cal_dates always has a record with cal_start = 0. When it is a recurrent event, egw_cal_dates has a record with cal_start = 0 and a record with cal_start equal to recurrent start. With this construction it returns correctly calendar excepti

Re: [ADMIN] Not so simple query and a half million loop

2008-12-02 Thread Alvaro Herrera
Daniel Cristian Cruz escribió: > No one knows why I got "actual time=0.014..0.570 rows=30 loops=511222" > and "actual time=0.005..0.006 rows=1 loops=15158976"? > > With: > cu.cal_user_type = 'u' AND > cu.cal_recur_date = COALESCE((SELECT cd.cal_start FROM egw_cal_dates > icd WHERE icd.cal_id = c

Re: [ADMIN] change user passwd

2008-12-02 Thread Isabella Ghiurea
Thank you , yes this works in psql . Isabella Suresh Borse wrote: How the remote user access the postgres database. Are they using pgadmin ?? Are they able to connect through psql to remote database? IF yes then try following command dbname=# /alter user "Username" password 'password'; /

[ADMIN] PostgreSQL Database freezes during backup then generates drwtsn.exe process

2008-12-02 Thread Ward Eaton
I'm running PostgreSQL 8.3 on a Windows 2003 machine (pgAgent service is also installed and running). The system is running as a redundant database server. Thus, backing up from one machine to another, and transferring over WAL logs. In the postageSQL log files there are several error messages t

Re: [ADMIN] Logging autovacuum

2008-12-02 Thread Alvaro Herrera
Kevin Kempter wrote: > > > Hi All; > > I wonder is there a way to force autovacuum events to be logged to the > postgres log ? See the log_autovacuum_min_duration parameter (new in 8.3) -- Alvaro Herrerahttp://www.CommandPrompt.com/ PostgreSQL Replication, Con

Re: [ADMIN] Not so simple query and a half million loop

2008-12-02 Thread Daniel Cristian Cruz
No one knows why I got "actual time=0.014..0.570 rows=30 loops=511222" and "actual time=0.005..0.006 rows=1 loops=15158976"? With: cu.cal_user_type = 'u' AND cu.cal_recur_date = COALESCE((SELECT cd.cal_start FROM egw_cal_dates icd WHERE icd.cal_id = cd.cal_id AND icd.cal_start = cd.cal_start AND