You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pgsql_virtual_alias_maps_alias.cf 398B

12345
  1. hosts = {{ salt['pillar.get']("model:postgres:host") }}
  2. user = {{ salt['pillar.get']("model:postgres:user") }}
  3. password = {{ salt['pillar.get']("model:postgres:password") }}
  4. dbname = {{ salt['pillar.get']("model:postgres:database") }}
  5. query = SELECT goto FROM alias WHERE address=((regexp_split_to_array('%s', '\+|@'))[1]) || '@' || split_part('%s', '@', 2) AND active = true AND is_regexp = false