projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9773c
)
Try to convince gcc that TupleQueueRemap never falls off the end.
author
Robert Haas
<
[email protected]
>
Sat, 7 Nov 2015 04:04:21 +0000
(23:04 -0500)
committer
Robert Haas
<
[email protected]
>
Sat, 7 Nov 2015 04:04:21 +0000
(23:04 -0500)
Without this, MacOS gcc version 4.2.1 isn't convinced.
src/backend/executor/tqueue.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/tqueue.c
b/src/backend/executor/tqueue.c
index f465b1db8bc611df8617ebcab51c5df6a0048752..206894df1bd5c5823873f49c765b7bca82475f7c 100644
(file)
--- a/
src/backend/executor/tqueue.c
+++ b/
src/backend/executor/tqueue.c
@@
-661,6
+661,8
@@
TupleQueueRemap(TupleQueueReader *reader, RemapClass remapclass, Datum value)
case TQUEUE_REMAP_RECORD:
return TupleQueueRemapRecord(reader, value);
}
+
+ elog(ERROR, "unknown remap class: %d", (int) remapclass);
}
/*