mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-28 21:07:19 +02:00
29 lines
450 B
C
29 lines
450 B
C
#ifndef MISC_UTILS_H
|
|
#define MISC_UTILS_H
|
|
|
|
int query_limit(int limit);
|
|
int backend_pid(void);
|
|
int unlisten(char *relname);
|
|
int max(int x, int y);
|
|
int min(int x, int y);
|
|
int active_listeners(text *relname);
|
|
|
|
#ifdef USE_ASSERT_CHECKING
|
|
int assert_enable(int val);
|
|
|
|
#ifdef ASSERT_CHECKING_TEST
|
|
int assert_test(int val);
|
|
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
* Local Variables:
|
|
* tab-width: 4
|
|
* c-indent-level: 4
|
|
* c-basic-offset: 4
|
|
* End:
|
|
*/
|