Remove leftover PYRSEAS_REPO_DIR instances.
Update release files for 0.7.0beta
Replace 'dataload' by 'datacopy' in tests/test_config.py.
Ensure a schema has tables before attempting to link datacopy items.

  Also, remove unused datacopy argument from ClassDict.link_refs.
Consistent naming of Augmenter function templates and segments - fixes #62
Merge pull request #63 from rhunwicks/issues/62

Consistent naming of Augmenter function templates and segments - fixes #62
Remove unused code for function segments.

 To be re-introduced later, as needed.

 * docs/cfgobjects.rst: Remove CfgFunctionSegment.
 * pyrseas/augment/function.py (CfgFunctionSegment): Removed class.
   (CfgFunctionSourceDict.__init__): Remove cfg_segments argument.
   (CfgFunction.adjust_name): Remove as unused.  (CfgFunction.apply):
   Remove processing of segments.
 * pyrseas/augmentdb.py (AugmentDatabase.__init__): Remove segments
   parameter in initialization of CfgFunctionSourceDict.
Use SESSION_USER in audit_full and audit_default. Fixes #66.

  Also use pg_catalog.inet_client_addr as default for IP address.
Fix test_audit.py as a result of previous change to config.yaml.
For multiple files, only truncate filenames of schema objects. Fixes #61.

 * docs/dbtoyaml.rst: Point out only schema objects will be truncated.
 * pyrseas/dbobject/__init__.py (DbObject.extern_filename): Add
   truncate argument with default False.
   (DbSchemaObject.extern_filename): New method, which invokes super
   method with truncate=True.
 * tests/dbobject/test_extern_file.py: New test to cover change.
For yamltodb, create schemas ahead of extensions. Fixes #68.

 * pyrseas/dbobject/database.py (Database.diff_map): Process schemas
   before everything.
 * tests/dbobject/test_extension.py
   (ExtensionToSqlTestCase.test_create_extension_schema): Don't create
   the schema, but expect it first in the to_sql output.
Check for translation entry before raising Function Template not found 
error in CfgFunction.apply() - fixes #64
Merge pull request #70 from rhunwicks/issues/64

Check for translation entry before raising KeyError - fixes #64
Quote collation identifiers in columns. Fixes #71.

 * pyrseas/dbobject/column.py (Column.add): Quote the collation
   identifier.
 * tests/dbobject/test_collation.py: Change two tests accordingly.
 * tests/dbobject/test_column.py: Change column defaults test to cover
   this too.
Merge commit '674b178' into r0.7
Correct data_import so new tables are also imported.
Document limitation raised in issue 72. [ci skip]

  Also, remove adjust_name from cfgobjects.rst.
Drop (and reinstate) FK constraints for tables being truncated for import.

 * pyrseas/dbobject/table.py (Table.data_import): If table has a
   foreign key reference, drop the constraint before truncating and
   reinstate it afterwards.
 * tests/dbobject/test_static.py: New test to cover change.
Merge branch 'r0.7' of github.com:jmafc/Pyrseas into r0.7
Reinstate the FK constraint *after* the data is copied.