Re: [Firebird-devel] IBlob::putSegment

2021-06-03 Thread Jiří Činčura
Not needed for me. At the moment I'm fine with IBlob, because so far the performance of my code is good enough. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] IBlob::putSegment

2021-06-03 Thread Alex Peshkoff via Firebird-devel
On 6/2/21 11:06 PM, Vlad Khorsun wrote: 02.06.2021 20:39, Jiří Činčura wrote:   IXpbBuilder* pb = utl->getXpbBuilder(, IXpbBuilder::BPB, NULL, 0); Looks like FB3 does not have BPB (https://github.com/FirebirdSQL/firebird/blob/R3_0_7/src/include/firebird/IdlFbInterfaces.h#L3827).

Re: [Firebird-devel] IBlob::putSegment

2021-06-02 Thread Vlad Khorsun
02.06.2021 20:39, Jiří Činčura wrote: IXpbBuilder* pb = utl->getXpbBuilder(, IXpbBuilder::BPB, NULL, 0); Looks like FB3 does not have BPB (https://github.com/FirebirdSQL/firebird/blob/R3_0_7/src/include/firebird/IdlFbInterfaces.h#L3827). > > Is it only in FB4? Seems yes,

Re: [Firebird-devel] IBlob::putSegment

2021-06-02 Thread Jiří Činčura
> IXpbBuilder* pb = utl->getXpbBuilder(, IXpbBuilder::BPB, > NULL, 0); Looks like FB3 does not have BPB (https://github.com/FirebirdSQL/firebird/blob/R3_0_7/src/include/firebird/IdlFbInterfaces.h#L3827). Is it only in FB4? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/

Re: [Firebird-devel] IBlob::putSegment

2021-05-27 Thread Alex Peshkoff via Firebird-devel
On 5/27/21 4:34 PM, Jiří Činčura wrote: a) user stream (not segmented) blobs Is there some docs for that? What I found in "Using_OO_API.html" is just "Last two parameters are required only if you want to use blob filters or use stream blob, that's out of scope here.". That parameters are

Re: [Firebird-devel] IBlob::putSegment

2021-05-27 Thread Jiří Činčura
> a) user stream (not segmented) blobs Is there some docs for that? What I found in "Using_OO_API.html" is just "Last two parameters are required only if you want to use blob filters or use stream blob, that's out of scope here.". -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/

Re: [Firebird-devel] IBlob::putSegment

2021-05-27 Thread Alex Peshkoff via Firebird-devel
On 5/27/21 12:13 PM, Jiří Činčura wrote: Hi, Is there a sweet spot for the buffer size/length when using IBlob::putSegment? a) user stream (not segmented) blobs b) use bigger buffers Or is it fine to put even 1 byte segments? It depends upon goals:) May be recommended as an efficient way