Skip to content


Since version 1.0.0, the directory structure changed a bit.

See the ‘readme.txt’ file from the zip for the latest instructions.

If you wish to install WordPress on PostgreSQL, here are the steps involved :

  1. Prepare the WordPress installation just as usual by extracting the archive in the directory were you want your blog
  2. Unzip the archive and put the directory called ‘pg4wp’ in the ‘wp-content/’ directory of your WordPress installation.
  3. Copy the file called ‘db.php’ from ‘pg4wp’ in ‘wp-content’
  4. Continue with WordPress setup, and you’re done
  5. (Optional,but strongly recommended) Please send me a feedback about your installation (WordPress version, plugins used, …)

5 commentaires

  1. Chuns dit :

    it’s wonderful,i use it for wordprss on my site.
    en,but,some wordpress plugins could not work well with PostgreSQL.

  2. Hawk__ dit :

    I’m sorry but most database intensive plugins have poor chances to work correctly with PG4WP as it works by « translating » MySQL specific queries to more generalistic SQL ones.

    Plugins using direct my calls will never be supported as long as they are not modified to use WP’s « wpdb » database object which PG4WP hooks into.

  3. batam dit :

    is it work on WPMU too?

  4. Hawk__ dit :

    I didn’t test PGP4WP with WPMU and never had any feedback from someone who tested it.
    WP 3.0.0 will integrate WPMU so I’ll make some tests when I’m going to work on PG4WP next stable release wich aims at WP 3.x support.

  5. Mors dit :

    I was waiting many years for that plugin. Now i can use WordPress and Postgresql, than to you.