]> git.evergreen-ils.org Git - working/Evergreen.git/commit
script to update DB object comments
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 18 Apr 2011 15:41:18 +0000 (15:41 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 18 Apr 2011 15:41:18 +0000 (15:41 +0000)
commitf3bf25a720835c905dd3f323aac3566fceb6d77a
treec67b9143b90f5de18484adfd8be26a6ea3165255
parentdd9c927fe1d1179db86c84683051e2a622246a9e
script to update DB object comments

New script, update-db-comments.sh, to be run as part of upgrades
to refresh comments on database schema objects.  Usage is:

  update-db-comments.sh db-host db-port db-name db-user db-pass

The helper script grab-db-comment.pl is what actually parses out
the comment statements.

To avoid repetition, the list of default SQL scripts to use when
initializing an Evergreen database has been moved to a new file
called sql_file_manifest.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20161 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/build-db.sh
Open-ILS/src/sql/Pg/grab-db-comments.pl [new file with mode: 0755]
Open-ILS/src/sql/Pg/sql_file_manifest [new file with mode: 0644]
Open-ILS/src/sql/Pg/update-db-comments.sh [new file with mode: 0755]