Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4213e44

Browse files
committed
Fix for select null, "fail" from pg_am from Patrick van Kleef
1 parent2d7023c commit4213e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/nodes/copyfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.10 1997/09/08 21:43:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.11 1997/09/12 22:07:59 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -725,7 +725,7 @@ _copyConst(Const *from)
725725
*puts in the right values here.
726726
* ----------------
727727
*/
728-
if (cached_type!=from->consttype)
728+
if (!from->constisnull&&cached_type!=from->consttype) {
729729
{
730730
HeapTupletypeTuple;
731731
TypeTupleFormtypeStruct;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp