Re: [GENERAL] pg-dump -- primary Key

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: [GENERAL] pg-dump -- primary Key
Дата
Msg-id 379A9D03.9D032840@tech.com.au
обсуждение исходный текст
Ответ на pg-dump -- primary Key  ("Dan Wilson" <dan_wilson@geocities.com>)
Ответы Re: [GENERAL] pg-dump -- primary Key  ("Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>)
Список pgsql-general
Dan Wilson wrote:

> Yes, I am aware that the primary key does not really mean anything except
> implicitly making it a unique key, but it's supposed to be there for
> compatibility and it's not even in the dump.

Someone mentioned recently that primary key enforces nulls as unique
whereas unique index doesn't.

>
> It's not a huge deal, but I was wondering if there was reasoning behind it
> of which I am unaware.
>
> -Dan

--
Chris Bitmead
mailto:chris@tech.com.au
http://www.techphoto.org - Photography News, Stuff that Matters

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

Предыдущее
От: "Dan Wilson"
Дата:
Сообщение: pg-dump -- primary Key
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [GENERAL] pg-dump -- primary Key