Variable cannot be no longer part of string - Postgres, metabase .46

@Nellia I thought it was worth reporting this as a bug.