From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Zeugswetter Andreas ADI SD <ZeugswetterA(at)spardat(dot)at> |
Cc: | Kris Jurka <books(at)ejurka(dot)com>, Phil Currier <pcurrier(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Column storage positions |
Date: | 2007-02-22 18:47:23 |
Message-ID: | 20070222184723.GO4276@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Zeugswetter Andreas ADI SD escribió:
>
> > > And I also see a lot of unhappiness from users of system tables
> > > when column numbers all over the system tables would not be
> > > logical column positions any more.
> >
> > Right now the fact that attnum presents the logical order but
> > not the logical position is a problem for the JDBC driver.
> > In the presence of dropped columns there is no easy way to
> > get from a pg_attribute entry to logical position. I would
> > hope that a new logical position column would reflect the
> > actual position and solve this problem.
>
> I agree, I haven't thought of drop column :-( Drop column should have
> relabeled attnum.
> Since it was not done then, my comments are probably moot.
We can correct this problem now.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2007-02-22 18:55:47 | Re: Column storage positions |
Previous Message | Zeugswetter Andreas ADI SD | 2007-02-22 18:23:39 | Re: Column storage positions |