pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-11-26
2014-11-26 08:45:57 by Stephen R. van den Berg <srb@cuci.nl>
526384557757f5798b2e4504767ad04dad0df9dc (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Make SET synchronous to avoid surprises with subsequent queries.
34:
private Regexp dontcacheprefix =Regexp("^[ \t\f\r\n]*([Ff][Ee][Tt][Cc][Hh]|[Cc][Oo][Pp][Yy])[ \t\f\r\n]"); private Regexp commitprefix=Regexp(
-
"^[ \t\f\r\n]*([Cc][Oo][Mm][Mm][Ii][Tt]|[Ee][Nn][Dd])([ \t\f\r\n;]|$)");
+
"^[ \t\f\r\n]*([Cc][Oo][Mm][Mm][Ii][Tt]|[Ee][Nn][Dd]
|[Ss][Ee][Tt]
)
"
+
"
([ \t\f\r\n;]|$)");
private Regexp execfetchlimit
-
=Regexp("^[ \t\f\r\n]*(([Uu][Pp][Dd][Aa]|[Dd][Ee][Ll][Ee])[Tt][Ee]
|\
-
[Ii][Nn][Ss][Ee][Rr][Tt])[ \t\f\r\n]
|\
-
[ \t\f\r\n][Ll][Ii][Mm][Ii][Tt][ \t\f\r\n]+[12][; \t\f\r\n]*$");
+
=Regexp("^[ \t\f\r\n]*(([Uu][Pp][Dd][Aa]|[Dd][Ee][Ll][Ee])[Tt][Ee]
"
+
"
|[Ii][Nn][Ss][Ee][Rr][Tt])[ \t\f\r\n]
"
+
"
|[ \t\f\r\n][Ll][Ii][Mm][Ii][Tt][ \t\f\r\n]+[12][; \t\f\r\n]*$");
final array emptyarray=({}); final void closestatement(bufcon|conxion plugbuffer,string oldprep) {