Re: [Firebird-devel] Pros/cons of stream blobs, and should I use them?

2021-10-05 Thread Mark Rotteveel

On 05-10-2021 17:33, Alex Peshkoff via Firebird-devel wrote:

On 10/5/21 5:49 PM, Mark Rotteveel wrote:

No, I was referring to the fact the OO API in Firebird 3 - according 
to the discussion I referenced - does not provide a way to build BPBs.




Exactly.
BTW, if needed it's very simple to backport additional Xpb types to FB3. 
I'm just not sure is it needed to someone.


I don't use the OO API myself, I was just wondering about the viability 
of stream blobs. This was an example where they seem to be handled as a 
second-class citizen/afterthought, which made me doubt if switching 
Jaybird to default to stream blobs is a good idea.


Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Pros/cons of stream blobs, and should I use them?

2021-10-05 Thread Alex Peshkoff via Firebird-devel

On 10/5/21 5:49 PM, Mark Rotteveel wrote:

No, I was referring to the fact the OO API in Firebird 3 - according 
to the discussion I referenced - does not provide a way to build BPBs.




Exactly.
BTW, if needed it's very simple to backport additional Xpb types to FB3. 
I'm just not sure is it needed to someone.





Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Pros/cons of stream blobs, and should I use them?

2021-10-05 Thread Mark Rotteveel

On 04-10-2021 11:53, Alex Peshkoff via Firebird-devel wrote:

On 10/3/21 2:25 PM, Mark Rotteveel wrote:

- New OO API (at least in Firebird 3), not providing an explicit way 
to create stream blobs (see "[Firebird-devel] IBlob::putSegment" from 
27 May 2021)


I suppose you mean this phraze:

"Last two parameters are required only if you want to use blob filters 
or use stream blob, that's out of scope here."


No, I was referring to the fact the OO API in Firebird 3 - according to 
the discussion I referenced - does not provide a way to build BPBs.


Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Memory manager cleanup / external libraries

2021-10-05 Thread Adriano dos Santos Fernandes
On 21/09/2021 10:15, Alex Peshkoff via Firebird-devel wrote:
> On 9/21/21 2:50 PM, Adriano dos Santos Fernandes wrote:
>> I think we can improve things here.
>>
>> We have our GlobalPtr, InitInstance and we may continue using them. And
>> we have FB_NEW which allocates memory from the global default pool.
>>
>> We may split that global default pool in two, so we'll have another
>> default pool for external (not controlled by us) libraries. All memory
>> allocated directly with "operator new" (not FB_NEW) will go to external
>> pool.
>>
>> And external pool will not be cleaned up on exit. Like we already have
>> with ICU memory.
>>
>> Of course we didn't intend to have all external code cleaning things and
>> we leak that pool structures, so it may have some special things. Once
>> we are destructing it if there is no memory allocated from it anymore,
>> it must be completely freed.
>>
>> Since it's a different pool, we may debug it and understand better how
>> the libraries we're using are doing with it.
>>
>>
> 
> This should work. There may be minor issues with implementation but in
> general I like this idea.
> 

https://github.com/FirebirdSQL/firebird/pull/6991


Adriano



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 4 Replicaton - INET/inet_error: read errno during replicaton

2021-10-05 Thread Dmitry Yemanov

05.10.2021 09:44, Nils Bödeker пишет:


Are there any plans when the next subrelease are published.


Yes, during the next couple of months.


Dmitry


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 4 Replicaton - INET/inet_error: read errno during replicaton

2021-10-05 Thread Nils Bödeker
Hello 

with build 4.0.1.2622 the error

Replicaton - INET/inet_error: read errno during replicaton

doesn't happen any more.

Are there any plans when the next subrelease are published.

With best regards

Nils Bödeker 




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel