Thursday, 2009-07-23

*** Gerhard has joined #ingres00:04
*** Gerhard has quit IRC01:37
*** Deyan has joined #ingres01:45
Deyanmorning01:48
pborohi Deyan02:29
Deyani always forget to write down my (Dejan) freenode password02:56
Deyanso i can use my username here02:56
Deyan(nickname)02:56
Deyan:))02:56
pboroyup02:56
grantchi Deyan03:41
grantcCan you try http://ingres.pastebin.com/f6fd0d64f against SVN headrevs (http://svn.php.net/repository/pecl/ingres/trunk)03:42
grantci think it fixes your problem03:43
Deyanhi grant03:51
Deyani will try it asap03:52
Deyani am working on something atm03:52
Deyanlooks like we may have a similar problem with timestamps03:52
Deyanwe are currently examining the problem03:52
Deyan(it could be our fault though)03:52
Deyan:D03:53
grantcyou might find that the update fixes those too :)03:53
dyki:)04:03
Deyankhm...04:07
Deyandoes not seem like working here04:08
DeyanRevision: 28464004:08
Deyanthat is what i got04:08
Deyanmaybe linux caches the library...04:08
grantcthe patch needs to be applied to headrevs04:09
Deyanahaaaaa04:10
grantci.e. what's in SVN04:10
Deyancan i get the diff from you?04:10
Deyando the diff against current svn04:10
grantcthat is the diff04:10
Deyanand send it to me to dejan.lekic@areen.com04:10
Deyanplease04:10
Deyanlol04:10
grantcthat diff is what is currently from the latest SVN04:10
Deyani did not realise it is a diff :)04:11
grantckeep up :)04:12
Deyaneither i have forgotten how to apply the patch, or something is wrong with the diff file04:15
Deyani do patch -p 1 < grantc.patch04:15
Deyanand get "patch: **** Only garbage was found in the patch input."04:15
grantc-p0 i think04:15
Deyandid that04:16
Deyannada04:16
Deyandejan@srv021:~/src/php-ingres> patch -p0 < grantc.patch04:16
Deyanpatch: **** Only garbage was found in the patch input.04:16
pboroDeyan, download the patch instead of copypasting04:16
pborothere's a link in pastebin for downloading the contents04:16
Deyanpboro: i looked to download04:16
Deyanat the end04:16
Deyannot at the top04:16
Deyan:)))))))))))04:16
DeyanDONE04:17
Deyanwith downloaded file it worked04:18
DeyanWORKS04:18
Deyangrantc: <3 <3 <304:18
Deyanty guys04:18
Deyanyou are awesome04:18
grantccool - i will write up an integration plan and it will get submitted today/tomorrow04:18
Deyani think i have found something that should be treated as a bug04:25
Deyanin ingres04:25
Deyani have this:04:25
Deyancreate table timestamp_test(id INT NOT NULL AUTO_INCREMENT, one CHAR(1), two TIMESTAMP NOT NULL, three TIMESTAMP, PRIMARY KEY(id));04:26
Deyannote that column "two" is NOT NULL04:26
Deyanhowever, it allows me to insert '' there04:26
Deyaneven from sql04:26
Deyanterminal monitor04:27
pboroit is because you're using INGRESDATE, INGRESDATE allows empty strings04:27
Deyanit is a timestamp...04:27
Deyanor it is some configuration setting?04:27
pborolemme check what does that map to04:27
Deyanupon installation we have choosen ANSI dates04:27
Deyannot ingres dates04:27
pborook, then it might really be a bug04:28
grantcTIMESTAMP !=INGRESDate04:28
Deyani know that04:28
pborograntc, there's no aliasing for TIMESTAMP to INGRESDATE when using INGRESDATE, only for DATE?04:28
grantcyup since timestamp has different properties04:28
grantcat least from what i have seen04:29
pboroI get:04:29
pboroE_US10E8 '' is invalid format or value for timestamp without time zone or timestamp with local time zone. Please enter a valid timestamp value in yyyy-mm-dd hh:mm:ss[.fff...] format.04:29
pborowhen trying to insert '' in that column04:29
Deyanpboro, how? o.O04:29
pborothis is 9.2/143 with patch 1345704:29
Deyani want that error too04:29
Deyan:)04:30
Deyani have 9.3 here04:30
dykiwe use 9.3/15104:30
pboroDeyan, which version are you using? It prolly has a bug, which may or may not be fixed already in later releases.04:30
pboroOk, there's a bug in 9.3 then :)04:30
Deyanpboro: that is what i am trying to say04:30
pboroI tried it this way: CREATE TABLE test (id INTEGER NOT NULL, value TIMESTAMP NOT NULL, PRIMARY KEY(id)); INSERT INTO test VALUES (1, '');04:31
dykiit works perfectly ok in 9.3 :)04:32
dykino errors04:32
pborohehe04:32
grantcit works in PHP as well against 9.2, "" gets converted to 0000-00-00 00:00:00.00000004:32
Deyangrantc: i am fine with that too04:33
Deyanbut here i get NOTHING04:33
dykiwhen we use it from PHP with 9.3 same thing happens04:33
dykias in normal sql04:33
dykior isql04:33
grantchttp://ingres.pastebin.com/f4ffca57c04:33
grantcit could be that OpenAPI is doing something before sending it across the wire...04:34
grantcIf you think it is a bug then log it04:35
Deyanhttp://codepad.org/z6XAhDIF04:35
Deyani pasted it into ingres.pastebin.com04:36
Deyanbut it ***ed up the special chars04:36
Deyancodepad works04:36
grantci get "0000-00-00 00:00:00.000000"04:36
pborograntc, by the way where should I report bugs about 9.3? we have support contract so is service desk correct place?04:36
grantcpboro, yup04:37
pborograntc, ok, thanks... I'm building a JDBC test suite based on our apps and there seems to be some problems, better to report them early than after the ga release...04:37
grantc:)04:38
Deyando not forget to report this bug too ;)04:39
Deyanpboro: include it in the test suite, plx04:39
Deyan:)04:39
pboroDeyan, it is not a critical bug for us, but after everything more important have been resolved... why not :)04:40
pboro(I don't work for Ingres, simply a user from Ingres client)04:41
*** atrofast has joined #ingres04:53
Deyan:))))05:04
Deyanwell, i would submit a bug if i knew where05:05
Deyani will check that after the lunch ;)05:05
pborohttp://bugs.ingres.com/05:05
*** rossand has joined #ingres05:15
*** ChanServ sets mode: +o rossand05:15
*** Alex| is now known as Alex|off05:27
Vroomfondleis there any publicly-accessible documentation for the file that's produced by copyapp?06:03
atrofastDid you try the COmmand Reference document at docs.ingres.com?06:05
atrofasthttp://docs.ingres.com/Ingres/9.2/Command%20Reference%20Guide/copyappcmd.htm Vroomfondle06:05
Vroomfondlethat doesn't tell me how to parse the file, thoguh06:06
Vroomfondle*tough06:06
Vroomfondlecheers for looking, though :)06:06
atrofastNo problem, sorry it wasn't more help06:07
*** Alex|off is now known as Alex|07:07
*** adrianwarwickuni has joined #ingres08:05
*** grantc has quit IRC08:08
Deyanoops08:18
*** grantc has joined #ingres08:21
*** ChanServ sets mode: +o grantc08:21
*** bonro01 has left #ingres08:31
dykigrantc: one question. Is there any quick and easy way to have a look at prepared statement just before the execuition?08:44
grantceh?08:44
grantcwhat do you mean by "look"08:44
Deyanhe wants sql that is about to be executed in prepared statement queries...08:45
Deyanin other words, we want to check if the generated sql is valid or not08:45
pborowhat language are you using? some drivers support tracing08:46
grantcgenerated by who?08:46
dykiphp08:46
grantci don't touch the query (much)08:46
dykibasically, is there any way to dump the SQL after it has all the parameters supplied?08:47
Deyanok, lets say i have "insert into tablename values(?,?,?)"08:47
grantcAll I do is replace the ? markers with ~V and depending on the query add a keyword08:47
Deyanwe call insert_query with arguments08:47
Deyannow we want to see the sql08:47
*** bonro01 has joined #ingres08:47
Deyanthat willa ctually be executed08:47
Deyanwill*08:47
grantcthe php driver does not embed the values in your supplied query08:48
grantcit sends the query using iiapi_query telling the server to expect some parameters08:48
grantcand they are sent along separately08:48
grantchttp://ingres.pastebin.com/f665fc16a08:49
grantcThe C functions in the trace are IIapi_query(), IIapi_setDescriptor() and IIapi_putParm()08:51
Deyanthanks for info, grantc08:51
grantcthere is nothing in the driver that dumps that info.. I have thought about adding it but that is as far as i get08:52
dykicheers08:54
*** rossand has quit IRC09:04
*** rossand has joined #ingres09:07
*** ChanServ sets mode: +o rossand09:07
grantchi atrofast09:30
atrofastHey grantc09:52
*** mull has joined #ingres09:55
grantci've been looking at / -> /svn and unfortunately rewrite does not work09:56
grantcyou get the message "svn: Repository moved temporarily to ...." ; please relocate09:56
atrofastAh that's too bad ;909:57
atrofast:(09:57
Alex|hum, so it intercepts the message instead of just follow the redirect....09:57
atrofastThere's no way to hide that it is a redirect/rewrite?09:59
Alex|does it tell you where to relocate? That would be a way to inform people of a move.....09:59
*** Deyan has quit IRC10:01
atrofastSo what I don't get is... there is a robots.txt in the root, why is it ignored?10:01
atrofastAlso the robots.txt only disallows HTTrack currently, is there a reason fo rhtat?10:01
grantcAlex|, yes it does10:07
Alex|I still think relocating is an option we can go..... I'm off10:08
*** Alex| is now known as Alex|off10:08
grantcatrofast, i cannot tell you but i have been playing with the robots.txt file and as you can see from the stats i mailed out google consumed 1GB of traffic last month10:09
atrofastGoogle is not disallowed though, or was there an older version of robots.txt that did?10:09
ii_loghttp://www.webmasterworld.com/google/3044757.htm10:09
grantcyup earlier on this week it was disabled10:11
grantci have also read that running an SVN repo at / is not a good idea but i would need to dig up those references10:11
grantcor perhaps we can do a transparent move...10:15
grantchttp://www.webmasterworld.com/apache/3832878.htm seems to work10:15
atrofastHow much of a hassle would that be?10:19
grantcIn theory no hassle..10:20
grantcAll i would need to do is to write the re-write rules for each of the current repos and away we go10:21
atrofastSo if another repos is added, we would have to add another rewrite rule?10:22
grantcperhaps10:23
grantcalthough I would be inclined to say no - all new repos go via /svn/....10:23
grantcsince we only have 7 repos at the moment the impact will be minimal10:23
grantc / would redirect to /svn and /<repo> would be a passthrough (transparent to /svn/<repo>10:25
atrofastAh I see, that sounds pretty good10:30
grantcpeople can still do a "svn switch --relocate" but there is no real need to10:33
rossandprocessing :-)10:37
rossandThis would ensure the robots.txt is respected since the actual path served by apache is /svn/blah?10:38
rossandSaid another way, if it is transparent to svn clients, wouldn't it be transparent to search engines?10:39
grantccorrect10:39
grantcyup10:39
rossandIf so, then wouldn't the issue persist?10:39
grantcno because we would only pass on the svn repositories10:39
rossandIf I'm not mistaken, this would imply they could still crawl the svn repositories, no?10:40
grantcyes they could but the robots.txt should work10:41
grantcas you can see from the URL i /msg'd you the robots.txt we had was not working last month10:43
rossandIt's worth trying if we could somehow experiment under reasonably controlled conditions. For example, declare an outage. And test on one of our work areas.10:44
grantcrobot changes take 24-48 hours to take effect10:45
grantcperhaps less but still10:45
rossandThe rewrite is the crucial bit to test.10:45
rossandIf it doesn't blow up people's work areas, then it's safe to proceed.10:45
grantctry http://code.croker.net/ingres10:45
grantci moved it to /svn/ingres10:46
rossandsame rewrite rules?10:46
grantcyup10:46
grantchttp://ingres.pastebin.com/f278eee9910:47
rossandOK. Seems like it should work. Work was add the rewrite & restart?10:47
grantcrestart or reload but yes10:47
rossandyup10:47
grantcand change the <Location /> to /svn...10:48
rossandAnd of course (the duh question) it still updates fine? :-)10:48
grantc:)10:48
grantci have not done a commit but what i did not is perform an svn update and it did not complain10:48
rossandOK. Great solution then. I can't think of anything that's going to bite us - can you guys?10:48
grantcwhich it did with a redirect rule10:49
rossandbrb, gotta switch back to my other machine. I'm satisfied this is a good way to solve this. It'll be great if indeed the search engines respect it.10:51
*** dyki has quit IRC10:51
*** rossand has quit IRC10:52
*** rossand has joined #ingres10:53
*** ChanServ sets mode: +o rossand10:53
*** DerMeister has joined #ingres10:57
grantcright the changes are in place, commented out at the moment10:58
grantcI'll send out a mail announcing the outage for tomorrow morning, 6am GMT10:59
atrofastAlright then, sounds good... Thanks grantc11:01
*** zxiiro has quit IRC11:17
*** adrianwarwickuni has quit IRC11:28
*** adrianwarwickuni has joined #ingres11:34
*** grantc has quit IRC12:46
*** DerMeister has quit IRC14:23
*** mull has quit IRC15:16
*** toumi01 has quit IRC16:27
*** rossand has quit IRC16:48
*** adrianwarwickuni has quit IRC17:38
*** zxiiro has joined #ingres18:17
*** ChanServ sets mode: +v zxiiro18:17
*** zxiiro has quit IRC18:23
*** mull has joined #ingres18:56
*** mull has quit IRC19:02
*** Alex|off is now known as Alex|22:40
*** grantc has joined #ingres23:15
*** ChanServ sets mode: +o grantc23:15
grantcmorning Alex|23:15
Alex|morning grantc - just on my way to the office... back in a few minutes23:16
grantcok23:16
*** Alex| is now known as Alex|off23:16
*** graydot has joined #ingres23:21
graydothi23:21
graydotis there anyone here? i need a bit of help with conversion issues23:21
grantchi graydot23:22
grantcwhat sort of issues?23:22
graydotgrantc, is this the channel for gis related help?23:22
grantcwith ingres yes but the people who know that stuff will be along later on23:24
graydotgrantc, oh...i have some files here from the chicago gis database and i don't know how to use it. i am a coder and am a newbie at gis. can you help?23:27
grantcunfortunately not23:28
grantcthe people you need are rossand or atrofast23:28
grantcboth of them are based in canada and won't be around for 5-6 hours23:28
graydotok. know any other channels?23:29
graydotgrantc,23:30
grantcperhaps there is an opengis channel23:30
grantcgoogle opengis irc23:30
ii_loghttp://lists.freedesktop.org/archives/roadster/2005-April/000049.html23:30
grantc@google opengis irc23:31
ii_loggrantc: [Roadster] OpenGIS, wms, wcs and PDAs: <http://lists.freedesktop.org/archives/roadster/2005-April/000049.html>; Semantic Web Interest Group IRC Scratchpad: <http://swig.xmlhack.com/2003/05/28/2003-05-28.html>; InLineFeature Usage - GeoServer: <http://geoserver.org/display/GEOSDOC/InLineFeature+Usage>; Chapter 4: <http://eea.eionet.europa.eu/Public/irc/eionet-circle/eionet- (2 more messages)23:31
grantc@google opengeo irc23:31
ii_loggrantc: RulePanel redesign f ... / Andreas Hocevar — OpenGeo: <http://lists.opengeo.org/styler/archive/2009/02/1234954228727/forum_view>; geometry attribute n ... / Tim Schaub — OpenGeo: <http://lists.opengeo.org/styler/archive/2008/12/1229618615833/forum_view>; OpenGeo Code Sprint 2009 - GeoServer: <http://geoserver.org/display/GEOS/OpenGeo+Code+Sprint+2009>; Stichting OpenGeo (opengeo_nl) on Twitter: (2 more messages)23:31
*** Alex|off is now known as Alex|23:32
Alex|re23:32
Alex|did you find a solution for the redirect problem?23:32
grantcAlex|, no - looks like i have to revert23:33
Alex|? wrote your mail to quickly?23:33
Alex|too23:33
grantci did some testing externally, but obviously i did not do enough23:34
grantca simple checkout, reconfig server, update worked ok23:34
grantcbut the same on our server does not work23:34
Alex|hu? because of different svn versions?23:35
grantcperhaps23:35
grantcmy box has 1.6.3 we have 1.5.223:35
Alex|hm...23:35
Alex|and we still cannot update without using our own packages I guess?23:36
grantci need to do more testing  ...23:36
grantccorrect23:36
grantcthere are rpms in rpmforge for this OS release but we wander into unsupported territory23:36
Alex|so either something that doesn't work but is supported or something that works but isn't supported... :)23:37
grantcthe only other option is to do "svn switch --relocate http://code.ingres.com/ingres http://code.ingres.com/svn/ingres"23:37
grantcfor each repo you have checked out23:37
grantcsince we are in the middle of summer i am not too keen on making people do that now23:38
Alex|some kind of statistics how many working copies are out there would be nice :)23:38
grantcgraydot, there is a mailing list you can use gis-users@lists.ingres.com23:40
grantcgoto http://lists.ingres.com/mailman/listinfo/gis-users for more info23:40
graydotgrantc, thanks23:40
grantcif there is an IRC channel, and i think there is, they will know where it is.23:41
grantcAlex|, yeah... :)23:41
grantcthe advantage piccolo has over svn...23:42

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