SELECT util.search_path_append('util'); SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("observation_id")$$); -- runtime: ~0 ("Time: 1.838 ms") @starscream