set add table (id=1, set id=1, origin=1, fully qualified name = 'public.table1', comment='accounts table'); set add table (id=2, set id=1, origin=1, fully qualified name = 'public.table2', key='table2_id_key'); try { set add table (id=3, set id=1, origin=1, fully qualified name = 'public.table3', key = 'no_good_candidate_pk', comment='bad table - table 3'); } on error { echo 'Tried to replicate table3 with no good candidate PK - rejected'; } on success { echo 'Tried to replicate table3 with no good candidate PK - accepted'; exit 1; } set add table (id=4, set id=1, origin=1, fully qualified name = 'public.table4', comment='a table of many types'); set add table (id=5, set id=1, origin=1, fully qualified name = 'public.table5', comment='a table with composite PK strewn across the table');