1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Get rid of COERCE_DONTCARE.

We don't need this hack any more.
This commit is contained in:
Tom Lane
2012-10-12 13:35:00 -04:00
parent 427fd88552
commit a29f7ed554
7 changed files with 16 additions and 18 deletions

View File

@@ -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;
/*