diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE
index 0f2cdc206..5f6a302fa 100644
--- a/Documentation/Developers/CHANGELOG-RENE
+++ b/Documentation/Developers/CHANGELOG-RENE
@@ -4,6 +4,7 @@
  - ALSA OSS emulation and no IDESCSI for 2.6
  - added an eject command to kiss
  - added a "check for modified files" option to mine ("-y" for now ...)
+ - Alejandro Mery: changed postgresql to default to install into /opt/postgresql
 
 *) 2003-12-24 (2.0.0-rc3 - 2.0.0-rc4)
 
diff --git a/package/michiel/postgresql/postgresql.conf b/package/michiel/postgresql/postgresql.conf
index c54b562ac..30df31e39 100644
--- a/package/michiel/postgresql/postgresql.conf
+++ b/package/michiel/postgresql/postgresql.conf
@@ -20,6 +20,11 @@
 # 
 # --- ROCK-COPYRIGHT-NOTE-END ---
 
+if [ $prefix_auto = 1 ] ; then
+        prefix="opt/postgresql"
+        set_confopt
+fi
+
 var_append extraconfopt " " "--with-CXX"
 var_append extraconfopt " " "--with-gnu-ld"
 var_append extraconfopt " " "--with-perl"