![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#3
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#4
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#5
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#6
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#7
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#8
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#9
| |||
| |||
|
|
Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! |
#10
| |||
| |||
|
|
begin Vesa-Matti Kari schrieb: Hello! I need to do SELECT and DELETE as a single atomic operation. Is it possible to use transactions in Postgresql PL/Perl functions? If yes, how? Any pointers would be appreciated. Thanks! Sure. A function, also a pl/perl - function, runs within a transaction. But you can't do a 'begin' ... 'commit;' within the function. Simply write your function and call it, it's an atomic transaction. |
![]() |
| Thread Tools | |
| Display Modes | |
| |