Chapter 9. Functions and Operators
Table of Contents
- 9.1. Logical Operators
- 9.2. Comparison 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.2. Comparison Operators
- 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. XML Functions
- 9.11. Geometric Functions and Operators
- 9.15. JSON Functions and Operators
- 9.16. Sequence Manipulation Functions
- 9.17. Conditional Expressions
- 9.16. Sequence Manipulation Functions
- 9.18. Array Functions and Operators
- 9.19. Range Functions and Operators
- 9.20. Aggregate Functions
- 9.21. Window Functions
- 9.22. Subquery Expressions
- 9.19. Range Functions and Operators
- 9.23. Row and Array Comparisons
- 9.24. Set Returning Functions
- 9.25. System Information Functions
- 9.26. System Administration Functions
- 9.25. System Information Functions
- 9.26.1. Configuration Settings Functions
- 9.26.2. Server Signaling Functions
- 9.26.3. Backup Control Functions
- 9.26.4. Recovery Control Functions
- 9.26.5. Snapshot Synchronization Functions
- 9.26.6. Replication Functions
- 9.26.7. Database Object Management Functions
- 9.26.8. Index Maintenance Functions
- 9.26.9. Generic File Access Functions
- 9.26.10. Advisory Lock Functions
- 9.26.2. Server Signaling Functions
- 9.26.1. Configuration Settings Functions
- 9.27. Trigger Functions
- 9.28. Event Trigger Functions
Postgres Pro provides a large number of functions and operators for the built-in data types. Users can also define their own functions and operators, as described in Part V. The psql commands \df
and \do
can be used to list all available functions and operators, respectively.
If you are concerned about portability then note that most of the functions and operators described in this chapter, with the exception of the most trivial arithmetic and comparison operators and some explicitly marked functions, are not specified by the SQL standard. Some of this extended functionality is present in other SQL database management systems, and in many cases this functionality is compatible and consistent between the various implementations. This chapter is also not exhaustive; additional functions appear in relevant sections of the manual.