You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/contrib/miscutil
Tom Lane 162bd08b3f Completion of project to use fixed OIDs for all system catalogs and 21 years ago
..
Makefile > Please find enclose a submission to fix these problems. 21 years ago
README.misc_utils Remove old, broken code for query_limit(), assert_enable(), 25 years ago
misc_utils.c Completion of project to use fixed OIDs for all system catalogs and 21 years ago
misc_utils.h Standardize on using the Min, Max, and Abs macros that are in our c.h file, 21 years ago
misc_utils.sql.in Make sure contrib C functions are marked strict where needed. 21 years ago

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>