title: How to use multi-line f-strings when using psycopg2
body: <p>I am trying to use a multi line f-string when using psycopg2, like this:</p>
  
  <pre><code>query = (
              f"select tb.id"
              f"from someDB.tableA ta"
              f"inner join someDB.tableB tb on ta.url = tb.fk_url"
              f"where ta.name = '{some_name}'"
              f"and tb.type in ('{some_type}')"
              f"order by tb.id;"
          )
          cursor = connection.cursor()
          cursor.execute(query)
          cursor.fetchall()
  </code></pre>
  
  <p>I keep getting this error:</p>
  
  <pre><code>psycopg2.errors.SyntaxError: syntax error at or near "."
  LINE 1: select tb.idfrom someDB.tableA tainner join someDB.tableB...
  </code></pre>
  
  <p>Any idea on how to use multi line f-strings in psycopg2?
  I don't have to use f-strings if standard multi line will work too.
  I just prefer it, if possible.</p>