Skip to content

Commit d68696a

Browse files
committed
Documentation improvements.
1 parent 36d9d89 commit d68696a

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

doc/sql.extensions/README.schemas.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,10 @@ In earlier versions, `CREATE SCHEMA` served as an alias for `CREATE DATABASE`, w
545545
`IAttachment::executeCreateDatabase` and `isc_create_database` to create databases. This is no longer the case;
546546
the only valid syntax now is `CREATE DATABASE`.
547547

548-
### Object names in error messages
548+
### Object names in error messages and expressions
549549

550-
Object names included in error or informative messages are now qualified and quoted in the message parameters,
551-
even for DIALECT 1 databases. For example:
550+
Object names in error and informational messages are now consistently qualified and quoted within message parameters,
551+
even in DIALECT 1 databases.
552552

553553
```sql
554554
SQL> create table TABLE1 (ID integer);
@@ -566,6 +566,8 @@ unsuccessful metadata update
566566
-Schema "Weird ""Schema""" already exists
567567
```
568568

569+
The `RDB$ERROR(EXCEPTION)` expression now returns the fully qualified and quoted name of the exception as well.
570+
569571
### Object name parsing outside SQL
570572

571573
When working with object names in `isc_dpb_search_path`, `isc_sdl_schema`, and `MAKE_DBKEY`, the names follow the same
@@ -580,6 +582,15 @@ characters.
580582
The minimum database page size has been increased from 4096 to 8192 bytes. This change was necessary because the
581583
previous minimum could no longer accommodate updates done in the system indexes.
582584

585+
### System function overrides
586+
587+
In Firebird versions prior to 6, user-defined functions could override system functions that use standard syntax,
588+
such as `ABS` and `MOD`. This behavior is no longer allowed.
589+
590+
Starting with Firebird 6, system functions must be called without quotes and without a schema name. If a user-defined
591+
function shares a name with a system function, it must be explicitly called using quotes or qualified with the schema
592+
name.
593+
583594
### Built-in plugins
584595

585596
Built-in plugins are migrated by `gbak` to their own schemas. Stored routines referenceing them should be updated to

0 commit comments

Comments
 (0)