Re: [Firebird-devel] UDF by descriptor - paramdsc.dsc_sub_type - character sets

2016-07-26 Thread Geoff Worboys
B v2.5 I don't know. Now that I know they exist I can probably live with them until I migrate this application to FB3 (although that will probably a long while). Thanks for your time and patience, Adriano. -- Geoff Worboys Telesis Computing Pty Ltd --

Re: [Firebird-devel] UDF by descriptor - paramdsc.dsc_sub_type - character sets

2016-07-25 Thread Geoff Worboys
t block line: 6, col: 3 What is required to get this example to work? In both FB2.5.6 and FB3 (under Windows) I get: "Only INSERT commands are accepted in bulk mode" (Any example that would let me run EXECUTE BLOCK with a parameter in isql would help.) -- Geoff Worboys Telesis Comput

[Firebird-devel] [FB-Tracker] Created: (CORE-5317) Stack overflow in cvt.cpp with invalid DSC from UDF

2016-07-23 Thread Geoff Worboys (JIRA)
Affects Versions: 2.5.6 Reporter: Geoff Worboys Priority: Minor I've marked this down as a UDF related issue because I don't imagine you should get invalid DSC from anywhere else. If a UDF returns an invalid result "by descriptor" (an invalid DSC) then it is

[Firebird-devel] [FB-Tracker] Created: (CORE-5316) EXECUTE BLOCK parameter character set comes from attachment not declaration

2016-07-23 Thread Geoff Worboys (JIRA)
Issue Type: Bug Components: Charsets/Collation Affects Versions: 2.5.6 Environment: Windows 10, 32bit Firebird Reporter: Geoff Worboys EXECUTE BLOCK ( "Param1" VARCHAR(80) CHARACTER SET WIN1252 = :"Param1" ) RETURNS (

Re: [Firebird-devel] UDF by descriptor - paramdsc.dsc_sub_type - character sets

2016-07-22 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: > On 22/07/2016 08:38, Geoff Worboys wrote: >> the other regarding EXECUTE BLOCK parameters: > You did not put full test case here, so I do not know what > you mean. > Of course, parameters are converted to client charset, even > if they u

[Firebird-devel] [FB-Tracker] Created: (CORE-5315) UDF by descriptor parameters sometimes get ttype_dynamic for character set

2016-07-22 Thread Geoff Worboys (JIRA)
Issue Type: Improvement Components: UDF Affects Versions: 2.5.6 Environment: Windows 10, Delphi 10.1, 32bit build Reporter: Geoff Worboys Priority: Minor Using "by descriptor" parameters a UDF can read the character set of a string input

Re: [Firebird-devel] UDF by descriptor - paramdsc.dsc_sub_type - character sets

2016-07-22 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: > On 22/07/2016 02:49, Geoff Worboys wrote: >> >> Is this expected behaviour? > No, I think. ttype_dynamic should not escape from the engine. Okay, I'll raise a tracker item for it. ... I'm wondering if there might be two issues items

[Firebird-devel] UDF by descriptor - paramdsc.dsc_sub_type - character sets

2016-07-22 Thread Geoff Worboys
derstand the last example but the EXECUTE BLOCK example seems wrong.) ttype_dynamic is not all that useful inside a UDF, because it has no way to find out what the relevant attachment character actually set was. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] Longer metadata names and related things

2016-06-13 Thread Geoff Worboys
way or another (even if, in many cases, the "localisation" has been only to localise programmer-speak into English ;-). Internalising that capability would be a nice thing to see and could offer other benefits as well, like being able to rename any object at any time without impact to the st

Re: [Firebird-devel] Longer metadata names and related things

2016-06-07 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: > Em 03/06/2016 23:30, Geoff Worboys escreveu: >> Can I suggest then, that you implement a database option and/or >> a server option that controls the acceptance of long metadata >> names. Databases could upgrade with the option set

Re: [Firebird-devel] Longer metadata names and related things

2016-06-03 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: > On 03/06/2016 10:35, Geoff Worboys wrote: >> This is not a request, I am just asking whether the option >> has been considered as a way of maintaining backward >> compatibility. > Not considered nor will. > No reason to introdu

Re: [Firebird-devel] Longer metadata names and related things

2016-06-03 Thread Geoff Worboys
atibility. -- Geoff Worboys Telesis Computing Pty Ltd -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming

Re: [Firebird-devel] isc_que_events immediate callback

2016-01-04 Thread Geoff Worboys
Dimitry Sibiryakov wrote: > 04.01.2016 15:49, Geoff Worboys wrote: >> Which leaves me trying to work out how to determine whether I can >> ignore a callback or not. Is there a reliable way to do this so >> that I don't signal an event when there hasn't actually been one?

Re: [Firebird-devel] march switch in posix build for x86 architecture

2015-12-29 Thread Geoff Worboys
ork out what it buys first and then decide whether it is worth the possible cost. -- Geoff Worboys Telesis Computing Pty Ltd -- Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Enhancement for numbers calculations

2015-12-07 Thread Geoff Worboys
collations for sorting and indexing, and UDFs for calculations). Obviously not as fast as have CPU support for such decimal numbers, but still not bad. -- Geoff Worboys Telesis Computing Pty Ltd Jim Starkey wrote: > The original Interbase implementation had rational, aka reasonable, > arit

Re: [Firebird-devel] Brainstorming Secure Unattended Start w/ Encrypted Files

2015-08-24 Thread Geoff Worboys
to make it. -- Geoff Worboys Telesis Computing Pty Ltd -- Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: [Firebird-devel] Brainstorming Secure Unattended Start w/ Encrypted Files

2015-08-22 Thread Geoff Worboys
James Starkey wrote: Once it was belived that nobody could get fired for going IBM (SNA anyone?  Anyone?).  I worked with SNA / SDLC for some years. I don't remember anyone getting fired for choosing it. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] On-disk Encryption

2015-08-21 Thread Geoff Worboys
robust security impossible, however, it is a feature that can be convenient - even if only for testing and development purposes. -- Geoff Worboys Telesis Computing Pty Ltd -- Firebird-Devel mailing list, web interface

Re: [Firebird-devel] Odp: Firebird 3 API demo usage with Pascal

2015-03-10 Thread Geoff Worboys
and FPC. provide both Delphi and FreePascal support in example code will need to take care to use specific types, like UTF8String rather than just String. And PAnsiChar and AnsiChar for the string elements. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] Firebird 3 API demo usage with Pascal

2015-03-06 Thread Geoff Worboys
for the string elements. -- Geoff Worboys Telesis Computing Pty Ltd -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all

Re: [Firebird-devel] Odp: execute statement on external role

2015-02-07 Thread Geoff Worboys
requirement to do this should be looked on with suspicion. -- Geoff Worboys Telesis Computing Pty Ltd -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership

Re: [Firebird-devel] Odp: execute statement on external role

2015-02-07 Thread Geoff Worboys
Alex Peshkoff wrote: On 02/07/15 03:20, Geoff Worboys wrote: Simple? Well, I guess it is if I don't have any care about security. But context variables are not the way to do this sort of thing, load on demand from a secured table is a less open way of dealing with such private data

Re: [Firebird-devel] Odp: execute statement on external role

2015-02-06 Thread Geoff Worboys
is not a problem to me). P.S. Thanks Alex for your input into this. -- Geoff Worboys Telesis Computing Pty Ltd liviusliv...@poczta.onet.pl wrote: Hi, This is simple Store your user, password and role in context variable and use it in execute statement Regards, Karol Bieniaszewski - Reply

Re: [Firebird-devel] execute statement on external role

2015-02-05 Thread Geoff Worboys
Vlad Khorsun wrote: 05.02.2015 14:36, Geoff Worboys wrote: Hi, Firebird v2.5.3 I've been studying the source trying to understand the reasons behind a particular aspect of EXECUTE STATEMENT with ON EXTERNAL. Specifically, why are USER PASSWORD and ROLE tied together here? Why do you

Re: [Firebird-devel] execute statement on external role

2015-02-05 Thread Geoff Worboys
Alex Peshkoff wrote: On 05.02.2015 15:36, Geoff Worboys wrote: Hi, Firebird v2.5.3 I've been studying the source trying to understand the reasons behind a particular aspect of EXECUTE STATEMENT with ON EXTERNAL. Specifically, why are USER PASSWORD and ROLE tied together here? I had

Re: [Firebird-devel] execute statement on external role

2015-02-05 Thread Geoff Worboys
(will be tomorrow now), I find out. -- Geoff Worboys Telesis Computing Pty Ltd -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub

Re: [Firebird-devel] Case-sensitive plugin names

2014-12-30 Thread Geoff Worboys
forces the names to lower-case when doing the actual file search/load or whatever? It's a simple rule - and I seem to remember it being a fairly common recommendation for various types of project in the past. -- Geoff Worboys Telesis Computing Pty Ltd

[Firebird-devel] SysFunctions returning non-null value for null input

2014-10-16 Thread Geoff Worboys
). Any hints would be greatly appreciated. -- Geoff Worboys Telesis Computing Pty Ltd -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile

Re: [Firebird-devel] SysFunctions returning non-null value for null input

2014-10-16 Thread Geoff Worboys
Dmitry Yemanov wrote: 16.10.2014 14:55, Geoff Worboys wrote: I've cut the problem down to the thing that's giving me trouble: I want to return a non-null value when when the input expression resolves to null. In the code below I'm just trying to return a 0 (for the sake of the example

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-04 Thread Geoff Worboys
of the database that they access from a Firebird server running on their own machine) from extracting the source code. [Cutting this short, because Jim has already covered the point I was going to make about replacing the server to extract the data and/or keys.] -- Geoff Worboys Telesis

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-04 Thread Geoff Worboys
encryption added to Firebird to do it. But I can't protect myself from my customer unless I keep control of the server. If redsoft have done it, I'd be interested to hear how. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-04 Thread Geoff Worboys
complex solution than necessary or appropriate for the requirement. But whether this has to be done for v3.0 is another matter, although I can see the attraction of having the replacement syntax in place now, so that the old update can also be marked as deprecated now. -- Geoff Worboys Telesis

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-01 Thread Geoff Worboys
) I think that option 4 (Leave the rdb$procedures and rdb$triggers writable (or at list the source field)) is the best fit at this time. -- Geoff Worboys Telesis Computing Pty Ltd -- Slashdot TV. Video for Nerds. Stuff

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-01 Thread Geoff Worboys
Dimitry Sibiryakov wrote: 01.09.2014 16:01, Geoff Worboys wrote: At this late stage of v3.0, it seems to me that simple and least possible change (to v3 and to the developer) should be high on the list of priorities. More sophisticated options could be assessed in detail later. Exactly

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-01 Thread Geoff Worboys
is obviously in addition to that interception (along with key management etc.) - hence my assumption that it will take more code. If you can explain to me how it can take less code to do encryption, decryption and key management, than to write null to the source field the I am willing be educated. -- Geoff

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-01 Thread Geoff Worboys
their database for distribution, or when they login to apply updates to a customer database, they make sure to set this option in their connection string and away they go. -- Geoff Worboys Telesis Computing Pty Ltd -- Slashdot

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-09-01 Thread Geoff Worboys
gives more time to discuss the best way forward for Firebird - without implementing official DDL or other mechanism that we may have reason to regret/deprecate in the near future. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-08-31 Thread Geoff Worboys
the source, but really the only better solution is UDR, and developers need significant time to migrate. So if you want projects to stay current, you need to give them a changeover period to move to the better solution. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-08-31 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: On 31-08-2014 12:06, Geoff Worboys wrote: I'd like to argue that developers have already had years to find a better solution than deleting the source, but really the only better solution is UDR, and developers need significant time to migrate. So if you

Re: [Firebird-devel] Hiding source code of procedures and triggers will not work in FB 3

2014-08-29 Thread Geoff Worboys
a metadata extract feature, what was the point of that if we expected users to always have copies of the source they used to create the database? ;-) -- Geoff Worboys Telesis Computing Pty Ltd -- Slashdot TV. Video for Nerds

Re: [Firebird-devel] Database shutdown when udf raises an exception

2011-12-04 Thread Geoff Worboys
|| !d d2 0) { internal::setnull(rc); internal::set_int_type(rce, 1); return; } Something like this could make UDFs more powerful and error situations easier to deal with. -- Geoff Worboys Telesis Computing Pty Ltd

Re: [Firebird-devel] UTF8 Encoding and Decoding

2011-04-29 Thread Geoff Worboys
Adriano dos Santos Fernandes wrote: On 28/04/2011 08:20, Geoff Worboys wrote: ... While on this sort of subject are you able to offer any information about what happens to API text such as SQL statements and the like) sent to the server? (And details like relation names etc returned

Re: [Firebird-devel] UTF8 Encoding and Decoding

2011-04-29 Thread Geoff Worboys
? -- Geoff Worboys Telesis Computing -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial

Re: [Firebird-devel] UTF8 Encoding and Decoding

2011-04-29 Thread Geoff Worboys
release notes, but without any explanation of its purpose. Is that because it's always been there and just never documented? (Else, do you know when it arrived - which version of FB?) Thanks for your help. -- Geoff Worboys Telesis Computing

Re: [Firebird-devel] UTF8 Encoding and Decoding

2011-04-28 Thread Geoff Worboys
of NONE. Thanks again. -- Geoff Worboys Telesis Computing -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today

Re: [Firebird-devel] Feature request: database registration via aliases.conf, databases system table support

2011-04-13 Thread Geoff Worboys
Dimitry Sibiryakov wrote: 13.04.2011 11:45, Geoff Worboys wrote: More seriously. Yes I know there are important security considerations BUT I thought perhaps people were overlooking what I see as the biggest potential advantage of the request. Just because it is a risk does not take away