Home
PostgreSQL Native OLEDB Provider (PGNP)

PostgreSQLThe PGNP provider is a thin layer between Microsoft ADO and PostgreSQL database. It implements most of the OLEDB interfaces and uses libpq to access a PostgreSQL database. The provider can be used from 32-bit and 64-bit applications both native and .NET.

 

    Main features are:

  • Database conversion with DTS Wizard (MSSQL 2000) or SSIS Wizard (MSSQL 2005/2008).
  • SQL Server 200X Linked Servers and Replication support.
  • Error reporting and execution tracing.
  • Transactions support: standard OLEDB, and "nested" PostgreSQL transaction using savepoints.
  • Distributed transactions (two phase commit protocol).
  • Schema support for tables, views, provider types, columns, primary/foreign keys, indexes, etc.
Read more...
 
PGNP Features Matrix (32- and 64-bit Platforms)
 PGNP 1.2.8 *
 PGNP 1.3.0  PGNP 1.4.0**
PostgreSQL 8.x SupportYesYesYes
OLE DB Connection PoolingYesYesYes
OLE DB Error Reporting Yes YesYes
OLE DB Command Prepare and Cancel YesYes Yes
OLE DB Columns Information YesYesYes
Database Transformation in SQL Server DTSWizard YesYes Yes
Local Transaction SupportYesYesYes
Distributed Transactions and Two Phase Commit Protocol (DTC enlistment)NoYesYes
SQL Server 2000, 2005 and 2008 Linked Servers SupportYesYesYes
SQL Server 2000, 2005 and 2008 to PostgreSQL Replication Support Yes YesYes
Read more...
 
PGNP Project History

August 23, 2010  Ver 1.3.0.2180

Fixed bug when a linked server connected to Postgres catalog A and user is querying table from catalog B: SELECT * FROM PGNP_TEST.B.[public].tbl. Previously the error returned "Undefined table tbl". After the fix data is returned correctly.
Fixed bug "The select list for the INSERT statement contains more items than the insert list. The number of SELECT values must match the number of INSERT columns. [SQLSTATE 07008] (Error 121)". Added code to analyze DBPROP_UNIQUEROWS property on command. If the property is not set to TRUE, do not insert hidden key column.
Fixed memory leak during DTS transformation (introduced in build 2171).
Fixed bugs in the Expression Type Evaluation engine for complex expressions using functions calls and the numeric type.
Fixed bug in parsing statements using cast to "timestamp without time zone".
Read more...
 
What's New in 1.3?

The new generation of PGNP provider 1.3 is released!

Here is the list of new features in 1.3:

  1. Ability to work with multiple databases via single Linked Server connection.
  2. Support for SSL and SSPI.
  3. Arrays support added.
  4. Enhanced expression types evaluator.
  5. Added support for nested transactions.
  6. Added support for distributed transactions (two phase commit protocol).
  7. Enhancements in internal profiling and tracing.
  8. Optimizations for insertion of large amounts of data into database.
  9. Added support for Command Timeout.
  10. Redesigned "Data Link Properties" pages for easier configuration of connection string.
Read more...