mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
fa5c8a055a
pghackers proposal of 8-Nov. All the existing cross-type comparison operators (int2/int4/int8 and float4/float8) have appropriate support. The original proposal of storing the right-hand-side datatype as part of the primary key for pg_amop and pg_amproc got modified a bit in the event; it is easier to store zero as the 'default' case and only store a nonzero when the operator is actually cross-type. Along the way, remove the long-since-defunct bigbox_ops operator class. |
||
---|---|---|
.. | ||
Makefile | ||
misc_utils.c | ||
misc_utils.h | ||
misc_utils.sql.in | ||
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>