Re: Re : BeOS port

Started by Bruce Momjianover 25 years ago1 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Applied. Thanks.

[ Charset ISO-8859-1 unsupported, converting... ]

The beos port in the source tree doesn't even compile. and even
after that dynamic loading isn't working and shared memory handling is
broken.

Attached with this message, there is a Zip file which contain :

* beos.diff = patch file generated with difforig
* beos = folder with beos support files which need to be moved in /
src/backend/port
* expected = foler with three file for message and precision
difference in regression test
* regression.diff = rule problem (need to kill the backend manualy)
* dynloader = dynloader files (they are also in the pacth files,
but there is so much modification that I have join full files)

Everything works except a problem in 'rules' Is there some problems
with rules in the current tree ? It used to works with last week tree.

Thanks

cyril

regression test results

=============== dropping old regression database... =================
ERROR: DROP DATABASE: Database "regression" does not exist
dropdb: database removal failed
=============== creating new regression database... =================
CREATE DATABASE
=============== installing languages... =================
installing PL/pgSQL .. ok
=============== running regression queries... =================
boolean .. ok
char .. ok
name .. ok
varchar .. ok
text .. ok
int2 .. ok
int4 .. ok
int8 .. ok
oid .. ok
float4 .. ok
float8 .. ok
numeric .. ok
strings .. ok
numerology .. ok
point .. ok
lseg .. ok
box .. ok
path .. ok
polygon .. ok
circle .. ok
date .. ok
time .. ok
timestamp .. ok
interval .. ok
abstime .. ok
reltime .. ok
tinterval .. ok
inet .. ok
comments .. ok
oidjoins .. ok
type_sanity .. ok
opr_sanity .. ok
geometry .. ok
horology .. ok
create_function_1 .. ok
create_type .. ok
create_table .. ok
create_function_2 .. ok
copy .. ok
constraints .. ok
triggers .. ok
create_misc .. ok
create_aggregate .. ok
create_operator .. ok
create_index .. ok
inherit .. ok
create_view .. ok
sanity_check .. ok
errors .. ok
select .. ok
select_into .. ok
select_distinct .. ok
select_distinct_on .. ok
select_implicit .. ok
select_having .. ok
subselect .. ok
union .. ok
case .. ok
join .. ok
aggregates .. ok
transactions .. ok
random .. ok
portals .. ok
arrays .. ok
btree_index .. ok
hash_index .. ok
misc .. ok
select_views .. ok
alter_table .. ok
portals_p2 .. ok
rules .. failed
foreign_key .. ok
limit .. ok
plpgsql .. ok
temp .. ok
ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out

To run the optional big test(s) too, type 'make bigtest'
These big tests can take over an hour to complete
These actually are: numeric_big

details on modifications :

/src/template/beos : use the new format, added some path to
GeekGadget in order to be able to use readline ....

it now builds

/src/bin/pg_id/pg_id.c : cheat about user (without that initdb
won't run at all)
/src/backend/utils/error/elog.c : fixed a bug in the beos
modification which made postgres crash in elog

initdb now works, postgres in interactive mode works

/src/include/config.h.in : add beos to the platefrom without
unix sockets

postmaster and psql now runs

* the shared memory support is completly broken (the memory is
not shared between backends but is in copy on write mode (due to
another beos fork problem)). I propose another SEM and SHM
implementation which is less intrusive in postgres code (I emulate all
the sys V functions) and which works properly.
* the shared library support doesn't works

/src/backend/storage/ipc/ipc.c : remove all beos code
/src/backend/storage/ipc/lmgr/proc.c : remove all beos code
/src/backend/main/main.c : add a call to a specific init
function
/src/backend/port/Makefile.in : add beos port target
/src/backend/tcop/postgres.c : add a call to a specific beos
init function

/src/backend/port/beos : add various support files (dynamic
loading, SYSV IPC support)
/src/backend/port/dynloader/beos.c : dynamic loading
/src/backend/port/dynloader/beos.h : dynamic loading

/src/Makefile.shlib : added support for building shared lib on
beos
/src/Makefile/Makefile.beos : add target for support files in
include/port/beos needed for the dynamic loader and fixed the shared
lib building
/src/configure.in : added the beos template declaration (--with
-template might be omitted in configure)
/src/test/regress/regress.sh : add to the platefroms chich need
internet sockets
/src/test/regress/resultmap : add beos file mapping for message
end precision difference
/src/test/regress/expected : three files for message and
precision differences

[ application/zip is not supported, skipping... ]

[ application/x-be_attribute is not supported, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026