PostgreSQL Source Code git master
qsort_interruptible.c
Go to the documentation of this file.
1/*
2 * qsort_interruptible.c: qsort_arg that includes CHECK_FOR_INTERRUPTS
3 */
4
5#include "postgres.h"
6#include "miscadmin.h"
7
8#define ST_SORT qsort_interruptible
9#define ST_ELEMENT_TYPE_VOID
10#define ST_COMPARATOR_TYPE_NAME qsort_arg_comparator
11#define ST_COMPARE_RUNTIME_POINTER
12#define ST_COMPARE_ARG_TYPE void
13#define ST_SCOPE
14#define ST_DEFINE
15#define ST_CHECK_FOR_INTERRUPTS
16#include "lib/sort_template.h"