Skip to content
Snippets Groups Projects
Commit 15e16849 authored by Steven Murray's avatar Steven Murray
Browse files

man pages no longer state drop_oracle_catalogue_schema.sql is safe.

The drop_oracle_catalogue_schema.sql is raw SQL and contains no
PL/SQL.  The logic to protect a LOCKED catalogue schema is
therefore gone.

Operators/admins should now use the cta-catalogue* command-line
tools instead.  These tools are safe.
parent 46679981
Branches
Tags
No related merge requests found
......@@ -21,19 +21,11 @@ cta-catalogue-schema-lock \- Lock the CTA catalogue schema
.SH DESCRIPTION
\fBcta-catalogue-schema-lock\fP is a command-line tool that locks the CTA
catalogue database schema in order to help prevent it from accidently being
deleted.
catalogue database schema in order to help prevent the cta-catalogue-schema-drop
command-line tool from accidently dropping it.
.P
This command-line tool sets the contents of the SCHEMA_STATUS column of the
CTA_CATALOGUE database table to LOCKED.
.P
The drop_oracle_catalogue_schema.sql script will abort if it sees the value
LOCKED in the SCHEMA_STATUS column of the CTA_CATALOGUE database table.
.P
Please note that SQLite databases are not protected by this command-line tool
because the drop_sqlite_catalogue_schema.sql script does not check if the
schema is locked. In other words it does not check the contents of the
SCHEMA_STATUS column of the CTA_CATALOGUE database table.
.SH ARGUMENTS
.TP
\fBdatabaseConnectionFile
......
......@@ -21,19 +21,11 @@ cta-catalogue-schema-unlock \- Unlock the CTA catalogue schema
.SH DESCRIPTION
\fBcta-catalogue-schema-unlock\fP is a command-line tool that unlocks the CTA
catalogue database schema in order to help prevent it from accidently being
deleted.
catalogue database schema so that it can be deleted by the
cta-catalogue-schema-drop command-line tool.
.P
This command-line tool sets the contents of the SCHEMA_STATUS column of the
CTA_CATALOGUE database table to UNLOCKED.
.P
The drop_oracle_catalogue_schema.sql script will abort if it sees the value
UNLOCKED in the SCHEMA_STATUS column of the CTA_CATALOGUE database table.
.P
Please note that SQLite databases are not protected by this command-line tool
because the drop_sqlite_catalogue_schema.sql script does not check if the
schema is locked. In other words it does not check the contents of the
SCHEMA_STATUS column of the CTA_CATALOGUE database table.
.SH ARGUMENTS
.TP
\fBdatabaseConnectionFile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment