How to implement an auto-increment column for a system catalog table?

Поиск
Список
Период
Сортировка
От Xin Wang
Тема How to implement an auto-increment column for a system catalog table?
Дата
Msg-id 49BDB710.7020505@gmail.com
обсуждение исходный текст
Ответы Re: How to implement an auto-increment column for a system catalog table?
Список pgsql-hackers
Hi all,
I am using Postgres to build the prototype in a research project. I need
to create a new system catalog table with an auto-increment column. For
a ordinary table, CREATE SEQUENCE or a serial type can be used to
implement the auto-increment column, but it seems Postgres do not
support creating a sequence or serial types in system catalogs. How to
implement an auto-increment column for a catalog table?

Thanks in advance.

Wang


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Should SET ROLE inherit config params?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1710)