1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Try to convince gcc that TupleQueueRemap never falls off the end.

Without this, MacOS gcc version 4.2.1 isn't convinced.
This commit is contained in:
Robert Haas
2015-11-06 23:04:21 -05:00
parent af9773cf4c
commit 8d7396e509

View File

@ -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);
}
/*