Re: [HACKERS] How do we find serial types - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] How do we find serial types
Date
Msg-id 36348D70.C5C04397@alumni.caltech.edu
Whole thread Raw
In response to How do we find serial types  (darcy@druid.net (D'Arcy J.M. Cain))
Responses Re: [HACKERS] How do we find serial types  (darcy@druid.net (D'Arcy J.M. Cain))
Re: [HACKERS] How do we find serial types  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
> I guess it's too late for 6.4 so hopefully there is already a way to
> find out whether a field was declared as a serial type.  Am I stuck
> using some sort of index name hack?

Probably. I did the serial type implementation as a hash of hooks I
already had in the backend (and at the behest of others, so don't blame
me too much :). It isn't integrated as well as it could/should be, and
we should clean this up for v6.5.

It actually might be related to what we will need to do for primary and
foreign keys, so might get fixed with that stuff. Jan has indicated an
interest in pursuing some of this through the rules system.
                    - Tom


pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: Last call?
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Last call?