AXYL scripts
============

This directory is used as a general area for any scripts which
are used with this Axyl website. Note that the php scripts are
all command-line versions, which require you to have php4-cgi
installed.

Some of these scripts are as follows:

pgdiff.php
A powerful standalone 'diff' utility for Postgresql databases
which allows you to generate the SQL differences between two
databases. Execute the script with no parameters to see the
usage prompt. Note that this utility modifies no databases, but
just produces the SQL diffs on STDOUT.

pgdropcon.php
A script which generates the SQL to drop all constraints in a
named Postgresql database, whilst saving all of your data. This
is used for Postgres v7.2 databases, where the 'ALTER TABLE DROP
CONSTRAINT' commands are only valid for check constraints and
therefore can be difficult to upgrade with pgdiff.php otherwise.
Thus, when upgrading a v7.2 Postgres DB which requires constraint
changes, often it is best to simply drop all of the constraints
first, use pgdiff.php to find the diffs, and then apply these
which will also re-apply the constraints.

update
Various update and fix-up scripts, which will be necessary from
time to time as Axyl is developed. The major one to note here is
'axyl-security-update.php' which should be run on all Axyl
websites prior to Axyl 2.1.0 (ie. anything earlier than around
June 2004).

examples
A set of example scripts which may or may not be of some use.

# END