postgresql/contrib/miscutil
Bruce Momjian 92288a1cf9 Change made to elog:
o  Change all current CVS messages of NOTICE to WARNING.  We were going
to do this just before 7.3 beta but it has to be done now, as you will
see below.

o Change current INFO messages that should be controlled by
client_min_messages to NOTICE.

o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
to always go to the client.

o Remove INFO from the client_min_messages options and add NOTICE.

Seems we do need three non-ERROR elog levels to handle the various
behaviors we need for these messages.

Regression passed.
2002-03-06 06:10:59 +00:00
..
Makefile To fix the perpetually broken makefiles in the contrib tree, I have 2001-09-06 10:49:30 +00:00
README.misc_utils Remove old, broken code for query_limit(), assert_enable(), 2000-11-22 19:34:49 +00:00
misc_utils.c Change made to elog: 2002-03-06 06:10:59 +00:00
misc_utils.h Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
misc_utils.sql.in Remove old, broken code for query_limit(), assert_enable(), 2000-11-22 19:34:49 +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>