Monday, 2009-07-13

*** atrofast has quit IRC00:01
*** atrofast has joined #ingres01:04
Deyanhello01:42
*** grantc has joined #ingres01:47
*** ChanServ sets mode: +o grantc01:47
*** grantc has quit IRC02:16
*** grantc has joined #ingres02:22
*** ChanServ sets mode: +o grantc02:22
Deyanstrange thing is - if i declare a column as AUTO_INCREMENT, ingres does not allow me to insert a value into it by simple INSERT INTO <table name>(id) values(<number>)02:43
Deyaneven though i am giving a valid, new value02:43
pborowhat is the error when trying to insert?02:43
Deyana weird error... hold on02:43
Deyanit is probably my mistake02:43
Deyani am still thinking in MySQL-ways :D02:44
grantcHi Deyan, I am not sure that inserting values in to a server managed column is a really good idea (tm)02:44
pboroit depends02:44
pboroin Ingres you prolly use sequence for auto incrementing column02:45
grantcon?02:45
Deyangrantc, i agree, but unfortunately the software i am using requires me to give it a value02:45
pborograntc, on the case :D maybe you want to reuse some ids or something... I have no idea what Deyan is building :)02:45
DeyanPS, it is a testing table...02:45
grantcpboro, hmm02:46
Deyan"INSERT: Overriding system value clause must accompany INSERT into GENERATED ALWAYS AS IDENTITY column id."02:46
Deyanit is a table with 2 rows in it02:47
Deyanso i know 100% that value i want to add is definitely correct02:47
Deyansure when i execute my own sql code everything goes well02:48
pboroahh... is there other ways to create "auto-incrementing" column in ingres other than sequences? :)02:48
grantcpboro - yes but they are hacky02:48
Deyanbut for the testing i use squirrel-sql just to fill tables with some crappy data02:48
Deyanand it REQUIRES me to supply value for the auto_increment column...02:48
Deyanstupid if you ask me, but that is how it works...02:49
grantcRTFM :) http://docs.ingres.com/Ingres/9.3/SQL%20Reference%20Guide/insert.htm02:50
grantcOVERRIDING SYSTEM VALUE02:50
Deyanyessir02:51
Deyanay ay sir02:51
* Deyan lives to obey!02:51
grantc;)02:51
Deyanah this...02:52
Deyanthis will not help, grantc02:52
grantclike anything when you shout it works... like talking to foreigners ...02:52
Deyanbecause i cannot make squirrel use OVERRIDING SYSTEM VALUE02:52
grantc:(02:53
pboroAh, I didn't know Ingres protects columns which use sequences for default value02:53
grantccan you not override the SQL? or have it generate the SQL and you modify it02:53
grantcpboro, i think this is new for 9.302:54
grantcit comes with GENERATED ALWAYS AS IDENTITY/GENERATED BY DEFAULT IDENTITY02:54
pborograntc, ok, is that ANSI SQL compatible or an Ingres extension?02:54
grantci don't think it would apply with 9.2 using old method of sequence number inclusion...02:55
grantcpls hold caller...02:55
Deyanif you ask me, this is good02:55
Deyan(that ingres protects IDENTITY columns)02:55
Deyanbut the problem is to make software be more intelligent02:55
pboroit seems to be by the standard :) nice02:55
grantcpboro, i would guess it is an ISO SQL standard02:55
Deyan(like squirrel, or razorsql)02:55
grantcdb2 use the same02:56
pborograntc, and Derby and many others, yup02:56
Deyanpboro: it is a standard02:56
Deyani could not find db editor that actually could detect this column and use proper sql when i want to add some data to such table...02:57
Vroomfondlehmm03:06
Vroomfondlewhere does Ingres store its forms (ABF/vision)? I think it's in a system database somewhere but I don't know how to gain access to it.03:07
Deyanfrom my short experience with Ingres, you cannot access system database through ODBC03:10
Deyanmaybe that is the problem?03:10
Deyanor somewhat related to it?03:11
grantcVroomfondle, perhaps in ii_encoded_forms03:11
grantcDeyan, you mean iidbdb?03:11
Deyangrantc: for some reason i cannot access any table with prefix sys_03:12
grantcthat's not an ingres prefix03:12
grantcour system tables start with ii03:12
grantcii for dbms tables ii_ for application (abf/replicator/vision/openroad/reportwriter)03:12
Vroomfondlewe don't seem to have an ii_encoded_forms, or else our DBA account can't see it03:15
grantcselect relid from iirelation where relid like 'ii_%' order by relid asc03:18
grantcthat might be for OpenROAD...03:18
Vroomfondleah, my bad - was looking in the wrong place03:18
Vroomfondlewe do have an ii_encoded_forms and an ii_forms. Not sure I'll be able to do what I wanted to do though.03:19
Vroomfondle(I wanted to effective 'grep' through all our forms for a given field/column name or trim text)03:19
Vroomfondlelooks like that might be a non-starter03:19
grantcdump the forms using copyform and review the output03:20
Vroomfondlethat might be a better approach, yeah03:23
*** atrofast has quit IRC03:51
*** atrofast has joined #ingres03:54
atrofastThat IDENTITY feature, is that in main code line already?03:55
Alex|it's in 9.3...03:55
Alex|so I guess, yes...03:55
*** thiagomz has joined #ingres03:56
atrofastCool, that feature will be nice when porting apps03:56
Deyannot just that... it removes the need for generating proper values in the application logic...03:58
atrofastHey I didn't design the apps, I just port them :D03:59
Alex|well, you can already create auto-sequences... you just have to take care about creating them which identiy will do for you then03:59
atrofastIt removes one step from the whole deal, also you don't have tow orry about naming the sequence03:59
grantcatrofast, amen...04:04
*** atrofast has quit IRC04:17
thiagomzmorning...04:18
Deyanmorning04:20
*** atrofast has joined #ingres04:38
*** Deyan has quit IRC05:01
*** atrofast has quit IRC05:11
*** atrofast has joined #ingres05:11
*** Deyan has joined #ingres06:38
Deyanhello06:38
pborohi :)06:39
*** DarylM has joined #ingres06:57
*** toumi01 has joined #ingres06:59
*** mull has joined #ingres07:01
thiagomzGuys, who can help to interpret a sampling on a DBMS ---> http://ingres.pastebin.com/mf1b064207:19
*** mull has joined #ingres07:23
*** thiagomz has quit IRC07:27
*** thiagomz_ has joined #ingres07:27
*** thiagomz_ has quit IRC07:28
*** thiagomz has joined #ingres07:29
*** Alex| is now known as Alex|off07:30
*** mull has quit IRC07:32
*** thiagomz_ has joined #ingres07:35
*** dyki has joined #ingres07:35
*** thiagomz has quit IRC07:35
Deyandyki: yo bro07:35
Deyanwassup?07:35
dykiDeyan: jo!07:36
dykigood :)07:36
Deyan<-- AFK07:36
DarylMthiagomz: looks pretty normal. not much to interpret.  moving a lot of data into/out-of the server07:38
*** thiagomz_ has quit IRC07:39
*** thiagomz has joined #ingres07:39
thiagomzWazzaaappp - > http://www.youtube.com/watch?v=G0Ez90yZvFM07:40
thiagomzfunny !07:40
thiagomzhttp://www.youtube.com/watch?v=6F2PA5sVjek07:42
*** DerMeister has joined #ingres08:55
*** Alex|off is now known as Alex|09:43
Deyandyki: :)09:51
dykiDeyan: ingres rules!09:51
Deyansure mate09:51
Deyantotally pwns09:51
dykiwhat is happening to these t-shirts?09:51
Deyanshipped09:52
Deyani will make all my chicks wear them in my bedroom09:52
dykiwhoa!09:52
Deyanjust those t-shirts, nothing else09:52
dykiI think they might be a bit overbuilt!09:52
*** grantc has quit IRC10:01
*** Deyan has quit IRC10:04
*** Alex| is now known as Alex|off13:40
*** DerMeister has quit IRC14:12
dykiq14:40
*** dyki has quit IRC14:40
*** DarylM has quit IRC15:45
*** atrofast has quit IRC16:00
*** Nornagest has quit IRC19:19
*** Alex|off has quit IRC22:45
*** Alex| has joined #ingres22:45
*** Nornagest has joined #ingres22:46
*** Alex| is now known as Alex|off22:47
*** Alex|off is now known as Alex|22:47
*** ChanServ sets mode: +o Alex|22:47
*** withdefault has joined #ingres22:57
*** ChanServ sets mode: +o withdefault22:57
*** Alex| is now known as Alex|off23:06
*** Alex|off is now known as Alex|23:21

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