How to implement an auto-increment column for a system catalog table? - Mailing list pgsql-hackers

From Xin Wang
Subject How to implement an auto-increment column for a system catalog table?
Date
Msg-id 49BDB710.7020505@gmail.com
Whole thread Raw
Responses Re: How to implement an auto-increment column for a system catalog table?
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should SET ROLE inherit config params?
Next
From: Bruce Momjian
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1710)