title: ERROR: invalid input syntax for type timestamp with time zone: "09/03/1943 01:00:00 MWT"
body: <p>I am inserting records from <code>table1.column1</code> to <code>table2.colum2</code>. Both the columns are of <code>timestampz</code> type.</p>
  
  <p>Unfortunately, one record having value "1943-09-03 01:00:00-06" throws below error:</p>
  
  <blockquote>
    <p>ERROR: invalid input syntax for type timestamp with time zone:
    "09/03/1943 01:00:00 MWT"</p>
  </blockquote>
  
  <p>I can fix this by using <code>::TIMESTAMP</code>.</p>
  
  <p>Can anyone tell me what is the right way to fix it and why it is happening only for the one record?</p>
  
  <p><strong>Edit 1:</strong></p>
  
  <p>Both the tables are on different databases. So I am selecting values from <code>Table1.column1</code> and then inserting into <code>Table2.column2</code> separately in a different database connection. I guess, PHP's core PostgreSQL functions converting value "1943-09-03 01:00:00-06" to string time "09/03/1943 01:00:00 MWT" and this string time throwing error while inserting.</p>
  
  <p>I am actually trying to insert "09/03/1943 01:00:00 MWT" and not "1943-09-03 01:00:00-06".</p>