From e49fe26b58c36594cd7c4f19a4009b0c0e18cbb8 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Thu, 7 May 2020 10:21:36 +0300 Subject: [PATCH] Misc adjustments --- CHANGELOG.md | 12 +++--------- doc/sql.extensions/README.keywords | 25 +++++++++++++++++++++++++ src/dsql/parse.y | 5 ++++- 3 files changed, 32 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e556a90514..031c556511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,11 @@ Contributor(s): Alex Peshkoff * [CORE-6285](http://tracker.firebirdsql.org/browse/CORE-6285): SQL-level replication management - Reference(s): [/doc/README.replication.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/replication.md), [/doc/sql.extensions/README.ddl.txt](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.ddl.txt) + Reference(s): [/doc/README.replication.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/README.replication.md), [/doc/sql.extensions/README.ddl.txt](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.ddl.txt) Contributor(s): Dmitry Yemanov * [CORE-6109](http://tracker.firebirdsql.org/browse/CORE-6109): Changed FLOAT to a SQL standard compliant FLOAT datatype - Reference(s): [/doc/sql.extensions/README.floating_point_types.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/doc/sql.extensions/README.floating_point_types.md) + Reference(s): [/doc/sql.extensions/README.floating_point_types.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.floating_point_types.md) Contributor(s): Mark Rotteveel * [CORE-6018](http://tracker.firebirdsql.org/browse/CORE-6018): Make it possible to start multiple transactions (possibly in different attachments) using the same initial transaction snapshot @@ -29,7 +29,7 @@ ## Improvements * [CORE-6286](http://tracker.firebirdsql.org/browse/CORE-6286): Make usage of TIMESTAMP/TIME WITH TIME ZONE convenient for users when appropriate ICU library is not installed on the client side - Reference(s): [/doc/sql.extensions/README.time_zone.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.README.time_zone.md), [/doc/sql.extensions/README.set_bind.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.README.set_bind.md) + Reference(s): [/doc/sql.extensions/README.time_zone.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.time_zone.md), [/doc/sql.extensions/README.set_bind.md](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.set_bind.md) Contributor(s): Alex Peshkoff * [CORE-6279](http://tracker.firebirdsql.org/browse/CORE-6279): Put options in user management statements in any order @@ -70,9 +70,6 @@ * [CORE-6058](http://tracker.firebirdsql.org/browse/CORE-6058): Change behavior of skipped and repeated wall times within time zones Contributor(s): Adriano dos Santos Fernandes -* [CORE-6057](http://tracker.firebirdsql.org/browse/CORE-6057): Bind setting for Firebird 4 extended precision numeric/decimal - Contributor(s): Alex Peshkoff - * [CORE-6049](http://tracker.firebirdsql.org/browse/CORE-6049): Builtin functions converting binary string to hexadecimal representation and vice versa Reference(s): [/doc/sql.extensions/README.builtin_functions.txt](https://github.com/FirebirdSQL/firebird/raw/master/doc/sql.extensions/README.builtin_functions.txt) Contributor(s): Alex Peshkoff @@ -101,9 +98,6 @@ * [CORE-4579](http://tracker.firebirdsql.org/browse/CORE-4579): Distribute separate header files instead merged one Contributor(s): Dimitry Sibiryakov -* [CORE-4462](http://tracker.firebirdsql.org/browse/CORE-4462): Make it possible to restore compressed .nbk files without explicitly decompressing them - Contributor(s): Alex Peshkoff - * [CORE-3983](http://tracker.firebirdsql.org/browse/CORE-3983): Ability to authenticate user in "EXECUTE STATEMENT ON EXTERNAL DATA SOURCE" by hash of the current password Contributor(s): Alex Peshkoff diff --git a/doc/sql.extensions/README.keywords b/doc/sql.extensions/README.keywords index 43a62de972..6dae3f5b21 100644 --- a/doc/sql.extensions/README.keywords +++ b/doc/sql.extensions/README.keywords @@ -300,10 +300,12 @@ Firebird 4.0 BINARY DECFLOAT + LATERAL LOCAL LOCALTIME LOCALTIMESTAMP PUBLICATION * + RDB$GET_TRANSACTION_CN * RDB$ERROR * RDB$ROLE_IN_USE * RDB$SYSTEM_PRIVILEGE * @@ -316,20 +318,35 @@ Firebird 4.0 Added as non-reserved words: + BASE64_DECODE * + BASE64_ENCODE * BIND * COMPARE_DECFLOAT * + CONSISTENCY * + COUNTER * + CTR_BIG_ENDIAN * + CTR_LENGTH * + CTR_LITTLE_ENDIAN * CUME_DIST (1) DEFINER DISABLE * ENABLE * + EXCESS * EXCLUDE + EXTENDED * FIRST_DAY * FOLLOWING + HEX_DECODE * + HEX_ENCODE * IDLE * INVOKER + IV * LAST_DAY * LEGACY * + LPARAM * + MAKE_DBKEY * MESSAGE * + MODE * NATIVE * NORMALIZE_DECFLOAT * NTILE (1) @@ -342,8 +359,16 @@ Firebird 4.0 QUANTIZE * RANGE (1) RESET * + RSA_DECRYPT * + RSA_ENCRYPT * + RSA_PRIVATE * + RSA_PUBLIC * + RSA_SIGN * + RSA_VERIFY * + SALT_LENGTH * SECURITY SESSION + SIGNATURE * SQL (1) SYSTEM (1) TIES diff --git a/src/dsql/parse.y b/src/dsql/parse.y index 6212f792af..40016719a8 100644 --- a/src/dsql/parse.y +++ b/src/dsql/parse.y @@ -4268,14 +4268,17 @@ keyword_or_column | UPDATING | VAR_SAMP | VAR_POP - | DECFLOAT // added in FB 4.0 + | BINARY // added in FB 4.0 + | DECFLOAT | LATERAL | LOCAL | LOCALTIME | LOCALTIMESTAMP + | PUBLICATION | TIMEZONE_HOUR | TIMEZONE_MINUTE | UNBOUNDED + | VARBINARY | WINDOW | WITHOUT ;