pg_typemgr trys to manage self designed types for postgreSQL.
set the hostname where the postmaster runs, default `localhost'.
connect to database as <user>.
use <password> on connect.
delete <type>, you have to backup the tables before.
sql command file to redefine <type>.
list one of
the procedures depend on type in pg_proc.
the operators of type in pg_operators.
the defined opclasses in pg_opclass.
the definitions in pg_amop.
the definitions in pg_amproc.
tables and indezies where <type> occours.
prefix of functions which should include in the query, eg. <prefix>_cmp>, on default <prefix> == <type>
the function for the operator `<' default bool
the function for the operator `<='
the function for the operator `='
the function for the operator `>='
the function for the operator `>'
the function for the operator `!='
function which returns (-1,0,1) on (a<b,a==b,a>b) the compare
function, default
int4 <prefix>_cmp(<type> *,<type> *)
_lt(<type>
*,<type> *)>.
the name of the database where pg_typemgr operates on.
the name of the data type.
the prefix of functions which should include in the query, default <type>.
the hostname of the postgreSQL server.
this is the alpha version, need testing ;-)
correct update pg_amproc on insert of <type>.
(c) 1999-2002 Thomas Drillich <drillich@uniserve.de>
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
IN NO EVENT SHALL THE AUTHOR OR HIS COMPANY BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE THE AUTHOR OR HIS COMPANY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN ``AS IS'' BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.