Postgresql ole db provider for windows

27 product(s) were found in this category.

27 product(s) were found in this category.

AspSQLProvider

Description License Pricing Publisher  

AspSQLProvider is a PostgreSQL implementation of the ASP.NET 2.0 Membership, Role, Profile and Session-State Store Provider.

Open source Nauck IT KG View

DBD::Pg

Description License Pricing Publisher  

PostgreSQL database driver for the Perl DBI module

Open source Greg Sabino Mullane View

dbExpress driver for PostgreSQL

Description License Pricing Publisher  

dbExpress Driver for PostgreSQL is a database-independent layer that defines common interface to provide fast access to PostgreSQL from from Delphi and C++Builder, including Community Edition, on Windows and macOS (32-bit and 64-bit) and Linux (64-bit) platforms.
For this server, dbExpress provides a driver as an independent library that implements the common dbExpress interface for processing queries and stored procedures.

As data-access layer is thin and simple, dbExpress provides high performance database connectivity and is easy to deploy. You can use dbExpress driver for PostgreSQL in the same way as the one supplied by Embarcadero.

Direct Mode

Allows your application to work with PostgreSQL directly without involving PostgreSQL connectivity solutions, thus significantly facilitating deployment and configuration of your applications.

DB Compatibility

Our product supports PostgreSQL server versions from 8 to 12, Microsoft Azure Database for PostgreSQL, Amazon RDS for PostgreSQL; Amazon Aurora, and Google Cloud for PostgreSQL.

IDE Compatibility

Our product is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Delphi 10.4 Sydney, and C++Builder 10.4 Sydney. It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.

Learn more about dbExpress Driver for PostgreSQL on Devart website.

Commercial 139.95 Devart View

dotConnect for PostgreSQL

Description License Pricing Publisher  

dotConnect for PostgreSQL is a high-performance ORM enabled data provider for PostgreSQL that builds on ADO.NET technology to present a complete solution for developing PostgreSQL-based database applications. It introduces new approaches for designing application architecture, boosts productivity, and facilitates the development of database applications.

Our ADO.NET PostgreSQL provider supports a wide range of PostgreSQL-specific features, such as secure SSL connections, PostgreSQL notifications, PostgreSQL bulk data loading, GEOMETRY, PostgreSQL ARRAY types, and others.

Key Features

  • Advanced Visual Studio Integration.
    dotConnect for PostgreSQL provides a vast number of GUI tools that increase your productivity. For example, it includes DataSet tools, such as DataSet Wizard, DataSet Editor, DataSet Manager, provide you an easy way to create and edit typed and untyped DataSets.

  • Broad Compatibility.

PostgreSQL support: from 7.1 to 13

Visual Studio support: 2008 – 2019

Platforms support:

.NET 5.0

Full .NET Framework 2.0 – 4.8

.NET Core 1.x, 2.x, and 3.0

.NET Compact Framework 2.0 and above

Mono 2.0 and above

  • Enhanced ORM Support:

Entity Framework v1 — v6

Entity Framework Core 1.x, 2.x, 3.1, and 5.0

NHibernate

LinqConnect

Commercial $159.95 Devart View

Excel Add-in for PostgreSQL

Description License Pricing Publisher  

Devart Excel Add-in for PostgreSQL allows you to quickly and easily connect Microsoft Excel to PostgreSQL, load data from PostgreSQL to Excel, instantly refresh data in an Excel workbook from the database, edit these data and save them back to PostgreSQL.

Use Excel to work with PostgreSQL data, easily perform data cleansing and de-duplication. Apply all the Excel’s powerful data processing and analysis capabilities to these data.

Connect to PostgreSQL Directly from Excel

To connect Excel to PostgreSQL you just need to specify its host, port, and your credentials.
As for security, PostgreSQL Excel Add-in supports secure SSL connections, secure authentication with single sign-on, etc.
Connection information may optionally be stored in the Excel file, or you may reenter it whenever necessary.

Use Query Builder or SQL to Import Data You Need

Visual Query Builder allows you to choose a table to import data from, select the columns from this table and related tables, and set filter conditions and data ordering options visually. If you need to select data more precisely, you can use SQL to select data you need.

Instantly Refresh Data Whenever You Need

It’s very convenient to always have fresh data from the database right in your workbook. Imagine, you have performed data analysis in your Excel workbook, built some charts for your PostgreSQL data, and you can re-read data from the source and update all this to the current state by just clicking a button on the ribbon whenever you need.

Edit PostgreSQL Data Like Usual Excel Spreadsheets

To edit PostgreSQL data in Excel you need just to click the Edit Mode button on the ribbon before editing, and then you can edit data just like you usually do it — add or delete rows, modify cell values, etc. All the changes are highlighted so you can easily see which data is changed.

Instant Data Validation

Excel Add-in for PostgreSQL instantly validates entered data and highlights errors, such as incorrect dates, duplicate primary key values, etc.

Learn more about Excel add-in for PostgreSQL on Devart website.

Commercial $119.95 Devart View

libpqxx

Description License Pricing Publisher  

libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength open-source database software.

Open source pqxx.org View

LinqConnect

Description License Pricing Publisher  

LinqConnect is a fast, lightweight, and easy to use LINQ to SQL compatible ORM solution, supporting PostgreSQL, SQL Server, Oracle, MySQL and SQLite. It allows using efficient and powerful data access for your .NET Framework, Metro, Silverlight, or Windows Phone applications supporting Code-First, Model-First, Database-First or mixed approaches.

LINQ to SQL Compatible.

LinqConnect was developed closely to LINQ to SQL and retains full compatibility with it. Interface of the LinqConnect classes is compatible with LINQ to SQL ones. If you are a LINQ to SQL developer, you don’t need to learn much and can start developing with LinqConnect immediately.

Unlike LINQ to SQL, LinqConnect is an actively developed and supported product, and it offers a number of benefits over LINQ to SQL. It supports more database servers, more development platforms, more LINQ features, more mapping kinds, provides better performance, etc.

Multiple Starts from $149.95 Devart View

Lua binding for PostgreSQL

Description License Pricing Publisher  

Access your PostgreSQL data from the Lua programming language. luapgsql is a libpq binding for Lua.

Open source micro systems View

Npgsql

Description License Pricing Publisher  

Npgsql is a .Net data provider for PostgreSQL. It allows any program developed for .Net framework to access database server. It is implemented in 100% C# code. Works with PostgreSQL 7.x and 8.x.

Open source Npgsql Project View

ODBC for PostgreSQL

Description License Pricing Publisher  

Devart ODBC Driver for PostgreSQL provides a high-performance and feature-rich connectivity solution for ODBC-compliant applications to access PostgreSQL databases from Windows, macOS, and Linux, both 32-bit and 64-bit. Full support for standard ODBC API functions and data types implemented in our driver makes interaction of your application with PostgreSQL fast, easy and extremely handy.

Direct Connection

Our connectivity solution enables various ODBC-aware applications to establish a direct connection to PostgreSQL via TCP/IP to eliminate the need for PostgreSQL libraries or clients.

Integration

The driver is compatible with 3rd-party tools for data analysis, such as Microsoft Excel, and integrates with various IDEs and systems like Visual Studio, etc.

Platforms Variety

ODBC Driver for PostgreSQL can be used with 32-bit and 64-bit applications on both x32 and x64 platforms, so there is no need to additionally configure the driver, applications or environment.

Fully Unicode Driver

With our fully Unicode-compliant driver, you can properly retrieve and modify any data in multilingual PostgreSQL databases, regardless of their character set: Latin, Cyrillic, Hebrew, Chinese, etc., and in any language environment.

Bulk Updates

Moreover, with our driver you can perform bulk updates to PostgreSQL database by combining SQL statements into batches, thus simplifying and speeding up large data modification to PostgreSQL.

Secure Connection

Work with PostgreSQL securely using SSL connection options provided in our driver along with the support for SSL protocol. You can also connect to PostgreSQL securely via SSH tunnel. SSH protocol is one of the most reliable protocols for data encryption.

Learn more about more ODBC for PostgreSQL features on Devart website.

Commercial $169.95 Devart View

pgfe

Description License Pricing Publisher  

A modern C++ API to PostgreSQL that simplifies working with PostgreSQL in C++.

Open source Dmitry Igrishin View

pgintcl

Description License Pricing Publisher  

This is a Tcl interface to PostgreSQL, which is itself written entirely in Tcl, and does not rely on libpq. It is highly but not entirely compatible with other Tcl interfaces, although it is slower.

Open source pgintcl Project View

pgtcl

Description License Pricing Publisher  

This is a project to evolve and upgrade libpgtcl, the Tcl client interface to PostgreSQL. Application writers will be able to interface to PostgreSQL from Tcl using this interface.

Open source pgtcl Project View

pgtcl-ng

Description License Pricing Publisher  

PostgreSQL Tcl Interface Next-Generation (pgtcl-ng) is a loadable Tcl/Tk module for accessing PostgreSQL databases. It extends the pre-8.0 libpgtcl from an early Pgtcl release and from the companion project pgintcl.

Open source pgtcl-ng Project View

PostgresClientKit

Description License Pricing Publisher  

PostgresClientKit provides a friendly Swift API for operating against a PostgreSQL database.

  • Doesn’t require libpq
  • Developer-friendly API using modern Swift
  • Safe conversion between Postgres and Swift types
  • Memory efficient
  • SSL/TLS support
Open source codewins.com View

PostgresDAC

Description License Pricing Publisher  

PostgresDAC is a component suite for direct access to PostgreSQL servers from Borland Delphi and C++ Builder applications

Commercial $134.95 Microolap View

PostgreSQL Data Access Components

Description License Pricing Publisher  

PostgreSQL Data Access Components (PgDAC) is a library of components that provides native connectivity to PostgreSQL from Delphi and C++Builder including Community Edition, as well as Lazarus (and Free Pascal) on Windows, Linux, macOS, iOS, and Android for both 32-bit and 64-bit platforms.

PgDAC is designed to help programmers develop really lightweight, faster and cleaner PostgreSQL database applications without deploying any additional libraries.

Native Connectivity to PostgreSQL

PgDAC-based DB applications are easy to deploy, do not require installation of other data provider layers (such as BDE or ODBC), and that’s why they can work faster than the ones based on standard Delphi data connectivity solutions. Moreover, PgDAC provides an additional opportunity to work with PostgreSQL directly via TCP/IP without involving PostgreSQL Client.

Key Features:

  • Direct Mode. Allows your application to work with PostgreSQL directly without involving PostgreSQL connectivity solutions, thus significantly facilitating deployment and configuration of your applications.
  • Mobile Development. Development for iOS and Android mobile devices using PgDAC becomes still easier, as PgDAC allows your mobile applications to work with PostgreSQL database as simply as desktop applications do.
  • Database Compatibility. Our product supports PostgreSQL server versions from 8.0 to 13, Microsoft Azure Database for PostgreSQL, Amazon RDS for PostgreSQL, Amazon Aurora, and Google Cloud for PostgreSQL.
  • IDE Compatibility. Our product is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Delphi 10.4 Sydney, C++ Builder 10.4 Sydney, Lazarus (and FPC). It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.
  • Data Type Mapping. If you want to make custom correspondence between PostgreSQL and Delphi data types, you can use a simple and flexible Data Type Mapping engine provided by PgDAC.
  • Development Platforms. All major GUI frameworks supported: develop VCL applications for Windows or cross-platform FMX applications in Delphi, as well as LCL applications for Windows, macOS, or Linux in Lazarus.

Read more about PostgreSQL Data Access Component Editions.

Commercial $199.95 Devart View

postgresql-kit

Description License Pricing Publisher  

postgresql-kit is a set of frameworks, tools, applications and examples for deploying the PostgreSQL database on Mac OS X and iOS platforms.

On the server-side, it provides an embedded server framework which allows you to put a postgresql database right in your Cocoa application. On the client-side, it helps you interact and use all the features of libpq, including converting data seemlessly between Foundation objects and Postgresql data types.

Sample applications for the Macintosh and iOS devices is included in the project, which is licensed with the Apache open-source license.

Open source mutablelogic View

PostgreSQL Native OLEDB Provider (PGNP)

Description License Pricing Publisher  

PostgreSQL Native Provider (PGNP) is an OLEDB Provider for PostgreSQL database.

The provider features support for Linked Servers, replication, DTS, SSIS and more. It can be used from 32-bit and 64-bit Windows applications both native and
.NET.

Commercial PGNP Team View

PostgreSQL-SDBC

Description License Pricing Publisher  

Native PostgreSQL driver for LibreOffice and Apache OpenOffice. It is faster, seamlessly integrated and there is no need to install and setup a JDBC or ODBC driver separately. Compatible with PostgreSQL version 8.4 and later.

Not entirely feature-complete, but the basics work.

Open source The Document Foundation View

psql-api

Description License Pricing Publisher  

A PostgreSQL RESTful API for SOA applications.

psql-api offers:

  • API access for all CRUD operations
  • JSON data format
  • SQL queries management
  • Security best practices
  • Before and After action code injection
  • Authorization methods (JWT by default)
  • Scalability
  • WEB admin interface

Source code is available under MIT license at:

https://github.com/QBisConsult/psql-api

Open source Q-Bis Consult S.R.L. View

psqlJDBC

Description License Pricing Publisher  

The PostgreSQL JDBC driver. It allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. It is a pure Java (Type IV) implementation, so all you need to do is download a jar file and you’re on your way.

The driver provides are reasonably complete implementation of the JDBC 3 specification in addition to some PostgreSQL specific extensions.

Open source PostgreSQL Global Development Group View

psqlODBC

Description License Pricing Publisher  

psqlODBC is the official PostgreSQL ODBC Driver.

Open source PostgreSQL Global Development Group View

psycopg

Description License Pricing Publisher  

Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Open source Psycopg Development Team View

slurf

Description License Pricing Publisher  

slurf is an easy to use postgresql frontend.
You cannot use it to create tables and such, just to input,update and delete data.
It is very good for end user data input (phonebook,invoices etc.).

Open source Diomedia View

SQL Relay

Description License Pricing Publisher  

SQL Relay is a persistent database connection pooling, proxying, throttling, load balancing and query routing/filtering system for PostgreSQL on Linux, Unix and Windows.

APIs are provided for C, C++, .NET, ADO.NET, Perl, Perl-DBI, Python, Python-DB, PHP, PHP PDO, Ruby, Java, TCL, Erlang, and node.js, and ODBC. Drop-in replacement libraries are provided for PostgreSQL. The APIs support advanced database operations such as bind variables, multi-row fetches, client-side result set caching and suspended transactions.

Command line clients and extensive documentation are also provided.

SQL Relay is ideal for speeding up database-driven web-based applications, accessing databases from unsupported platforms, migrating between databases, distributing access to replicated or clustered databases and throttling database access.

Open source firstworks.com View

UniDAC

Description License Pricing Publisher  

Universal Data Access Components (UniDAC) is a library of components that provides direct access to multiple databases from Delphi and C++Builder including Community Edition, as well as Lazarus (and Free Pascal) on Windows, Linux, macOS, iOS, and Android for both 32-bit and 64-bit platforms.

UniDAC provides access to PostgreSQL, Oracle, Microsoft SQL Server, MySQL, InterBase, Firebird, SQLite, Microsoft Access, DB2, DBF, Sybase Advantage Database Server, etc.

The tool is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Lazarus (and FPC). It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.

Key features:

  • Direct Mode. Allows you to work with Oracle, SQL Server, MySQL, PostgreSQL, SQLite, Redshift, ASE, DBF, and NexusDB directly without involving a DB Client library, thus significantly facilitating deployment and configuration of your applications.
  • Mobile Development. Development for iOS and Android mobile devices using UniDAC becomes still easier, as UniDAC allows your mobile applications to work with multiple databases as simply as desktop applications do.
  • DB Compatibility. Our product supports the latest versions of the popular database servers like Oracle, SQL Server, MySQL, InterBase, Firebird, PostgreSQL, SQLite, and other databases (using ODBC provider).
  • IDE Compatibility. Our product is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Delphi 10.4 Sydney, C++ Builder 10.4 Sydney, Lazarus (and FPC).
  • Data Type Mapping. If you want to make custom correspondence between server and Delphi data types, you can use a simple and flexible Data Type Mapping engine provided by UniDAC.
  • Development Platforms. All major GUI frameworks supported: develop VCL applications for Windows or cross-platform FMX applications in Delphi, as well as LCL applications for Windows, macOS, or Linux in Lazarus.
Commercial $299.95 Devart View

Note: The PostgreSQL Global Development Group do not endorse or
recommend any products listed, and cannot vouch for the quality or reliability
of any of them.

Содержание

  1. Подключение к источнику данных PostgreSQL (мастер импорта и экспорта SQL Server)
  2. Получение драйвера ODBC для PostgreSQL
  3. Установка драйвера ODBC с помощью построителя стека
  4. Скачивание последней версии драйвера ODBC
  5. Подключение к PostgreSQL с помощью драйвера ODBC для PostgreSQL (psqlODBC)
  6. Указываемые параметры (драйвер ODBC для PostgreSQL)
  7. Формат строки подключения
  8. Ввод строки подключения
  9. Другие поставщики данных и дополнительные сведения
  10. AspSQLProvider
  11. DBD::Pg
  12. dbExpress driver for PostgreSQL
  13. dotConnect for PostgreSQL
  14. Excel Add-in for PostgreSQL
  15. Connect to PostgreSQL Directly from Excel
  16. Use Query Builder or SQL to Import Data You Need
  17. Instantly Refresh Data Whenever You Need
  18. Edit PostgreSQL Data Like Usual Excel Spreadsheets
  19. Instant Data Validation
  20. libpqxx
  21. LinqConnect
  22. Lua binding for PostgreSQL
  23. Npgsql
  24. ODBC for PostgreSQL
  25. Direct Connection
  26. Integration
  27. Platforms Variety
  28. Fully Unicode Driver
  29. Bulk Updates
  30. Secure Connection
  31. pgintcl
  32. pgtcl
  33. pgtcl-ng
  34. PostgresClientKit
  35. PostgresDAC
  36. PostgreSQL Data Access Components
  37. Native Connectivity to PostgreSQL
  38. Key Features:
  39. postgresql-kit
  40. PostgreSQL Native OLEDB Provider (PGNP)
  41. PostgreSQL-SDBC
  42. psql-api
  43. psqlJDBC
  44. psqlODBC
  45. psycopg
  46. slurf
  47. SQL Relay
  48. UniDAC
  49. Key features:
  50. Install PostgreSQL ODBC Driver
  51. Create ODBC Data Source
  52. Create a SQL Server Linked Server to PostgreSQL
  53. Access PostgreSQL Data from SQL Server
  54. Conclusion
  55. Connecting SQL Server Management Studio to PostgreSQL via ODBC Driver
  56. Requirements
  57. Connecting to PostgreSQL from SQL Server Management Studio using ODBC Driver for PostgreSQL
  58. How to configure a SQL Server Linked Server to connect to PostgreSQL
  59. Retrieving Data From PostgreSQL
  60. Attention

Подключение к источнику данных PostgreSQL (мастер импорта и экспорта SQL Server)

В этом разделе показано, как подключаться к источникам данных PostgreSQL со страницы Выбор источника данных или Выбор назначения в мастере импорта и экспорта SQL Server.

Подробные требования и необходимые условия для подключения к базе данных PostgreSQL выходят за рамки этой статьи Майкрософт. В ней предполагается, что у вас уже установлено клиентское программное обеспечение PostgreSQL и вы можете успешно подключиться к целевой базе данных PostgreSQL. Для получения дополнительных сведений обратитесь к администратору базы данных PostgreSQL или к документации по PostgreSQL.

Получение драйвера ODBC для PostgreSQL

Установка драйвера ODBC с помощью построителя стека

Запустите построитель стека, чтобы добавить драйвер ODBC для PostgreSQL (psqlODBC) в вашу установку PostgreSQL.

install postgresql odbc with stack builder

Скачивание последней версии драйвера ODBC

Или скачайте установщик Windows для последней версии драйвера ODBC для PostgreSQL (psqlODBC) прямо с этого FTP-сайта — https://www.postgresql.org/ftp/odbc/versions/msi/. Извлеките содержимое ZIP-файла и запустите файл MSI.

Подключение к PostgreSQL с помощью драйвера ODBC для PostgreSQL (psqlODBC)

connect to sql with odbc before

Указываемые параметры (драйвер ODBC для PostgreSQL)

Параметры подключения для этого поставщика данных и драйвера ODBC одинаковы независимо от того, является ли PostgreSQL источником или назначением. Таким образом, на страницах Выбор источника данных и Выбор назначения мастера отображаются одинаковые параметры.

Чтобы подключиться к PostgreSQL с помощью драйвера ODBC для PostgreSQL, соберите строку подключения, используя указанные ниже параметры и их значения. Полный формат строки подключения приведен после списка параметров.

Вы можете получить помощь в построении строки подключения. Кроме того, вместо указания строки подключения вы можете предоставить существующее имя DSN (имя источника данных) или создать новое. Дополнительные сведения об этих возможностях см. в разделе Подключение к источнику данных ODBC.

Драйвер
Имя драйвера ODBC — PostgreSQL ODBC Driver(UNICODE) или PostgreSQL ODBC Driver(ANSI).

Server
Имя сервера PostgreSQL.

порт.
Порт, используемый для подключения к серверу PostgreSQL.

База данных
Имя базы данных PostgreSQL.

Uid и Pwd
Uid (идентификатор пользователя) и Pwd (пароль) для подключения.

Формат строки подключения

Ниже приведен формат типичной строки подключения.

Ввод строки подключения

Введите строку подключения в поле ConnectionString либо введите имя DSN в поле Dsn на странице Выбор источника данных или Выбор назначения. После того как вы введете строку подключения, мастер проанализирует ее и отобразит отдельные свойства и их значения в списке.

В приведенном ниже примере используется следующая строка подключения:

Ниже показан экран, который появляется после ввода строки подключения.

connect to postgresql with odbc

Другие поставщики данных и дополнительные сведения

Сведения о подключении к PostgreSQL с помощью поставщика данных, не представленного в этом списке, см. в разделе Строки подключения PostgreSQL. Этот сторонний сайт также содержит дополнительные сведения о поставщиках данных и параметрах подключения, описанных на этой странице.

Источник

27 product(s) were found in this category.

AspSQLProvider

AspSQLProvider is a PostgreSQL implementation of the ASP.NET 2.0 Membership, Role, Profile and Session-State Store Provider.

DBD::Pg

PostgreSQL database driver for the Perl DBI module

dbExpress driver for PostgreSQL

dbExpress Driver for PostgreSQL is a database-independent layer that defines common interface to provide fast access to PostgreSQL from from Delphi and C++Builder, including Community Edition, on Windows and macOS (32-bit and 64-bit) and Linux (64-bit) platforms. For this server, dbExpress provides a driver as an independent library that implements the common dbExpress interface for processing queries and stored procedures.

As data-access layer is thin and simple, dbExpress provides high performance database connectivity and is easy to deploy. You can use dbExpress driver for PostgreSQL in the same way as the one supplied by Embarcadero.

Direct Mode

Allows your application to work with PostgreSQL directly without involving PostgreSQL connectivity solutions, thus significantly facilitating deployment and configuration of your applications.

DB Compatibility

Our product supports PostgreSQL server versions from 8 to 12, Microsoft Azure Database for PostgreSQL, Amazon RDS for PostgreSQL; Amazon Aurora, and Google Cloud for PostgreSQL.

IDE Compatibility

Our product is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Delphi 10.4 Sydney, and C++Builder 10.4 Sydney. It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.

Learn more about dbExpress Driver for PostgreSQL on Devart website.

dotConnect for PostgreSQL

dotConnect for PostgreSQL is a high-performance ORM enabled data provider for PostgreSQL that builds on ADO.NET technology to present a complete solution for developing PostgreSQL-based database applications. It introduces new approaches for designing application architecture, boosts productivity, and facilitates the development of database applications.

Our ADO.NET PostgreSQL provider supports a wide range of PostgreSQL-specific features, such as secure SSL connections, PostgreSQL notifications, PostgreSQL bulk data loading, GEOMETRY, PostgreSQL ARRAY types, and others.

Key Features

Advanced Visual Studio Integration. dotConnect for PostgreSQL provides a vast number of GUI tools that increase your productivity. For example, it includes DataSet tools, such as DataSet Wizard, DataSet Editor, DataSet Manager, provide you an easy way to create and edit typed and untyped DataSets.

PostgreSQL support: from 7.1 to 13

Visual Studio support: 2008 – 2019

.NET Core 1.x, 2.x, and 3.0

.NET Compact Framework 2.0 and above

Entity Framework Core 1.x, 2.x, 3.1, and 5.0

Excel Add-in for PostgreSQL

Devart Excel Add-in for PostgreSQL allows you to quickly and easily connect Microsoft Excel to PostgreSQL, load data from PostgreSQL to Excel, instantly refresh data in an Excel workbook from the database, edit these data and save them back to PostgreSQL.

Use Excel to work with PostgreSQL data, easily perform data cleansing and de-duplication. Apply all the Excel’s powerful data processing and analysis capabilities to these data.

Connect to PostgreSQL Directly from Excel

To connect Excel to PostgreSQL you just need to specify its host, port, and your credentials. As for security, PostgreSQL Excel Add-in supports secure SSL connections, secure authentication with single sign-on, etc. Connection information may optionally be stored in the Excel file, or you may reenter it whenever necessary.

Use Query Builder or SQL to Import Data You Need

Visual Query Builder allows you to choose a table to import data from, select the columns from this table and related tables, and set filter conditions and data ordering options visually. If you need to select data more precisely, you can use SQL to select data you need.

Instantly Refresh Data Whenever You Need

It’s very convenient to always have fresh data from the database right in your workbook. Imagine, you have performed data analysis in your Excel workbook, built some charts for your PostgreSQL data, and you can re-read data from the source and update all this to the current state by just clicking a button on the ribbon whenever you need.

Edit PostgreSQL Data Like Usual Excel Spreadsheets

Instant Data Validation

Excel Add-in for PostgreSQL instantly validates entered data and highlights errors, such as incorrect dates, duplicate primary key values, etc.

Learn more about Excel add-in for PostgreSQL on Devart website.

libpqxx

libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength open-source database software.

LinqConnect

LINQ to SQL Compatible.

LinqConnect was developed closely to LINQ to SQL and retains full compatibility with it. Interface of the LinqConnect classes is compatible with LINQ to SQL ones. If you are a LINQ to SQL developer, you don’t need to learn much and can start developing with LinqConnect immediately.

Unlike LINQ to SQL, LinqConnect is an actively developed and supported product, and it offers a number of benefits over LINQ to SQL. It supports more database servers, more development platforms, more LINQ features, more mapping kinds, provides better performance, etc.

Lua binding for PostgreSQL

Access your PostgreSQL data from the Lua programming language. luapgsql is a libpq binding for Lua.

Npgsql

ODBC for PostgreSQL

Devart ODBC Driver for PostgreSQL provides a high-performance and feature-rich connectivity solution for ODBC-compliant applications to access PostgreSQL databases from Windows, macOS, and Linux, both 32-bit and 64-bit. Full support for standard ODBC API functions and data types implemented in our driver makes interaction of your application with PostgreSQL fast, easy and extremely handy.

Direct Connection

Our connectivity solution enables various ODBC-aware applications to establish a direct connection to PostgreSQL via TCP/IP to eliminate the need for PostgreSQL libraries or clients.

Integration

The driver is compatible with 3rd-party tools for data analysis, such as Microsoft Excel, and integrates with various IDEs and systems like Visual Studio, etc.

Platforms Variety

ODBC Driver for PostgreSQL can be used with 32-bit and 64-bit applications on both x32 and x64 platforms, so there is no need to additionally configure the driver, applications or environment.

Fully Unicode Driver

With our fully Unicode-compliant driver, you can properly retrieve and modify any data in multilingual PostgreSQL databases, regardless of their character set: Latin, Cyrillic, Hebrew, Chinese, etc., and in any language environment.

Bulk Updates

Moreover, with our driver you can perform bulk updates to PostgreSQL database by combining SQL statements into batches, thus simplifying and speeding up large data modification to PostgreSQL.

Secure Connection

Work with PostgreSQL securely using SSL connection options provided in our driver along with the support for SSL protocol. You can also connect to PostgreSQL securely via SSH tunnel. SSH protocol is one of the most reliable protocols for data encryption.

Learn more about more ODBC for PostgreSQL features on Devart website.

A modern C++ API to PostgreSQL that simplifies working with PostgreSQL in C++.

pgintcl

This is a Tcl interface to PostgreSQL, which is itself written entirely in Tcl, and does not rely on libpq. It is highly but not entirely compatible with other Tcl interfaces, although it is slower.

pgtcl

This is a project to evolve and upgrade libpgtcl, the Tcl client interface to PostgreSQL. Application writers will be able to interface to PostgreSQL from Tcl using this interface.

pgtcl-ng

PostgreSQL Tcl Interface Next-Generation (pgtcl-ng) is a loadable Tcl/Tk module for accessing PostgreSQL databases. It extends the pre-8.0 libpgtcl from an early Pgtcl release and from the companion project pgintcl.

PostgresClientKit

PostgresClientKit provides a friendly Swift API for operating against a PostgreSQL database.

PostgresDAC

PostgresDAC is a component suite for direct access to PostgreSQL servers from Borland Delphi and C++ Builder applications

PostgreSQL Data Access Components

PostgreSQL Data Access Components (PgDAC) is a library of components that provides native connectivity to PostgreSQL from Delphi and C++Builder including Community Edition, as well as Lazarus (and Free Pascal) on Windows, Linux, macOS, iOS, and Android for both 32-bit and 64-bit platforms.

PgDAC is designed to help programmers develop really lightweight, faster and cleaner PostgreSQL database applications without deploying any additional libraries.

Native Connectivity to PostgreSQL

PgDAC-based DB applications are easy to deploy, do not require installation of other data provider layers (such as BDE or ODBC), and that’s why they can work faster than the ones based on standard Delphi data connectivity solutions. Moreover, PgDAC provides an additional opportunity to work with PostgreSQL directly via TCP/IP without involving PostgreSQL Client.

Key Features:

Read more about PostgreSQL Data Access Component Editions.

postgresql-kit

postgresql-kit is a set of frameworks, tools, applications and examples for deploying the PostgreSQL database on Mac OS X and iOS platforms.

On the server-side, it provides an embedded server framework which allows you to put a postgresql database right in your Cocoa application. On the client-side, it helps you interact and use all the features of libpq, including converting data seemlessly between Foundation objects and Postgresql data types.

Sample applications for the Macintosh and iOS devices is included in the project, which is licensed with the Apache open-source license.

PostgreSQL Native OLEDB Provider (PGNP)

PostgreSQL Native Provider (PGNP) is an OLEDB Provider for PostgreSQL database.

PostgreSQL-SDBC

Native PostgreSQL driver for LibreOffice and Apache OpenOffice. It is faster, seamlessly integrated and there is no need to install and setup a JDBC or ODBC driver separately. Compatible with PostgreSQL version 8.4 and later.

Not entirely feature-complete, but the basics work.

psql-api

A PostgreSQL RESTful API for SOA applications.

Source code is available under MIT license at:

psqlJDBC

The PostgreSQL JDBC driver. It allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. It is a pure Java (Type IV) implementation, so all you need to do is download a jar file and you’re on your way.

The driver provides are reasonably complete implementation of the JDBC 3 specification in addition to some PostgreSQL specific extensions.

psqlODBC

psqlODBC is the official PostgreSQL ODBC Driver.

psycopg

Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

slurf

slurf is an easy to use postgresql frontend. You cannot use it to create tables and such, just to input,update and delete data. It is very good for end user data input (phonebook,invoices etc.).

SQL Relay

SQL Relay is a persistent database connection pooling, proxying, throttling, load balancing and query routing/filtering system for PostgreSQL on Linux, Unix and Windows.

Command line clients and extensive documentation are also provided.

SQL Relay is ideal for speeding up database-driven web-based applications, accessing databases from unsupported platforms, migrating between databases, distributing access to replicated or clustered databases and throttling database access.

UniDAC

Universal Data Access Components (UniDAC) is a library of components that provides direct access to multiple databases from Delphi and C++Builder including Community Edition, as well as Lazarus (and Free Pascal) on Windows, Linux, macOS, iOS, and Android for both 32-bit and 64-bit platforms.

UniDAC provides access to PostgreSQL, Oracle, Microsoft SQL Server, MySQL, InterBase, Firebird, SQLite, Microsoft Access, DB2, DBF, Sybase Advantage Database Server, etc.

The tool is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 10.4 Sydney, Lazarus (and FPC). It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.

Key features:

Note: The PostgreSQL Global Development Group do not endorse or recommend any products listed, and cannot vouch for the quality or reliability of any of them.

Источник

Problem

We need to have PostgreSQL and SQL Server database platforms communicate in our environment. We need to access the PostgreSQL data from SQL Server in an efficient manner. Based on the steps from your first tip, how can we take the next steps to setup the data access? Can we create a Linked Server from SQL Server to PostgreSQL to access the data?

Solution

In part 1 of this series, we rolled out a simple database infrastructure with a PostgreSQL instance and a SQL Server instance. We have seen how both the servers could communicate with each other at network level. Then we restored a sample database in PostgreSQL and created two of its table structures in SQL Server.

In this tip, we will show how SQL Server can access Postgres data and populate those tables.

Install PostgreSQL ODBC Driver

Although the de-facto data access library for any modern database should be based on OLE DB, PostgreSQL’s official site doesn’t list any freely available x64 bit OLE DB providers. As mentioned in part 1, there’s a 64-bit OLE DB provider available from a third-party vendor. However, that driver comes with a price tag. The free OLE DB version available from Postgres site is for 32-bit only.

However, PostgreSQL also provides a 64-bit ODBC driver that’s downloadable from its official site. In our example, we will download and install this 64-bit ODBC driver (psqlODBC) on our SQL Server.

Step 1: Remote desktop to SQL Server

Step 3: Double-click to start the psqlodbc_x64.msi installer. The next few images show the straightforward installation process.

3662 ODBC Driver Installation Screen1

3662 ODBC Driver Installation Screen2

3662 ODBC Driver Installation Screen3

3662 ODBC Driver Installation Screen4

3662 ODBC Driver Installation Screen5

Create ODBC Data Source

Once the driver has been installed, it’s time to create a System DSN from it. So let’s start the ODBC Data Source (64 bit) application from the Server Manager applet (see below).

3662 DSN Starting ODBC Applet

In the next few screenshots, we can see how an ODBC data source is created.

Step 1: First let’s choose the System DSN tab and then click Add.

3662 Crating ODBC Data Source1

Step 2: Next we choose the PostgreSQL Unicode (x64) version and click Finish.

3662 Crating ODBC Data Source2

Step 3: In the dialog box that pops-up, provide a name and description for the data source, specify the database name, server’s IP address, port, user name and password as connection parameters. Once done, test the details by clicking on the Test button.

3662 Crating ODBC Data Source3

If the test is successful, click Save and then click OK in the ODBC Data Source Administrator.

Create a SQL Server Linked Server to PostgreSQL

Step 1: Start SQL Server Management Studio and connect to the SQL Server instance as «sa» or a sysdmin role member. Expand the Server Objects folder, right click on the Linked Servers node, and then choose «New Linked Server. » option from the pop-up menu.

On the General tab of the New Linked Server dialog box, choose the «Other data source» option, select «Microsoft OLE DB Provide for ODBC Drivers» option from the Provider drop-down list, provide a name for the Product and specify the Data Source name. The data source should be the one we just created: in this case it’s world_db_postgres.

3662 Linked Server Creation1

Step 2: In the Security tab, choose the fourth option («Be made using this security context») and provide a login name and password to connect to the remote PostgreSQL instance. In this case we have used the built-in Postgres super user account to keep things simple.

3662 Linked Server Creation2

Step 3: In the Server Options tab, choose the following options:

3662 Linked Server Creation3

Click OK. If the connection is successful, the Linked Server will be created without any error.

Expanding the Linked Server node in SQL Server Management Studio would show us the tables in the world database in PostgreSQL.

3662 Linked Server Access1

Access PostgreSQL Data from SQL Server

Now that we can see the remote data, let’s fetch it into SQL Server. Open a new query window in Management Studio, select the world database and execute the following commands:

The result should show 4079 rows have been copied. Next, execute this command:

This should show 239 rows have been copied.

To be sure, you can count the number of rows in the local tables.

Conclusion

So now we have it. We have created an ODBC connection against the remote PostgreSQL instance, created a linked server on top of it and then executed two commands to copy across the data. There was no need to export the source data into text files and importing them using BCP or BULK INSERT.

This process can obviously be automated via scripts and stored procedures that are called by SQL Server Integration Services Packages or SQL Server Agent Jobs. SQL Server doesn’t give us any option to create push or pull replication subscription against PostgreSQL databases.

We haven’t discussed data access speed via ODBC, nor have we discussed any migration pitfalls like data type mismatches. The idea was to show how SQL Server can access PostgreSQL data seamlessly. Executing any PostgreSQL functions or stored procedures from SQL Server is another area your data migration team may have to consider.

Next Steps

Источник

Connecting SQL Server Management Studio to PostgreSQL via ODBC Driver

Requirements

In order to avoid incorrect integration with MS SSMS, the working environment must meet the following conditions:

Connecting to PostgreSQL from SQL Server Management Studio using ODBC Driver for PostgreSQL

You can use the Microsoft SQL Server Management Studio to connect your PostgreSQL data to an SQL Server instance. Linked Server is a tool of MS SQL Server that allows to execute distributed queries to refer tables stored on non-SQL Server datbase in a single query. With linked servers, you can execute commands against different data sources such as PostgreSQL and merge them with your SQL Server database. You can create a linked server with one of these methods: by using the options in the Object Explorer or by executing stored procedures.

Below are major advantages of using SQL Server Linked Servers to connect to PostgreSQL:

How to configure a SQL Server Linked Server to connect to PostgreSQL

You can follow the steps to create a linked server for PostgreSQL in SQL Server Management Studio by using Object Explorer:

The linked server will appear under the Linked Servers in the Object Explorer Pane. You can now issue distributed queries and access PostgreSQL databases through SQL Server.

Retrieving Data From PostgreSQL

Disable the Allow inprocess option of MSDASQL OLE DB Provider for ODBC Drivers. For this, find the MSDASQL provider in the list of Linked Servers and double-click on it

msdasql

In the appeared Provider Options window, clear the Allow inprocess checkbox:

allowinprocess

Create a new Linked Server

newlinkedserver

Make sure to select Microsoft OLE DB Provider for ODBC Drivers and specify the following parameters:

provideroptions

The PostgreSQL tables are already available to be fetched. To query the linked server, click New Query in the toolbar:

newquery

Enter your SQL query in the editor window and click Execute to run the query:

SSMS SQL

As a result, you can see the contents of the selected table retrieved directly from the PostgreSQL account you are connected to.

Attention

If the Linked Server was created with the Allow inprocess option enabled, then you should delete this Linked Server and create it again with the Allow inprocess option disabled.

Источник

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Asked
14 years, 2 months ago

Viewed
25k times

3 Answers

answered Dec 1, 2008 at 23:25

Arthur Thomas's user avatar

Arthur ThomasArthur Thomas

5,0581 gold badge25 silver badges31 bronze badges

1

  • What makes most of these «connectors» cost? Why would I ever use one over the standard?

    Jun 25, 2018 at 20:34

dotConnect for PostgreSQL (from Devart) offers a pretty good one. It is fast and works. The free version will give you your basic ADO.net support, the pay offers everything else. ODBC doesn’t have a free version.
http://www.devart.com/dotconnect/postgresql/
edit
Adding the direct link to the ODBC connector as it is on a separate page.
https://www.devart.com/odbc/postgresql/

answered Apr 5, 2012 at 19:06

Stradas's user avatar

StradasStradas

1,72816 silver badges17 bronze badges

3

  • I guess some one did not like the devart tool and down voted my answer. But the answer isn’t any less correct. This site isn’t an editorial on your religious feelings on open source vs proprietary code. Its about answering the questions.

    Dec 21, 2015 at 16:19

  • dotConnect for PostgreSQL does not appear to include an OLEDB nor ODBC driver. It is a native library for accessing PostgreSQL.

    Mar 9, 2018 at 18:23

  • I answered this a long time ago. It used to be all in one section. It has been split up. You just have to navigate to the other part of the website. They do have a ODBC connector too.

    Jun 25, 2018 at 20:18

If you want to check the last version of ODBC for PosgreSQL :
http://www.postgresql.org/ftp/odbc/versions/

Enter in the «msi» folder for the installer.
But be careful, when you are using ODBC, there is a 32bits and a 64bits version. So choose the right one.

answered May 30, 2013 at 10:35

gokan's user avatar

gokangokan

9681 gold badge10 silver badges30 bronze badges

  • The Overflow Blog
  • Featured on Meta

Linked

Related

Hot Network Questions

  • Is the Law eternal?

  • Scooped up for military research: How realistic is it in this day and age?

  • Why are atoms electrically neutral?

  • Do famous people really have the power to ruin the career of unrelated researchers?

  • On the proof of the following property about distribution functions

  • How to make this table nicer

  • I’m in charge of a project, but one of the directors disapproves it. How should I approach the CEO about this?

  • Does the creative commons CC BY-SA license make it mandatory to share derived work

  • Number of ways of distributing 4 apples and 6 mangoes to 8 children so that each child receives at least one fruit

  • How can I make a presentation board rough or sticky?

  • 1000 digit sum calculation puzzle

  • Star Trek episode involving an old person who was buried alive/dying on a moon or asteroid because he reached a certain age

  • Are there countries that put state-owned enterprises under the ownership of the legislature instead of the executive?

  • If Sauron wins eventually without the Ring, why weren’t Elrond/Gandalf in panic mode before Frodo showed up?

  • How to stop a player from looking up monster stat blocks in combat?

  • Should we acknowledge manufacturers who provided free samples in a publication?

  • Why are there 23 members of the grand jury?

  • How can I differentiate between high and high-Z state?

  • What are examples of problems we know how to solve for primes (or prime powers), but not for composites?

  • Can I trick an innocent third party into doing something that would be illegal if the third party had mens rea without either of us being guilty?

  • Fix Kerning Internal to a Unicode Character

  • I want to run ethernet through the second floor (down into the first). How do I fish in the dark and insulated joist space?

  • Comment qualifier le « (offset) cube (displaced a metre from the main vertical axis ) » d’un immeuble ?

  • Accessing individual elements of GeometryCollection with shapely >= 2.0.0

more hot questions

Question feed

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

  • Remove From My Forums
  • Вопрос

  • Hello:

    I am using VS 2019 and trying to move data from SQL Server to PostgreSQL 11.3. When I try to create a OLE DB Destination pointing to a PostgreSQL database using PostgresSQL Ole DB Provider, the initial Catalog is disabled. 

    Can someone tell me how I can enable it so I can choose the database table I am interested in?

    As you may know, PostgreSQL structure is quite different. It can have multiple databases and each database can have any schemas.

    Thank you.

    Venki

Ответы

  • Hi Venki,

    I do not think the OLEDB driver you use is the appropriate one because as far as I know the PostgreSQL maintainers did not implement support for the Microsoft’s stock OLDEDB driver.

    I know one exists as a commercial offering
    https://www.postgresql.org/download/products/2-drivers-and-interfaces/

    Long story short, the approach I (and looks many others) successfully used is ODBC.
    Please see
    https://stackoverflow.com/questions/1370326/migrate-data-from-ms-sql-to-postgresql

    that lists the following instructions:

        Firstly, you need to install the PostgreSQL ODBC Driver for Windows. It’s very important to install the correct version in terms of CPU arch (x86/x64).

        Inside Management Studio, Right click on your database: Tasks -> Export Data

        Choose SQL Server Native Client as the data source.

        Choose .Net Framework Data Provider for ODBC as the destination driver.

        Set the Connection String to your database in the following form:

        Driver={PostgreSQL ODBC Driver(UNICODE)};Server=;Port=;Database=;UID=;PWD=

        In the next page, you just need to select which tables you want to export. SQL Server will generate a default mapping and you are free to edit it. Probably you`ll encounter some Type Mismatch problems which take some time to solve. For example,
    if you have a boolean column in SQL Server you should export it as int4.


    • Предложено в качестве ответа

      3 июня 2019 г. 1:49

    • Помечено в качестве ответа
      TheVenkster
      18 июня 2019 г. 10:40

  • Hi Venki,

    The following links will be helpful.

    SSIS: Connect to PostgreSQL

    Connect to a PostgreSQL Data Source

    Best Regards,

    Mona Lv


    MSDN Community Support
    Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
    MSDN Support, feel free to contact MSDNFSF@microsoft.com

    • Помечено в качестве ответа
      TheVenkster
      18 июня 2019 г. 10:40

Понравилась статья? Поделить с друзьями:

Вот еще несколько интересных статей:

  • Power automate что это windows 11
  • Postgres change password for postgres user windows
  • Power 4 gear utility скачать для windows 10
  • Postgis control no such file or directory windows
  • Powemet a attk как удалить windows 10

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии