Hiroshi Inoue <[EMAIL PROTECTED]> writes: >>>> P.S. I've noticed that get_rte_attribute_name() seems to >>>> break my implementation. I'm not sure if I could solve it. >> >> That would be a problem --- rule dumping depends on that code to >> produce correct aliases, so making it work is not optional. > Your change has no problem if logical==physical attribute > numbers. But if they're not, what do we do? Can we define the order of the alias-name lists as being one or the other numbering? (Offhand I'd say it should be logical numbering, but I haven't chased the details.) If neither of those work, we'll need some more complex datastructure than a simple list. regards, tom lane
- Re: [HACKERS] ALTER TABLE DROP COLUMN Bruce Momjian
- Re: [HACKERS] ALTER TABLE DROP COLUMN Tom Lane
- RE: [HACKERS] ALTER TABLE DROP COLUMN Hiroshi Inoue
- Re: [HACKERS] ALTER TABLE DROP COLUMN Tom Lane
- Re: [HACKERS] ALTER TABLE DROP COLUMN Hiroshi Inoue
- Re: [HACKERS] ALTER TABLE DROP COL... Tom Lane
- Re: [HACKERS] ALTER TABLE DROP... Hiroshi Inoue
- Re: [HACKERS] ALTER TABLE ... Philip Warner
- Re: [HACKERS] ALTER TABLE DROP COLUMN The Hermit Hacker
- Re: [HACKERS] ALTER TABLE DROP COL... Bruce Momjian
- Re: [HACKERS] ALTER TABLE DROP... Tom Lane
- Re: [HACKERS] ALTER TABLE ... Bruce Momjian
- Re: [HACKERS] ALTER TABLE ... The Hermit Hacker
- Re: [HACKERS] ALTER TABLE ... The Hermit Hacker
- Re: [HACKERS] ALTER TABLE ... Tom Lane
- Re: [HACKERS] ALTER TABLE ... The Hermit Hacker