From a29f7ed5544ef583747c0dcc3fc2afac1fb191ef Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 12 Oct 2012 13:35:00 -0400 Subject: Get rid of COERCE_DONTCARE. We don't need this hack any more. --- src/include/nodes/primnodes.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index daabcb6cf9a..a233fce003e 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -316,7 +316,7 @@ typedef enum CoercionContext } CoercionContext; /* - * CoercionForm - information showing how to display a function-call node + * CoercionForm - how to display a node that could have come from a cast * * NB: equal() ignores CoercionForm fields, therefore this *must* not carry * any semantically significant information. We need that behavior so that @@ -328,8 +328,7 @@ typedef enum CoercionForm { COERCE_EXPLICIT_CALL, /* display as a function call */ COERCE_EXPLICIT_CAST, /* display as an explicit cast */ - COERCE_IMPLICIT_CAST, /* implicit cast, so hide it */ - COERCE_DONTCARE /* special case for planner */ + COERCE_IMPLICIT_CAST /* implicit cast, so hide it */ } CoercionForm; /* -- cgit v1.2.3