prevent duplicate entries

From: Thomas Drebert <drebert(at)web(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: prevent duplicate entries
Date: 2014-05-29 09:49:33
Message-ID: CANn+32ibM9+2h+0R4jaj9KZdy_e2W3Kjj2MEC_hij-zOdmc95w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

i get a csv file which is inserted into the postgresql database.
Inserted the data with a php script.
The problem is the csv file contains not only new records.
The file is running in a loop with data from 3 months.

Has postgresql a separate function to prevent duplicate records?
At time i filter records in php.

regards
Thomas

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message amul sul 2014-05-29 10:01:01 Re: prevent duplicate entries
Previous Message David G Johnston 2014-05-27 12:49:58 Re: FW: Security