Thursday, 2009-11-26

*** Alex| has quit IRC00:15
*** PaulM05 has joined #ingres01:09
*** raial01 has joined #ingres01:44
*** grantc has joined #ingres02:43
*** ChanServ sets mode: +o grantc02:43
*** zxiiro has quit IRC05:05
*** Dejan has joined #ingres05:09
Dejanhello05:09
pboroHi Dejan05:10
*** rossand has joined #ingres05:10
*** ChanServ sets mode: +o rossand05:10
Dejanguys, is there a DDS about aliases being used in WHERE statements?05:15
Dejanit seems INGRES does not allow SELECT something AS SOM FROM some_table WHERE SOM = 'INGRES'05:16
DejanORDER BY SOM works05:16
Dejanbut WHERE does not05:16
*** PaulM05 is now known as paul_at_lunch05:24
*** cthibert has joined #ingres05:29
atrofastDejan: You are correct it does not work I ran into tjhis a lot when porting Drupal :)05:31
atrofastUnfortunately I'm not knowledgeable enough about the parser to try to make it happen :(05:31
*** atrofast has quit IRC05:43
*** atrofast has joined #ingres05:44
*** zxiiro has joined #ingres05:49
*** ChanServ sets mode: +v zxiiro05:49
Dejani hope it will be done in some of the future versions of INGRES06:46
Dejanreally06:46
Dejanthat is one my most wanted things in INGRES06:46
Dejanafter renaming of columns/tables06:47
Dejanwhich is definitely my most wanted thing06:47
*** cthibert has left #ingres07:01
*** Alex| has joined #ingres07:05
*** ChanServ sets mode: +o Alex|07:05
*** paul_at_lunch is now known as PaulM0507:19
*** Mud is now known as Mud|afk07:24
*** cthibert has joined #ingres07:27
*** Alex| has quit IRC07:32
*** Gerhard has joined #ingres07:54
*** ccsidiot has joined #ingres07:57
*** Gerhard has quit IRC08:29
raial01ckach04: thanks for updating that trac ticket. i'm afraid i didn't really understand what you were saying about changing the bind type08:36
raial01can you expand?08:36
raial01(for other people's benefit, the ticket was http://bugs.ingres.com/ticket/505#comment:4)08:38
grantcraial01, i'm not sure clach04 is here since it's thanksgiving in the US today08:43
grantcthe param is being sent as a nvarchar and not a nclob/long nvarchar hence the truncation08:44
raial01@grantc: ok thanks - is there a way to send the param as an nclob?08:49
ii_lograial01: Error: "grantc:" is not a valid command.08:49
raial01grantc: ok thanks - is there a way to send the param as an nclob?08:49
grantci'm browsing the source to check08:50
*** zxiiro has quit IRC08:50
*** zxiiro has joined #ingres08:51
*** ChanServ sets mode: +v zxiiro08:51
grantcare you working from the SVN source or from the last release?08:56
grantcif from SVN you could try this patch - http://ingres.pastebin.com/f5b8dee5508:58
grantcotherwise look for the BindParameters function in iidbicurs.c and add the entry for SQL_WLONGVARCHAR08:59
ccsidiotHey everyone, sorry to disturb, the GEOS library comments in the header file/source code are not very useful, how do you guys work around with it?08:59
grantcraial01, that patch might not work as the call to SQLBindParameter might need some changes too09:00
raial01grantc: ok i'm using the svn head version; i'll give that a go.  my problem is that i have a java script file that's 25K characters long that I want to store in the DB!09:03
raial01gtg now, bye09:05
*** raial01 has quit IRC09:05
Dejanclear09:34
Dejanups09:34
*** grantc has quit IRC09:35
*** Vroomfondle has quit IRC09:36
cthibertccsidiot - What do you need? Mostly I go by the function names, as they are pretty self descriptive.  There's also the geos wiki which may help.  http://trac.osgeo.org/geos/10:11
cthibertOn the wiki there is Doxygen documentation of the API.  See near the bottom in Other information section.10:12
ccsidiotI tried to go function names: GEOSWKBWriter_write_r10:13
ccsidiotAnd it says /*The owner owns the results for these two methods! */10:14
ccsidiotLOL10:14
ccsidiotI googled the site above too, trac.osgeos.org/geos10:14
ccsidiotand I'm lost in how to dig into that10:15
FrankWccsidiot:  Looking in the implementation in geos_ts_c.cpp it is clear the caller gets ownership of the returned WKB buffer and should free it with free().10:23
FrankWI shall attempt to clarify the notes.10:23
FrankWUgg, http://download.osgeo.org/geos/doxygen/c_iface.html isn't very helpful!10:24
*** Dejan has quit IRC10:25
*** Alex| has joined #ingres10:26
*** ChanServ sets mode: +o Alex|10:26
cthibertFrankW - Is it okay if I forward a question about building 32bit geos on 64bit machines to you? There's someone else trying to do it and, having not done it, I'm not sure of the details.10:29
FrankWcthibert:  win64 or 64bitlinux?10:30
cthibert64bit linux10:30
FrankWI'm willing to try and field linux issues.10:30
FrankWsure no problem.10:30
cthibertOkay, thanks. :)10:30
FrankWccsidiot:   http://trac.osgeo.org/geos/changeset/274210:31
ccsidiotThanks FrankW, cthibert :) So if I want to know what does a particular function in GEOS do, I will need to dig into the source code?10:44
cthibertAlso, if you look at the simple feature specification it describes the operations, which tend to match with the Geos functions names.10:46
ccsidiotSay for example, it's not clear to me what's being done in the function other than knowing about the ownership of the result from GEOSWKBWriter_write_r10:46
ccsidiotFrankW: Less than 1 hour ago, they've changed the comment10:48
cthibertAh.  Yes, being familiar with the simple feature spec will help there too.  That function will write a WKB stream.  Well Known Binary.10:48
ccsidiotcthibert: The simple feature spec that you are refering to is the one that you've sent me just now?10:48
cthibertIt's available from the Geos trac site I sent the link to, yes.10:49
ccsidiotThanks cthibert, FrankW, time to do more reading10:51
ccsidiot:)10:51
*** zxiiro_ has joined #ingres11:10
*** zxiiro has quit IRC11:10
*** Alex| has quit IRC11:37
*** Alex| has joined #ingres11:44
*** ChanServ sets mode: +o Alex|11:44
*** Mud|afk has quit IRC11:51
*** atrofast has quit IRC12:03
*** Alex| has quit IRC12:33
*** cthibert has left #ingres13:15
*** zxiiro_ has quit IRC13:34
*** zxiiro has joined #ingres13:36
*** ChanServ sets mode: +v zxiiro13:36
*** zxiiro has quit IRC13:48
*** ccsidiot has quit IRC14:28
*** ccsidiot has joined #ingres14:30
*** zxiiro has joined #ingres14:37
*** ChanServ sets mode: +v zxiiro14:37
*** PaulM05 has quit IRC14:50
*** ccsidiot has quit IRC16:35
*** ccsidiot has joined #ingres16:39
*** rossand has quit IRC17:15
*** withdefault1 has joined #ingres17:35
*** thoda05 has joined #ingres17:50
*** withdefault has quit IRC17:53
*** thoda05 has left #ingres18:30
*** cytrinox_ has joined #ingres19:20
*** cytrinox has quit IRC19:21
*** cytrinox_ is now known as cytrinox19:21
*** rossand has joined #ingres19:42
*** ChanServ sets mode: +o rossand19:42
*** omega187 has joined #ingres20:00
*** omega187 has left #ingres20:00
*** rossand has quit IRC20:22
*** ccsidiot has left #ingres20:24
*** FrankW has quit IRC22:52
*** withdefault1 has quit IRC23:03

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