From: | Konstantin Izmailov <pgfizm(at)gmail(dot)com> |
---|---|
To: | Greg Stark <gsstark(at)mit(dot)edu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_attribute.attnum - wrong column ordinal? |
Date: | 2009-11-25 04:29:16 |
Message-ID: | 72746b5e0911242029q1af87603wa0e1fb21e63ceb10@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Oops, the server that I thought was 8.3 was recently upgraded to 8.4.
I'm going to generate the ordinals on the client then. The nature of the
query is that it can request columns information for all or several tables
as well. The ordinals generation algorithm can reset counter to 1 each time
the table name changes.
Thank you tons!
On Tue, Nov 24, 2009 at 8:04 PM, Greg Stark <gsstark(at)mit(dot)edu> wrote:
> On Wed, Nov 25, 2009 at 2:00 AM, Konstantin Izmailov <pgfizm(at)gmail(dot)com>
> wrote:
> > Greg,
> > this is brilliant - thank you very much!
> >
> > Is "partition by" compatible to PostgreSQL 8.0/8.2? I could not find
> > compatibility information. It works fine with PG 8.3/8.4 and Greenplum
> 3.3
> > thou.
>
> It's 8.4 only.
>
> You could also just generate them on the client since the ordering the
> query requests is the right order for it.
>
> --
> greg
>
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2009-11-25 05:02:24 | Re: which software to replicate a database on windows xp/vista is the best??? |
Previous Message | Greg Stark | 2009-11-25 03:04:02 | Re: pg_attribute.attnum - wrong column ordinal? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-11-25 04:44:26 | Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION |
Previous Message | Jeff Davis | 2009-11-25 04:16:20 | Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION |