Monday, 2010-04-26

*** Alex| has joined #ingres00:18
*** ChanServ sets mode: +o Alex|00:18
*** Mud has quit IRC00:40
*** Mud has joined #ingres00:47
*** grantc has joined #ingres00:51
*** Mud has quit IRC01:11
*** Mud has joined #ingres01:16
*** Dejan has joined #ingres01:50
Dejanhello everybody01:51
Dejanguys, check this out: http://codepad.org/GMbiah4601:51
Dejani get that error when i try to sysmod a database01:51
Dejanwhat could cause that, and how to fix it? any advice is greatly appreciated01:52
Dejanthe database seems to work well01:52
*** KermitTheFragger has joined #ingres02:07
DejanKermitTheFragger, hiya02:49
KermitTheFraggerDejan: hello!02:49
Dejanquestion: is there an SQL statement like SHOW GRANTS on MySQL/Maria ?02:50
Dejani do not want to use visualdb or accessdb just for this purpose...02:50
KermitTheFraggerDejan: you can use show grants as SQL in MySQL iirc ?02:51
KermitTheFraggerDejan: here it is: http://dev.mysql.com/doc/refman/5.0/en/show-grants.html02:52
KermitTheFraggeror am i missing something ? :)02:53
Dejanthat is what i want in ingres03:00
Dejani am aware of show grants in maria/mysql03:01
Vroomfondleselect * from iiperms?03:01
Dejansure...03:02
grantcHELP PERMIT ON x03:04
grantcwhere x is the object you wish to query03:04
Dejanhell, how did i miss that one...03:06
Dejan:/03:06
Dejanthanks grantc03:06
Dejaniiperms seems inaccessible03:07
Dejanmaybe i have to be superuser03:07
KermitTheFraggerDejan: ah sorry i missread, I need more coffee ;-)03:08
Dejannext question: how to grant NEXT for a sequence ?03:29
Dejani am trying to find this in the documentation, and i am failing...03:30
DejanGRANT NEXT ON SEQUENCE '$iiidentity_sequence_0011666' TO USER app_pma;\g03:34
Dejanwhat is wrong with this?03:34
Dejanthis sequence exists03:34
Dejanuser exists too03:34
Dejani noticed this because my Java app throws an exception:  SQLException: NEXT VALUE: you lack 'NEXT' on sequence '$iiidentity_sequence_0011666' owned by 'ingres'.03:34
Dejanhell, it was frekkin' quotes...03:47
Dejanwhen i used double quotes it worked...03:47
Dejanis there a way to name the sequence autogenerated for AUTO_INCREMENT field?03:50
Dejanor a way to easily grant NEXT to those sequences...03:50
*** cthibert has joined #ingres03:56
* Dejan wishes AUTO_INCREMENT(seq_name) in CREATE TABLE :D04:10
Dejanbecause i just hate autogenerated sequence names...04:11
Alex|you know about "always as identity" in 9.3?04:21
Alex|ah, you want the other way? You know about default seq_name.nextval?04:22
Dejansure i do Alex| , question here is - can i specify the name of the sequence if i use AUTO_INCREMENT alias?04:39
Dejanwhat I want is: GENERATE ALWAYS AS my_sequence_name IDENTITY04:39
Dejanexample:04:39
DejanCREATE TABLE tt(id INTEGER PRIMARY KEY GENERATE ALWAYS AS my_sequence_name IDENTITY, ...)04:39
Dejanwhat I want is:04:40
DejanCREATE TABLE tt(id INTEGER PRIMARY KEY AUTO_INCREMENT(my_sequence_name), ...)04:40
Dejanwhy?04:40
Dejanbecause I cannot know the sequence name that Ingres is going to make for the AUTO_INCREMENT04:40
Dejansure, my option is to forget AUTO_INCREMENT, and stick to the longer syntax04:41
Dejani need this sequence name, because i need it to set access to it04:41
Dejan(in GRANT NEXT ON SEQUENCE...)04:42
DejanI consider it a bug actually - if i grant access to a table with identity column, the sequence should be automatically updated as well04:42
Dejanif it is, i would not have this problem at all04:43
Dejanso users would have access to all those $autosequences_NNNN04:43
Dejanand sure, i do not exclude posibility that i just do not know how to do it :D04:44
*** gerhard has joined #ingres05:07
*** Mud has quit IRC05:11
*** Mud has joined #ingres05:16
*** zxiiro has quit IRC05:30
*** Dejan_ has joined #ingres05:34
*** gerhard has quit IRC05:36
*** rossand has joined #ingres05:55
*** ChanServ sets mode: +o rossand05:55
*** zxiiro has joined #ingres06:14
*** ChanServ sets mode: +v zxiiro06:14
*** gerhard has joined #ingres06:37
*** gerhard has quit IRC06:49
*** Alex| has quit IRC07:24
*** Mud has quit IRC08:00
*** Alex| has joined #ingres08:17
*** ChanServ sets mode: +o Alex|08:17
*** ukjay has joined #ingres08:19
*** Dejan has quit IRC09:08
*** Mud has joined #ingres09:12
*** Mud has quit IRC09:54
*** KermitTheFragger has quit IRC10:07
*** Alex| has quit IRC10:10
*** ukjay has left #ingres10:16
*** grantc has quit IRC11:43
*** zxiiro has quit IRC11:51
*** withdefault has quit IRC12:04
*** Alex| has joined #ingres12:18
*** ChanServ sets mode: +o Alex|12:18
*** cthibert has left #ingres12:54
*** zxiiro has joined #ingres13:09
*** ChanServ sets mode: +v zxiiro13:09
*** Alex| has quit IRC13:22
*** bonro01 has left #ingres13:35
*** cytrinox_ has joined #ingres19:21
*** cytrinox has quit IRC19:24
*** cytrinox_ is now known as cytrinox19:24
*** rossand has quit IRC19:29
*** Alex| has joined #ingres22:36
*** ChanServ sets mode: +o Alex|22:36
*** Mud has joined #ingres22:53
*** DarylM has quit IRC23:12
*** Alex| has quit IRC23:13
*** Mud has quit IRC23:18
*** Mud has joined #ingres23:29
*** grantc has joined #ingres23:44
*** zxiiro has quit IRC23:53

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