Connecting to PostgreSQL from Windows Platforms

After following Damond Walker's series on PostgreSQL, you would now know how to install and administer a PostgreSQL server. This article shows you how to connect to the databases on the server from the Window platform.

provided by: 
Originally published at Internet.com


The purpose of this article is to show you how to connect to PostgreSQL (pgsql) from 32 bit Windows platforms (9X, NT, and 2000). This is important because for the time being the Windows platform outnumbers Linux on the desktop and as software developers we are more likely to be able to determine the backend portions of our application. The example I'll use will consist of converting a Microsoft Access application to pgsql. It's pretty easy to extend the knowledge in this article to just about any Windows application that can access ODBC enabled information.

Before you can try these examples yourself you will have to get the Win32 ODBC driver for pgsql from ftp://ftp.postgresql.org/pub/odbc/index.html. You'll want to click the "download' link on the lower left part of the page to go to the download section. There are caveats listed on the pages about which platforms the ODBC driver will work with. I've personally used this driver on NT Workstation and Server as well as Windows 2000 Professional without problem. You will have to download and install the driver before you can continue with the examples provided in the rest of the article. If you're interested in what makes an ODBC driver tick you will most certainly want to download the LGPL'ed source code as well...

Read article at Internet.com site
Related Articles
- XSLerator: A Visual Transformation Tool
Coming up with effective XSLT scripts is not a trivial task specially when complex transformations are involved and the source document has a complicated structure.
- "Just Add Linux": The Union of Commercial and Open Source Software into Existing Business Models
Regional Articles
- Connecting to PostgreSQL from Windows Platforms Alabama
- Connecting to PostgreSQL from Windows Platforms Alaska
- Connecting to PostgreSQL from Windows Platforms Arizona
- Connecting to PostgreSQL from Windows Platforms Arkansas
- Connecting to PostgreSQL from Windows Platforms California
- Connecting to PostgreSQL from Windows Platforms Colorado
- Connecting to PostgreSQL from Windows Platforms Connecticut
- Connecting to PostgreSQL from Windows Platforms DC
- Connecting to PostgreSQL from Windows Platforms Delaware
- Connecting to PostgreSQL from Windows Platforms Florida
- Connecting to PostgreSQL from Windows Platforms Georgia
- Connecting to PostgreSQL from Windows Platforms Hawaii
- Connecting to PostgreSQL from Windows Platforms Idaho
- Connecting to PostgreSQL from Windows Platforms Illinois
- Connecting to PostgreSQL from Windows Platforms Indiana
- Connecting to PostgreSQL from Windows Platforms Iowa
- Connecting to PostgreSQL from Windows Platforms Kansas
- Connecting to PostgreSQL from Windows Platforms Kentucky
- Connecting to PostgreSQL from Windows Platforms Louisiana
- Connecting to PostgreSQL from Windows Platforms Maine
- Connecting to PostgreSQL from Windows Platforms Maryland
- Connecting to PostgreSQL from Windows Platforms Massachusetts
- Connecting to PostgreSQL from Windows Platforms Michigan
- Connecting to PostgreSQL from Windows Platforms Minnesota
- Connecting to PostgreSQL from Windows Platforms Mississippi
- Connecting to PostgreSQL from Windows Platforms Missouri
- Connecting to PostgreSQL from Windows Platforms Montana
- Connecting to PostgreSQL from Windows Platforms Nebraska
- Connecting to PostgreSQL from Windows Platforms Nevada
- Connecting to PostgreSQL from Windows Platforms New Hampshire
- Connecting to PostgreSQL from Windows Platforms New Jersey
- Connecting to PostgreSQL from Windows Platforms New Mexico
- Connecting to PostgreSQL from Windows Platforms New York
- Connecting to PostgreSQL from Windows Platforms North Carolina
- Connecting to PostgreSQL from Windows Platforms North Dakota
- Connecting to PostgreSQL from Windows Platforms Ohio
- Connecting to PostgreSQL from Windows Platforms Oklahoma
- Connecting to PostgreSQL from Windows Platforms Oregon
- Connecting to PostgreSQL from Windows Platforms Pennsylvania
- Connecting to PostgreSQL from Windows Platforms Rhode Island
- Connecting to PostgreSQL from Windows Platforms South Carolina
- Connecting to PostgreSQL from Windows Platforms South Dakota
- Connecting to PostgreSQL from Windows Platforms Tennessee
- Connecting to PostgreSQL from Windows Platforms Texas
- Connecting to PostgreSQL from Windows Platforms Utah
- Connecting to PostgreSQL from Windows Platforms Vermont
- Connecting to PostgreSQL from Windows Platforms Virginia
- Connecting to PostgreSQL from Windows Platforms Washington
- Connecting to PostgreSQL from Windows Platforms West Virginia
- Connecting to PostgreSQL from Windows Platforms Wisconsin
- Connecting to PostgreSQL from Windows Platforms Wyoming
Related Articles
- "Just Add Linux": The Union of Commercial and Open Source Software into Existing Business Models
With open source taking off in the marketplace, new business models for vendors providing value-added services mix and match commercial and open technologies to increase market reach.
- XSLerator: A Visual Transformation Tool

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML