Wednesday, 2009-07-29

*** dyki has joined #ingres00:28
*** Deyan has joined #ingres02:00
Deyanhi everybody02:00
*** atrofast has quit IRC02:24
* Deyan is reading INGRES docs again...02:43
*** thiagomz has quit IRC03:03
*** grantc has joined #ingres03:36
*** ChanServ sets mode: +o grantc03:36
*** rossand has joined #ingres03:45
*** ChanServ sets mode: +o rossand03:45
grantchttp://www.youtube.com/watch?v=ViUL769ilro ....03:49
grantcmorning all (btw)03:50
Deyanmeep03:52
*** grantc has quit IRC03:53
*** grantc has joined #ingres03:53
*** ChanServ sets mode: +o grantc03:53
*** thiagomz has joined #ingres03:57
pboroah, damn... a bug05:08
pboroOr not. If I do "WHERE int NOT IN (SELECT col FROM foo)", does int match nulls?05:09
pborosince it looks like it05:09
pboroyea, if I change it to "WHERE int NOT IN (SELECT col FROM foo WHERE col IS NOT NULL)" it works as I expected05:10
grantcnulls ... there be dragons05:15
grantcor nothing :)05:15
pborochecking the semantics right now :)05:15
pboroat least with joins, NULL will never match any other value05:18
pboroah, Ingres works correctly and I work incorrectly :)05:19
*** Gerhard has joined #ingres05:22
*** atrofast has joined #ingres05:34
Deyanguys, i have a question about ingres_query() (PHP)...06:02
Deyanwhat is the rationale for raising an error if i give more arguments than it expects?06:02
Deyanie. if i have a query "INSERT ... (?,?,?)"06:02
Deyanand i give an array with 10 elements to it06:02
Deyanwhy make that an error?06:03
Deyanuse the first 3 elements, and discard the rest06:03
Deyanright?06:03
pborothat's not good06:04
pboroit's always good to raise an error if the input does not meet the expectations06:04
pboroit prevents programming errors06:04
Deyanwell, i often test06:04
Deyanif i can add first few columns06:04
Deyannow i must make a new array06:05
pboroyou can write a wrapper function to do it as you used to do06:05
Deyaninstead of giving one that is already correct for the full-blown insert statement...06:05
Deyanpboro: yep06:05
Deyanimho it should be just a warning...06:05
Deyanif i give an array with more elements than expected06:05
Deyanand error if i give less06:06
pboroconsidering how badly PHP programmers take action on notices, I think it's good to raise an error :)06:06
pborobut it's up to grantc06:06
pboroif you talk nicely to him he might do something about it... or not ;D06:07
grantci am not sure allowing a 10 element array to be used when the driver is expecting 3 is a good thing06:41
Deyanin fact, it is more in my case06:42
grantcone could argue that perhaps I should only accept the last 3 elements of the array..06:42
Deyani have a table with around 30 columns06:42
Deyanbecause migration is kida complex06:42
Deyani do column by column06:42
grantcif you know the names of the columns it's a no brainer to create a new array based on the key06:43
Deyanthat is what i do now06:43
Deyani need to make a new array06:43
Deyanfrom the original one06:43
grantcalternatively patches are welcome :)06:51
*** atrofast has quit IRC07:03
*** atrofast has joined #ingres07:06
thiagomzguys,,, doubt...07:26
thiagomzneed I collect statistcs from my indexes ?07:26
Deyanwow07:33
Deyanthis VectorWise looks promising07:34
magnusg|Absolutely07:37
*** magnusg| has left #ingres07:37
*** Alex| is now known as Alex|off07:51
*** Gerhard has quit IRC07:52
dykiit looks like Ingres will kick Oracle's ass yet again!07:54
dykigood stuff :)07:54
*** FrankW has joined #ingres07:55
grantcthiagomz, you need to generate proper statistics so your indexes get used07:56
Deyanis VectorWise in SVN?08:10
grantcDeyan, i've not seen any vw branches08:14
grantci know our people are working with their people but where the code is being managed is another issue08:15
grantcDeyan, see http://community.ingres.com/forum/26959-post6.html08:19
rossandDeyan: I can confirm you will not find VectorWise code in the publicly available svn for now.08:19
rossandMarcin's post shows the intention.08:20
rossandDeyan: one more thing. I wanted to share. I was not able to reproduce the scenario you talked about the other day. I did a createdb, created a table, destroyed it. Re-ran this many times with no sleep 2 as you had done. No issues found. Perhaps you might share the logs with us or ideally your script so we can reproduce the issue?08:22
pborowow... vectorwise really promises quite a bit :)08:25
*** rossand1 has joined #ingres08:27
Deyangrantc: i am reading forum all the time08:30
*** rossand has quit IRC08:32
Deyanrossand1: sorry for late reply08:51
Deyanrossand1: i do not have time for that :(08:51
rossand1Deyan: Sorry, I can't help you then. We'll have to hope someone else comes across the issue.08:51
*** rossand1 is now known as rossand08:52
rossandI'll keep my eye out for it of course.08:52
Deyanrossand: thank you - i did not say i expect any help with it08:55
rossandDeyan: You're very welcome. Helping you or someone else be successful with Ingres helps us so it's comfortable pragmatism.09:00
FrankWThe need to build lots of stuff in 32bit mode on 64bit linux has been pulling my hair out!09:01
pboroFrankW, you only need 32-bit gcc + gcclibs and 32-bit xerces :) depending on your distro, it may be difficult or not...09:02
FrankWapparently I also need the 32bit pam-dev package, though I'm not positive about that.09:03
pboroFrankW, hmm, that's possible, since latest versions include pam support...09:04
pboroFrankW, which distro are you using?09:04
FrankWI installed the 32bit xerces but it did not get picked up in the build - now I'm trying to substitute it the low level build directory.09:04
FrankWI'm on gutzy gibbon (7.10)09:04
pboroFrankW, 7.10 is pretty old... which ingres version, latest from svn?09:04
FrankWPart of the xerces problem may be that I'm using my own build of xerces27 64bit in /usr/local.09:04
FrankWlatest from svn, yes.09:04
pboroit compiles dead simple on a up to date ubuntu :)09:05
FrankWI'm following the guides at http://community.ingres.com/wiki/Building_ingres_on_ubuntu and https://help.ubuntu.com/community/Servers/Ingres but it is still a bit hair raising.09:05
* rossand feels FrankW's pain.09:06
rossandWe're chipping away at it. Build is one of those things that's hard to get prioritized as no customer will pay money and it's not very sexy. :-)09:06
FrankWI can understand that!09:07
FrankWIs there a reason parts are built in 32bit mode?  I'm getting the impression it is a bunch of utility tools built this way?09:07
rossandIt's one of those things that affects everyone every day so it gets done one way or another.09:07
FrankWLink /wrk/home/warmerda/ingres/server/build/utility/lp32/unimapcompile09:08
FrankW/usr/bin/ld: cannot find -lstdc++09:08
FrankWHmm.09:08
atrofastDid you get gcc-multilib AND g++-multlib, FrankW?09:08
atrofastBoth are required for Ingres09:09
FrankWI imagine I'm missing g++-multilib.09:09
FrankWback to dig around on launchpad.09:09
rossandTo spare your hair, we could give you a VMWare VM?09:09
FrankWI'd much prefer to get to where I can build it locally.09:10
FrankWWhat I ought to do is download a modern ubuntu dvd when I'm on the fast internet some day.09:10
pboroFrankW, sounds like a plan :)09:10
rossandI can give you one if you'd like? Already downloaded.09:10
rossandI run Jaunty (9.04) on a few of my machines. FC10 on the others.09:11
atrofastI run Fedora11... It's actually easier to build Ingres on as compare dto F10 due to it having xerces 2.7 in yum09:11
FrankWunimapcompile built!  Now on to the next problem.09:13
Deyani run fedora 11 at home09:16
Deyanit rocks09:16
FrankWcp: cannot create regular file `/wrk/home/warmerda/ingres/server/build/ice/icetool/access.gif': No such file or directory09:22
FrankWIt seems like some subdirectories are not getting created.09:22
FrankWI had to manually create build/ice/DTD to get past the previous step.09:22
FrankWIs there a way of running a clean build?09:22
grantcjam -a clean09:23
grantcfrom $ING_SRC09:23
rossandOR, runbuild -c09:23
rossandrunbuild is a wrapper around the steps to build by hand.09:23
FrankWthanks, done.   I haven't set any environment variables yet so I'll do it from runbuild.09:24
rossandrunbuild protects you from environment variables just in case. It'll reset any variables necessary.09:26
rossandSome folks switch back and forth often and it could get messy otherwise.09:26
FrankWAre the geospatial components built as part of the standard build from svn?09:27
atrofastIf you checked it out from http://code.ingres.com/ingres/branches/geospatial09:28
FrankWI assume that branch holds a complete ingres tree then?09:29
rossandFrankW: yes09:30
rossandIt's a branch off main09:30
* FrankW pulls down a new tree. 09:32
* FrankW wonders if he has an ingres community userid, and what it might be. 09:38
rossandhmm, it may be possible for one of us with LDAP access to grep for you. Of course we'd need a bit of a clue of what it might be to match against.09:39
*** Deyan has quit IRC09:47
FrankWwarmerda?  It would be nice if the "forgot my password" tool let you give an email address.09:47
*** DerMeister has joined #ingres09:52
rossandbrb, powering down for a bit to let the storm blow over.09:57
FrankWnp09:58
*** rossand1 has joined #ingres09:58
atrofastCrazy thunder here, might lose power at any point :P10:06
FrankWgrantc has provided my userid, so I'm good now.10:06
atrofastGreat! Thanks grantc10:06
grantcno problem - i am knocking up a dirty application to do queries against the back end. i know we have an ldap tool but still10:07
FrankWI ended up writing something like that for the OSGeo LDAP (http://www.osgeo.org/cgi-bin/ldap_web_search.py)10:08
atrofastYeah sometimes something small and simple is way better than a complete and fully featured app :)10:09
*** Gerhard has joined #ingres10:15
*** rossand has quit IRC10:15
*** rossand has joined #ingres10:18
*** ChanServ sets mode: +o rossand10:18
*** Dejan has joined #ingres10:24
Dejandyki, dude10:24
Dejan:)10:25
Dejanhe guys10:28
* Dejan is home10:28
*** dyki has quit IRC10:46
*** Gerhard has quit IRC10:46
*** Alex|off is now known as Alex|11:16
*** DerMeister has quit IRC11:36
*** DerMeister has joined #ingres11:36
*** mull has joined #ingres11:46
*** rossand1 has joined #ingres12:06
*** rossand has quit IRC12:24
*** clach04 has quit IRC13:22
*** clach04 has joined #ingres13:23
*** atrofast has quit IRC13:49
*** DerMeister has quit IRC14:14
*** Alex| is now known as Alex|off14:17
*** Dejan has quit IRC16:22
*** rossand1 has quit IRC17:32
* FrankW is defeated by geos link issues building the geospatial branch.18:45
FrankWI'll revisit this tomorrow.18:45
*** rossand has joined #ingres18:47
*** ChanServ sets mode: +o rossand18:47
*** rossand has quit IRC19:32
*** mull has quit IRC21:14
*** Alex|off is now known as Alex|22:37
*** FrankW has quit IRC22:45
*** Alex| is now known as Alex|off23:11
*** magnusg| has joined #ingres23:18
*** Alex|off is now known as Alex|23:26

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