============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Adriaan Joubert
Your email address : a.joubert@albourne.com
System Configuration
---------------------
Architecture (example: Intel Pentium) : DEC alpha
Operating System (example: Linux 2.0.26 ELF) : DEC Unix 4.0D
PostgreSQL version (example: PostgreSQL-6.4) : Snapshot 21 Feb 99
Compiler used (example: gcc 2.8.0) : cc V5.6-071
Please enter a FULL description of your problem:
------------------------------------------------
Managed to compile postgres after substituting bison for yacc and fixing
a minor error in ./src/backend/nodes/print.c (one of the variables had
to be a pointer). initdb succeeded (which it never did with any of the
6.4.* versions), but practically all the regression tests failed
(exactly 8 succeeded).
In the output of the daemon there are multiple error messages:
ERROR: type id lookup of 0 failed
In the output I get e.g.
QUERY: SELECT 't'::bool or 'f'::bool AS true;
! ERROR: Invalid use of NULL expression (internal error)
QUERY: SELECT 't'::bool and 'f'::bool AS false;
! ERROR: Invalid use of NULL expression (internal error)
QUERY: SELECT not 'f'::bool AS true;
! ERROR: Invalid use of NULL expression (internal error)
QUERY: SELECT 't'::bool = 'f'::bool AS false;
! ERROR: Invalid use of NULL expression (internal error)
QUERY: SELECT 't'::bool <> 'f'::bool AS true;
! ERROR: Invalid use of NULL expression (internal error)
so this seems to be related to the error message above.
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
Follow the installation instructions and run the regression tests.
If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------