primitive adaptions for GENOME_QUERY_POSTGRES