Обсуждение: PostGreSQL v6.2.1 for Linux Alpha

Поиск
Список
Период
Сортировка

PostGreSQL v6.2.1 for Linux Alpha

От
"Kenji T. Hollis"
Дата:
I wrote a message about 4 months ago asking about an Alpha Linux version
of PostGreSQL.  Last I heard, they were working on it and it would be
released in early January with a 64-bit clean version of the server.

This is my third request.

It's now almost the middle of February, and I still don't see a fix for
the problem I saw 4 months ago.  Here's the problem in full detail:

[postgres@nimue pgsql]$ initdb
initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to
create the template database.
initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create
the global classes.
initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based
authentication control file.

We are initializing the database system with username postgres (uid=510).
This user will own all the files and must also own the server process.

Creating Postgres database system directory /usr/local/pgsql/data

Creating Postgres database system directory /usr/local/pgsql/data/base

initdb: creating template database in /usr/local/pgsql/data/base/template1
Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
ERROR:  BuildFuncTupleDesc: function mkoidname(opaque, opaque) does not exist
ERROR:  BuildFuncTupleDesc: function mkoidname(opaque, opaque) does not exist
initdb: could not create template database
initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1

And it dumps core.  Any ideas on when this will be fixed?  Anytime soon??

-- Ken
------
   =========================================================================
      Houston InterWeb Design, Inc.     ||      Office: +1 (713) 627-9494
      Lead Programmer/Designer          ||         Fax: +1 (713) 627-2744
      C++, Windows, and Web Programming ||       Pager: +1 (713) 727-2529
   =========================================================================
               Home page URL: http://www.houston-interweb.com/


Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha

От
The Hermit Hacker
Дата:

As v6.2.1 is >4mos old, have you tried using the v6.3beta?


On Wed, 11 Feb 1998, Kenji T. Hollis wrote:

> I wrote a message about 4 months ago asking about an Alpha Linux version
> of PostGreSQL.  Last I heard, they were working on it and it would be
> released in early January with a 64-bit clean version of the server.
>
> This is my third request.
>
> It's now almost the middle of February, and I still don't see a fix for
> the problem I saw 4 months ago.  Here's the problem in full detail:
>
> [postgres@nimue pgsql]$ initdb
> initdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input to
> create the template database.
> initdb: using /usr/local/pgsql/lib/global1.bki.source as input to create
> the global classes.
> initdb: using /usr/local/pgsql/lib/pg_hba.conf.sample as the host-based
> authentication control file.
>
> We are initializing the database system with username postgres (uid=510).
> This user will own all the files and must also own the server process.
>
> Creating Postgres database system directory /usr/local/pgsql/data
>
> Creating Postgres database system directory /usr/local/pgsql/data/base
>
> initdb: creating template database in /usr/local/pgsql/data/base/template1
> Running: postgres -boot -C -F -D/usr/local/pgsql/data -Q template1
> ERROR:  BuildFuncTupleDesc: function mkoidname(opaque, opaque) does not exist
> ERROR:  BuildFuncTupleDesc: function mkoidname(opaque, opaque) does not exist
> initdb: could not create template database
> initdb: cleaning up by wiping out /usr/local/pgsql/data/base/template1
>
> And it dumps core.  Any ideas on when this will be fixed?  Anytime soon??
>
> -- Ken
> ------
>    =========================================================================
>       Houston InterWeb Design, Inc.     ||      Office: +1 (713) 627-9494
>       Lead Programmer/Designer          ||         Fax: +1 (713) 627-2744
>       C++, Windows, and Web Programming ||       Pager: +1 (713) 727-2529
>    =========================================================================
>                Home page URL: http://www.houston-interweb.com/
>
>


Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha

От
"Kenji T. Hollis"
Дата:
> As v6.2.1 is >4mos old, have you tried using the v6.3beta?

Not quite sure where I can find 6.3beta ... if you're talking about the
snapshot, that's what I tried.

-- Ken
------
   =========================================================================
      Houston InterWeb Design, Inc.     ||      Office: +1 (713) 627-9494
      Lead Programmer/Designer          ||         Fax: +1 (713) 627-2744
      C++, Windows, and Web Programming ||       Pager: +1 (713) 727-2529
   =========================================================================
               Home page URL: http://www.houston-interweb.com/


Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha

От
The Hermit Hacker
Дата:
On Wed, 11 Feb 1998, Kenji T. Hollis wrote:

> > As v6.2.1 is >4mos old, have you tried using the v6.3beta?
>
> Not quite sure where I can find 6.3beta ... if you're talking about the
> snapshot, that's what I tried.

    Ah, okay, then your subject was a little misleading :(

    Have you tried running gdb against your core dump?



Re: [HACKERS] PostGreSQL Snapshot (and 6.2.x) for Linux Alpha

От
"Kenji T. Hollis"
Дата:
>     Ah, okay, then your subject was a little misleading :(

Oops - sorry about that - I should have put snapshot ;)

>     Have you tried running gdb against your core dump?

Not yet - I haven't had the time ... but I do get a large number of
pointer-to-integer mismatches.  I think it is in the lookup function for
the called SQL routine, meaning, when it tries to look-up a function from
the internal table, it either runs out of memory, or out of bounds.  I can
look into this a little later tonight and give a little more definite bug
report.

But, the "MemSet" function returns "cast from pointer to integer of
different size" and there's places in the code that specify uint32 when
uint32 on the Alpha is a different size.  :/

So, if I can get a version of PostgreSQL working, I'll post a patch for
Alpha, but I can't promise anything.  I'll keep everyone informed in what
I find.

-- Ken
------
   =========================================================================
      Houston InterWeb Design, Inc.     ||      Office: +1 (713) 627-9494
      Lead Programmer/Designer          ||         Fax: +1 (713) 627-2744
      C++, Windows, and Web Programming ||       Pager: +1 (713) 727-2529
   =========================================================================
               Home page URL: http://www.houston-interweb.com/