pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2017-07-08
2017-07-08 19:43:31 by Stephen R. van den Berg <srb@cuci.nl>
48e6cdfef1a8fab8a5d95d2f600d6909a4803fa0 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Recognise all generic BEGIN/START commands.
55:
* in the event of an ErrorResponse. */ final Regexp transbeginprefix
-
=iregexp("^\a*BEGIN[; \t\f\r\n]
*
$");
+
=iregexp("^\a*
(
BEGIN
|START)(
[; \t\f\r\n]
|
$
)
");
/* Statements matching transendprefix will cause the driver * insert a sync after the statement.
63:
* in the event of an ErrorResponse. */ final Regexp transendprefix
-
=iregexp("^\a*(COMMIT|ROLLBACK|END)[; \t\f\r\n]
*
$");
+
=iregexp("^\a*(COMMIT|ROLLBACK|END)
(
[; \t\f\r\n]
|
$
)
");
/* For statements matching execfetchlimit the resultrows will not be * fetched in pieces