PostgreSQL 8.2.3 中文文档
后退快退附录D. SQL 兼容性快进前进

D.1. 支持的特性

标识符描述注释
B012 Embedded C 
B021 Direct SQL 
E011核心Numeric data types 
E011-01核心INTEGER and SMALLINT data types 
E011-02核心REAL, DOUBLE PRECISION, and FLOAT data types 
E011-03核心DECIMAL and NUMERIC data types 
E011-04核心Arithmetic operators 
E011-05核心Numeric comparison 
E011-06核心Implicit casting among the numeric data types 
E021核心Character data types 
E021-01核心CHARACTER data type 
E021-02核心CHARACTER VARYING data type 
E021-03核心Character literals 
E021-04核心CHARACTER_LENGTH functiontrims trailing spaces from CHARACTER values before counting
E021-05核心OCTET_LENGTH function 
E021-06核心SUBSTRING function 
E021-07核心Character concatenation 
E021-08核心UPPER and LOWER functions 
E021-09核心TRIM function 
E021-10核心Implicit casting among the character string types 
E021-11核心POSITION function 
E021-12核心Character comparison 
E031核心Identifiers 
E031-01核心Delimited identifiers 
E031-02核心Lower case identifiers 
E031-03核心Trailing underscore 
E051核心Basic query specification 
E051-01核心SELECT DISTINCT 
E051-02核心GROUP BY clause 
E051-04核心GROUP BY can contain columns not in <select list> 
E051-05核心Select list items can be renamedAS is required
E051-06核心HAVING clause 
E051-07核心Qualified * in select list 
E051-08核心Correlation names in the FROM clause 
E051-09核心Rename columns in the FROM clause 
E061核心Basic predicates and search conditions 
E061-01核心Comparison predicate 
E061-02核心BETWEEN predicate 
E061-03核心IN predicate with list of values 
E061-04核心LIKE predicate 
E061-05核心LIKE predicate ESCAPE clause 
E061-06核心NULL predicate 
E061-07核心Quantified comparison predicate 
E061-08核心EXISTS predicate 
E061-09核心Subqueries in comparison predicate 
E061-11核心Subqueries in IN predicate 
E061-12核心Subqueries in quantified comparison predicate 
E061-13核心Correlated subqueries 
E061-14核心Search condition 
E071核心Basic query expressions 
E071-01核心UNION DISTINCT table operator 
E071-02核心UNION ALL table operator 
E071-03核心EXCEPT DISTINCT table operator 
E071-05核心Columns combined via table operators need not have exactly the same data type 
E071-06核心Table operators in subqueries 
E081-01核心SELECT privilege 
E081-02核心DELETE privilege 
E081-03核心INSERT privilege at the table level 
E081-04核心UPDATE privilege at the table level 
E081-06核心REFERENCES privilege at the table level 
E081-08核心WITH GRANT OPTION 
E081-10核心EXECUTE privilege 
E091核心Set functions 
E091-01核心AVG 
E091-02核心COUNT 
E091-03核心MAX 
E091-04核心MIN 
E091-05核心SUM 
E091-06核心ALL quantifier 
E091-07核心DISTINCT quantifier 
E101核心Basic data manipulation 
E101-01核心INSERT statement 
E101-03核心Searched UPDATE statement 
E101-04核心Searched DELETE statement 
E111核心Single row SELECT statement 
E121-01核心DECLARE CURSOR 
E121-02核心ORDER BY columns need not be in select list 
E121-03核心Value expressions in ORDER BY clause 
E121-04核心OPEN statement 
E121-08核心CLOSE statement 
E121-10核心FETCH statement implicit NEXT 
E121-17核心WITH HOLD cursors 
E131核心Null value support (nulls in lieu of values) 
E141核心Basic integrity constraints 
E141-01核心NOT NULL constraints 
E141-02核心UNIQUE constraints of NOT NULL columns 
E141-03核心PRIMARY KEY constraints 
E141-04核心Basic FOREIGN KEY constraint with the NO ACTION default for both referential delete action and referential update action 
E141-06核心CHECK constraints 
E141-07核心Column defaults 
E141-08核心NOT NULL inferred on PRIMARY KEY 
E141-10核心Names in a foreign key can be specified in any order 
E151核心Transaction support 
E151-01核心COMMIT statement 
E151-02核心ROLLBACK statement 
E152核心Basic SET TRANSACTION statement 
E152-01核心SET TRANSACTION statement: ISOLATION LEVEL SERIALIZABLE clause 
E152-02核心SET TRANSACTION statement: READ ONLY and READ WRITE clauses 
E161核心SQL comments using leading double minus 
E171核心SQLSTATE support 
F021核心Basic information schema 
F021-01核心COLUMNS view 
F021-02核心TABLES view 
F021-03核心VIEWS view 
F021-04核心TABLE_CONSTRAINTS view 
F021-05核心REFERENTIAL_CONSTRAINTS view 
F021-06核心CHECK_CONSTRAINTS view 
F031核心Basic schema manipulation 
F031-01核心CREATE TABLE statement to create persistent base tables 
F031-02核心CREATE VIEW statement 
F031-03核心GRANT statement 
F031-04核心ALTER TABLE statement: ADD COLUMN clause 
F031-13核心DROP TABLE statement: RESTRICT clause 
F031-16核心DROP VIEW statement: RESTRICT clause 
F031-19核心REVOKE statement: RESTRICT clause 
F032 CASCADE drop behavior 
F033 ALTER TABLE statement: DROP COLUMN clause 
F034 Extended REVOKE statement 
F034-01 REVOKE statement performed by other than the owner of a schema object 
F034-02 REVOKE statement: GRANT OPTION FOR clause 
F034-03 REVOKE statement to revoke a privilege that the grantee has WITH GRANT OPTION 
F041核心Basic joined table 
F041-01核心Inner join (but not necessarily the INNER keyword) 
F041-02核心INNER keyword 
F041-03核心LEFT OUTER JOIN 
F041-04核心RIGHT OUTER JOIN 
F041-05核心Outer joins can be nested 
F041-07核心The inner table in a left or right outer join can also be used in an inner join 
F041-08核心All comparison operators are supported (rather than just =) 
F051核心Basic date and time 
F051-01核心DATE data type (including support of DATE literal) 
F051-02核心TIME data type (including support of TIME literal) with fractional seconds precision of at least 0 
F051-03核心TIMESTAMP data type (including support of TIMESTAMP literal) with fractional seconds precision of at least 0 and 6 
F051-04核心Comparison predicate on DATE, TIME, and TIMESTAMP data types 
F051-05核心Explicit CAST between datetime types and character string types 
F051-06核心CURRENT_DATE 
F051-07核心LOCALTIME 
F051-08核心LOCALTIMESTAMP 
F052增强日期时间设施Intervals and datetime arithmetic 
F053 OVERLAPS predicate 
F081核心UNION and EXCEPT in views 
F111 Isolation levels other than SERIALIZABLE 
F111-01 READ UNCOMMITTED isolation level 
F111-02 READ COMMITTED isolation level 
F111-03 REPEATABLE READ isolation level 
F131核心Grouped operations 
F131-01核心WHERE, GROUP BY, and HAVING clauses supported in queries with grouped views 
F131-02核心Multiple tables supported in queries with grouped views 
F131-03核心Set functions supported in queries with grouped views 
F131-04核心Subqueries with GROUP BY and HAVING clauses and grouped views 
F131-05核心Single row SELECT with GROUP BY and HAVING clauses and grouped views 
F171 Multiple schemas per user 
F191增强完整性管理Referential delete actions 
F201核心CAST function 
F221核心Explicit defaults 
F222 INSERT statement: DEFAULT VALUES clause 
F231 Privilege tables 
F231-01 TABLE_PRIVILEGES view 
F231-02 COLUMN_PRIVILEGES view 
F231-03 USAGE_PRIVILEGES view 
F251 Domain support 
F261核心CASE expression 
F261-01核心Simple CASE 
F261-02核心Searched CASE 
F261-03核心NULLIF 
F261-04核心COALESCE 
F271 Compound character literals 
F281 LIKE enhancements 
F302 INTERSECT table operator 
F302-01 INTERSECT DISTINCT table operator 
F302-02 INTERSECT ALL table operator 
F304 EXCEPT ALL table operator 
F311-01核心CREATE SCHEMA 
F311-02核心CREATE TABLE for persistent base tables 
F311-03核心CREATE VIEW 
F311-05核心GRANT statement 
F321 User authorization 
F361 Subprogram support 
F381 Extended schema manipulation 
F381-01 ALTER TABLE statement: ALTER COLUMN clause 
F381-02 ALTER TABLE statement: ADD CONSTRAINT clause 
F381-03 ALTER TABLE statement: DROP CONSTRAINT clause 
F391 Long identifiers 
F401 Extended joined table 
F401-01 NATURAL JOIN 
F401-02 FULL OUTER JOIN 
F401-04 CROSS JOIN 
F411增强日期时间设施Time zone specificationdifferences regarding literal interpretation
F421 National character 
F431 Read-only scrollable cursors 
F431-01 FETCH with explicit NEXT 
F431-02 FETCH FIRST 
F431-03 FETCH LAST 
F431-04 FETCH PRIOR 
F431-05 FETCH ABSOLUTE 
F431-06 FETCH RELATIVE 
F441 Extended set function support 
F471核心Scalar subquery values 
F481核心Expanded NULL predicate 
F491增强完整性管理Constraint management 
F501核心Features and conformance views 
F501-01核心SQL_FEATURES view 
F501-02核心SQL_SIZING view 
F501-03核心SQL_LANGUAGES view 
F502 Enhanced documentation tables 
F502-01 SQL_SIZING_PROFILES view 
F502-02 SQL_IMPLEMENTATION_INFO view 
F502-03 SQL_PACKAGES view 
F531 Temporary tables 
F555增强日期时间设施Enhanced seconds precision 
F561 Full value expressions 
F571 Truth value tests 
F591 Derived tables 
F611 Indicator data types 
F651 Catalog name qualifiers 
F672 Retrospective check constraints 
F701增强完整性管理Referential update actions 
F711 ALTER domain 
F761 Session management 
F771 Connection management 
F781 Self-referencing operations 
F791 Insensitive cursors 
F801 Full set function 
S071增强的对象支持SQL paths in function and type name resolution 
S111增强的对象支持ONLY in query expressions 
S211增强的对象支持User-defined cast functions 
T031 BOOLEAN data type 
T071 BIGINT data type 
T141 SIMILAR predicate 
T151 DISTINCT predicate 
T171 LIKE clause in table definition 
T191增强完整性管理Referential action RESTRICT 
T201增强完整性管理Comparable data types for referential constraints 
T211-01激活数据库,增强完整性管理Triggers activated on UPDATE, INSERT, or DELETE of one base table 
T211-02激活数据库,增强完整性管理BEFORE triggers 
T211-03激活数据库,增强完整性管理AFTER triggers 
T211-04激活数据库,增强完整性管理FOR EACH ROW triggers 
T211-07激活数据库,增强完整性管理TRIGGER privilege 
T212增强完整性管理Enhanced trigger capability 
T231 Sensitive cursors 
T241 START TRANSACTION statement 
T271 Savepoints 
T312 OVERLAY function 
T321-01核心User-defined functions with no overloading 
T321-03核心Function invocation 
T321-06核心ROUTINES view 
T321-07核心PARAMETERS view 
T322PSMOverloading of SQL-invoked functions and procedures 
T323 Explicit security for external routines 
T351 Bracketed SQL comments (/*...*/ comments) 
T441 ABS and MOD functions 
T461 Symmetric BETWEEN predicate 
T501 Enhanced EXISTS predicate 
T551 Optional key words for default syntax 
T581 Regular expression substring function 
T591 UNIQUE constraints of possibly null columns 


后退首页前进
SQL 兼容性上一级不支持的特性