Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
5Activity
×

Table Of Contents

Chapter 1. Introduction
Resources
Terminology
Notation
Problem Reporting Guidelines
Identifying Bugs
What to report
Where to report bugs
Y2K Statement
Copyrights and Trademarks
Chapter 2. Architecture
Postgres Architectural Concepts
Chapter 3. Extending SQL: An Overview
How Extensibility Works
The Postgres Type System
About the Postgres System Catalogs
Table 3-1. Postgres System Catalogs
Chapter 4. Extending SQL: Functions
Query Language (SQL) Functions
SQL Functions on Base Types
SQL Functions on Composite Types
Procedural Language Functions
Internal Functions
Compiled (C) Language Functions
C Language Functions on Base Types
Table 4-1. Equivalent C Types for Built-In Postgres Types
C Language Functions on Composite Types
Writing Code
Function Overloading
Name Space Conflicts
Chapter 5. Extending SQL: Types
User-Defined Types
Functions Needed for a User-Defined Type
Large Objects
Chapter 6. Extending SQL: Operators
Operator Optimization Information
COMMUTATOR
NEGATOR
RESTRICT
JOIN
HASHES
SORT1 and SORT2
Chapter 7. Extending SQL: Aggregates
Chapter 8. The Postgres Rule System
What is a Querytree?
The Parts of a Querytree
Views and the Rule System
Implementation of Views in Postgres
How SELECT Rules Work
View Rules in Non-SELECT Statements
The Power of Views in Postgres
Implementation Side Effects
Rules on INSERT, UPDATE and DELETE
Differences to View Rules
How These Rules Work
Cooperation with Views
Rules and Permissions
Rules versus Triggers
Chapter 9. Interfacing Extensions To Indices
Table 9-2. B-tree Strategies
Chapter 10. Index Cost Estimation Functions
Chapter 11. GiST Indices
Chapter 12. Procedural Languages
Installing Procedural Languages
Chapter 13. Linking Dynamically-Loaded Functions
Linux
DEC OSF/1
SunOS 4.x, Solaris 2.x and HP-UX
Chapter 14. Triggers
Trigger Creation
Interaction with the Trigger Manager
Visibility of Data Changes
Examples
Chapter 15. Server Programming Interface
Interface Functions
SPI_connect
Name
Synopsis
Description
Usage
Algorithm
SPI_finish
SPI_exec
SPI_prepare
SPI_saveplan
SPI_execp
Interface Support Functions
SPI_copytuple
SPI_modifytuple
SPI_fnumber
SPI_fname
SPI_getvalue
SPI_getbinval
SPI_gettype
SPI_gettypeid
Closing a Large Object Descriptor
Built in registered functions
Accessing Large Objects from LIBPQ
Sample Program
Chapter 17. libpq - C Library
Database Connection Functions
Query Execution Functions
Asynchronous Query Processing
Fast Path
Asynchronous Notification
Functions Associated with the COPY Command
libpq Tracing Functions
libpq Control Functions
Environment Variables
Threading Behavior
Sample Programs
Sample Program 1
Sample Program 3
Chapter 18. libpq - C++ Binding Library
Control and Initialization
libpq++ Classes
Connection Class: PgConnection
Database Class: PgDatabase
Chapter 19. pgtcl - TCL Binding Library
Commands
Table 19-1. pgtcl Commands
pgtcl Command Reference Information
pg_connect
pg_disconnect
pg_conndefaults
pg_exec
pg_result
pg_select
pg_listen
pg_lo_creat
pg_lo_open
pg_lo_close
pg_lo_read
pg_lo_write
pg_lo_lseek
pg_lo_tell
pg_lo_unlink
pg_lo_import
pg_lo_export
Chapter 20. libpgeasy - Simplified C Binding Library
Chapter 21. ecpg - Embedded SQL in C
Why Embedded SQL?
The Concept
How To Use ecpg
Preprocessor
Library
Error handling
Limitations
Porting From Other RDBMS Packages
Installation
For the Developer
ToDo List
The Preprocessor
A Complete Example
The Library
Chapter 22. ODBC Interface
Background
Windows Applications
Writing Applications
Unix Installation
Building the Driver
Configuration Files
ApplixWare
Configuration
Common Problems
Debugging ApplixWare ODBC Connections
Running the ApplixWare Demo
Modifying the ApplixWare Demo
Useful Macros
Supported Platforms
Chapter 23. JDBC Interface
Building the JDBC Interface
Compiling the Driver
Installing the Driver
Preparing the Database for JDBC
Using the Driver
Importing JDBC
Loading the Driver
Connecting to the Database
Issuing a Query and Processing the Result
Using the Statement Interface
Using the ResultSet Interface
Performing Updates
Closing the Connection
Using Large Objects
Postgres Extensions to the JDBC API
Further Reading
Chapter 24. Lisp Programming Interface
Chapter 25. Postgres Source Code
Formatting
Chapter 26. Overview of PostgreSQL Internals
The Path of a Query
How Connections are Established
The Parser Stage
Parser
Chapter 27. pg_options
Chapter 28. Genetic Query Optimization in Database Systems
Query Handling as a Complex Optimization Problem
Genetic Algorithms (GA)
Genetic Query Optimization (GEQO) in Postgres
Future Implementation Tasks for Postgres GEQO
Basic Improvements
References
Chapter 29. Frontend/Backend Protocol
Overview
Protocol
Startup
Query
Function Call
Notification Responses
NotificationResponse
Cancelling Requests in Progress
Termination
Message Data Types
Message Formats
Chapter 30. Postgres Signals
Table 30-1. Postgres Signals
Chapter 31. gcc Default Optimizations
Chapter 32. Backend Interface
BKI File Format
General Commands
Macro Commands
Debugging Commands
Example
Chapter 33. Page Files
Page Structure
Table 33-1. Sample Page Layout
Files
Bugs
Appendix DG1. The CVS Repository
CVS Tree Organization
Getting The Source Via Anonymous CVS
Getting The Source Via CVSup
Preparing A CVSup Client System
Running a CVSup Client
Installing CVSup
Installation from Sources
Appendix DG2. Documentation
Documentation Roadmap
Table DG2-1. Postgres Documentation Products
The Documentation Project
Documentation Sources
Document Structure
Styles and Conventions
SGML Authoring Tools
Building Documentation
Manpages
Hardcopy Generation for v7.0
Text Hardcopy
Postscript Hardcopy
Toolsets
Linux RPM Installation
FreeBSD Installation
Debian Installation
Manual Installation of Tools
Alternate Toolsets
Bibliography
SQL Reference Books
PostgreSQL-Specific Documentation
Proceedings and Articles
0 of .
Results for:
No results containing your search query
P. 1
prog_postgresql

prog_postgresql

Ratings: (0)|Views: 6,688|Likes:
Published by Armin_Vera_Bec_5685

More info:

Published by: Armin_Vera_Bec_5685 on Jan 05, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

11/16/2012

pdf

text

original

You're Reading a Free Preview
Pages 7 to 122 are not shown in this preview.
You're Reading a Free Preview
Pages 134 to 159 are not shown in this preview.
You're Reading a Free Preview
Pages 166 to 270 are not shown in this preview.
You're Reading a Free Preview
Pages 277 to 331 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Ricardo Lima liked this
Obalogun liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->