did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780071485623

PostgreSQL 8 for Windows

by
  • ISBN13:

    9780071485623

  • ISBN10:

    0071485627

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2007-04-12
  • Publisher: McGraw-Hill Education

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $55.00 Save up to $13.75
  • Buy Used
    $41.25
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

There have been more than 1 million downloads of PostgreSQL 8.1--two-thirds of these for the Windows platform This is the first distribution of the software geared toward Windows There is no other existing documentation for this product

Author Biography

Richard Blum has been a network and systems administrator for more than 17 years for a large government organization.

Table of Contents

Acknowledgmentsp. xi
Introductionp. xiii
Installation and Administration
What Is PostgreSQL?p. 3
The Open Source Movementp. 4
The History of PostgreSQLp. 5
Comparing PostgreSQLp. 8
PostgreSQL Versus Microsoft Accessp. 8
PostgreSQL Versus Commercial DBMS Productsp. 12
PostgreSQL Featuresp. 13
Transaction Supportp. 13
ACID Compliantp. 14
Nested Transactionsp. 18
Sub-selectsp. 18
Viewsp. 18
Rulesp. 20
Triggersp. 20
Support for Binary Large Objects (BLOBs)p. 20
User-Defined Typesp. 21
Rolesp. 21
Table Partitioningp. 22
Generalized Search Tree (GiST)p. 24
Summaryp. 24
Installing PostgreSQL on Windowsp. 25
System Requirementsp. 26
Windows Workstationsp. 26
Windows Serversp. 29
Downloading PostgreSQLp. 33
Installing PostgreSQLp. 35
Installation Options Windowp. 36
Service Configuration Windowp. 39
Initialise Database Cluster Windowp. 40
Enable Procedural Languages Windowp. 42
Enable Contrib Modules Windowp. 43
Finish the Installp. 44
Running PostgreSQLp. 46
Service Methodp. 46
Manual Methodp. 47
Summaryp. 48
The PostgreSQL Files and Programsp. 49
The PostgreSQL Directoryp. 50
Database Cluster Directoryp. 50
Configuration Filesp. 53
The postgresql.conf Filep. 54
The pg_hba.conf Filep. 70
The pg_ident.conf Filep. 74
Programsp. 75
PostgreSQL Server Commandsp. 75
SQL Wrapper Commandsp. 78
PostgreSQL Applicationsp. 79
Summaryp. 80
Managing PostgreSQL on Windowsp. 81
The pgAdmin III Programp. 82
Parts of the PostgreSQL Systemp. 83
Tablespacesp. 85
Databasesp. 86
Group Rolesp. 88
Login Rolesp. 89
Creating a New Applicationp. 89
Creating a New Databasep. 89
Creating a New Schemap. 91
Creating the Tablesp. 94
Entering and Viewing Datap. 101
The pgAdmin III Query Toolp. 104
Working with User Accountsp. 105
Creating Group Rolesp. 106
Creating Login Rolesp. 109
Testing Privilegesp. 111
Database Maintenancep. 112
Backups and Restoresp. 114
Performing a Backupp. 115
Restoring a Databasep. 116
Summaryp. 117
Using PostgreSQL in Windows
The psql Programp. 121
The psql Command-Line Formatp. 122
Connection Optionsp. 122
Feature Optionsp. 123
Using the Command-Line Optionsp. 126
The psql Meta-commandsp. 127
psql General Meta-commandsp. 128
Query Buffer Meta-commandsp. 131
Input/Output Meta-commandsp. 132
Informational Meta-commandsp. 133
Formatting Meta-commandsp. 135
Copy and Large Object Meta-commandsp. 136
The psqlrc.conf Filep. 138
Importing Data with psqlp. 139
Summaryp. 140
Using Basic SQLp. 141
The SQL Query Languagep. 142
SQL Historyp. 142
SQL Formatp. 142
Creating Objectsp. 146
Creating a Databasep. 146
Creating a Schemap. 148
Creating a Tablep. 149
Creating Group and Login Rolesp. 154
Assigning Privilegesp. 155
Handling Datap. 158
Inserting Datap. 158
Modifying Datap. 159
Deleting Datap. 161
Querying Datap. 162
The Basic Query Formatp. 162
Writing Advanced Queriesp. 164
Summaryp. 167
Using Advanced SQLp. 169
Revisiting the Select Commandp. 170
The Distinct Clausep. 171
The Select Listp. 171
The From Clausep. 172
The Where Clausep. 174
The Group By Clausep. 174
The Having Clausep. 175
The Set Operation Clausesp. 175
The Order By Clausep. 176
The Limit Clausep. 176
The For Clausep. 177
Table Viewsp. 177
Table Indexesp. 179
Why Use Indexes?p. 180
Creating an Indexp. 180
Determining the Index Methodp. 183
Transactionsp. 185
Basic Transactionsp. 186
Advanced Transactionsp. 187
Cursorsp. 189
Creating a Cursorp. 189
Using a Cursorp. 190
Summaryp. 194
PostgreSQL Functionsp. 195
What Is a Function?p. 196
Operatorsp. 196
Built-in Functionsp. 205
String Functionsp. 206
Date and Time Functionsp. 209
Math Functionsp. 211
Aggregate Functionsp. 211
Summaryp. 214
Stored Procedures and Triggersp. 215
PostgreSQL Procedural Languagesp. 216
Types of Functionsp. 217
The PL/pgSQL Languagep. 217
Creating a PL/pgSQL Functionp. 218
Creating a Stored Procedure Using pgAdmin IIIp. 222
PL/pgSQL Function Codep. 225
Triggersp. 227
Trigger Function Formatp. 228
Creating a Trigger Functionp. 229
Testing the Trigger Functionp. 232
Summaryp. 232
Securityp. 235
Controlling Network Usersp. 236
Controlling Access via Firewallsp. 236
Controlling Access via Configuration Filesp. 239
Testing Remote Connectivityp. 241
Encrypting Network Sessionsp. 242
Enabling SSL in PostgreSQLp. 244
Encryption Keys and Certificatesp. 244
Creating an SSL Encryption Keyp. 245
Testing SSL Encryptionp. 248
Monitoring Usersp. 249
Summaryp. 250
Performancep. 251
Enhancing Query Performancep. 252
The Explain Commandp. 252
Using pgAdmin III to Evaluate Queriesp. 255
The postgresql.conf Performance Parametersp. 257
Query Tuningp. 257
Resource Usagep. 259
Runtime Statisticsp. 260
Summaryp. 261
Windows Programming with PostgreSQL
Microsoft Access and PostgreSQLp. 265
Interfacing PostgreSQL with Accessp. 266
Installing the ODBC Driverp. 266
Configuring a PostgreSQL ODBC Connectionp. 269
Creating an Access Application Using PostgreSQLp. 275
Data Type Considerationsp. 275
Designing an Application Databasep. 276
Setting Up the ODBC Sessionp. 277
Creating the Access Applicationp. 278
Using PostgreSQL Views in Accessp. 282
Sharing the Applicationp. 284
Exporting an Access Application to PostgreSQLp. 284
Summaryp. 286
Microsoft .NET Frameworkp. 287
The Microsoft .NET Frameworkp. 288
Creating a .NET Development Environmentp. 289
Downloading the .NET Packagesp. 290
Installing the .NET Packagesp. 290
Integrating the Npgsql Libraryp. 292
Downloading Npgsqlp. 293
Installing the Npgsql Libraryp. 294
Creating .NET Applications with Npgsqlp. 294
The Npgsql Libraryp. 295
The NpgsqlConnection Classp. 296
The NpgsqlCommand Classp. 300
The NpgsqlParameterCollection Classp. 309
Summaryp. 311
Visual C++p. 313
The Visual C++ Programming Environmentp. 314
Visual C++ Express Editionp. 314
Downloading and Installing Visual C++ Express Editionp. 315
Installing the Microsoft Platform SDKp. 319
The libpq Libraryp. 322
The libpq Functionsp. 325
Opening and Closing Sessionsp. 325
Executing SQL Commandsp. 330
Using Parametersp. 338
Summaryp. 342
Javap. 343
The Java Development Environmentp. 344
Downloading the Java SDKp. 345
Installing the Java SDKp. 346
Building a Java Program Using NetBeansp. 348
PostgreSQL JDBC Driverp. 350
Using JDBC in a NetBeans Applicationp. 352
Using JDBC in a Java Command-Line Applicationp. 353
Java Database Connectivityp. 354
Starting a Connectionp. 354
Sending SQL Commandsp. 356
Using Parameters and Prepared Statementsp. 362
Summaryp. 365
Indexp. 367
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program