Re: PG constraint

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: PG constraint
Дата
Msg-id 20050327154211.GA9280@wolff.to
обсуждение исходный текст
Ответ на PG constraint  (Szmutku Zoltán <szmutku.zoltan@betet-kft.hu>)
Список pgsql-general
On Mon, Mar 21, 2005 at 08:04:01 +0100,
  Szmutku Zoltán <szmutku.zoltan@betet-kft.hu> wrote:
> Hi everybody ,
>
> I tried using Postgre, but  I have some problems.
> I create a constraint (  R1>=0 ), and after connect to server from VFP via ODBC .
> In the client program I turn on the transactions . (  SQLSETPROP(nHandle,'Transactions',2)   )
>
> When I run UPDATE statements one after the other , and one return false because of constraint ,
> then the server rolling back all changing automatically.
> I would like to: server ignore the bad statements (return false) and after I call rollback or commit
manually....possible?  

In version 8.0 you can use the savepoint feature to do this.

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

Предыдущее
От: "David Parker"
Дата:
Сообщение: Re: create or replace trigger?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Using sequence name depending on other column