Thursday, 2009-11-19

*** Gerhard has joined #ingres00:28
GerhardMorning all00:43
*** PaulM05 has joined #ingres00:43
GerhardStumbled upon this today: http://esd.ingres.com/product/docs/R3/docs/Ingres_R3_Foreign_Language_Guides00:47
grantcmorning - i don't think they've been updated since we left CA00:50
PaulM05there is - or is about to be - a community project to get them up to date I believe00:50
PaulM05or maybe that's just the message files00:51
GerhardThat's the point, everything CA-branded00:51
GerhardI have never considered it a problem that Ingres manuals are English only, but some customers have asked for German documentation00:52
GerhardAny plans for 9.2 manuals in German language?00:53
grantcGerhard, this is an "interesting" problem - I've heard the same that some people are ok with the English docs since we would end up screwing up the translation and others want the localized docs00:53
grantctranslation is not an exact science as you probably appreciate :)00:54
PaulM05http://community.ingres.com/wiki/Ingres_Internationalization00:54
PaulM05looks like that is just message text00:55
Mudmorning01:21
Mud:W01:21
*** grantc has quit IRC01:45
*** PaulM05 has quit IRC01:53
*** PaulM05 has joined #ingres02:22
*** cthibert has joined #ingres03:48
*** Alex_ has joined #ingres04:07
*** Alex| has quit IRC04:07
*** Alex_ is now known as Alex|04:07
*** ChanServ sets mode: +o Alex|04:07
*** Alex| has quit IRC04:26
*** grantc has joined #ingres04:36
*** ChanServ sets mode: +o grantc04:36
*** PaulM05 is now known as PaulM05_afk05:12
*** atrofast has quit IRC05:23
*** Alex| has joined #ingres05:31
*** ChanServ sets mode: +o Alex|05:31
*** atrofast has joined #ingres05:35
*** zxiiro has joined #ingres05:49
*** ChanServ sets mode: +v zxiiro05:49
*** Alex| has quit IRC05:59
*** rossand has joined #ingres06:04
*** ChanServ sets mode: +o rossand06:04
*** toumi01 has joined #ingres06:06
*** PaulM05_afk is now known as PaulM0506:19
*** atrofast has quit IRC06:24
*** atrofast has joined #ingres06:29
*** DarylM has joined #ingres07:19
*** Mud has quit IRC07:40
*** Mud has joined #ingres07:41
GerhardHi all, in the past I have encountered the problem that float field data may loose precision upon reload when the unload was done with -c flag.07:42
GerhardAny way to avoid this?07:42
PaulM05are you already using -f4 and -f8 flags?07:45
*** cthibert has left #ingres07:47
Gerhardunload.bat:07:47
Gerhardsql -s -f4F79.38 -f8F79.38 -u$ingres fepa404 < "C:\Users\ingres\copy.out"07:47
Gerhardreload.bat:07:47
Gerhardsql -s -f4F79.38 -f8F79.38 -u$ingres +U fepa404 < "C:\Users\ingres\copy.in"07:48
PaulM05that's the maximum precision that you'll get with a character unload07:48
GerhardThat is what Ingres 9.2 produces on my Win32 machine.07:49
PaulM05yes07:49
GerhardWhat do the flags exactly mean? 38 digits behind the decimal point?07:50
PaulM05yes - 79 digits with 38 behind the decimal point07:50
*** cthibert has joined #ingres07:50
*** Mud has quit IRC08:08
*** Alex| has joined #ingres08:22
*** ChanServ sets mode: +o Alex|08:22
*** Mud has joined #ingres08:28
*** rossand has quit IRC08:34
*** rossand has joined #ingres08:36
*** ChanServ sets mode: +o rossand08:36
*** rossand has quit IRC08:38
*** rossand has joined #ingres08:40
*** ChanServ sets mode: +o rossand08:40
*** Gerhard has quit IRC08:45
*** ccsidiot has joined #ingres08:51
*** rossand has quit IRC09:03
*** rossand has joined #ingres09:05
*** ChanServ sets mode: +o rossand09:05
ccsidiotHey, I'm following this: http://community.ingres.com/wiki/Ingres_on_Debian_and_Ubuntu on my way to "createdbms"09:21
ccsidiotAm I looking at the right document or not?09:23
PaulM05are you running on Ubuntu?09:24
atrofastccsidiot: If your build completed successfully, all you should hvae to do is buildtools/createdbms II09:24
ccsidiotI'm running debian09:24
atrofastThen after it installs properly source buildtools/test_env.sh II09:24
ccsidiotI mean the school's server's running debian09:24
ccsidiotOh, is it okay if I ask some conceptual questions? So after the Geospatial code is build successfully, what things are created after the build?09:25
ccsidiotLike an Ingres instance with Geospatial embeded?09:26
FrankWAfter the build you have ingres server software with geospatial support built-right-in as I understand it.09:42
FrankWSo any db instance created with createdbms is geospatial ready, if you will.09:42
atrofastYeah FrankW is right, the geospatial branch has geospatial right out of the box so to speak09:42
ccsidiotI see :) Thanks FrankW, atrofast09:44
*** PaulM05 has quit IRC10:14
ccsidiotHum, when I'm in //geospatial/build/utility/ and then do ingstart, it doesn't print the line "Ingres is already running..."10:15
atrofastccsidiot: From ING_ROOT you have to do source buildtools/test_env.sh II then ingstart to start ingres10:15
ccsidiotGreat, thanks atrofast :)10:17
*** SaraDanaher has joined #ingres10:19
grantcpboro, are you still about?10:22
*** hanje04 has joined #ingres10:34
SaraDanaherhi grant are you there?10:50
*** ccsidiot has quit IRC11:37
*** toumi01 has left #ingres11:58
*** Alex| has quit IRC12:14
*** bonro01 has joined #ingres12:31
*** toumi01 has joined #ingres12:35
*** bonro011 has quit IRC12:45
*** rossand has quit IRC13:02
*** grantc has quit IRC13:08
*** SaraDanaher has quit IRC13:10
*** zxiiro has quit IRC13:39
*** Mud has quit IRC13:51
*** ccsidiot has joined #ingres14:14
*** cthibert has left #ingres14:19
*** SaraDanaher has joined #ingres14:27
SaraDanaherhi can some help me14:27
SaraDanaheri am trying to create a data base using the command createdb -udrupal drupal14:28
SaraDanaherbut i get in error saying that the -u flag specified a nonexistent user14:29
SaraDanahercreation of database 'drupal' abnormally terminated14:29
ccsidiotdo you have the user "drupal" in the database?14:30
SaraDanahermmm14:31
SaraDanaherno14:31
SaraDanaherhow do you do that?14:31
SaraDanaheri created a user call drupal in the OS14:31
ccsidiotI assumed you did ingstart right?14:32
SaraDanaheryes14:32
SaraDanaheri did14:33
ccsidiotdo you mind logging out any database that you are in14:33
ccsidiotby doing \q14:33
ccsidiotthen14:33
ccsidiotsql iidbdb14:33
ccsidiotthen select name from iiuser \g14:33
ccsidiotwhat does it give you?14:34
SaraDanaherwhen i did the \q14:34
SaraDanahercommand not  found14:34
ccsidiotoh, if you are not logged in any database, then ignore that14:34
ccsidiotand move on to the sql iidbdb14:35
SaraDanaherok it says ingres terminal monitor .....14:36
SaraDanaheringres linux version II14:36
SaraDanahercontinue14:36
SaraDanaher*14:36
SaraDanaher*14:36
SaraDanaher*14:36
ccsidiotHey, Sara, paste it here14:37
ccsidiothttp://ingres.pastebin.com/14:37
ccsidiot:)14:37
ccsidiotwhat does select name from iiuser \g give you?14:39
SaraDanaherone momento because i have ingres in a virtual machine14:39
ccsidiot:)14:39
SaraDanaherok i sent14:43
SaraDanaherwhat i see that i got from the command sql iidbdb14:43
ccsidiot:) Got it,14:44
*** SaraDanaher_ has joined #ingres14:47
SaraDanaher_now i am log in my virtual machine14:48
SaraDanaherhttp://ingres.pastebin.com/m67ef6fb814:51
*** zxiiro has joined #ingres14:54
*** ChanServ sets mode: +v zxiiro14:54
ccsidiotWhat about the select name from iiuser \g?14:55
SaraDanaher_ok let me try that14:56
SaraDanaher_but that command will be after i entered the sql iidbdb14:58
SaraDanaher_?14:58
ccsidiotYupz14:58
ccsidiotsql iidbdb is like login to the database with the name "iidbdb"14:58
ccsidiotiidbdb is the database with the information about users, tables, other databases and etc14:59
Vroomfondlefor a (slightly) friendlier interface you can use "isql iidbdb" if your keymap is set correctly15:00
SaraDanaher_after u entered iiusert \g15:00
SaraDanaher_syntax error15:00
SaraDanaher_well i entered iiuser \g15:01
ccsidiotThanks for the tip Vroomfondle15:01
Vroomfondleisql requires the use of "; commit;" rather than "\g", mind (as far as I know)15:01
Vroomfondlethis reminds me - must get a local install of Ingres up and running15:02
ccsidiot:)15:03
SaraDanaher_so what  i should do next?15:03
ccsidiotwhat does select name from iiuser tell u?15:03
ccsidiotit should print something right?15:03
SaraDanaher_executing..15:03
SaraDanaher_E_US09C4 Syntax error on line 1.  Last symbol read was: 'EOF'.15:04
ccsidiotHummmmm...15:05
ccsidiotare you using isql or sql?15:05
SaraDanaher_sql15:05
ccsidiot:( I have never encounter this problem before, anyone knows why this is happening?15:06
SaraDanaher_thanks for the trying cscidiot15:07
ccsidiotDid you type exactly "select name from iiuser \g"?15:07
SaraDanaher_mmm15:07
SaraDanaher_i typed iisuer \g15:08
SaraDanaher_ahhh15:08
SaraDanaher_i see15:08
ccsidiotwhat does it print you?15:09
SaraDanaher_box with name15:09
SaraDanaher_$ingres15:09
ccsidiotwhat are the names15:09
SaraDanaher_www-data15:09
SaraDanaher_ingres15:09
SaraDanaher_root15:09
ccsidiotso you don't have the username drupal then15:09
ccsidiotyou need to create the user with username "drupal"15:10
SaraDanaher_i am sorry i am real new in this how i can do that15:10
SaraDanaher_?15:10
ccsidiot:) Sara, if you don't recognise, I'm Eva lol. I learned the basics from here: http://pentestmonkey.net/blog/ingres-sql-injection-cheat-sheet/15:11
ccsidiotHum....let me dig up the create user thing15:11
SaraDanaher_eva15:12
SaraDanaher_man you are real good15:12
SaraDanaher_in this15:12
SaraDanaher_lol15:12
SaraDanaher_you should be working in ingres as an IT15:12
ccsidiot:) I'm not good, the list of people here are all gurus in different areas other than me15:13
ccsidiotHum, type create user drupal \g15:13
ccsidiotthen, do select name from iiuser \g again, this time you'll see the name drupal showing up15:14
ccsidiot:)15:14
SaraDanaher_mm15:17
SaraDanaher_dose not like the command create user drupal \g15:17
SaraDanaher_bash: create: command not found15:17
ccsidiotyou need to be in the database iidbdb to do this15:17
ccsidiotI think15:18
ccsidiotXD15:18
ccsidiotNot sure if in other database this works too15:18
ccsidiotHumm, I should try15:18
ccsidiotGreat15:19
ccsidiotI'll take that back, log in to any database, then type create user drupal will work15:19
ccsidiot:_15:19
ccsidiot:)15:19
Vroomfondleerm15:21
Vroomfondleyes, don't do it at bash prompt15:21
Vroomfondleyou have to be in isql/sql first15:21
ccsidiotI did create user eva in some other database called sth, logged out sth, log in iidbdb, do select name from iiuser, the name eva doens't show up15:22
ccsidiotbut the command create user eva executed successfully, why is that?15:23
SaraDanaher_yes i did the samething15:23
SaraDanaher_and it dosen'st show up as well15:23
Vroomfondledid you commit?15:23
ccsidiotbut when I do create user eva in iidbdb, then it's there15:23
Vroomfondleanyway, use accessdb15:23
ccsidiotI didn't commit15:24
VroomfondleI should think that committing is required15:24
Vroomfondleit's an SQL statement like any other - needs to be committed before it'll take effect15:25
ccsidiotBut why the sql statement in iidbdb shows up its effect right away?15:25
ccsidiotwithout committing?15:26
VroomfondleGood question. Um, I dunno :)15:26
ccsidiotThen there must be something special about iidbdb then :)15:27
ccsidiotI see that as some all in one place dictionary about databases/users/tables..15:27
ccsidiotThanks Vroomfondle :)15:28
ccsidiotSo Sara, type the following: sql iidbdb, create user drupal, select name from iiuser15:31
ccsidiotthen you should see the user with name drupal coming up15:31
SaraDanaher_what i am using eva15:34
SaraDanaher_is this15:34
SaraDanaher_http://community.ingres.com/wiki/Ingres_with_Apache_on_Debian_Etch15:34
ccsidiotdo you see the name drupal coming up though?15:34
Vroomfondleccsidiot: ah, if that's what you did then that explains why the user appeared without the commit.15:35
Vroomfondlebecause you were still in the transaction15:35
ccsidiotVroomfondle: What do you mean by still in the transaction? Like logging in iidbdb = during the transaction?15:35
ccsidiotOr Ingres commits transactions automatically from time to time?15:36
Vroomfondlewell, if you do two SQL statements one after another without quitting from 'sql', you are still in the same transaction. Thus, you are looking at a temporary copy of the data. The changes won't be put into the real database until you commit or \g15:37
ccsidiotSarah: I want to make sure that you really have the user name namely drupal before checking someting else15:37
SaraDanaher_well right now15:37
SaraDanaher_still executing15:37
SaraDanaher_...15:37
ccsidiot*Ccsidiot hates VM*15:37
*** PaulM05 has joined #ingres15:38
ccsidiotVroomfondle: Hum, but I logged out from iidbdb, then logged back in, select name from iiuser, still has the name that I created15:39
VroomfondleHmm. Maybe it autocommits when you log out, then.15:39
PaulM05it does15:39
Vroomfondleworth knowing :)15:40
PaulM05was it isql or sql?15:40
* Vroomfondle doesn't actually get access to iidbdb on any real server at his workplace15:40
Vroomfondleit was sql, apparently15:40
ccsidiotPaulM05: Vroomfondle, Sara and I were discussing about the following: I logged in some db called sth, create user eva, logged out sth, logged in iidbdb, do select name from iiuser, the name eva is not showing up15:40
PaulM05sql should actually end with a message like "your queries have been committed" (not sure if that's the exact phrase)15:41
ccsidiotbut when I am in iidbdb, create user eva, select name from iiuser, eva's showing up15:41
PaulM05yeah - you need to connect to iidbdb to create users15:42
ccsidiotYupz, the statement executes successfully15:42
ccsidiotnot sure if that's committed though15:42
PaulM05create user doesn't fail on a user database?15:42
ccsidiotYea, it doesn't fail15:42
ccsidiot:(15:42
PaulM05that's a bug15:42
ccsidiotI was wondering where did it get execute to15:43
ccsidiot:) Yay, I found a bug15:43
PaulM05next step fix it ;)15:43
ccsidiotHum, I was trying to reproduce it, but failed to reproduce it15:44
PaulM05spurious - worst kind15:44
ccsidiotHum, let me stop Ingres and restart that15:44
SaraDanaher_http://ingres.pastebin.com/m4821399d15:44
SaraDanaher_i am using that command to create the drupal15:45
PaulM05that should work15:45
ccsidiotPaulM05: I failed to reproduce that15:46
ccsidiot:(15:46
PaulM05you get an error now?15:47
ccsidiotYea15:47
PaulM05well that's good then15:47
PaulM05working properly15:47
ccsidiotFunny: Error = working properly15:48
*** toumi01 has quit IRC15:48
PaulM05well yes because you're not supposed to be able to do what you're trying to do15:48
ccsidiotPaulM05:Yes :) You are very right15:48
SaraDanaher_thanks15:49
SaraDanaher_people15:49
ccsidiotSara: Is that what you type exactly?15:49
SaraDanaher_i got created finally the -udrupal drupal15:49
SaraDanaher_data base15:49
ccsidiotGreat!15:49
ccsidiotGood15:50
ccsidiot:)15:50
SaraDanaher_thanks eva15:50
ccsidiotNo problem15:50
ccsidiotWe are getting there15:50
SaraDanaher_yes15:50
SaraDanaher_we are15:50
SaraDanaher_..15:50
ccsidiotHey guys, Andrew and Alex provided me a patch to guide me through committing15:52
ccsidiotI have worked with svn before but I'm not sure if there's any rules to watch out for15:52
ccsidiotThe patch has already been tested and code inspected,15:53
ccsidiotanything else?15:54
ccsidiotDo I need to commit the changes in 1 commit or can I separate that into different commits?15:55
PaulM05I've never committed anything to the geospatial branch - do you have any guidelines for the project?16:00
ccsidiotI know the code need to be tested and code inspected before commiting, of which it already is16:02
ccsidiotbut I know svn gets annoying when you commit 2 files first then 2 others later, and when people checkout the version only have those 2 first files will have trouble16:03
ccsidiotOther than that, I don't think there are any more specific guildlines16:04
PaulM05yes - it would make sense to commit everything for one logical change - e.g. a bug fix - together16:04
ccsidiot:)16:08
*** PaulM05 has left #ingres17:10
*** SaraDanaher_ has quit IRC17:15
*** ccsidiot_ has joined #ingres17:19
*** ccsidiot has quit IRC17:34
*** rossand has joined #ingres17:48
*** ChanServ sets mode: +o rossand17:48
*** SaraDanaher has quit IRC19:10
*** rossand has quit IRC19:18
*** cytrinox_ has joined #ingres19:22
*** cytrinox has quit IRC19:37
*** cytrinox_ is now known as cytrinox19:37
*** zxiiro has quit IRC19:55
*** zxiiro has joined #ingres19:57
*** ChanServ sets mode: +v zxiiro19:57
*** rossand has joined #ingres20:12
*** ChanServ sets mode: +o rossand20:12
*** rossand has quit IRC20:37
*** ccsidiot_ has left #ingres21:36
*** monda07 has joined #ingres21:51
*** DarylM has quit IRC22:01
*** monda07 is now known as DarylM22:01
*** Alex| has joined #ingres22:45
*** ChanServ sets mode: +o Alex|22:45
*** grantc has joined #ingres22:59
*** ChanServ sets mode: +o grantc22:59
*** Alex| has quit IRC23:23
*** Alex| has joined #ingres23:39
*** ChanServ sets mode: +o Alex|23:39
*** hanje04 has quit IRC23:55
*** Gerhard has joined #ingres23:59

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