|
|
COLUMN_NAME
text
- the name of column related to exception
+ the name of the column related to exception
|
CONSTRAINT_NAME
text
- the name of constraint related to exception
+ the name of the constraint related to exception
|
PG_DATATYPE_NAME
text
- the name of data type related to exception
+ the name of the data type related to exception
|
MESSAGE_TEXT
|
TABLE_NAME
text
- the name of table related to exception
+ the name of the table related to exception
|
SCHEMA_NAME
text
- the name of schema related to exception
+ the name of the schema related to exception
|
PG_EXCEPTION_DETAIL
+
-
-
Obtaining the call stack context information
-
+
+
Obtaining the Call Stack Context Information
GET CURRENT DIAGNOSTICS variable { = | := } PG_CONTEXT , ... ;
-
Calling GET DIAGNOSTICS with status
item PG_CONTEXT> will return a text string with line(s) of
text describing the call stack. The first row refers to the
-
-
Triggers on data changes
+
Triggers on Data Changes
PL/pgSQL can be used to define trigger
-
Triggers on events
+
Triggers on Events
PL/pgSQL can be used to define event
-
Additional compile-time checks
+
Additional Compile-time Checks
To aid the user in finding instances of simple but common problems before