ext/errorcodes.def in pg-0.18.4 vs ext/errorcodes.def in pg-0.19.0.pre20160409114042
- old
+ new
@@ -197,10 +197,18 @@
{
VALUE klass = define_error_class( "InvalidRowCountInResultOffsetClause", "22" );
register_error_class( "2201X", klass );
}
{
+ VALUE klass = define_error_class( "InvalidTablesampleArgument", "22" );
+ register_error_class( "2202H", klass );
+}
+{
+ VALUE klass = define_error_class( "InvalidTablesampleRepeat", "22" );
+ register_error_class( "2202G", klass );
+}
+{
VALUE klass = define_error_class( "InvalidTimeZoneDisplacementValue", "22" );
register_error_class( "22009", klass );
}
{
VALUE klass = define_error_class( "InvalidUseOfEscapeCharacter", "22" );
@@ -465,10 +473,14 @@
{
VALUE klass = define_error_class( "ERIESrfProtocolViolated", "39" );
register_error_class( "39P02", klass );
}
{
+ VALUE klass = define_error_class( "ERIEEventTriggerProtocolViolated", "39" );
+ register_error_class( "39P03", klass );
+}
+{
VALUE klass = define_error_class( "SavepointException", NULL );
register_error_class( "3B000", klass );
register_error_class( "3B", klass );
}
{
@@ -913,9 +925,13 @@
register_error_class( "P0002", klass );
}
{
VALUE klass = define_error_class( "TooManyRows", "P0" );
register_error_class( "P0003", klass );
+}
+{
+ VALUE klass = define_error_class( "AssertFailure", "P0" );
+ register_error_class( "P0004", klass );
}
{
VALUE klass = define_error_class( "InternalError", NULL );
register_error_class( "XX000", klass );
register_error_class( "XX", klass );