diff options
| author | Peter Eisentraut | 2018-08-22 06:42:49 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2018-08-30 06:20:23 +0000 |
| commit | a4a232b1e70229a6ba0e592f6775c019bb171d9a (patch) | |
| tree | 32da1b78844852199c1c620a968b95cf412a8aaf /src/include | |
| parent | 4b035841a1bcaadbe4f9e0e174aef773a4fa41f6 (diff) | |
Error position support for defaults and check constraints
Add support for error position reporting for the expressions contained
in defaults and check constraint definitions. This currently works only
for CREATE TABLE, not ALTER TABLE, because the latter is not set up to
pass around the original query string.
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/heap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index c5e40ff017d..b3e8fdd9c60 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -102,7 +102,8 @@ extern List *AddRelationNewConstraints(Relation rel, List *newConstraints, bool allow_merge, bool is_local, - bool is_internal); + bool is_internal, + const char *queryString); extern void RelationClearMissing(Relation rel); extern void SetAttrMissing(Oid relid, char *attname, char *value); |
