diff --git a/doc/README.monitoring_tables b/doc/README.monitoring_tables index 7a1162230a..13966b5eb0 100644 --- a/doc/README.monitoring_tables +++ b/doc/README.monitoring_tables @@ -71,11 +71,12 @@ Monitoring tables - MON$RESERVE_SPACE (reserve space flag) - MON$CREATION_DATE (creation date/time) - MON$PAGES (number of pages allocated on disk) + - MON$STAT_ID (statistics ID) - MON$BACKUP_STATE (current physical backup state) 0: normal 1: stalled 2: merge - - MON$STAT_ID (statistics ID) + - MON$CRYPT_PAGE (number of page being encrypted) MON$ATTACHMENTS (connected attachments) - MON$ATTACHMENT_ID (attachment ID) @@ -94,6 +95,10 @@ Monitoring tables - MON$TIMESTAMP (connection date/time) - MON$GARBAGE_COLLECTION (garbage collection flag) - MON$STAT_ID (statistics ID) + - MON$CLIENT_VERSION (version of the client library) + - MON$REMOTE_VERSION (version of the remote protocol) + - MON$REMOTE_HOST (remote host name) + - MON$REMOTE_OS_USER (remote OS user name) MON$TRANSACTIONS (started transactions) - MON$TRANSACTION_ID (transaction ID) @@ -140,6 +145,7 @@ Monitoring tables - MON$SOURCE_LINE (SQL source line number) - MON$SOURCE_COLUMN (SQL source column number) - MON$STAT_ID (statistics ID) + - MON$PACKAGE_NAME (PSQL object package name) MON$IO_STATS (I/O statistics) - MON$STAT_ID (statistics ID) diff --git a/doc/WhatsNew b/doc/WhatsNew index 47f9b19075..5cd7376ef0 100644 --- a/doc/WhatsNew +++ b/doc/WhatsNew @@ -2,6 +2,187 @@ * v3.0 Alpha 1 ************** + * Improvement CORE-3972 + Allow selection of SQL_INT64, SQL_DATE and SQL_TIME in dialect 1 + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3919 + Improve SIMILAR TO performance + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3879 + Make FB_LOCK_PRINT a bit more handy + Contributor(s): + Vlad Khorsun + + * Improvement CORE-3788 + Make all utilities follow same rules when expanding database name + Contributor(s): + Alex Peshkov + + * Improvement CORE-3779 + Report OS user name in MON$ATTACHMENTS + See also: + /doc/README.monitoring_tables + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-3639 + Allow the use of multiple WHEN MATCHED / NOT MATCHED clauses in MERGE, as per the SQL 2008 specification + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3594 + Include expected and actual string lenght into error message for sqlcode -802 + Contributor(s): + Alex Peshkov + + * Improvement CORE-3588 + More details in the error message "wrong page type" + Contributor(s): + Alex Peshkov + + * Improvement CORE-3546 + Aliases for the RETURNING clause + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3343 + Support for the RETURNING clause in positioned (WHERE CURRENT OF) UPDATE and DELETE statements + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3251 + Use SSL/TLS support for both encryption and user authentication + Contributor(s): + Alex Peshkov + + * Improvement CORE-3234 + Support for text BLOBs >= 32K as first argument for TRIM() + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3085 + Add clause ALTER DOMAIN [NOT] NULL + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3076 + Better performance for (table.field = :param or :param = -1) in the WHERE clause + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-3057 + Allow the usage of blobs in COMPUTED BY expressions + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-3020 + Add RETURNING ... INTO ... clause to the MERGE statement + See also: + /doc/sql.extensions/README.returning + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-2868 + Increase trigger and stored procedure body size above 32KB + Note(s): + Available via the new API only + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2812 + Prohibit any improper mixture of explicit and implicit joins + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2787 + Make RDB$SYSTEM_FLAG not null + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2780 + Include client library version and protocol version into MON$ATTACHMENTS + See also: + /doc/README.monitoring_tables + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2724 + Validate or transform string of DML queries so that engine internals don't receive malformed strings + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-2712 + Do not print "invalid request BLR" for par.cpp errors with valid BLR + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2697 + Support the "? in SELECT some_col FROM some_table" subqueries + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-2575 + Make ISQL "input" command open relative filenames based on the directory + of last opened (and not closed) input file + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-2565 + Many hardcoded messages in Trace Manager + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2554 + Grant execute permissions for UDFs + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2553 + Grants access on generators (gen_id, next value for) + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2542 + QLI and NBACKUP accept arbitrary input after the first letter of an option + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2541 + Too many hardcoded messages in NBACKUP + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2540 + Utilities need a more coherent way to show help and version + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-2187 + Return the client host name in MON$ATTACHMENTS + See also: + /doc/README.monitoring_tables + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-2006 + SUBSTRING with regular expression (SIMILAR TO) capability + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-2005 + Support SQL 2008 syntax for MERGE statement with DELETE extension + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-1906 + Allow interactive arguments (seconds and intervals) of fb_lock_print to be 32-bit integers + Contributor(s): + Dmitry Yemanov + * Improvement CORE-1898 Increased the password length from 8 characters, removed support for LegacyHash and Authentication parameters in firebird.conf. @@ -9,3 +190,175 @@ by AuthServer parameter. Contributor(s): Alex Peshkov + + * Improvement CORE-1609 + Remove limit of PSQL output parameter size + Note(s): + Available via the new API only + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-1180 + DDL syntax to change (not) nullable state of columns + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-1117 + Remove or extend limit of command text length (64K) + Note(s): + Available via the new API only + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-832 + Add support for parameterized exceptions + Contributor(s): + Adriano dos Santos Fernandes + + * Improvement CORE-800 + Easy metadata extract improvements + Contributor(s): + Claudio Valderrama C. + + * Improvement CORE-675 + Add entries to RDB$Types + Contributor(s): + Dmitry Yemanov + + * Improvement CORE-672 + "Over the wire" connection encryption + Contributor(s): + Alex Peshkov + + * New feature CORE-3626 + Subfunctions in PSQL and EXECUTE BLOCK + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-3364 + Blob filter to translate internal debug info into text representation + Contributor(s): + Vlad Khorsun + + * New feature CORE-3332 + Provide more detailed information about the query execution plan + Contributor(s): + Dmitry Yemanov + + * New feature CORE-3291 + New pseudocolumn to get number of transaction that created this record version + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-3018 + RECREATE and CREATE OR ALTER SEQUENCE/GENERATOR statements + Contributor(s): + Adriano dos Santos Fernandes + Dmitry Yemanov + + * New feature CORE-2884 + New object rights for enhanced security + Contributor(s): + Dmitry Yemanov + + * New feature CORE-2777 + Make possible to alter the default database character set without manual update of system table + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-2744 + Inverse hyperbolic trigonometric functions as native functions + See also: + /doc/sql.extensions/README.builtin_functions.txt + Contributor(s): + Claudio Valderrama C. + + * New feature CORE-2700 + C++ API supporting functions, triggers and stored procedures + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-2639 + Pseudo-table with list of users, available for management to current user + Contributor(s): + Alex Peshkov + + * New feature CORE-2470 + Support for alternate format of strings literals + See also: + /doc/sql.extensions/README.alternate_string_quoting.txt + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-2312 + PSQL packages + See also: + /doc/sql.extensions/README.packages.txt + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-2310 + DDL triggers + See also: + /doc/sql.extensions/README.ddl_triggers.txt + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-2047 + User-defined PSQL functions + Contributor(s): + Dmitry Yemanov + + * New feature CORE-1952 + Deprecate implementation IDs in ODS, thus simplifying new ports + Contributor(s): + Alex Peshkov + + * New feature CORE-1385 + Identity columns + See also: + /doc/sql.extensions/README.identity_columns.txt + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-1288 + Subprocedures in PSQL and EXECUTE BLOCK + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-1209 + CONTINUE statement + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-816 + Stored procedures, triggers and functions in Java + See also: + /doc/README.external_routines.txt + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-775 + True SMP support for SuperServer + Contributor(s): + Vlad Khorsun + + * New feature CORE-726 + Boolean data type + Contributor(s): + Adriano dos Santos Fernandes + + * New feature CORE-685 + Location of user lists (DB permission) + Contributor(s): + Alex Peshkov + + * New feature CORE-657 + Database encryption + Contributor(s): + Alex Peshkov + + * New feature CORE-462 + New option in addition to -V switch to specify a custom verbose interval + Contributor(s): + Claudio Valderrama C. diff --git a/doc/sql.extensions/README.builtin_functions.txt b/doc/sql.extensions/README.builtin_functions.txt index cfe2f2813a..14eeed19d5 100644 --- a/doc/sql.extensions/README.builtin_functions.txt +++ b/doc/sql.extensions/README.builtin_functions.txt @@ -46,6 +46,20 @@ Example: select acos(x) from y; +----- +ACOSH +----- + +Function: + Returns the hyperbolic arc cosine of a number (expressed in radians). + +Format: + ACOSH( ) + +Example: + select acosh(x) from y; + + ---------- ASCII_CHAR ---------- @@ -100,6 +114,20 @@ Example: select asin(x) from y; +----- +ASINH +----- + +Function: + Returns the hyperbolic arc sine of a number (expressed in radians). + +Format: + ASINH( ) + +Example: + select asinh(x) from y; + + ---- ATAN ---- @@ -134,6 +162,20 @@ Example: select atan2(x, y) from z; +----- +ATANH +----- + +Function: + Returns the hyperbolic arc tangent of a number (expressed in radians). + +Format: + ATANH( ) + +Example: + select atanh(x) from y; + + ------- BIN_AND ------- diff --git a/doc/sql.extensions/README.cursors b/doc/sql.extensions/README.cursors index 481ff22964..b84d92d921 100644 --- a/doc/sql.extensions/README.cursors +++ b/doc/sql.extensions/README.cursors @@ -1,6 +1,6 @@ ---------------------- -PSQL cursors (FB 2.0) ---------------------- +------------ +PSQL cursors +------------ Function: Allows explicit cursor operations. @@ -9,9 +9,10 @@ PSQL cursors (FB 2.0) Dmitry Yemanov Syntax rules: - DECLARE [VARIABLE] CURSOR FOR ( ); + DECLARE [VARIABLE] [SCROLL | NO SCROLL] CURSOR FOR ( ); OPEN ; FETCH INTO [, ...]; + FETCH {NEXT | PRIOR | FIRST | LAST | ABSOLUTE | RELATIVE } FROM INTO [, ...]; CLOSE ; Example(s):