Re: Updating an emty table?

Поиск
Список
Период
Сортировка
От Hubert Lubaczewski
Тема Re: Updating an emty table?
Дата
Msg-id 20030625110649.742ee7b5.hubert.lubaczewski@eo.pl
обсуждение исходный текст
Ответ на Re: Updating an emty table?  ("Bjorn T Johansen" <btj@havleik.no>)
Список pgsql-general
On Wed, 25 Jun 2003 11:00:55 +0200 (CEST)
"Bjorn T Johansen" <btj@havleik.no> wrote:

> I am guessing that since you are using an if statement, that PostgreSQL
> doesn't support writing this using exceptions. (I know I have written
> functions like this, trying to do an update first and if specific
> exception occured I then do an insert...)

hmm .. exception will issue "rollback" thus making your transaction void. any update's or inserts would vanish.

depesz

В списке pgsql-general по дате отправления:

Предыдущее
От: "Bjorn T Johansen"
Дата:
Сообщение: Re: Updating an emty table?
Следующее
От: Sven Köhler
Дата:
Сообщение: Re: [BUG?] table inhiritance violates primary key