I need the following to work with PostgreSQL. I was thinking of reading uncommitted transactions, but just found out they do not work on PG. I need to have user 1 take an item form inventory for an order and before user 1 finishes the transaction user 2 will query the inventory. I need user 2 to see the quantity on-hand reduced by the amount user 1 took.
Because read uncommitted is not supported is there a way to do this?
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера