Running PostgreSQL on a Windows Host

The PostgreSQL developers reached a major milestone with the release of version 8.0. Starting with that release, PostgreSQL now runs as a native Windows application (inprior releases, PostgreSQL relied on the Cygwin package to provide a Unix-like environment on top of the Win32 subsystem). PostgreSQL version 8.0 runs as a true Windows application. The PostgreSQL server (that is, the postmaster) now runs as a Windows serviceyou can start and shutdown the PostgreSQL service through the Windows Control Panel.

Installing PostgreSQL version 8 is remarkably easy. If you've ever installed a commercial database on a Windows host, you'll be pleasantly surprised by the simplicity of the new PostgreSQL-for-Windows installer. Once you've installed PostgreSQL on a Windows host, you can manage the server (and your data files) using the same commands and tools that you would use on any other system. With the ODBC interface (see Chapter 12, "Using PostgreSQL from an ODBC Client Application"), the JDBC interface (see Chapter 13, "Using PostgreSQL from a Java Client Application"), and PostgreSQL's new .NET provider (see Chapter 18, "npqsql: The .NET Data Provider"), you can build PostgreSQL-enabled applications using any Windows-friendly programming environment.

In Chapter 21 I'll show you how to install PostgreSQL version 8.0 on a Windows host, and in Chapter 23 you'll learn how to secure PostgreSQL data, configuration, and program files against intruders.

Part I: General PostgreSQL Use

Introduction to PostgreSQL and SQL

Working with Data in PostgreSQL

PostgreSQL SQL Syntax and Use


Part II: Programming with PostgreSQL

Introduction to PostgreSQL Programming

Extending PostgreSQL


The PostgreSQL C APIlibpq

A Simpler C APIlibpgeasy

The New PostgreSQL C++ APIlibpqxx

Embedding SQL Commands in C Programsecpg

Using PostgreSQL from an ODBC Client Application

Using PostgreSQL from a Java Client Application

Using PostgreSQL with Perl

Using PostgreSQL with PHP

Using PostgreSQL with Tcl and Tcl/Tk

Using PostgreSQL with Python

Npgsql: The .NET Data Provider

Other Useful Programming Tools

Part III: PostgreSQL Administration

Introduction to PostgreSQL Administration

PostgreSQL Administration

Internationalization and Localization


Replicating PostgreSQL Data with Slony

Contributed Modules


PostgreSQL(c) The comprehensive guide to building, programming, and administering PostgreSQL databases
PostgreSQL(c) The comprehensive guide to building, programming, and administering PostgreSQL databases
ISBN: 735712573
Year: 2004
Pages: 261 © 2008-2020.
If you may any questions please contact us: