mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
380bd04c16
getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros.
11 lines
204 B
C
11 lines
204 B
C
#ifndef MISC_UTILS_H
|
|
#define MISC_UTILS_H
|
|
|
|
int backend_pid(void);
|
|
int unlisten(char *relname);
|
|
int int4max(int x, int y);
|
|
int int4min(int x, int y);
|
|
int active_listeners(text *relname);
|
|
|
|
#endif
|