[ADMIN] mirorring databases with small time gaps

2002-02-25 Thread JX
Hi all pg admins, here is the problem we're encountering now. We've got a pgsql database server, logging informations (such as alarms, week-events and so on) for a measure system. This database is mainly fed by a collect daemon which inserts/update values in tables and generate

[ADMIN] Reset sequence number

2002-02-25 Thread Marc
Hello, How can I reset a sequence number back to 0 ? Regards ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [ADMIN] Reset sequence number

2002-02-25 Thread Lee Harr
> How can I reset a sequence number back to 0 ? > SELECT setval('sequence_name', 0); In order for this to work, the sequence must have been created with a MINVALUE of 0 (the default MINVALUE is 1) CREATE SEQUENCE sequence_name MINVALUE 0; ---(end of broadcast)---

[ADMIN] Problem in installing PostgreSQL7.1.2 on Windows2000

2002-02-25 Thread sreedhar
Hi Jason, I installed "CygWin" on my windows 2000 system. If i click cygwin prompt just it is refershing. Downloaded cygipc-1.09-2.tar.gz and i could not get where I have to put that file.I your document you gave it as "/" directory. where can i run all unix like commands on my windows system.

[ADMIN] callable statement please

2002-02-25 Thread Henry
Would somebody kindly post a functional CallableStatement.java file here? I got postgres7.2 installed, but the pgjdbc2.jar file doesn't support callable statement as well. please, if someone knows where to find such a file, give me some light. Henry ---(end of broadcas

Re: [ADMIN] Backup and Recovery (revisited)

2002-02-25 Thread Zeugswetter Andreas SB SD
> One use of replication can be point-in-time recovery. The log of > replication messages can be played back against a nightly backup to > restore the system to the current state. It would be nice to hit both > of these at the same time. WAL currently has all that is needed for full instance m

Re: [ADMIN] Reset sequence number

2002-02-25 Thread Bruno Wolff III
On Sat, Feb 23, 2002 at 05:07:34PM +, Lee Harr <[EMAIL PROTECTED]> wrote: > > How can I reset a sequence number back to 0 ? > > > > SELECT setval('sequence_name', 0); > > > In order for this to work, the sequence must have been created with > a MINVALUE of 0 (the default MINVALUE is 1) >

[ADMIN] About RBAC in postgres

2002-02-25 Thread Denis Chavez
Hi! How does postgres deal with RBAC (Role Based Access Control), does it have good support for it?, Isn't there any auxiliary tool to deal with it?, where can I find more info about RBAC in postgres? Thanks in advance. Regards, Denis -- GMX - Die Kommunikationsplattform im Internet. http://w

[ADMIN] pg_dump error

2002-02-25 Thread Srinivasa Rao Chava
I have recently upgraded to postgresql 7.2. When I try to take backup with pg_dump, one of the database is generating the following error. pg_dump: query to obtain procedure name for trigger "ins_extranet_cspm_bug" did not return exactly one result I checked the for the trigger "ins_extranet_cs

Re: [ADMIN] pg_dump error

2002-02-25 Thread Stephan Szabo
On 25 Feb 2002, Srinivasa Rao Chava wrote: > I have recently upgraded to postgresql 7.2. > When I try to take backup with pg_dump, one of the database is > generating > the following error. > > pg_dump: query to obtain procedure name for trigger > "ins_extranet_cspm_bug" did not return exactly on

Re: [ADMIN] pg_dump error

2002-02-25 Thread Tom Lane
[EMAIL PROTECTED] (Srinivasa Rao Chava) writes: > pg_dump: query to obtain procedure name for trigger > "ins_extranet_cspm_bug" did not return exactly one result The most likely bet is that there's no function at all that matches the OID stored in the trigger. Have you done any deletion/recreati

Re: [ADMIN] Reset sequence number

2002-02-25 Thread Lonh SENG
I use truncate table $table_name. This will delete all data from that table and reset the sequense number. - Original Message - From: "Marc" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 23, 2002 6:37 PM Subject: [ADMIN] Reset sequence number > Hello, > > How can