Re:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re:
Дата
Msg-id 27559.1017779652@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ...  (Alex Lau <alex@dpcgroup.com>)
Список pgsql-hackers
Alex Lau <alex@dpcgroup.com> writes:
> CREATE TABLE mytesting ( dosnotmatter text );
> CREATE INDEX myunique ON mytesting oid;

> will this help to make sure the oid is unique?

No, but

CREATE UNIQUE INDEX myunique ON mytesting (oid);

would do the trick.
        regards, tom lane


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

Предыдущее
От: Daniel Kalchev
Дата:
Сообщение: maxint reached?
Следующее
От: Daniel Kalchev
Дата:
Сообщение: Re: maxint reached?