8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00
Commit Graph

53645 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
ebe39c4b6a Documentation for time zone support. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d3df86068a Allow to use, for example, time zones Etc/GMT+1 and Etc/GMT-1. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
46e954f863 Change UTC->GMT as appropriate and reorder the identifiers so GMT becomes number 65535. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
0a5ab86198 Update keywords doc. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
a65f8ffb5e Allow literal and conversion from timestamp with date and time zone but without time.
For example: timestamp '2018-01-02 America/Sao_Paulo'
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
53be87c228 Reject invalid conversion: cast('01-today' as date) - another CORE-5750 case. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
fb7a6b48a8 Implement DDL conversions. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
08a68af79f There seems to be no reason for this code duplication. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
150f62d599 Embed the utc_timestamp as ISC_TIMESTAMP struct inside ISC_TIMESTAMP_TZ.
Some struct field names adjustments accordingly.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
ba76d14785 Bug fixes. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
46613ba1b3 Increase maximum time zone length. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
9a56fe9a9b Add list of all time zones. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e0450a79d9 Add encode/decode functions to IUtil and remove partially added legacy API functions. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
c15a38ca78 Fix multi-field sort. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
b04907d431 Correction. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
b11daa52cc Fixed Windows build. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
3b5aa40b43 Fixed DATEDIFF. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
141f62611b Changing descriptors to store in memory date/time tz in UTC and usage of ICU for time zone regions.
This version is fixedly configured only with America/Sao_Paulo and America/Los_Angeles.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
8792dff315 Internal support for time zone regions in addition to offsets.
Simulate regions with fixed BRT and BRST regions.
2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
4812ce8ee8 Fixed CORE-5750 - Date-time parsing is very weak. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
5becd96357 Fixed SQLDA_DISPLAY's type name. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
2b6ca80b87 Support for AT { TIME ZONE <zone> | LOCAL } clause. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d268f7344f Change time zone displacement field by a opaque zone field. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
60f1ed07a0 Fix the last commit. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
d68f886c77 Added optional WITHOUT TIME ZONE to TIME/TIMESTAMP datatypes. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
89d4b20d07 Fix ISQL's SET TIME command. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e84f443e8d Fixed CORE-5717 - Reject non-constant date/time/timestamp literals. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
0b24bb8353 Fix conversion from strings TODAY, NOW, TOMORROW and YESTERDAY to TIME/TIMESTAMP WITH TIME ZONE. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
ac57e4c36f Add a space before the time zone when converting to string. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
e3b0247336 Improve sort space and CPU processing for INTL_DATA, decfloat and date/time with time zone. 2018-11-12 13:18:00 -02:00
Adriano dos Santos Fernandes
7100879498 Initial implementation of time zone support - CORE-694.
TODO:
- Support regions.
- Reevaluate decision of store date/time components in memory in its own time zone instead of normalized to UTC.
- Fix ISQL's SET TIME command.
- Allow usage of "WITHOUT TIME ZONE" with TIME/TIMESTAMP data types.
- Think about compatibility of CURRENT_TIME/CURRENT_TIMEZONE.
- Support AT { LOCAL | TIME ZONE <zone> } expression.
- Support as needed and fix assertions when altering field types.
- Change conversion to string to put a space before the time zone.
- Big endian version of SKD_time_tz and SKD_timestamp_tz.
2018-11-12 13:18:00 -02:00
firebirds
1824698b96 increment build number 2018-11-12 00:03:21 +00:00
hvlad
573044fe88 Enable "Enhance Optimized Debugging" for MSVC14 and MSVC15 builds 2018-11-12 00:21:18 +02:00
hvlad
31b641112a Fixed old typo 2018-11-12 00:17:17 +02:00
firebirds
a072745b08 increment build number 2018-11-10 00:03:24 +00:00
hvlad
01d26b8941 This should fix bug CORE-5959 : Firebird returns wrong time after changes of time zone 2018-11-09 13:03:31 +02:00
hvlad
b0116d7177 Enable "Enhance Optimized Debugging" to produce more useful debug info (.pdb files) 2018-11-09 12:47:44 +02:00
firebirds
010abc4bb0 increment build number 2018-10-31 00:03:22 +00:00
Roman Simakov
4d223744a6 Fixed CORE-5955: Unable to init binreloc with ld >= 2.31 2018-10-30 13:38:16 +03:00
Dmitry Yemanov
643c6d35ec Fixed the regression I introduced some time ago 2018-10-30 13:26:37 +03:00
firebirds
98f4d499a1 increment build number 2018-10-30 00:03:20 +00:00
Dmitry Yemanov
59dd58ce73 Fixed possible corruption of the monitoring shared data 2018-10-29 12:16:39 +03:00
firebirds
80529ab68e increment build number 2018-10-27 00:03:31 +00:00
Dmitry Yemanov
2cb9e64831 More flexible solution for CORE-5612 2018-10-26 19:57:43 +03:00
Dmitry Yemanov
f59f188706 Misc corrections 2018-10-26 11:09:27 +03:00
Dmitry Yemanov
df02669bda Misc corrections 2018-10-26 11:03:45 +03:00
Dmitry Yemanov
875c653bb4 Docs for Beta 1: first round 2018-10-26 10:56:51 +03:00
Dmitry Yemanov
96b9886171 Fixed CORE-5943: Server crashes preparing a query with both DISTINCT/ORDER BY and non-field expression in the select list 2018-10-26 10:27:20 +03:00
firebirds
e09430b6e6 increment build number 2018-10-26 00:03:25 +00:00
Dmitry Yemanov
452f5aacea Updated some docs 2018-10-25 15:32:49 +03:00