Tantor SE-1C#
Table of contents:
- Preface
- Part I. Tutorial
- Part II. The SQL Language
- Chapter 4. SQL Syntax
- Chapter 5. Data Definition
- 5.1. Table Basics
- 5.2. Default Values
- 5.3. Identity Columns
- 5.4. Generated Columns
- 5.5. Constraints
- 5.6. System Columns
- 5.7. Modifying Tables
- 5.8. Privileges
- 5.9. Row Security Policies
- 5.10. Schemas
- 5.11. Inheritance
- 5.12. Table Partitioning
- 5.13. Foreign Data
- 5.14. Other Database Objects
- 5.15. Dependency Tracking
- Chapter 6. Data Manipulation
- Chapter 7. Queries
- Chapter 8. Data Types
- 8.1. Numeric Types
- 8.2. Monetary Types
- 8.3. Character Types
- 8.4. Binary Data Types
- 8.5. Date/Time Types
- 8.6. Boolean Type
- 8.7. Enumerated Types
- 8.8. Geometric Types
- 8.9. Network Address Types
- 8.10. Bit String Types
- 8.11. Text Search Types
- 8.12. UUID Type
- 8.13. XML Type
- 8.14. JSON Types
- 8.15. Arrays
- 8.16. Composite Types
- 8.17. Range Types
- 8.18. Domain Types
- 8.19. Object Identifier Types
- 8.20. pg_lsn Type
- 8.21. Pseudo-Types
- Chapter 9. Functions and Operators
- 9.1. Logical Operators
- 9.2. Comparison Functions and Operators
- 9.3. Mathematical Functions and Operators
- 9.4. String Functions and Operators
- 9.5. Binary String Functions and Operators
- 9.6. Bit String Functions and Operators
- 9.7. Pattern Matching
- 9.8. Data Type Formatting Functions
- 9.9. Date/Time Functions and Operators
- 9.10. Enum Support Functions
- 9.11. Geometric Functions and Operators
- 9.12. Network Address Functions and Operators
- 9.13. Text Search Functions and Operators
- 9.14. UUID Functions
- 9.15. XML Functions
- 9.16. JSON Functions and Operators
- 9.17. Sequence Manipulation Functions
- 9.18. Conditional Expressions
- 9.19. Array Functions and Operators
- 9.20. Range/Multirange Functions and Operators
- 9.21. Aggregate Functions
- 9.22. Window Functions
- 9.23. Merge Support Functions
- 9.24. Subquery Expressions
- 9.25. Row and Array Comparisons
- 9.26. Set Returning Functions
- 9.27. System Information Functions and Operators
- 9.28. System Administration Functions
- 9.29. Trigger Functions
- 9.30. Event Trigger Functions
- 9.31. Statistics Information Functions
- Chapter 10. Type Conversion
- Chapter 11. Indexes
- 11.1. Introduction
- 11.2. Index Types
- 11.3. Multicolumn Indexes
- 11.4. Indexes and ORDER BY
- 11.5. Combining Multiple Indexes
- 11.6. Unique Indexes
- 11.7. Indexes on Expressions
- 11.8. Partial Indexes
- 11.9. Index-Only Scans and Covering Indexes
- 11.10. Operator Classes and Operator Families
- 11.11. Indexes and Collations
- 11.12. Examining Index Usage
- Chapter 12. Full Text Search
- Chapter 13. Concurrency Control
- Chapter 14. Performance Tips
- Chapter 15. Parallel Query
- Part III. Server Administration
- Chapter 16. Installation from Binaries
- Chapter 17. Server Setup and Operation
- 17.1. The Tantor SE-1C User Account
- 17.2. Creating a Database Cluster
- 17.3. Starting the Database Server
- 17.4. Managing Kernel Resources
- 17.5. Shutting Down the Server
- 17.6. Upgrading a Tantor SE-1C Cluster
- 17.7. Preventing Server Spoofing
- 17.8. Encryption Options
- 17.9. Secure TCP/IP Connections with SSL
- 17.10. Secure TCP/IP Connections with GSSAPI Encryption
- 17.11. Secure TCP/IP Connections with SSH Tunnels
- Chapter 18. Server Configuration
- 18.1. Setting Parameters
- 18.2. File Locations
- 18.3. Connections and Authentication
- 18.4. Resource Consumption
- 18.5. Write Ahead Log
- 18.6. Replication
- 18.7. Query Planning
- 18.8. Error Reporting and Logging
- 18.9. Run-time Statistics
- 18.10. Vacuuming
- 18.11. Client Connection Defaults
- 18.12. Lock Management
- 18.13. Version and Platform Compatibility
- 18.14. Error Handling
- 18.15. Preset Options
- 18.16. Customized Options
- 18.17. Developer Options
- 18.18. Short Options
- Chapter 19. Client Authentication
- 19.1. The pg_hba.conf File
- 19.2. User Name Maps
- 19.3. Authentication Methods
- 19.4. Trust Authentication
- 19.5. Password Authentication
- 19.6. GSSAPI Authentication
- 19.7. Ident Authentication
- 19.8. Peer Authentication
- 19.9. LDAP Authentication
- 19.10. RADIUS Authentication
- 19.11. Certificate Authentication
- 19.12. PAM Authentication
- 19.13. OAuth Authorization/Authentication
- 19.14. Authentication Problems
- Chapter 20. Database Roles
- Chapter 21. Managing Databases
- Chapter 22. Localization
- Chapter 23. Routine Database Maintenance Tasks
- Chapter 24. Backup and Restore
- Chapter 25. High Availability, Load Balancing, and Replication
- Chapter 26. Monitoring Database Activity
- Chapter 27. Reliability and the Write-Ahead Log
- Chapter 28. Logical Replication
- Chapter 29. Just-in-Time Compilation (JIT)
- Part IV. Client Interfaces
- Chapter 30. libpq — C Library
- 30.1. Database Connection Control Functions
- 30.2. Connection Status Functions
- 30.3. Command Execution Functions
- 30.4. Asynchronous Command Processing
- 30.5. Pipeline Mode
- 30.6. Retrieving Query Results in Chunks
- 30.7. Canceling Queries in Progress
- 30.8. The Fast-Path Interface
- 30.9. Asynchronous Notification
- 30.10. Functions Associated with the COPY Command
- 30.11. Control Functions
- 30.12. Miscellaneous Functions
- 30.13. Notice Processing
- 30.14. Event System
- 30.15. Environment Variables
- 30.16. The Password File
- 30.17. The Connection Service File
- 30.18. LDAP Lookup of Connection Parameters
- 30.19. SSL Support
- 30.20. OAuth Support
- 30.21. Behavior in Threaded Programs
- 30.22. Building libpq Programs
- 30.23. Example Programs
- Chapter 31. Large Objects
- Chapter 32. ECPG — Embedded SQL in C
- 32.1. The Concept
- 32.2. Managing Database Connections
- 32.3. Running SQL Commands
- 32.4. Using Host Variables
- 32.5. Dynamic SQL
- 32.6. pgtypes Library
- 32.7. Using Descriptor Areas
- 32.8. Error Handling
- 32.9. Preprocessor Directives
- 32.10. Processing Embedded SQL Programs
- 32.11. Library Functions
- 32.12. Large Objects
- 32.13. C++ Applications
- 32.14. Embedded SQL Commands
- 32.15. Informix Compatibility Mode
- 32.16. Oracle Compatibility Mode
- 32.17. Internals
- Chapter 33. The Information Schema
- 33.1. The Schema
- 33.2. Data Types
- 33.3. information_schema_catalog_name
- 33.4. administrable_role_authorizations
- 33.5. applicable_roles
- 33.6. attributes
- 33.7. character_sets
- 33.8. check_constraint_routine_usage
- 33.9. check_constraints
- 33.10. collations
- 33.11. collation_character_set_applicability
- 33.12. column_column_usage
- 33.13. column_domain_usage
- 33.14. column_options
- 33.15. column_privileges
- 33.16. column_udt_usage
- 33.17. columns
- 33.18. constraint_column_usage
- 33.19. constraint_table_usage
- 33.20. data_type_privileges
- 33.21. domain_constraints
- 33.22. domain_udt_usage
- 33.23. domains
- 33.24. element_types
- 33.25. enabled_roles
- 33.26. foreign_data_wrapper_options
- 33.27. foreign_data_wrappers
- 33.28. foreign_server_options
- 33.29. foreign_servers
- 33.30. foreign_table_options
- 33.31. foreign_tables
- 33.32. key_column_usage
- 33.33. parameters
- 33.34. referential_constraints
- 33.35. role_column_grants
- 33.36. role_routine_grants
- 33.37. role_table_grants
- 33.38. role_udt_grants
- 33.39. role_usage_grants
- 33.40. routine_column_usage
- 33.41. routine_privileges
- 33.42. routine_routine_usage
- 33.43. routine_sequence_usage
- 33.44. routine_table_usage
- 33.45. routines
- 33.46. schemata
- 33.47. sequences
- 33.48. sql_features
- 33.49. sql_implementation_info
- 33.50. sql_parts
- 33.51. sql_sizing
- 33.52. table_constraints
- 33.53. table_privileges
- 33.54. tables
- 33.55. transforms
- 33.56. triggered_update_columns
- 33.57. triggers
- 33.58. udt_privileges
- 33.59. usage_privileges
- 33.60. user_defined_types
- 33.61. user_mapping_options
- 33.62. user_mappings
- 33.63. view_column_usage
- 33.64. view_routine_usage
- 33.65. view_table_usage
- 33.66. views
- Chapter 30. libpq — C Library
- Part V. Server Programming
- Chapter 34. Extending SQL
- 34.1. How Extensibility Works
- 34.2. The Tantor SE-1C Type System
- 34.3. User-Defined Functions
- 34.4. User-Defined Procedures
- 34.5. Query Language (SQL) Functions
- 34.6. Function Overloading
- 34.7. Function Volatility Categories
- 34.8. Procedural Language Functions
- 34.9. Internal Functions
- 34.10. Function Optimization Information
- 34.11. User-Defined Aggregates
- 34.12. User-Defined Types
- 34.13. User-Defined Operators
- 34.14. Operator Optimization Information
- 34.15. Interfacing Extensions to Indexes
- 34.16. Packaging Related Objects into an Extension
- 34.17. Extension Building Infrastructure
- Chapter 35. Triggers
- Chapter 36. Event Triggers
- Chapter 37. The Rule System
- Chapter 38. Procedural Languages
- Chapter 39. PL/pgSQL — SQL Procedural Language
- 39.1. Overview
- 39.2. Structure of PL/pgSQL
- 39.3. Declarations
- 39.4. Expressions
- 39.5. Basic Statements
- 39.6. Control Structures
- 39.7. Cursors
- 39.8. Transaction Management
- 39.9. Errors and Messages
- 39.10. Trigger Functions
- 39.11. PL/pgSQL under the Hood
- 39.12. Tips for Developing in PL/pgSQL
- 39.13. Porting from Oracle PL/SQL
- Chapter 40. PL/Tcl — Tcl Procedural Language
- 40.1. Overview
- 40.2. PL/Tcl Functions and Arguments
- 40.3. Data Values in PL/Tcl
- 40.4. Global Data in PL/Tcl
- 40.5. Database Access from PL/Tcl
- 40.6. Trigger Functions in PL/Tcl
- 40.7. Event Trigger Functions in PL/Tcl
- 40.8. Error Handling in PL/Tcl
- 40.9. Explicit Subtransactions in PL/Tcl
- 40.10. Transaction Management
- 40.11. PL/Tcl Configuration
- 40.12. Tcl Procedure Names
- Chapter 41. PL/Perl — Perl Procedural Language
- Chapter 42. PL/Python — Python Procedural Language
- Chapter 43. Server Programming Interface
- Chapter 44. Background Worker Processes
- Chapter 45. Logical Decoding
- 45.1. Logical Decoding Examples
- 45.2. Logical Decoding Concepts
- 45.3. Streaming Replication Protocol Interface
- 45.4. Logical Decoding SQL Interface
- 45.5. System Catalogs Related to Logical Decoding
- 45.6. Logical Decoding Output Plugins
- 45.7. Logical Decoding Output Writers
- 45.8. Synchronous Replication Support for Logical Decoding
- 45.9. Streaming of Large Transactions for Logical Decoding
- 45.10. Two-phase Commit Support for Logical Decoding
- Chapter 46. Replication Progress Tracking
- Chapter 47. Archive Modules
- Chapter 48. OAuth Validator Modules
- Chapter 34. Extending SQL
- Part VI. Reference
- Part VII. Internals
- Chapter 49. Overview of PostgreSQL Internals
- Chapter 50. System Catalogs
- 50.1. Overview
- 50.2. pg_aggregate
- 50.3. pg_am
- 50.4. pg_amop
- 50.5. pg_amproc
- 50.6. pg_attrdef
- 50.7. pg_attribute
- 50.8. pg_authid
- 50.9. pg_auth_members
- 50.10. pg_cast
- 50.11. pg_class
- 50.12. pg_collation
- 50.13. pg_constraint
- 50.14. pg_conversion
- 50.15. pg_database
- 50.16. pg_db_role_setting
- 50.17. pg_default_acl
- 50.18. pg_depend
- 50.19. pg_description
- 50.20. pg_enum
- 50.21. pg_event_trigger
- 50.22. pg_extension
- 50.23. pg_foreign_data_wrapper
- 50.24. pg_foreign_server
- 50.25. pg_foreign_table
- 50.26. pg_index
- 50.27. pg_inherits
- 50.28. pg_init_privs
- 50.29. pg_language
- 50.30. pg_largeobject
- 50.31. pg_largeobject_metadata
- 50.32. pg_namespace
- 50.33. pg_opclass
- 50.34. pg_operator
- 50.35. pg_opfamily
- 50.36. pg_parameter_acl
- 50.37. pg_partitioned_table
- 50.38. pg_policy
- 50.39. pg_proc
- 50.40. pg_publication
- 50.41. pg_publication_namespace
- 50.42. pg_publication_rel
- 50.43. pg_range
- 50.44. pg_replication_origin
- 50.45. pg_rewrite
- 50.46. pg_seclabel
- 50.47. pg_sequence
- 50.48. pg_shdepend
- 50.49. pg_shdescription
- 50.50. pg_shseclabel
- 50.51. pg_statistic
- 50.52. pg_statistic_ext
- 50.53. pg_statistic_ext_data
- 50.54. pg_subscription
- 50.55. pg_subscription_rel
- 50.56. pg_tablespace
- 50.57. pg_transform
- 50.58. pg_trigger
- 50.59. pg_ts_config
- 50.60. pg_ts_config_map
- 50.61. pg_ts_dict
- 50.62. pg_ts_parser
- 50.63. pg_ts_template
- 50.64. pg_type
- 50.65. pg_user_mapping
- Chapter 51. System Views
- 51.1. Overview
- 51.2. pg_aios
- 51.3. pg_available_extensions
- 51.4. pg_available_extension_versions
- 51.5. pg_backend_memory_contexts
- 51.6. pg_config
- 51.7. pg_cursors
- 51.8. pg_file_settings
- 51.9. pg_group
- 51.10. pg_hba_file_rules
- 51.11. pg_ident_file_mappings
- 51.12. pg_indexes
- 51.13. pg_locks
- 51.14. pg_matviews
- 51.15. pg_policies
- 51.16. pg_prepared_statements
- 51.17. pg_prepared_xacts
- 51.18. pg_publication_tables
- 51.19. pg_replication_origin_status
- 51.20. pg_replication_slots
- 51.21. pg_roles
- 51.22. pg_rules
- 51.23. pg_seclabels
- 51.24. pg_sequences
- 51.25. pg_settings
- 51.26. pg_shadow
- 51.27. pg_shmem_allocations
- 51.28. pg_shmem_allocations_numa
- 51.29. pg_stats
- 51.30. pg_stats_ext
- 51.31. pg_stats_ext_exprs
- 51.32. pg_tables
- 51.33. pg_timezone_abbrevs
- 51.34. pg_timezone_names
- 51.35. pg_user
- 51.36. pg_user_mappings
- 51.37. pg_views
- 51.38. pg_wait_events
- Chapter 52. Frontend/Backend Protocol
- 52.1. Overview
- 52.2. Message Flow
- 52.3. SASL Authentication
- 52.4. Streaming Replication Protocol
- 52.5. Logical Streaming Replication Protocol
- 52.6. Message Data Types
- 52.7. Message Formats
- 52.8. Error and Notice Message Fields
- 52.9. Logical Replication Message Formats
- 52.10. Summary of Changes since Protocol 2.0
- Chapter 53. PostgreSQL Coding Conventions
- Chapter 54. Native Language Support
- Chapter 55. Writing a Procedural Language Handler
- Chapter 56. Writing a Foreign Data Wrapper
- Chapter 57. Writing a Table Sampling Method
- Chapter 58. Writing a Custom Scan Provider
- Chapter 59. Genetic Query Optimizer
- Chapter 60. Table Access Method Interface Definition
- Chapter 61. Index Access Method Interface Definition
- Chapter 62. Write Ahead Logging for Extensions
- Chapter 63. Built-in Index Access Methods
- Chapter 64. Database Physical Storage
- Chapter 65. Transaction Processing
- Chapter 66. System Catalog Declarations and Initial Contents
- Chapter 67. How the Planner Uses Statistics
- Chapter 68. Backup Manifest Format
- Part VIII. Appendixes
- Appendix A. Tantor SE-1C Error Codes
- Appendix B. Date/Time Support
- Appendix C. SQL Key Words
- Appendix D. SQL Conformance
- Appendix E. Release Notes
- Appendix F. Additional Supplied Modules and Extensions
- F.1. amcheck — tools to verify table and index consistency
- F.2. auth_delay — pause on authentication failure
- F.3. auto_dump — extension with ProcessInterrupts hook
- F.4. auto_explain — log execution plans of slow queries
- F.5. basebackup_to_shell — example “shell” pg_basebackup module
- F.6. basic_archive — an example WAL archive module
- F.7. bloom — bloom filter index access method
- F.8. btree_gin — GIN operator classes with B-tree behavior
- F.9. btree_gist — GiST operator classes with B-tree behavior
- F.10. citext — a case-insensitive character string type
- F.11. spi — Server Programming Interface features/examples
- F.12. credcheck — Tantor SE-1C username/password checks
- F.13. cube — a multi-dimensional cube data type
- F.14. dbcopies_decoding — database copy mechanism and data accelerator
- F.15. dblink — connect to other PostgreSQL databases
- F.16. dict_int — example full-text search dictionary for integers
- F.17. dict_xsyn — example synonym full-text search dictionary
- F.18. earthdistance — calculate great-circle distances
- F.19. fasttrun — function to truncate temporary tables without growing pg_class size
- F.20. file_fdw — access data files in the server’s file system
- F.21. fulleq — equivalence operator for compatibility with Microsoft SQL Server
- F.22. fuzzystrmatch — determine string similarities and distance
- F.23. hstore — hstore key/value datatype
- F.24. HypoPG — support for hypothetical indexes
- F.25. intagg — integer aggregator and enumerator
- F.26. intarray — manipulate arrays of integers
- F.27. isn — data types for international standard numbers (ISBN, EAN, UPC, etc.)
- F.28. lo — manage large objects
- F.29. ltree — hierarchical tree-like data type
- F.30. mchar — additional data types for compatibility with Microsoft SQL Server (MS SQL)
- F.31. online_analyze — statistic collection right after INSERT/UPDATE/DELETE/SELECT
- F.32. pageinspect — low-level inspection of database pages
- F.33. page_repair — individual page repair using standby’s data
- F.34. passwordcheck — verify password strength
- F.35. pgAudit — detailed session and/or object audit logging
- F.36. pgauditlogtofile — pgAudit addon for redirect audit log lines to an independent file
- F.37. pg_buffercache — inspect Tantor SE-1C buffer cache state
- F.38. pg_cron — cron-based job scheduler working within the database
- F.39. pgcrypto — cryptographic functions
- F.40. pg_csm — estimating compressibility of tables and indexes using CSM
- F.41. pg_freespacemap — examine the free space map
- F.42. pg_hint_plan — configuring plans of SQL queries in SQL comments
- F.43. pg_logicalinspect — logical decoding components inspection
- F.44. pg_overexplain — allow EXPLAIN to dump even more details
- F.45. pg_prewarm — preload relation data into buffer caches
- F.46. pg_query_id — manipulate aspects of query id computation
- F.47. pg_repack — remove bloat from tables and indexes
- F.48. pgrowlocks — show a table’s row locking information
- F.49. pg_sample_profile — sample-based profiling of database activity
- F.50. pg_stat_advisor — Tantor SE-1C advisor to create extended statistics
- F.51. pg_stat_kcache — statistics about real reads and writes
- F.52. pg_stat_statements — track statistics of SQL planning and execution
- F.53. pgstattuple — obtain tuple-level statistics
- F.54. pg_store_plans — means for tracking execution plan statistics of all SQL statements
- F.55. pg_surgery — perform low-level surgery on relation data
- F.56. pg_trace — Real-time filtered query tracing for Tantor SE-1C
- F.57. pg_trgm — support for similarity of text using trigram matching
- F.58. pg_visibility — visibility map information and utilities
- F.59. pg_wait_sampling — sampling based statistics of wait events
- F.60. pg_walinspect — low-level WAL inspection
- F.61. plantuner — planner hints
- F.62. postgres_fdw — access data stored in external Tantor SE-1C servers
- F.63. seg — a datatype for line segments or floating point intervals
- F.64. sepgsql — SELinux-, label-based mandatory access control (MAC) security module
- F.65. sslinfo — obtain client SSL information
- F.66. tablefunc — functions that return tables (crosstab and others)
- F.67. tcn — a trigger function to notify listeners of changes to table content
- F.68. test_decoding — SQL-based test/example module for WAL logical decoding
- F.69. transp_anon — mask or replace personally identifiable information or commercially sensitive data
- F.70. tsm_system_rows — the SYSTEM_ROWS sampling method for TABLESAMPLE
- F.71. tsm_system_time — the SYSTEM_TIME sampling method for TABLESAMPLE
- F.72. unaccent — a text search dictionary which removes diacritics
- F.73. uuid-ossp — a UUID generator
- F.74. xml2 — XPath querying and XSLT functionality
- Appendix G. Additional Supplied Programs
- Appendix H. Additional Supplied Utilities
- Appendix I. Tantor Additional Programs Distributed as Separate Packages
- Appendix J. Additional External Modules Distributed as Separate Packages
- Appendix K. External Projects
- Appendix L. Tantor SE-1C Limits
- Appendix M. Acronyms
- Appendix N. Glossary
- Appendix O. Color Support
- Appendix P. Obsolete or Renamed Features
- Bibliography
- Index