We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6733da6 commit 09a4bf9Copy full SHA for 09a4bf9
src/backend/catalog/heap.c
@@ -66,6 +66,7 @@
66
#include "parser/parse_collate.h"
67
#include "parser/parse_expr.h"
68
#include "parser/parse_relation.h"
69
+#include "parser/parse_target.h"
70
#include "parser/parsetree.h"
71
#include "partitioning/partdesc.h"
72
#include "pgstat.h"
@@ -2996,6 +2997,9 @@ cookDefault(ParseState *pstate,
2996
2997
format_type_be(atttypid),
2998
format_type_be(type_id)),
2999
errhint("You will need to rewrite or cast the expression.")));
3000
+
3001
+ if (handle_type_and_collation_hook)
3002
+ handle_type_and_collation_hook(expr, atttypid, InvalidOid);
3003
}
3004
3005
/*
0 commit comments