To install this module you will need the postgresql-server header files for
your installation. If you've installed from source you should have these. If
you've installed from a package they may be in another package. For example
in Debian the package is postgresql-dev.

To install you basically run:

make
make install    <with appropriate permissions for your installation>

The Makefile uses pg_config to determine the right places to install and
compile from.

Once you've run the above you should have installed a module named
taggedtypes.so in the libdir directory.

To actually use them you need to run:

psql database < taggedtypes.sql

to the create the functions. Note, all the implementation stuff is stored in
a schema called taggedtypes. If this schema is not in your search_path you
may need to qualify the initial calls in create_tagged_type. The actual
types themselves are created in the current schema.

There is file called "test.sql" which creates the sample currency and
fixed_timestamp types for you to play with. You might need to set the
search_path to see them.

UNINSTALLATION

Dropping the schema "taggedtypes" (with CASCADE) will remove
all taggedtypes and related stuff from your system. 


Martijn van Oosterhout (C) 2005
kleptog@svana.org
http://svana.org/kleptog/
