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 0c2629e commit cfa4d4dCopy full SHA for cfa4d4d
src/backend/parser/parse_coerce.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.51 2000/12/15 18:02:47 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.52 2000/12/17 04:32:29 tgl Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -364,6 +364,7 @@ select_common_type(List *typeids, const char *context)
364
context, typeidTypeName(ptype), typeidTypeName(ntype));
365
}
366
else if (IsPreferredType(pcategory, ntype)
367
+ && !IsPreferredType(pcategory, ptype)
368
&& can_coerce_type(1, &ptype, &ntype))
369
{
370
/*
0 commit comments