pg_reorg version 1.1.0.
- Add wait-timeout option and use SET statement_timeout instead of NOWAIT. This can avoid infinite NOWAIT loops to reorganize heavily accessed tables. - Support native build with MSVC on Windows.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
#include "fmgr.h"
|
||||
#include "access/heapam.h"
|
||||
#include "pgut-be.h"
|
||||
|
||||
#if PG_VERSION_NUM < 80400
|
||||
@ -42,4 +42,11 @@ cstring_to_text(const char *s)
|
||||
return result;
|
||||
}
|
||||
|
||||
void
|
||||
tuplestore_putvalues(Tuplestorestate *state, TupleDesc tdesc,
|
||||
Datum *values, bool *isnull)
|
||||
{
|
||||
tuplestore_puttuple(state, heap_form_tuple(tdesc, values, isnull));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user