Insert in table with UNIQUE index

Поиск
Список
Период
Сортировка
От Artem Tomyuk
Тема Insert in table with UNIQUE index
Дата
Msg-id CANYYVqKwbPTj8JHS1MqYVnXzVtAr25bO+eEBWceCz2npoW0Vbg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Insert in table with UNIQUE index  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Re: Insert in table with UNIQUE index  (bricklen <bricklen@gmail.com>)
Список pgsql-admin
Hi All!

I have a table with unique index with 2 exactly the same rows.
How it can be possible?


CREATE TABLE _inforgchngr6716_test
(
  _nodetref bytea NOT NULL,
  _noderref bytea NOT NULL,
  _messageno numeric(10,0)
)
WITH (
  OIDS=FALSE
);
ALTER TABLE _inforgchngr6716_test
  OWNER TO postgres;

-- Index: _inforg6716_bynodemsg_rn_test

-- DROP INDEX _inforg6716_bynodemsg_rn_test;

CREATE UNIQUE INDEX _inforg6716_bynodemsg_rn_test
  ON _inforgchngr6716_test
  USING btree
  (_nodetref, _noderref, _messageno);





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

Предыдущее
От: Ankur Kaushik
Дата:
Сообщение: Re: Per thread Connection memory
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Insert in table with UNIQUE index