comparison roundup/configuration.py @ 4474:9b4cf6c96ee2

Add flags to allow to restrict DB modifications.
author Stefan Seefeld <stefan@seefeld.name>
date Tue, 29 Mar 2011 20:13:53 +0000
parents 4f353d71d716
children 52e13bf0bb40
comparison
equal deleted inserted replaced
4473:fccf7e09af0c 4474:9b4cf6c96ee2
608 "Number of seconds to wait when the SQLite database is locked\n" 608 "Number of seconds to wait when the SQLite database is locked\n"
609 "Default: use a 30 second timeout (extraordinarily generous)\n" 609 "Default: use a 30 second timeout (extraordinarily generous)\n"
610 "Only used in SQLite connections."), 610 "Only used in SQLite connections."),
611 (IntegerNumberOption, 'cache_size', '100', 611 (IntegerNumberOption, 'cache_size', '100',
612 "Size of the node cache (in elements)"), 612 "Size of the node cache (in elements)"),
613 (BooleanOption, "allow_create", "yes",
614 "Setting this option to 'no' protects the database against table creations."),
615 (BooleanOption, "allow_alter", "yes",
616 "Setting this option to 'no' protects the database against table alterations."),
617 (BooleanOption, "allow_drop", "yes",
618 "Setting this option to 'no' protects the database against table drops."),
613 (NullableOption, 'template', '', 619 (NullableOption, 'template', '',
614 "Name of the PostgreSQL template for database creation.\n" 620 "Name of the PostgreSQL template for database creation.\n"
615 "For database creation the template used has to match\n" 621 "For database creation the template used has to match\n"
616 "the character encoding used (UTF8), there are different\n" 622 "the character encoding used (UTF8), there are different\n"
617 "PostgreSQL installations using different templates with\n" 623 "PostgreSQL installations using different templates with\n"

Roundup Issue Tracker: http://roundup-tracker.org/