\set ON_ERROR_STOP 1

SET search_path = 'documentation';

BEGIN;

ALTER TRIGGER replicate ON l_area_area_example RENAME TO reptg_l_area_area_example;
ALTER TRIGGER replicate ON l_area_artist_example RENAME TO reptg_l_area_artist_example;
ALTER TRIGGER replicate ON l_area_instrument_example RENAME TO reptg_l_area_instrument_example;
ALTER TRIGGER replicate ON l_area_label_example RENAME TO reptg_l_area_label_example;
ALTER TRIGGER replicate ON l_area_place_example RENAME TO reptg_l_area_place_example;
ALTER TRIGGER replicate ON l_area_recording_example RENAME TO reptg_l_area_recording_example;
ALTER TRIGGER replicate ON l_area_release_example RENAME TO reptg_l_area_release_example;
ALTER TRIGGER replicate ON l_area_release_group_example RENAME TO reptg_l_area_release_group_example;
ALTER TRIGGER replicate ON l_area_series_example RENAME TO reptg_l_area_series_example;
ALTER TRIGGER replicate ON l_area_url_example RENAME TO reptg_l_area_url_example;
ALTER TRIGGER replicate ON l_area_work_example RENAME TO reptg_l_area_work_example;
ALTER TRIGGER replicate ON l_artist_artist_example RENAME TO reptg_l_artist_artist_example;
ALTER TRIGGER replicate ON l_artist_instrument_example RENAME TO reptg_l_artist_instrument_example;
ALTER TRIGGER replicate ON l_artist_label_example RENAME TO reptg_l_artist_label_example;
ALTER TRIGGER replicate ON l_artist_place_example RENAME TO reptg_l_artist_place_example;
ALTER TRIGGER replicate ON l_artist_recording_example RENAME TO reptg_l_artist_recording_example;
ALTER TRIGGER replicate ON l_artist_release_example RENAME TO reptg_l_artist_release_example;
ALTER TRIGGER replicate ON l_artist_release_group_example RENAME TO reptg_l_artist_release_group_example;
ALTER TRIGGER replicate ON l_artist_series_example RENAME TO reptg_l_artist_series_example;
ALTER TRIGGER replicate ON l_artist_url_example RENAME TO reptg_l_artist_url_example;
ALTER TRIGGER replicate ON l_artist_work_example RENAME TO reptg_l_artist_work_example;
ALTER TRIGGER replicate ON l_instrument_instrument_example RENAME TO reptg_l_instrument_instrument_example;
ALTER TRIGGER replicate ON l_instrument_label_example RENAME TO reptg_l_instrument_label_example;
ALTER TRIGGER replicate ON l_instrument_place_example RENAME TO reptg_l_instrument_place_example;
ALTER TRIGGER replicate ON l_instrument_recording_example RENAME TO reptg_l_instrument_recording_example;
ALTER TRIGGER replicate ON l_instrument_release_example RENAME TO reptg_l_instrument_release_example;
ALTER TRIGGER replicate ON l_instrument_release_group_example RENAME TO reptg_l_instrument_release_group_example;
ALTER TRIGGER replicate ON l_instrument_series_example RENAME TO reptg_l_instrument_series_example;
ALTER TRIGGER replicate ON l_instrument_url_example RENAME TO reptg_l_instrument_url_example;
ALTER TRIGGER replicate ON l_instrument_work_example RENAME TO reptg_l_instrument_work_example;
ALTER TRIGGER replicate ON l_label_label_example RENAME TO reptg_l_label_label_example;
ALTER TRIGGER replicate ON l_label_place_example RENAME TO reptg_l_label_place_example;
ALTER TRIGGER replicate ON l_label_recording_example RENAME TO reptg_l_label_recording_example;
ALTER TRIGGER replicate ON l_label_release_example RENAME TO reptg_l_label_release_example;
ALTER TRIGGER replicate ON l_label_release_group_example RENAME TO reptg_l_label_release_group_example;
ALTER TRIGGER replicate ON l_label_series_example RENAME TO reptg_l_label_series_example;
ALTER TRIGGER replicate ON l_label_url_example RENAME TO reptg_l_label_url_example;
ALTER TRIGGER replicate ON l_label_work_example RENAME TO reptg_l_label_work_example;
ALTER TRIGGER replicate ON l_place_place_example RENAME TO reptg_l_place_place_example;
ALTER TRIGGER replicate ON l_place_recording_example RENAME TO reptg_l_place_recording_example;
ALTER TRIGGER replicate ON l_place_release_example RENAME TO reptg_l_place_release_example;
ALTER TRIGGER replicate ON l_place_release_group_example RENAME TO reptg_l_place_release_group_example;
ALTER TRIGGER replicate ON l_place_series_example RENAME TO reptg_l_place_series_example;
ALTER TRIGGER replicate ON l_place_url_example RENAME TO reptg_l_place_url_example;
ALTER TRIGGER replicate ON l_place_work_example RENAME TO reptg_l_place_work_example;
ALTER TRIGGER replicate ON l_recording_recording_example RENAME TO reptg_l_recording_recording_example;
ALTER TRIGGER replicate ON l_recording_release_example RENAME TO reptg_l_recording_release_example;
ALTER TRIGGER replicate ON l_recording_release_group_example RENAME TO reptg_l_recording_release_group_example;
ALTER TRIGGER replicate ON l_recording_series_example RENAME TO reptg_l_recording_series_example;
ALTER TRIGGER replicate ON l_recording_url_example RENAME TO reptg_l_recording_url_example;
ALTER TRIGGER replicate ON l_recording_work_example RENAME TO reptg_l_recording_work_example;
ALTER TRIGGER replicate ON l_release_group_release_group_example RENAME TO reptg_l_release_group_release_group_example;
ALTER TRIGGER replicate ON l_release_group_series_example RENAME TO reptg_l_release_group_series_example;
ALTER TRIGGER replicate ON l_release_group_url_example RENAME TO reptg_l_release_group_url_example;
ALTER TRIGGER replicate ON l_release_group_work_example RENAME TO reptg_l_release_group_work_example;
ALTER TRIGGER replicate ON l_release_release_example RENAME TO reptg_l_release_release_example;
ALTER TRIGGER replicate ON l_release_release_group_example RENAME TO reptg_l_release_release_group_example;
ALTER TRIGGER replicate ON l_release_series_example RENAME TO reptg_l_release_series_example;
ALTER TRIGGER replicate ON l_release_url_example RENAME TO reptg_l_release_url_example;
ALTER TRIGGER replicate ON l_release_work_example RENAME TO reptg_l_release_work_example;
ALTER TRIGGER replicate ON l_series_series_example RENAME TO reptg_l_series_series_example;
ALTER TRIGGER replicate ON l_series_url_example RENAME TO reptg_l_series_url_example;
ALTER TRIGGER replicate ON l_series_work_example RENAME TO reptg_l_series_work_example;
ALTER TRIGGER replicate ON l_url_url_example RENAME TO reptg_l_url_url_example;
ALTER TRIGGER replicate ON l_url_work_example RENAME TO reptg_l_url_work_example;
ALTER TRIGGER replicate ON l_work_work_example RENAME TO reptg_l_work_work_example;
ALTER TRIGGER replicate ON link_type_documentation RENAME TO reptg_link_type_documentation;

COMMIT;
