Re: [BUGS] statement stuck when the connection grew up to 45 or more

2006-06-09 Thread Jim C. Nasby
On Fri, Jun 09, 2006 at 05:29:08PM +0800, [EMAIL PROTECTED] wrote: > I had check using ps -auxw|grep postgres & using select * from > pg_stat_activity > and it shows that the is really running and use 99% of the CPU. > > Is there any wrong with the query? > As suggested by Jan Cruz, it is to fine

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Dirk Lutzebäck
True. Dirk Tom Lane wrote: =?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <[EMAIL PROTECTED]> writes: This is not a large object. We are seeing rows with duplicate oids because the OID counter is not changed after the dump (exported with --oids) is being loaded. How does 8.1 prevent to allo

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Tom Lane
=?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <[EMAIL PROTECTED]> writes: > This is not a large object. We are seeing rows with duplicate oids > because the OID counter is not changed after the dump (exported with > --oids) is being loaded. > How does 8.1 prevent to allocate duplicate OIDs? If there's a uni

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Dirk Lutzebäck
This is not a large object. We are seeing rows with duplicate oids because the OID counter is not changed after the dump (exported with --oids) is being loaded. How does 8.1 prevent to allocate duplicate OIDs? Regards, Dirk Tom Lane wrote: Alvaro Herrera <[EMAIL PROTECTED]> writes:

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

2006-06-09 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Dirk Lutzebäck wrote: >> how can one set the global OID counter in 8.1.X? We think it would work >> in 8.0.X using the COPY WITH OIDS command but this does not work in >> 8.1.X anymore. > pg_resetxlog -o > (Postmaster stopped of course) Possibly more

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

2006-06-09 Thread Alvaro Herrera
Dirk Lutzebäck wrote: > Hi, > > how can one set the global OID counter in 8.1.X? We think it would work > in 8.0.X using the COPY WITH OIDS command but this does not work in > 8.1.X anymore. pg_resetxlog -o (Postmaster stopped of course) -- Alvaro Herrerahttp:/

[BUGS] How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

2006-06-09 Thread Dirk Lutzebäck
Hi, how can one set the global OID counter in 8.1.X? We think it would work in 8.0.X using the COPY WITH OIDS command but this does not work in 8.1.X anymore. We have the problem that we made a dump using 'pg_dump -o' in 8.0.X, created a new database in 8.1.X and read back in but the global

[BUGS] error en initdb

2006-06-09 Thread jorge montecinos
Create a database with "initdb" in windows XP Prof. under "postgres" user.PostgresVer: 8.1Installer: postgresql-8.1.msi  - postgresql-8.1-int.msiC:\PostgreSQL>initdb -D c:/PostgreSQL/dataThe files belonging to this database system will be owned by user "postgres".

Re: [BUGS] statement stuck when the connection grew up to 45 or more

2006-06-09 Thread kah_hang_ang
I had check using ps -auxw|grep postgres & using select * from pg_stat_activity and it shows that the is really running and use 99% of the CPU. Is there any wrong with the query? As suggested by Jan Cruz, it is to fine tune the performance of the query. Even if I not fine tune the query it sho