Re: unsigned int4
От | Bruce Momjian |
---|---|
Тема | Re: unsigned int4 |
Дата | |
Msg-id | 200004040314.XAA11758@candle.pha.pa.us обсуждение исходный текст |
Ответ на | unsigned int4 (Scott M Jackson <scottmo@pnl.gov>) |
Список | pgsql-general |
> I looked in the FAQs, lists, docs, etc but couldn't find an answer to my > question. > Is there a way to specify an unsigned int, such that it would create an > ERROR condition if a transaction > were to attempt to cause a particular value to go negative. This would > be very useful to me. > I would like to be able to use the automatic rollback feature of WORK > blocks if a debit is generated that would > subtract more than it's positive balance. I feel this would be helpful > due to the concurrent nature of our bank > application. Oid should be unsigned int. Not sure it is completely implemented, but it should be. -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: