postgresql/contrib/miscutil/misc_utils.h
Tom Lane 380bd04c16 Standardize on using the Min, Max, and Abs macros that are in our c.h file,
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.
2004-10-21 19:28:36 +00:00

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