Title: Partial support for WordPress 4
Last modified: August 30, 2016

---

# Partial support for WordPress 4

 *  [kevinoid](https://wordpress.org/support/users/kevinoid/)
 * (@kevinoid)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/partial-support-for-wordpress-4/)
 * Since this project has been idle for a while, to address the often-reported issues
   with recent versions of WordPress, I have taken the time to fix the issues which
   are appearing on my own systems and post the patches in hopes that hawk__, or
   a future maintainer of this plugin, may find them useful for integrating. The
   patches are available in a branch on GitHub at:
 * [https://github.com/kevinoid/postgresql-for-wordpress/compare/master…wordpress4-compat](https://github.com/kevinoid/postgresql-for-wordpress/compare/master…wordpress4-compat)
 * I have attempted to provide log snippets with example queries that are failing
   in the commit message for each non-obvious change. Changes which are only necessary
   to support particular plugins are prefixed with the plugin name to make them 
   easier to distinguish.
 * The patches may not fix all of the common issues in newer versions of WordPress,
   as they have only been tested on my mostly-archival installations. However, they
   should fix many of the common issues noted in recent support threads.
 * I hope you find them useful,
    Kevin
 * [https://wordpress.org/plugins/postgresql-for-wordpress/](https://wordpress.org/plugins/postgresql-for-wordpress/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [thiagocapuano](https://wordpress.org/support/users/thiagocapuano/)
 * (@thiagocapuano)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/partial-support-for-wordpress-4/#post-6206037)
 * This is great solution, for me all funcionalities is working, without manual 
   modifications in wp-db.php file. Very clean on WordPress 4.3.
 * But for me file config.php not work, did never work, than in driver_pgsql.php
   on function wpsql_select_db i commented line $GLOBALS[‘pg4wp_conn’] = pg_connect(
   $pg_connstr); and instead write same like that $GLOBALS[‘pg4wp_conn’] = pg_connect(‘
   host=pgsql.server port=5432 dbname=nameOfdb user=nameOfUser password=passOfdbuser’);
 * thank’s very much for share your resolution!!!! Send for developer!!!
 *  [sfitsos](https://wordpress.org/support/users/sfitsos/)
 * (@sfitsos)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/partial-support-for-wordpress-4/#post-6206057)
 * Great job Kevin,
 * Damn if only I had seen this post earlier… I have also fixed most of the stuff
   you did, the painful way.
 * The only change I did also (which I will commit and pull request at your branch)
   is the fix thiagocapuano mentioned, also the eval stuff which crashed my debugger…
 * Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Partial support for WordPress 4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postgresql-for-wordpress.svg)
 * [PostgreSQL for WordPress (PG4WP)](https://wordpress.org/plugins/postgresql-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postgresql-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postgresql-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/postgresql-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postgresql-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postgresql-for-wordpress/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [sfitsos](https://wordpress.org/support/users/sfitsos/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/partial-support-for-wordpress-4/#post-6206057)
 * Status: not resolved