Re: Unique rows without a key

Поиск
Список
Период
Сортировка
От Thalis A. Kalfigopoulos
Тема Re: Unique rows without a key
Дата
Msg-id Pine.LNX.4.21.0106131114130.19889-100000@aluminum.cs.pitt.edu
обсуждение исходный текст
Ответ на Unique rows without a key  (Steve Micallef <stevenm@ot.com.au>)
Список pgsql-general
You could have one additional column that contains a hash of the entire row, so you'd only need a unique index on this
hashcolumn. 

cheers,
thalis


On Wed, 13 Jun 2001, Steve Micallef wrote:

> Hi,
>
> Is there any way to force every row in a table to be unique without
> creating a unique key?
>
> My tables are fairly large (growing by a gig a day) and creating a primary
> key would basically double my disk usage.
>
> Thanks for your help,
>
> Steve Micallef
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: Oracle news article
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: 7.1.2 temporary file area