mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
27b8143944
I have updated my contrib code for version 6.5. In the attachment you will find the directories array, datetime, miscutil, string, tools and userlocks which replace the corresponding directories under contrib. In contrib/tools you will find some developement scripts which I use while hacking the sources. I hope they will be useful for some other people. I have also added a contrib/Makefile which tries to compile and install all the contribs. Unfortunately many of them don't have a Makefile or don't compile cleanly. -- Massimo Dal Zotto
25 lines
417 B
C
25 lines
417 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 assert_enable(int val);
|
|
|
|
#ifdef ASSERT_CHECKING_TEST
|
|
int assert_test(int val);
|
|
#endif
|
|
|
|
int active_listeners(text *relname);
|
|
#endif
|
|
|
|
/*
|
|
* Local Variables:
|
|
* tab-width: 4
|
|
* c-indent-level: 4
|
|
* c-basic-offset: 4
|
|
* End:
|
|
*/
|