Monday, 2009-06-29

*** withdefault has joined #ingres00:01
*** ChanServ sets mode: +o withdefault00:01
*** Gerhard has joined #ingres00:08
*** Gerhard has quit IRC00:59
*** Gerhard has joined #ingres01:48
GerhardHi all01:48
*** grantc has joined #ingres01:53
*** ChanServ sets mode: +o grantc01:53
GerhardIt seems to me that on Windows machines up-to-date Ingres patch installers are worse than those in the Ingres 2.5/2.6 era. Any opinions about this?02:00
Gerhardexample: on two machines with Ingres 9.2.0, p13354 failed because %II_SYSTEM%\ingres\bin\cazipxp.exe was newer than the file included in the patch, so patch installer told me...02:07
Gerhard...it was "interrupted" (very bad error error message). Looking at patch.log unveiled the problem so I manipulated the time stamp of the file to make it look 2 years older and after that, I could apply the patch.02:08
*** [1]Gerhard has joined #ingres02:29
*** Gerhard has quit IRC02:33
*** [1]Gerhard is now known as Gerhard02:33
*** toumi01 has joined #ingres04:27
*** skythe has quit IRC04:38
*** skythe has joined #ingres04:39
*** skythe has quit IRC05:29
*** skythe has joined #ingres05:29
*** skythe has quit IRC05:31
*** skythe has joined #ingres05:34
*** DarylM has joined #ingres06:00
*** Gerhard has quit IRC06:11
thiagomzGuys... if I got a Duplicated Keys, generated by a Rule... how to known what table is causing that ? the message do not show me nothing to help me.06:22
thiagomz:-906:22
thiagomz:-(06:22
*** DarylM has quit IRC06:38
toumi01thiagomz: IIRC there was a community forum thread about your duplicate key and rule problem a few months ago. It did not yield a solution?06:51
thiagomztoumi01: tkz.. i will look for it...06:52
toumi01Was it you who initiated the thread?06:53
thiagomzyes, was me..06:56
thiagomzmy developers is using print rules06:56
thiagomzso, they identify the last rule06:57
thiagomzand debug it to identify what was the table06:57
toumi01but that isn't doing the job for them?06:57
thiagomzyeah, but they spend a lot of time to identify a single table...06:58
thiagomzingres should show ta table name on the message...06:58
toumi01Karl (kschendel) in the thread indicates it's a hard problem - and he is probably the world expert in terms of knowing both Ingres internals and hands-on situations.06:59
toumi01Probably the reason that the table does not get named in the message - this is a guess - is because of the layering of Ingres facilities. This compartmentalizes function (a good coding technique) but also compartmentalizes info that would help in messages (bad).07:00
toumi01The solutions could be (1) a code change to figure out how to get the name of the table into the message or (2) a strategy better than you have thus far found to infer the info from other traces and logs etc.07:01
thiagomzset trace point sc924 4500;07:02
thiagomzcommit;07:02
thiagomzi will try it...07:02
toumi01Have you tried the comp.databases.ingres news group to see if there are clever ideas out there?07:02
toumi01It is now integrated with the community forum: http://community.ingres.com/forum/comp-databases-ingres/07:03
toumi01There are some old hands with Ingres who use c.d.i but not the community forums.07:03
thiagomztoumi01: tkz07:05
*** mull has joined #ingres07:17
thiagomztoumi01: other problem...07:20
thiagomzon my procedure i have a insert... after that my developer check if the insert ran with sucess....07:21
thiagomzon 4Gl , if i got the duplicated key...07:22
thiagomzit show me my custom message... sample : " Error trying to insert on XXX table ..."07:22
thiagomzin 4GL Vision it is ok...07:22
thiagomzbut.. here we use Ingres ODBC with POWER Builder...07:23
thiagomzon it.. i see only the Duplicated key error...07:23
thiagomzi cant see my custom message...07:23
thiagomzany idea ?07:23
toumi01not sure I understand the exact mechanisms here...07:24
thiagomzimagine...07:25
thiagomza procedure with a INSERT ...07:25
toumi01the 4GL messages about XXX table was for table being updated that triggered the problem or actual duplicate error because of a rule?07:25
thiagomzafter the insert... I check if the insert ran... was executed...07:25
thiagomzwith sucess07:25
thiagomzif not OK show message " error inserting on table X module RH " ....07:26
thiagomzon 4GL i saw my custom message...07:26
toumi01the rule provides the custom message?07:26
thiagomzbut not in my ODBC Ingres with PowerBuilder07:26
toumi01and with 4GL you see it?07:27
thiagomzyeah..07:27
toumi01but with ODBC you can't get the message back to the user interface?07:27
thiagomzi wil put it on pastebin... one moment07:27
thiagomztoumi01: perfect07:27
thiagomzmy english is not so bad ...07:27
thiagomz;)07:27
toumi01not bad at all :)07:28
toumi01very quiet here on #ingres today ... ODBC folks on summer holiday? ;)07:28
grantceh ? ;)07:29
thiagomzhttp://pastebin.com/m3d1b174a07:29
toumi01:)07:29
thiagomzthe code goes after the insert on the procedure07:30
toumi01so the issue is how to make this message caused by <> 0 return status visible to the end user with your current tool set? or maybe to trap it and handle it in the program?07:32
*** DarylM has joined #ingres07:32
thiagomztoumi01: yes07:32
thiagomztoumi01: that code works on Vision07:33
thiagomzbut no to ODBC with Powerbuilder07:33
thiagomzbut not07:33
thiagomzmy ingres is 2.607:34
toumi01I'm no ODBC expert. Anyone else here know? Have you tried http://community.ingres.com/forum/database-drivers-apis/ and/or c.d.i for this issue?07:35
thiagomzwe can change the question...07:38
thiagomzHow to treat error codes on procedures ?07:38
toumi01exactly07:38
thiagomzhow to obtain it and manipulate it...07:38
toumi01but I'm not sure of the answer07:39
thiagomz;)07:39
thiagomzi will put it on forum07:39
thiagomzhttp://community.ingres.com/forum/dba-forum/10877-how-treat-error-codes-procedures.html#post2647607:43
grantcSQLError() is the function you call to fetch the error07:43
thiagomztoumi01: look if you can understand.07:43
thiagomzgrantc: do you have a example ?07:44
grantcat least at the C layer -  I guess powerbuilder has something that maps07:44
grantchttp://ingres.pastebin.com/m58e5feec07:45
thiagomzi was talking to my developer...07:49
thiagomzand he said that...07:50
thiagomzif i run a procedure on isql07:50
thiagomzand it generate a error...07:50
thiagomzthe procedure stops ... after the error ...07:50
thiagomzand do not show the custom message...07:51
*** DarylM has quit IRC07:52
grantci cannot remember if terminal monitor shows messages returned from a procedure07:53
*** grantc has quit IRC07:57
*** atrofast has joined #ingres08:04
*** atrofast has quit IRC08:11
*** atrofast has joined #ingres08:12
*** DerMeister has joined #ingres08:46
*** Deyan has joined #ingres09:12
Deyanhello guys09:12
Deyananyone around? :)09:12
*** grantc has joined #ingres09:22
*** ChanServ sets mode: +o grantc09:22
*** Deyan has quit IRC09:33
*** grantc_ has joined #ingres10:25
*** ChanServ sets mode: +o grantc_10:25
*** grantc has quit IRC10:26
*** grantc_ has quit IRC10:40
*** skythe has quit IRC12:26
*** skythe has joined #ingres12:27
*** withdefault has left #ingres12:40
*** rossand has joined #ingres12:55
*** ChanServ sets mode: +o rossand12:55
*** mull has quit IRC13:02
*** thiagomz has quit IRC13:03
*** rossand has quit IRC13:05
*** rossand has joined #ingres13:06
*** ChanServ sets mode: +o rossand13:06
*** Gerhard has joined #ingres13:10
*** mull has joined #ingres13:30
*** skythe has quit IRC13:54
*** Gerhard has left #ingres13:59
*** skythe has joined #ingres14:01
*** atrofast has quit IRC14:29
*** DerMeister has quit IRC14:31
*** rossand has quit IRC15:28
*** skythe has quit IRC15:34
*** zxiiro has joined #ingres15:34
*** zxiiro has quit IRC15:35
*** zxiiro has joined #ingres15:35
*** ChanServ sets mode: +v zxiiro15:36
*** rossand has joined #ingres18:06
*** ChanServ sets mode: +o rossand18:06
*** toumi01 has quit IRC18:33
*** rossand has quit IRC19:03
*** rossand has joined #ingres19:09
*** ChanServ sets mode: +o rossand19:09
*** rossand has quit IRC19:31
*** zxiiro has quit IRC19:43
*** zxiiro has joined #ingres19:48
*** rossand has joined #ingres19:55
*** ChanServ sets mode: +o rossand19:55
*** mull has quit IRC20:10
*** zxiiro has quit IRC20:22
*** zxiiro has joined #ingres20:23
*** rossand has quit IRC21:10
*** rossand has joined #ingres21:15
*** ChanServ sets mode: +o rossand21:15
*** rossand has quit IRC21:53
*** zxiiro has quit IRC22:17
*** zxiiro has joined #ingres22:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!