title: cannot update table Temp Table because it does not have a replica identity and publishes updates in Postgres
body: <p>I used Postgres Database with replication.<br>
  I have used temp table in postgres function. I unable to update Temp Table while updating it through join.</p>
  
  <p>Below is Postgres query(<code>tempallergyupdates</code> is temp table):</p>
  
  <pre><code> drop table if exists tempallergyupdates;
   create temp table tempallergyupdates(patientallergyid int,updateid int, newupdateid int);
   update tempallergyupdates set patientallergyid = 1;
  </code></pre>
  
  <p>Above query throws bellow exception:</p>
  
  <blockquote>
    <p>cannot update table "tempallergyupdates" because it does not have a
    replica identity and publishes updates</p>
  </blockquote>