[Firebird-devel] A new Rust driver

2020-08-23 Thread Luis Fernando Batels
Hi! I would like to share a new lib for use the Firebird in Rust programming language, and currently the only one: https://github.com/fernandobatels/rsfbclient. We are using the official fbclient, but one of contributors is also working on a native Rust implementation. -- Att, Luis Fernando

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Adriano dos Santos Fernandes
Em dom, 23 de ago de 2020 09:18, Mark Rotteveel escreveu: > On 23-08-2020 13:43, Dimitry Sibiryakov wrote: > > 23.08.2020 03:39, Adriano dos Santos Fernandes wrote: > >> I have created RDB$BLOB_UTIL package pull request: > > > >AFAICS this package is based on UDR. Does it really have to be >

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Dimitry Sibiryakov
23.08.2020 14:17, Mark Rotteveel wrote: What is your argument against making it built-in? Actually none except may be security. I don't know whether execution permissions can be granted or revoked for system packages. I just have a feeling that Oracle-compatible set of packages can be

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Adriano dos Santos Fernandes
Em dom, 23 de ago de 2020 05:03, Mark Rotteveel escreveu: > I'm wondering if it would be possible to make the PSQL compiler a little > bit more intelligent and do such optimizations automatically. > By definition you cannot write to a created (and already closed) blob if you reopen it. And PSQL

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Adriano dos Santos Fernandes
Em dom, 23 de ago de 2020 05:10, Mark Rotteveel escreveu: > I haven't looked in depth, but as far as I can tell, this only handles > binary blobs. Is that correct? > I have initially tought to support text operations explicitly too but in the end I found it unneccessary. You just need to call

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Mark Rotteveel
On 23-08-2020 13:43, Dimitry Sibiryakov wrote: 23.08.2020 03:39, Adriano dos Santos Fernandes wrote: I have created RDB$BLOB_UTIL package pull request:   AFAICS this package is based on UDR. Does it really have to be system? May be it would be better to make it optionally declarable as any

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Dimitry Sibiryakov
23.08.2020 03:39, Adriano dos Santos Fernandes wrote: I have created RDB$BLOB_UTIL package pull request: AFAICS this package is based on UDR. Does it really have to be system? May be it would be better to make it optionally declarable as any other UDR: just library and SQL script. --

[Firebird-devel] ODP: RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Karol Bieniaszewski
>>PSQL compiler a little >>bit more intelligent and do such optimizations automatically. It should be more inteligent as this is simple task. Blob should have flag like returned outside. If set then new blob should be created if false it is simple appended. E.g. in this loop there is no need

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Mark Rotteveel
I haven't looked in depth, but as far as I can tell, this only handles binary blobs. Is that correct? Mark On 23-08-2020 03:39, Adriano dos Santos Fernandes wrote: Hi! I have created RDB$BLOB_UTIL package pull request: https://github.com/FirebirdSQL/firebird/pull/281 Here is a test

Re: [Firebird-devel] RFC: RDB$BLOB_UTIL system package

2020-08-23 Thread Mark Rotteveel
I'm wondering if it would be possible to make the PSQL compiler a little bit more intelligent and do such optimizations automatically. Mark On 23-08-2020 03:39, Adriano dos Santos Fernandes wrote: I have created RDB$BLOB_UTIL package pull request: