Thanks to visit codestin.com Credit goes to github.com
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 0ea0afa commit 3bdede3Copy full SHA for 3bdede3
src/backend/parser/parse_coerce.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/parser/parse_coerce.c,v 2.181 2010/02/26 02:00:52 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/parser/parse_coerce.c,v 2.182 2010/03/04 09:39:53 heikki Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -1792,7 +1792,7 @@ IsBinaryCoercible(Oid srctype, Oid targettype)
1792
return false; /* no cast */
1793
castForm = (Form_pg_cast) GETSTRUCT(tuple);
1794
1795
- result = (castForm->castfunc == InvalidOid &&
+ result = (castForm->castmethod == COERCION_METHOD_BINARY &&
1796
castForm->castcontext == COERCION_CODE_IMPLICIT);
1797
1798
ReleaseSysCache(tuple);
0 commit comments