Re: Delay INSERT

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Delay INSERT
Date: 2005-03-23 14:42:18
Message-ID: m37jjy8lv9.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-php

After a long battle with technology, skyer(at)on(dot)kg ("ON.KG"), an earthling, wrote:
> Does PostgreSQL have something like "INSERT DELAYD" - like it is used in
> MySQL?
>
> or any other way to delay inserting?

What problem are you trying to solve by using "INSERT DELAYED"?

As far as I can tell, the problem solved using "INSERT DELAYED" is
that in MySQL AB's product, processes take out full table locks when
they modify tables.

That is completely irrelevant with PostgreSQL, as PostgreSQL does not
lock tables that way.

Unless your concern is something rather more abstruse, I think you're
trying to solve a problem that simply doesn't exist. There is no
reason to delay inserts in PostgreSQL because there are no such locks.
--
(format nil "~S(at)~S" "cbbrowne" "gmail.com")
http://linuxdatabases.info/info/slony.html
"I would rather spend 10 hours reading someone else's source code than
10 minutes listening to Musak waiting for technical support which
isn't." -- Dr. Greg Wettstein, Roger Maris Cancer Center

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-03-23 14:50:47 Re: Delay INSERT
Previous Message FERREIRA William (COFRAMI) 2005-03-23 14:40:45 Re: pl/perl problem

Browse pgsql-php by date

  From Date Subject
Next Message Richard Huxton 2005-03-23 14:50:47 Re: Delay INSERT
Previous Message Michael Fuhr 2005-03-23 14:40:33 Re: Delay INSERT