postgresql/contrib/miscutil
Bruce Momjian ee85595d46 > Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
2004-08-20 20:13:10 +00:00
..
Makefile > Please find enclose a submission to fix these problems. 2004-08-20 20:13:10 +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 Cross-data-type comparisons are now indexable by btrees, pursuant to my 2003-11-12 21:15: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 Backend support for autocommit removed, per recent discussions. The 2003-05-14 03:26:03 +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>