mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Missed one place that can be simplified after recent Param/Const cleanup.
This commit is contained in:
parent
935969415a
commit
36c356e799
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.88 2002/11/26 03:01:58 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.89 2002/11/30 18:28:49 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -570,8 +570,7 @@ coerce_type_typmod(Node *node, Oid targetTypeId, int32 targetTypMod,
|
|||||||
*
|
*
|
||||||
* See the comments for the similar case in coerce_type.
|
* See the comments for the similar case in coerce_type.
|
||||||
*/
|
*/
|
||||||
if (node && IsA(node, Const) &&
|
if (node && IsA(node, Const))
|
||||||
!((Const *) node)->constisnull)
|
|
||||||
node = eval_const_expressions(fcall);
|
node = eval_const_expressions(fcall);
|
||||||
else
|
else
|
||||||
node = fcall;
|
node = fcall;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user