[firebird-support] Firebird client connection timeout

2019-12-31 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi all! Is there a way to set connection timeout for firebird at client side? The default value is somewhere around 50 seconds and if i have wrong IP address set up in connection parameters then the application will freeze for almost a minute before it gives an error message that it couldn't con

Re: [firebird-support] Re: FB and VPN

2017-09-04 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
This is network problem, not Firebird problem. Make sure he ican access the host machine. On Friday, September 1, 2017, 7:52:35 PM GMT+3, dres...@tbinc.com [firebird-support] wrote:   The exception they are getting is: ISC ERROR CODE:335544721 ISC ERROR MESSAGE: Unable to complete

[firebird-support] UDF in C language using ib_util_malloc

2017-08-25 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hello! How can i use ib_util in my UDF written is C language if ib_util is written in C++?  (i need ib_util_malloc from there)Is there also a C version available?Or do i have to write my UDF in C++?  (i'm not good in that language) Thank you!

Re: [firebird-support] UDF or/and maybe Charset problem

2017-08-24 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
No, it has value of TRX12270 On Thursday, August 24, 2017, 12:56:09 PM GMT+3, Antônio Gomes acgomes2...@yahoo.com.br [firebird-support] wrote:   there no a null string? De: "Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]" Para: Firebird-support

[firebird-support] UDF or/and maybe Charset problem

2017-08-24 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi, i have an UDF function that runs perfectly on Linux 64 bit systems. I wanted to port it to Windows 32 bit, but i'm having problems there. The UDF was written in C (not C++), compiled on Linux with gcc, everything works fine. I compiled the same C file on Windows with MinGW Developer Studio (u

Re: [firebird-support] UDF not defined error but udf is defined

2017-08-24 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Check if your DLL is compiled as 32 bit one. 32 bit DLL gives the same error on 64 bit Firebird. Also check if your function names are not mangled in your DLL  (check it with this free tool DLLEXP  http://www.nirsoft.net/utils/dll_export_viewer.html I'm having similar problemsOn Thursday, Augus

Re: [firebird-support] 64 bit UDF DLL problem on Windows

2017-03-30 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Finally i managed to solve the problem.the keyword was  extern "C" Now the compiler stopped mangling the function names and Firebird can see them correctly. Good luck all! On Wednesday, March 29, 2017 11:54 AM, "Michal Kurczabinski michk...@gmail.com [firebird-support]" wrote:   Thi

Re: [firebird-support] 64 bit UDF DLL problem on Windows

2017-03-28 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
th platforms. I have wasted a lot of time but succes yet to come. Please help if you can.  On Tuesday, March 28, 2017 4:26 PM, "Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]" wrote: 28.03.2017 15:14, Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support] wro

Re: [firebird-support] 64 bit UDF DLL problem on Windows

2017-03-28 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
upport]" wrote: 28.03.2017 13:26, Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support] wrote: > Do you have ideas why it cannot find my UDFs?   First of all, check that your DLL exports 'sum'

[firebird-support] 64 bit UDF DLL problem on Windows

2017-03-28 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi all, I hope someone can help me because I'm running out of ideas. I have an UDF collection written in C language. It works fine on the Linux server (Firebird version is: firebird-superclassic-2.5.6.27020.0-1.el7.x86_64)I just simply compiled it with gcc, copied the output .so file to Firebird'

[firebird-support] Problem installing ODBC driver on CentOS 7 linux

2016-02-08 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hello all! Please somebody help me with installing ODBC driver on CcentOS linux. I need it to make Sphinx work. I followed Marius Popa's instructions, from FB main site: http://www.firebirdnews.org/howto-install-firebird-odbc-driver-for-unixodbc-from-source/ First i installed firebird-superserve

Re: [firebird-support] Re: Firebird for a web application

2015-11-25 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi, i don't know what you want to monitor. There are MON$ tables for monitoring FB.We are using IBExpert for handling databases, which also has monitoring options (it actually requests data from MON$ tables).There also is performance analysis function and a lot more. What we really do is: create

Re: [firebird-support] Cannot Connect to FireBird Database from network workstation

2015-11-25 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
And also see if selinux is not blocking you. On Monday, November 23, 2015 4:52 PM, "Steve Wiser st...@specializedbusinesssoftware.com [firebird-support]" wrote:   Run netstat -an from the command line on the server and make sure port 3050 is listening (you should see something lik

Re: [firebird-support] Re: Firebird for a web application

2015-11-24 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi Mirco, we also developed dozens of web applications since 2009 using Firebird on Linux (CentOS) servers and we never had problems. Once i had a database corruption, but that could have been avoided if we stuck to the general safety rules. We also have big databases, but we dont really like to

[firebird-support] How to make Sphinx work with Firebird on Linux?

2015-11-12 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hi, i need FTs (Full Text Search) function to my application. After reading and comparing different open-source solutions i found Sphinx is my way to go. I run 64bit Firebird on a CentOS 6.x o.s. I also managed to install Sphinx with yum (although it is a pretty old 0.8.9.1 versionthe current

[firebird-support] Corrupted database

2015-06-15 Thread Nagy Szilveszter nagy_szilvesz...@yahoo.com [firebird-support]
Hello, one of my firebird databases got corrupt in the last couple of days. It's a pretty big one the FDB file is 8 GB. The error I observed in the applications logfiles. It happens when the users try to run a specific SP. The error message is: # -902 # database file appears corrupt (/data/fireb

[firebird-support] Invalid BLOB ID

2014-03-07 Thread Nagy Szilveszter
Hi all, i have this error repeated about 20 times when backing up my database: gbak:error accessing BLOB column EXPLICATIE -- continuing gbak: ERROR:invalid BLOB ID What should i do? Thank you, Szilveszter

Re: [firebird-support] Object in use... wtf???

2013-11-26 Thread Nagy Szilveszter
I think this is a bug in FB 2.5, which causes a lot of headaches for me too...Sometimes even restarting Firebird service doesn't help.  Does anyone know a solution for this? I'm using FB 2.5 64 bit Superserver on Centos Linux On Tuesday, November 26, 2013 11:16 AM, Kjell Rilbe wrote:   De

Re: [firebird-support] Re: Do global temporary tables have performance advantages over usual tables

2013-08-07 Thread Nagy Szilveszter
I'm using GTTs in place of CURSORs. From: hvlad To: firebird-support@yahoogroups.com Sent: Wednesday, August 7, 2013 11:29 AM Subject: [firebird-support] Re: Do global temporary tables have performance advantages over usual tables   --- In firebird

[firebird-support] How to get SQL error message?

2013-07-30 Thread Nagy Szilveszter
Hi, i have an SP which contains some EXECUTE STATEMENT commands. I want to trap any possible errors these statements might generate, and save them into a log table, so i can analyze them later. I only know how to get the error code (SQLCODE, GDSCODE) but i need the message too. In which syst

Re: [firebird-support] insert from select in psql

2013-07-29 Thread Nagy Szilveszter
I found a simple solution: EXECUTE STATEMENT 'insert into A select * from B'; :D ____ From: Nagy Szilveszter To: "firebird-support@yahoogroups.com" Sent: Tuesday, July 30, 2013 9:15 AM Subject: [firebird-support] insert from select i

[firebird-support] insert from select in psql

2013-07-29 Thread Nagy Szilveszter
Hi all, i have a table A which contains user introduced data. I have an identical structured table B. I want to append all data from A into B at each end of month, and empty table A so it will be small and fast for operations...and from table B i do the reportings. In PSQL i cannot use some

Re: [firebird-support] Incremental Backup

2013-06-26 Thread Nagy Szilveszter
Is your database so big that you need the speed nbackup gives you? Compare the speed with the integrity...which is more important in your scenario? Think about a failure of your database...how will you proceed at restoring? If it is a mission critical database you won't have too much time for re

Re: [firebird-support] Help on this SQL statment

2013-06-15 Thread Nagy Szilveszter
GROUP BY PRODUCTDESCRIPTION  there is PRODUCTCODE missing here if you use aggregate functions u have to add all fields to GROUP BY that are not used with aggregate functions From: Andrew gable To: firebird-support@yahoogroups.com Sent: Saturday, June 15, 2013

Re: [firebird-support] Re: Unable to INSERT INTO TABLE

2013-05-15 Thread Nagy Szilveszter
Really! :) Well...that will be the next error i guess...like unknown field or something  insert into allBillOfMaterials('', totalTitles, bomNumber, bomDescription) AllStar...may i recommend first reading an SQL book before "jumping in deep water"? These errors are not really Firebird related,

Re: [firebird-support] Re: Unable to INSERT INTO TABLE

2013-05-15 Thread Nagy Szilveszter
Probably you inserted a too long string in a small field. Example: you get this error if you want to insert "ABCDEFG" in a Varchar(5) sized field. (this string need 7 chars) From: Allstars To: firebird-support@yahoogroups.com Sent: Wednesday, May 15, 2013

Re: [firebird-support] Unable to INSERT INTO TABLE

2013-05-15 Thread Nagy Szilveszter
Did you commit after creating the table? From: Allstars To: firebird-support@yahoogroups.com Sent: Wednesday, May 15, 2013 8:42 PM Subject: [firebird-support] Unable to INSERT INTO TABLE   Hello there, I am fairly new to FIREBIRD SQL. I am using W

[firebird-support] Installing FireBird on Android device

2013-04-18 Thread Nagy Szilveszter
Hi all! Can anyone please give me hint, advices about how to install Firebird on Android device? I'd like to create a small Android application that collects data (interview) and when returning to the office it would upload the collected data to a server. Direct database connection to the mai

Re: [firebird-support] Retrieve fieldnames AND types

2013-02-14 Thread Nagy Szilveszter
Here are some other userful views that we use to get internal data  (mostly we build edit forms from these information) : list all domains with type & length CREATE OR ALTER VIEW OBJ_DOMAINS(     DOMAIN_NAME,     FIELD_LENGTH,     FIELD_CHARLENGTH,     FIELD_TYPE) AS SELECT f.rdb$field_name,  

Re: AW: [firebird-support] sql query in firebird

2013-02-12 Thread Nagy Szilveszter
Hey there, i did not follow the beginning of this thread but this looks like a proper SQL query...and it should have nothing to do with the ODBC driver, because the driver just sends the query to the server and the server will run it. Could you please provide the error message you receive at r