title: PostgreSQL disable all database constraints
body: <p>I need to import the data into my PostgreSQL database but existing import script doing the job in a wrong order and fails with constraint violation error.</p>
  
  <p>Is it possible in PostgreSQL to disable all constraints check before import and enable back it when needed ? If so, could you please show an example or commands how it can be achieved ?</p>