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

Without this, MacOS gcc version 4.2.1 isn't convinced.
pull/14/head^2
Robert Haas 10 years ago
parent af9773cf4c
commit 8d7396e509
  1. 2
      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);
}
/*

Loading…
Cancel
Save