Home
News Forums Community Wiki Bugtracker Documentation Download
The Toolkit for Online Communities
12603 Community Members, 2 members online
Log In Register

Install Postgres 8.1.x and 8.2.x

OpenACS Home : xowiki : Install Postgres 8.1.x and 8.2.x
Previous Month May 2008 Next Month
Sun Mon Tue Wed Thu Fri Sat
27 28 29 30 1 2 3
4 5 6 (1) 7 (1) 8 9 (2) 10
(3) 11 (1) 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Popular tags

ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bugtracker , COMET , cvs , debian, , emacs , FreeBSD , includelets , install, , installation , installers , javascript , linux , linux, , monitoring , nginx , osx , patches , performance , pg82 , pound , redhat, , selenium , ssl , stuff

No registered users in community xowiki
in last 30 minutes


Contributors

OpenACS.org

Postgres 8.x (e.g. 8.1.* and 8.2.*) require a few changes in the configuration file for backward compatibility:

1. Configure postgres8 with all compatibility ON in postgresql.conf:


add_missing_from = on
regex_flavor = extended
default_with_oids = on

2. If you are upgrading an OpenACS site between versions 4.5.2 to 5.2 and not continuing to 5.3, then: After the createdb step to create the OpenACS database, generate the next function before you import the pre-existing OpenACS database.

 From your shell prompt enter:


psql <dbname>

From the psql prompt enter the follow plpgsql code to create the bitfromint4 function:


create or replace function bitfromint4 (integer)
returns bit varying as '
begin
return $1::bit(32);
end;' language 'plpgsql' immutable strict;

Exit psql:


\q 

This is the original thread 

For a full script on how to install PG 8.2 with ltree and tsearch2 look at Malte's install script 


References to this Page: en:openacs-system-install-freebsd-ports, en:postgresql-install
Categories: Subsystems Documentation (OpenACS.org)

Comments

    Add a comment