• Bug#267283: drupal: inadequate info for using postgresql

    From Mahesh T. Pai@1:229/2 to All on Sat Aug 21 21:30:25 2004
    From: [email protected]

    This is a multi-part MIME message sent by reportbug.

    Package: drupal
    Version: 4.4.2-1
    Severity: minor
    Tags: patch

    For (absolute) newbies, getting drupal to work with postgresql is a
    bit confusing. So, here are a few lines, which may help.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.26
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

    Versions of packages drupal depends on:
    ii apache 1.3.31-2 Versatile, high-performance HTTP s ii debconf 1.4.30 Debian configuration management sy ii exim4 4.34-2 An MTA (Mail Transport Agent)
    ii exim4-daemon-light [mail-tran 4.34-2 Lightweight version of the Exim (v ii makepasswd 1.10-2 Generate and encrypt passwords
    ii php4-cgi 4:4.3.8-5 A server-side, HTML-embedded scrip ii php4-pear 4:4.3.8-5 PEAR - PHP Extension and Applicati ii postgresql-client 7.4.3-2 Front-end programs for PostgreSQL ii wwwconfig-common 0.0.38 Debian web auto configuration

    -- debconf information:
    drupal/createuser_failed:
    * drupal/db_auto_update: true
    drupal/dropdb_failed:
    drupal/upgradedb_impossible:
    * drupal/dbgeneration: true
    * drupal/dbtype: PostgreSQL
    * drupal/database_doremove: true
    drupal/upgradedb_failed:
    * drupal/dbuser: paivakil
    drupal/conffile_failed:
    * drupal/remove_backups: true
    drupal/createdb_failed:
    * drupal/dbserver: nandini.home
    * drupal/webserver: apache
    * drupal/dbname: drupal
    drupal/dbadmin: root
    drupal/initdb_failed:

    40,42c40,41
    < a. MySQL
    <
    < In the following examples,
    ---
    These instructions are for MySQL. If you are using another database,
    check the database documentation. In the following examples,
    78c77
    <
    ---

    85,95d83
    < b. postgresql
    <
    < Create a database named drupal using the `createdb' command. You
    < need to have privileges to create databases to do this.
    <
    < Now, invoke psql which ought to be installed like this:-
    <
    < localhost$ psql drupal -f /usr/share/drupal/database/database.pgsql
    <
    < Thats it!!!
    <

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)