Re: (A) native Windows port

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, HACKERS <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: (A) native Windows port
Date: 2002-07-09 23:24:10
Message-ID: 200207091924.10191.lamar.owen@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tuesday 09 July 2002 06:20 pm, Peter Eisentraut wrote:
> The problem in an extensible system such as PostgreSQL is that virtually
> every feature change is reflected by a change in the structure of the
> system catalogs. It wouldn't be such a terribly big problem in theory to
> make the backend handle these changes, but you'd end up with a huge bunch
> of

> if (dataVersion == 1)
> do this;
> else if (dataVersion == 2)
> do that;

Ok, pardon me while I take a moment to braindump here. And Peter, you of all
people caused this braindump, so, 'hold on to your hat' :-).

You know, it occurs to me that we are indeed an Object RDBMS, but not in the
conventional sense. Our whole system is object oriented -- we are extensible
by the data and the methods (functions) that operate on that data. In fact,
the base system is simply a set of objects, all the way down to the base data
types and their functions. So the problem jells down to this:

How does one upgrade the method portion of the object, bringing in new object
data if necessary, while leaving non-impacted data alone? Is there a way of
partitioning the method-dependent object data from the non-object data? This
would require a complete system catalog redesign -- or would it?

Can such a migration be object-oriented in itself, with the new version
inheriting the old version and extending it.... (like I said, I'm
braindumping here -- this may not be at all coherent -- but my stream of
consciousness rarely is [coherent]). Can our core be written/rewritten in
such a way as to be _completely_ object driven? Someone steeped a little
better in object theory please take over now....

Or am I totally out in left field here?
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2002-07-09 23:34:31 Re: (A) native Windows port
Previous Message Rod Taylor 2002-07-09 23:19:49 Re: (A) native Windows port

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2002-07-09 23:34:31 Re: (A) native Windows port
Previous Message Rod Taylor 2002-07-09 23:19:49 Re: (A) native Windows port