DATABASE sample TABLENAME __THISISANERRORTABLENOTDEFINED__ # This specifies how we should affect creating stuff in the database. # RECREATE means if we should delete and recreate it when we run GUPPS. # NOTE: it will always add columns, or possibly rename stuff, but not delete # them if RECREATE is turned off. VIEWS yes VIEWS_REDO no FUNCTIONS yes FUNCTIONS_REDO yes CREATE_TABLE yes CREATE_BACKUP_TABLE yes RECREATE_TABLE no RECREATE_BACKUP_TABLE no ## Other pl_languages are "perl", "python", "pgsql". ## "blank" disables using any language for extra functions (doesn't ## affect the standard plpgsql functions that are required). PL_LANGUAGE plpgsql ## The generic plpgsql functions get redone each time. ## If no, it will only add it if it doesn't exist. DEFAULT_PLPGSQL_REDO no ## The generic tables required. ## If no, it will only add it if it doesn't exist. ## You should never redo the default tables. DEFAULT_TABLE_REDO no DEFAULT_SEQUENCE_REDO no CREATE_SEQUENCE yes RECREATE_SEQUENCE no CREATE_BACKUP_SEQUENCE yes RECREATE_BACKUP_SEQUENCE no # How we connect to our server PORT 5432 IP_ADDRESS 127.0.0.1 ## Other connection types are "perl", "python", "php", "java" ## Only psql, python, perl, and php are probably supported. ## Conection_Type refers to what type of connection we will use ## to get info from our database server. Also, what type we will ## use for insert/update/delete data from database server. ## Intiallyi, only psql will be used because it will take a little ## bit of work to get perl and python or the other languages to ## create databases and create tables. CONNECTION_TYPE psql # Whether we should create these modules and web scripts. DO_PERL yes DO_PHP yes DO_PYTHON yes DO_JAVA no # The database server, webserver, and sql language DATABASE_SERVER postgresql WEBSERVER apache CREATE_DATABASE no # These are directories we are going to use relative to root. TEMPLATE_DIR Templates # Should we delete the logs before we execute commands? # This is only meant to get rid of logs when debugging/testing. DELETE_LOGS yes DELETE_TEMP_FILES yes DELETE_BACKUPS no # Should we prompt to change the username/password for the web scripts # and the admin scripts? ASK_HTACCESS_PASSWORD yes # Should we ignore asking for a username/password is custom one exists? # This will stop it from asking each time you run this program. IGNORE_IF_CUSTOM_EXISTS yes # Define the temporary file for the webserver. TEMPDIR /tmp # Define where the psql program is PSQL psql # Should we ignore errors? IGNORE_ERRORS no