Re: [HACKERS] Pg on SMP half-powered

2001-07-08 Thread Víctor Romero
El Sábado 07 Julio 2001 16:36, Lamar Owen escribió: > On Thursday 05 July 2001 10:51, Víctor Romero wrote: > > I am running postgresql 7.1 on a SMP Linux box. It runs, but it never > > pass a loadavg of 0.4, no matter how I try to overload the system. > > > > The same configuration, the same exe

Re: [HACKERS] Async PQgetResult() question.

2001-07-08 Thread Matthew Hagerty
At 11:44 PM 7/7/2001 -0400, Tom Lane wrote: >Matthew Hagerty <[EMAIL PROTECTED]> writes: > > So then how would I code for the exception, i.e. the backend goes down > just > > before or during my call to PQsendQuery()? If I am non-blocking then I > can > > determine that my query did not go (PQs

[HACKERS] Happy Anniversary

2001-07-08 Thread Peter Eisentraut
I suppose few people have remembered that today is what could be considered the 5th anniversary of the PostgreSQL project. Cheers for another five years! http://www.ca.postgresql.org/mhonarc/pgsql-hackers/1999-10/msg00552.html -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.n

Re: [HACKERS] Happy Anniversary

2001-07-08 Thread Bruce Momjian
> I suppose few people have remembered that today is what could be > considered the 5th anniversary of the PostgreSQL project. Cheers for > another five years! > > > http://www.ca.postgresql.org/mhonarc/pgsql-hackers/1999-10/msg00552.html Good catch! Yes, you are right. -- Bruce Momjian

[HACKERS] ADD CONSTRAINT behaviour question

2001-07-08 Thread Christopher Kings-Lynne
When adding unique keys: * If you do this, you get two unique keys (7.0.3): create table test (int4 a, int4 b); create unique index indx1 on test(a, b); create unique index indx2 on test(a, b); Then you get this: Table "test" Attribute | Type | Modifier ---+-+

RE: [HACKERS] Re: [GENERAL] Vacuum and Transactions

2001-07-08 Thread Christopher Kings-Lynne
> That might happen eventually, but I'm not all that eager to convert > the postmaster into a (half-baked) substitute for cron. My experience > as a dbadmin is that you need various sorts of routinely-run maintenance > tasks anyway; VACUUM is only one of them. So you're gonna need some > cron ta

RE: [HACKERS] Re: [GENERAL] Vacuum and Transactions

2001-07-08 Thread Christopher Kings-Lynne
> You'll still need to VACUUM to get rid of the obsoleted versions of the > row. The point of the planned 7.2 changes is to make VACUUM cheap and > nonintrusive enough so that you can run it frequently on tables that are > seeing continual updates. If it becomes non-intrusive, then why not have

Re: [HACKERS] Re: [GENERAL] Vacuum and Transactions

2001-07-08 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > If it becomes non-intrusive, then why not have PostgreSQL run VACUUM > automatically That might happen eventually, but I'm not all that eager to convert the postmaster into a (half-baked) substitute for cron. My experience as a dbadmin is t

Re: [HACKERS] ADD CONSTRAINT behaviour question

2001-07-08 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > ps. I know I only tested these on 7.0.3 - but I assume HEAD has similar > behaviour? You assume wrong. It's a bad idea to try to develop backend code against back releases. regards, tom lane ---

RE: [HACKERS] ADD CONSTRAINT behaviour question

2001-07-08 Thread Christopher Kings-Lynne
> You assume wrong. > > It's a bad idea to try to develop backend code against back releases. My bad. I'm at work at the moment and I tried it out here to rejig my memory before posting. I do remember testing it on HEAD at home and the create table (.., unique, unique) doesn't duplicate. Don't