Translated tie creation code to PostgreSQL format.
Translated tie creation code to PostgreSQL format.
mwidmeyer/anchor,mwidmeyer/anchor,terradatum/anchor,mwidmeyer/anchor,terradatum/anchor,terradatum/anchor