Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e616f4b

Browse files
author
Artur Zakirov
committed
fix #1
1 parent d697155 commit e616f4b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@
55
The **pg_variables** module provides functions to work with variables of various
66
types. Created variables live only in the current user session.
77

8+
Note that the module does **not support transactions and savepoints**. For
9+
example:
10+
11+
```sql
12+
SELECT pgv_set_int('vars', 'int1', 101);
13+
14+
BEGIN;
15+
16+
SELECT pgv_set_int('vars', 'int2', 102);
17+
18+
ROLLBACK;
19+
20+
SELECT * FROM pgv_list() order by package, name;
21+
package | name
22+
---------+------
23+
vars | int1
24+
vars | int2
25+
(2 rows)
26+
```
27+
828
## License
929

1030
This module available under the same license as

0 commit comments

Comments
 (0)