This is a continuation from this thread: http://archives.postgresql.org/pgsql-hackers/2010-09/msg02153.php The attached patch allows creating a primary key using an existing index.
I have attached two versions of the patch: one is context diff, and the other is the same except ignoring whitespace changes.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных