Index

Symbols

$libdir, Dynamic Loading
.pgpass, The Password File

A

aggregate, Aggregate Functions
aggregate functions, Aggregate Expressions
extending, User-Defined Aggregates
alias
see label
for table name in query, Joins Between Tables
all, Subquery Expressions, Row and Array Comparisons
and
operator, Logical Operators
any, Pseudo-Types, Subquery Expressions, Row and Array Comparisons
anyarray, Pseudo-Types
anyelement, Pseudo-Types
array
of user-defined type, User-Defined Types
arrays, Arrays
constants, Array constants
constructors, Array Constructors
Australian time zones, Locale and Formatting
auto-increment
see serial
average, Aggregate Functions
function, Aggregate Functions

B

B-tree
see indexes
backup, Backup and Restore
between, Comparison Operators
bigint, Numeric Types
bigserial, Serial Types
binary strings
concatenation, Binary String Functions and Operators
length, Binary String Functions and Operators
bison, Requirements
bit strings
constants, Bit-String Constants
data type, Bit String Types
BLOB
see large object
Boolean
data type, Boolean Type
operators
see operators, logical
box (data type), Boxes
BSD/OS, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions

C

case, Conditional Expressions
case sensitivity
SQL commands, Identifiers and Key Words
character set, Character Set Support
character set encoding, Locale and Formatting
character strings
concatenation, String Functions and Operators
constants, String Constants
data types, Character Types
length, String Functions and Operators
cid, Object Identifier Types
cidr, cidr
circle, Circles
client authentication, Client Authentication
cluster, Concepts
column, Concepts
columns
system columns, System Columns
col_description, Miscellaneous Functions
comments
in SQL, Comments
comparison
operators, Comparison Operators
concurrency, Concurrency Control
conditionals, Conditional Expressions
configuration
server, Miscellaneous Functions, Run-time Configuration
configure, Installation Procedure
constants, Constants
COPY, Populating a Table With Rows
with libpq, Functions Associated with the COPY Command
count, Aggregate Functions
CREATE TABLE, Creating a New Table
createdb, Creating a Database
crypt, Password authentication
cstring, Pseudo-Types
currval, Sequence-Manipulation Functions

D

data area
see database cluster
data types, Data Types, The PostgreSQL Type System
constants, Constants of Other Types
extending, User-Defined Types
numeric, Numeric Types
type casts, Type Casts
database, Managing Databases
creating, Creating a Database
database cluster, Creating a Database Cluster
date
constants, Special Values
current, Current Date/Time
data type, Dates
output format, Date/Time Output
see also Formatting
date style, Locale and Formatting
deadlock
timeout, Lock Management
decimal
see numeric
DELETE, Deletions
Digital UNIX
see Tru64 UNIX
dirty read, Transaction Isolation
disk space, Recovering disk space
disk usage, Determining Disk Usage
display
of float numbers, Locale and Formatting
DISTINCT, Querying a Table, DISTINCT
double precision, Numeric Types
DROP TABLE, Creating a New Table
duplicate, Querying a Table
dynamic loading, Other Defaults
dynamic_library_path, Other Defaults, Dynamic Loading

E

elog, Reporting Errors Within the Server
PL/Perl, Database Access from PL/Perl
PL/Tcl, Database Access from PL/Tcl
embedded SQL
in C, ECPG - Embedded SQL in C
environment variables, Environment Variables
ereport, Reporting Errors Within the Server
error message, Connection Status Functions
escaping binary strings, Escaping Binary Strings for Inclusion in SQL Commands
escaping strings, Escaping Strings for Inclusion in SQL Commands
except, Combining Queries
exists, Subquery Expressions
extending SQL, Extending SQL
types, The PostgreSQL Type System

F

false, Boolean Type
flex, Requirements
float4
see real
float8
see double precision
floating point, Numeric Types
foreign key, Foreign Keys
formatting, Data Type Formatting Functions
FreeBSD, Starting the Database Server, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
fsync, Settings
function, User-Defined Functions
internal, Internal Functions
SQL, Query Language (SQL) Functions
functions, Functions and Operators

G

genetic query optimization, Genetic Query Optimizer
GEQO
see genetic query optimization
get_bit, Binary String Functions and Operators
get_byte, Binary String Functions and Operators
group, The GROUP BY and HAVING Clauses
GROUP BY, Aggregate Functions

H

hash
see indexes
has_database_privilege, Miscellaneous Functions
has_function_privilege, Miscellaneous Functions
has_language_privilege, Miscellaneous Functions
has_schema_privilege, Miscellaneous Functions
has_table_privilege, Miscellaneous Functions
HAVING, Aggregate Functions
hierarchical database, Concepts
HP-UX, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions

I

ident, Ident-based authentication
identifiers, Identifiers and Key Words
in, Subquery Expressions, Row and Array Comparisons
index scan, Planner Method Enabling
indexes, Indexes
B-tree, Index Types
hash, Index Types
multicolumn, Multicolumn Indexes
on expressions, Indexes on Expressions
partial, Partial Indexes
R-tree, Index Types
unique, Unique Indexes
inet (data type), inet
information schema, The Information Schema
inheritance, Inheritance, Previous Postgres Versions
initlocation, Alternative Locations
input function, User-Defined Types
INSERT, Populating a Table With Rows
installation, Installation Instructions
on Windows, Requirements, Installation on Windows
int2
see smallint
int4
see integer
int8
see bigint
integer, Numeric Types
internal, Pseudo-Types
intersection, Combining Queries
interval, Intervals
IRIX, Compiling and Linking Dynamically-Loaded Functions
IS NULL, Platform and Client Compatibility
isolation levels, Transaction Isolation
read committed, Read Committed Isolation Level
serializable, Serializable Isolation Level

J

join, Joins Between Tables
outer, Joins Between Tables
self, Joins Between Tables
joins, Joined Tables
cross, Joined Tables
left, Joined Tables
natural, Joined Tables
outer, Joined Tables

K

Kerberos, Kerberos authentication
key words
list of, SQL Key Words
syntax, Identifiers and Key Words

L

label
column, Column Labels
table, Table and Column Aliases
language_handler, Pseudo-Types
Large Object, Overview
large object, Large Objects
ldconfig, Shared Libraries
length
binary strings
see binary strings, length
character strings
see character strings, length
libperl, Requirements
libpgtcl, pgtcl - Tcl Binding Library
libpq, libpq - C Library
libpq-fe.h, Connection Status Functions
libpq-int.h, Connection Status Functions, Building libpq Programs
libpython, Requirements
like, LIKE
limit, LIMIT and OFFSET
line, Line Segments
Linux, Starting the Database Server, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
locale, Creating a Database Cluster, Locale Support
locking, Explicit Locking
log files, Log File Maintenance

M

MAC address
see macaddr
macaddr (data type), macaddr
MacOS X, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
make, Requirements
MANPATH, Environment Variables
see also man pages
max, Aggregate Functions
MD5, Password authentication
min, Aggregate Functions
missing from, Previous Postgres Versions

N

names
qualified, Creating a Schema
unqualified, The Schema Search Path
namespaces, Schemas
NetBSD, Starting the Database Server, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
network
addresses, Network Address Types
nextval, Sequence-Manipulation Functions
nonblocking connection, Database Connection Control Functions, Asynchronous Command Processing
nonrepeatable read, Transaction Isolation
not
operator, Logical Operators
not in, Subquery Expressions, Row and Array Comparisons
notice processor, Notice Processing
notice receiver, Notice Processing
NOTIFY, Asynchronous Notification
in pgtcl, Description
nullif, NULLIF
numeric
constants, Numeric Constants
numeric (data type), Numeric Types

O

object identifier
data type, Object Identifier Types
object-oriented database, Concepts
obj_description, Miscellaneous Functions
offset
with query results, LIMIT and OFFSET
OID, System Columns, Object Identifier Types
opaque, Pseudo-Types
OpenBSD, Starting the Database Server, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
OpenSSL, Installation Procedure
see also SSL
operators, Functions and Operators
logical, Logical Operators
precedence, Lexical Precedence
syntax, Operators
or
operator, Logical Operators
Oracle, Porting from Oracle PL/SQL
ORDER BY, Querying a Table, Benefits
ordering operator, System Dependencies on Operator Classes
output function, User-Defined Types
overlay, String Functions and Operators
overloading, Function Overloading

P

password, Password authentication
password file, The Password File
PATH, Environment Variables
for schemas, Statement Behavior
path (data type), Paths
pattern matching, Pattern Matching
Perl, PL/Perl - Perl Procedural Language
PGCLIENTENCODING, Environment Variables
PGCONNECT_TIMEOUT, Environment Variables
PGDATA, Creating a Database Cluster
PGDATABASE, Environment Variables
PGDATESTYLE, Environment Variables
PGGEQO, Environment Variables
PGHOST, Environment Variables
PGHOSTADDR, Environment Variables
PGOPTIONS, Environment Variables
PGPASSWORD, Environment Variables
PGPORT, Environment Variables
PGREALM, Environment Variables
PGREQUIRESSL, Environment Variables
PGSERVICE, Environment Variables
PGSSLMODE, Environment Variables
pgtcl, pgtcl - Tcl Binding Library
PGTZ, Environment Variables
PGUSER, Environment Variables
pg_aggregate, pg_aggregate
pg_am, pg_am
pg_amop, pg_amop
pg_amproc, pg_amproc
pg_attrdef, pg_attrdef
pg_attribute, pg_attribute
pg_cast, pg_cast
pg_class, pg_class
pg_config, Building libpq Programs, Writing Code
pg_conndefaults, pg_conndefaults
pg_connect, pg_connect
pg_constraint, pg_constraint
pg_conversion, pg_conversion
pg_conversion_is_visible, Miscellaneous Functions
pg_ctl, Starting the Database Server
pg_database, pg_database
pg_depend, pg_depend
pg_description, pg_description
pg_disconnect, pg_disconnect
pg_dumpall, If You Are Upgrading
pg_exec, pg_exec
pg_execute, pg_execute
pg_function_is_visible, Miscellaneous Functions
pg_get_constraintdef, Miscellaneous Functions
pg_get_expr, Miscellaneous Functions
pg_get_indexdef, Miscellaneous Functions
pg_get_ruledef, Miscellaneous Functions
pg_get_triggerdef, Miscellaneous Functions
pg_get_userbyid, Miscellaneous Functions
pg_get_viewdef, Miscellaneous Functions
pg_group, pg_group
pg_hba.conf, The pg_hba.conf file
pg_ident.conf, Ident Maps
pg_index, pg_index
pg_inherits, pg_inherits
pg_language, pg_language
pg_largeobject, pg_largeobject
pg_listen, pg_listen
pg_listener, pg_listener
pg_lo_close, pg_lo_close
pg_lo_creat, pg_lo_creat
pg_lo_export, pg_lo_export
pg_lo_import, pg_lo_import
pg_lo_lseek, pg_lo_lseek
pg_lo_open, pg_lo_open
pg_lo_read, pg_lo_read
pg_lo_tell, pg_lo_tell
pg_lo_unlink, pg_lo_unlink
pg_lo_write, pg_lo_write
pg_namespace, pg_namespace
pg_on_connection_loss, pg_on_connection_loss
pg_opclass, pg_opclass
pg_opclass_is_visible, Miscellaneous Functions
pg_operator, pg_operator
pg_operator_is_visible, Miscellaneous Functions
pg_proc, pg_proc
pg_result, pg_result
pg_rewrite, pg_rewrite
pg_select, pg_select
pg_shadow, pg_shadow
pg_statistic, pg_statistic
pg_table_is_visible, Miscellaneous Functions
pg_trigger, pg_trigger
pg_type, pg_type
pg_type_is_visible, Miscellaneous Functions
phantom read, Transaction Isolation
PIC, Compiling and Linking Dynamically-Loaded Functions
PL/Perl, PL/Perl - Perl Procedural Language
PL/pgSQL, PL/pgSQL - SQL Procedural Language
PL/Python, PL/Python - Python Procedural Language
PL/SQL, Porting from Oracle PL/SQL
PL/Tcl, PL/Tcl - Tcl Procedural Language
point, Points
polygon, Polygons
polymorphic functions, Polymorphic Types and Functions
polymorphic types, Polymorphic Types and Functions
port, Connection Settings
postgres user, The PostgreSQL User Account
postmaster, Architectural Fundamentals, Starting the Database Server
preload_libraries, Kernel Resource Usage
ps
to monitor activity, Standard Unix Tools
psql, Accessing a Database
Python, PL/Python - Python Procedural Language

Q

qualified names, Creating a Schema
query, Querying a Table
quotes
and identifiers, Identifiers and Key Words
escaping, String Constants

R

R-tree
see indexes
range table, The Query Tree
read-only transaction, Statement Behavior
readline, Requirements
real, Numeric Types
record, Pseudo-Types
referential integrity, Foreign Keys
regclass, Object Identifier Types
regoper, Object Identifier Types
regoperator, Object Identifier Types
regproc, Object Identifier Types
regprocedure, Object Identifier Types
regression test, Installation Procedure
regtype, Object Identifier Types
regular expressions, SIMILAR TO and SQL99 Regular Expressions, Previous Postgres Versions, POSIX Regular Expressions
see also pattern matching
reindex, Routine Reindexing
relation, Concepts
relational database, Concepts
row, Concepts
rules, The Rule System
and views, Views and the Rule System

S

schema
current, Miscellaneous Functions
schemas, Schemas
SCO OpenServer, Shared Memory and Semaphores
search path, The Schema Search Path
current, Miscellaneous Functions
search_path, Statement Behavior
SELECT, Querying a Table
select list, Select Lists
semaphores, Shared Memory and Semaphores
sequences, Sequence-Manipulation Functions
and serial type, Serial Types
sequential scan, Planner Method Enabling
serial, Serial Types
serial4, Serial Types
serial8, Serial Types
SET, Miscellaneous Functions
SETOF, Query Language (SQL) Functions
see also function
setval, Sequence-Manipulation Functions
set_bit, Binary String Functions and Operators
set_byte, Binary String Functions and Operators
shared libraries, Shared Libraries
shared memory, Shared Memory and Semaphores
SHMMAX, Shared Memory and Semaphores
SHOW, Miscellaneous Functions
SIGHUP, Run-time Configuration, The pg_hba.conf file, Ident Maps
significant digits, Locale and Formatting
similar to, SIMILAR TO and SQL99 Regular Expressions
sliced bread
see TOAST
smallint, Numeric Types
Solaris, Starting the Database Server, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
some, Subquery Expressions, Row and Array Comparisons
sorting
query results, Sorting Rows
SPI
allocating space, SPI_palloc, SPI_repalloc, SPI_pfree, SPI_freetuple, SPI_freetuptable, SPI_freeplan
connecting, SPI_connect, SPI_prepare, SPI_execp, SPI_saveplan
copying tuple descriptors, SPI_copytupledesc
copying tuples, SPI_copytuple, SPI_copytupleintoslot
cursors, SPI_cursor_open, SPI_cursor_find, SPI_cursor_fetch, SPI_cursor_move, SPI_cursor_close
decoding tuples, SPI_fnumber, SPI_fname, SPI_getvalue, SPI_getbinval, SPI_gettype, SPI_gettypeid, SPI_getrelname
disconnecting, SPI_finish
executing, SPI_exec
modifying tuples, SPI_modifytuple
SPI_connect, SPI_connect
SPI_copytuple, SPI_copytuple
SPI_copytupledesc, SPI_copytupledesc
SPI_copytupleintoslot, SPI_copytupleintoslot
SPI_cursor_close, SPI_cursor_close
SPI_cursor_fetch, SPI_cursor_fetch
SPI_cursor_find, SPI_cursor_find
SPI_cursor_move, SPI_cursor_move
SPI_cursor_open, SPI_cursor_open
SPI_exec, SPI_exec
SPI_execp, SPI_execp
SPI_finish, SPI_finish
SPI_fname, SPI_fname
SPI_fnumber, SPI_fnumber
SPI_freeplan, SPI_freeplan
SPI_freetuple, SPI_freetuple
SPI_freetuptable, SPI_freetuptable
SPI_getbinval, SPI_getbinval
SPI_getrelname, SPI_getrelname
SPI_gettype, SPI_gettype
SPI_gettypeid, SPI_gettypeid
SPI_getvalue, SPI_getvalue
spi_lastoid, Database Access from PL/Tcl
SPI_modifytuple, SPI_modifytuple
SPI_palloc, SPI_palloc
SPI_pfree, SPI_pfree
SPI_prepare, SPI_prepare
SPI_repalloc, SPI_repalloc
SPI_saveplan, SPI_saveplan
ssh, Secure TCP/IP Connections with SSH Tunnels
SSL, Security and Authentication, Secure TCP/IP Connections with SSL, Connection Status Functions
standard deviation, Aggregate Functions
statistics, The Statistics Collector
strings
see character strings
subqueries, Subqueries, Subquery Expressions
subquery, Aggregate Functions
substring, String Functions and Operators, Binary String Functions and Operators, SIMILAR TO and SQL99 Regular Expressions
sum, Aggregate Functions
superuser, Accessing a Database
syntax
SQL, SQL Syntax

T

table, Concepts
table function, Table Functions
Tcl, pgtcl - Tcl Binding Library, PL/Tcl - Tcl Procedural Language
TCP/IP, Starting the Database Server
text
see character strings
threads
with libpq, Threading Behavior
tid, Object Identifier Types
time
constants, Special Values
current, Current Date/Time
data type, Times
output format, Date/Time Output
see also Formatting
time with time zone
data type, Times
time without time zone
time, Times
time zone, Locale and Formatting
conversion, AT TIME ZONE
time zones, Time Zones, Date/Time Key Words
timeout
authentication, Security and Authentication
deadlock, Lock Management
timestamp
data type, Time Stamps
timestamp with time zone
data type, Time Stamps
timestamp without time zone
data type, Time Stamps
TOAST, History
and user-defined types, User-Defined Types
transaction ID
wraparound, Preventing transaction ID wraparound failures
transaction isolation level, Statement Behavior
transactions, Transactions
trigger, Pseudo-Types
triggers
in PL/Tcl, Trigger Procedures in PL/Tcl
Tru64 UNIX, Compiling and Linking Dynamically-Loaded Functions
true, Boolean Type
types
see data types

U

union, Combining Queries
UnixWare, Shared Memory and Semaphores, Compiling and Linking Dynamically-Loaded Functions
unqualified names, The Schema Search Path
UPDATE, Updates
upgrading, If You Are Upgrading, Migration between releases
user
current, Miscellaneous Functions

V

vacuum, Routine Vacuuming
variance, Aggregate Functions
version, Accessing a Database, Miscellaneous Functions
view, Views
views
updating, Cooperation with Views
void, Pseudo-Types

W

where, The WHERE Clause

X

xid, Object Identifier Types

Y

yacc, Requirements