postgresql/contrib/miscutil
Tom Lane f1283ed6cc Fix a bunch of 'old-style parameter declaration' warnings induced by
writing 'foo()' rather than 'foo(void)'.
2004-10-25 02:15:02 +00:00
..
Makefile > Please find enclose a submission to fix these problems. 2004-08-20 20:13:10 +00:00
misc_utils.c Fix a bunch of 'old-style parameter declaration' warnings induced by 2004-10-25 02:15:02 +00:00
misc_utils.h Standardize on using the Min, Max, and Abs macros that are in our c.h file, 2004-10-21 19:28:36 +00:00
misc_utils.sql.in Standardize on using the Min, Max, and Abs macros that are in our c.h file, 2004-10-21 19:28:36 +00:00
README.misc_utils

Miscellaneous utility functions for PostgreSQL.
Copyright (C) 1999, Massimo Dal Zotto <dz@cs.unitn.it>

This software is distributed under the GNU General Public License
either version 2, or (at your option) any later version.

backend_pid()

	return the pid of our corresponding backend.

unlisten(relname)

	unlisten from a relation or from all relations if the argument
	is null, empty or '*'.
	It is now obsoleted by the new unlisten command but still useful
	if you want unlisten a name computed by the query.
	Note that a listen/notify relname can be any ascii string, not
	just valid relation names.

min(x,y)
max(x,y)

	return the min or max of two integers.

-- 
Massimo Dal Zotto <dz@cs.unitn.it>