[Firebird-devel] Welcome back to C++ - Modern C++

2020-04-29 Thread marius adrian popa
https://docs.microsoft.com/en-us/cpp/cpp/welcome-back-to-cpp-modern-cpp?view=vs-2019 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Dimitry Sibiryakov
29.04.2020 19:11, Alex Peshkoff via Firebird-devel wrote: On my mind they both assume a) Yes. You are right. Sorry. -- WBR, SD. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Installing the ICU Files under Windows

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-28 16:55, Tony Whyman wrote: 2. There is a risk of a stealth (ICU) upgrade under Linux if the upgrade affects indexes that depend upon character set collation sequences. FYI - gfix is ready to help with this, it's enough to use switch:    -icu fix database to be u

Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 20:11, Alex Peshkoff via Firebird-devel wrote: On 2020-04-29 18:09, Dmitry Sibiryakov wrote: Hello, All.   What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero

Re: [Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 18:09, Dmitry Sibiryakov wrote: Hello, All.   What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero length data and RESULT_NO_DATA; b) Return some data of non-z

Re: [Firebird-devel] ODP: New API and scrollable cursors

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 19:34, Dmitry Yemanov wrote: 29.04.2020 18:50, Dmitry Yemanov wrote: Client side cursor appears not too complex at the first glance, but not sure do we want to have client or server side cursor. Scrollable cursor is already materialized at the server side, so I see no point do

Re: [Firebird-devel] ODP: New API and scrollable cursors

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 18:50, Dmitry Yemanov wrote: 29.04.2020 17:50, Alex Peshkoff wrote: Client side cursor appears not too complex at the first glance, but not sure do we want to have client or server side cursor. Scrollable cursor is already materialized at the server side, so I see no point dou

Re: [Firebird-devel] ODP: New API and scrollable cursors

2020-04-29 Thread Dmitry Yemanov
29.04.2020 18:50, Dmitry Yemanov wrote: Client side cursor appears not too complex at the first glance, but not sure do we want to have client or server side cursor. Scrollable cursor is already materialized at the server side, so I see no point doubling efforts on the client. It should rema

Re: [Firebird-devel] ODP: New API and scrollable cursors

2020-04-29 Thread Dmitry Yemanov
29.04.2020 17:50, Alex Peshkoff wrote: Client side cursor appears not too complex at the first glance, but not sure do we want to have client or server side cursor. Scrollable cursor is already materialized at the server side, so I see no point doubling efforts on the client. It should remai

[Firebird-devel] IBlob::getSegment() and the last segment

2020-04-29 Thread Dmitry Sibiryakov
Hello, All. What should be the behavior of getSegment() reading the last segment of the BLOB? a) Return some data of non-zero length and return RESULT_OK, next call shall return zero length data and RESULT_NO_DATA; b) Return some data of non-zero length and return RESULT_NO_DATA. In ex

Re: [Firebird-devel] ODP: New API and scrollable cursors

2020-04-29 Thread Alex Peshkoff via Firebird-devel
On 2020-04-29 08:19, Dmitry Yemanov wrote: 29.04.2020 00:36, Karol Bieniaszewski пишет: May i ask if this is big developmenet cost to support it on the client side api? It's supported in the API, but not supported in the remote protocol. IIRC, it can be easily implemented if a scrollable curs

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Adriano dos Santos Fernandes
On 29/04/2020 11:00, Tony Whyman wrote: > On 29/04/2020 13:59, Adriano dos Santos Fernandes wrote: >>> There probably should thus be a firebird-tzdata package as part of the >>> set of (deb/rpm) Firebird packages containing the latest tzdata files. >>> It should then be easy enough for the package

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Tony Whyman
On 29/04/2020 13:59, Adriano dos Santos Fernandes wrote: There probably should thus be a firebird-tzdata package as part of the set of (deb/rpm) Firebird packages containing the latest tzdata files. It should then be easy enough for the package maintainer to roll out updates to the time zone data

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Paul Reeves
On Wed, 29 Apr 2020 13:16:11 +0100 Tony Whyman wrote: > I don't claim any expertise on linux time zone files. However, there is a > ubuntu package "tzdata" which claims to include all the timezone files. I > am currently using Linux Mint 19.3 (ubuntu 18.04) and the most recent > changelog entry f

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Adriano dos Santos Fernandes
On 29/04/2020 09:49, Tony Whyman wrote: > > > There probably should thus be a firebird-tzdata package as part of the > set of (deb/rpm) Firebird packages containing the latest tzdata files. > It should then be easy enough for the package maintainer to roll out > updates to the time zone database th

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Tony Whyman
On 29/04/2020 13:27, Adriano dos Santos Fernandes wrote: On 29/04/2020 08:37, Paul Reeves wrote: On Wed, 29 Apr 2020 11:59:43 +0100 Tony Whyman wrote: Hopefully, an installer package will eventually be made available to automate the process. However, the above manual procedure is all that i

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Tony Whyman
On 29/04/2020 13:22, Adriano dos Santos Fernandes wrote: This has nothing to do with ICU. There is no ICU tz data package in Ubuntu. The data is with the libicu package inside the libraries. OK. That seems to be supported by the ICU documentation. There probably should thus be a firebird-tzda

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Lester Caine
On 29/04/2020 13:16, Tony Whyman wrote: The most recent Debian version is 2020a-1 (released 4 days ago). so I'll be interested to see how quickly that feeds down to ubuntu 18.04 - if ever. Its changelog is 2020a is the first release of TZ for 2020 and in addition to the Morocco and Yukon offs

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Adriano dos Santos Fernandes
On 29/04/2020 08:37, Paul Reeves wrote: > On Wed, 29 Apr 2020 11:59:43 +0100 > Tony Whyman wrote: > >> Hopefully, an installer package will eventually be made available to >> automate the process. However, the above manual procedure is all that is >> currently available. > I'm wondering how people

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Adriano dos Santos Fernandes
On 29/04/2020 09:16, Tony Whyman wrote: > On 29/04/2020 12:12, Adriano dos Santos Fernandes wrote: >> In Linux (Ubuntu as least) and probably MacOS, the ICU time zone >> database is not maintained updated in an Ubuntu release. I guess even if >> they rebuild and update the library, it still comes w

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Lester Caine
On 29/04/2020 12:37, Paul Reeves wrote: - The changes will, in all probability, more than 99% of the time, have no relevance for over 99% of our users. But can one take the risk of ignoring them? Unfortunately this 'excuse' is quite prevalent in most actions relating to TZ ... How

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Tony Whyman
On 29/04/2020 12:12, Adriano dos Santos Fernandes wrote: In Linux (Ubuntu as least) and probably MacOS, the ICU time zone database is not maintained updated in an Ubuntu release. I guess even if they rebuild and update the library, it still comes with the original tz database. So the process of

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Molnár Attila
c. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel __ Information from ESET Mail Security, version of virus signature database 21244 (20200429)

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Paul Reeves
On Wed, 29 Apr 2020 11:59:43 +0100 Tony Whyman wrote: > Hopefully, an installer package will eventually be made available to > automate the process. However, the above manual procedure is all that is > currently available. I'm wondering how people think we could automate this process. Thoughts t

Re: [Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Adriano dos Santos Fernandes
On 29/04/2020 07:59, Tony Whyman wrote: > > Many thanks to those who responded yesterday to my question on ICU > library file installation under Windows. I am in the process of > updating the IBX User Manual to include the Firebird 4 extensions and > this question arose when updating the deployment

[Firebird-devel] ICU File Deployment Guidance

2020-04-29 Thread Tony Whyman
Many thanks to those who responded yesterday to my question on ICU library file installation under Windows. I am in the process of updating the IBX User Manual to include the Firebird 4 extensions and this question arose when updating the deployment guidelines. Specifically, giving IBX users gu