Re: unique constraint

From: "Roberto Caravani" <JFanatiker(at)gmx(dot)at>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: unique constraint
Date: 2012-04-18 12:16:20
Message-ID: 20120418121620.237070@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Wow, that was fast. Thanks a lot Tom Lane and Ken!

This seems to work, thanks!
create unique index meta_data_unique on meta_data (type, md5(data));

Best regards,

Robert

--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

Browse pgsql-novice by date

  From Date Subject
Next Message Guillaume Henriot 2012-04-18 18:12:34 Returning generated id after a transaction.
Previous Message Willy-Bas Loos 2012-04-18 07:36:57 Re: Dynamic Loading Library! Extension using C Function