![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
On Fri, 25 Mar 2011 19:35:50 +0000 (UTC) Roy Hann <specially (AT) processed (DOT) almost.meat> wrote: Yeah, but your code worked. Dropping a non-existent table is no more an error than deleting a non-existent row. Really? What about deleting a nonexistent file? Time was rm(1) was silent if the named file didn't exist. But lack of feedback led to compound errors. *Some* feedback is required. On deletion of rows, the rowcount is available for inspection. AFAIK that's not true for a dropped table. Or a nondropped nontable. ;-) --jkl _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#32
| |||
| |||
|
|
I think that's actually a fair point Mike. Ultimately Terminal Monitor is not a high level language like Perl, C etc. So there is little point giving it lots of conditionals, those things are better done by a higher level language. That being said I still think that TM can stand lots of improvements, for example (off the top of my head): 1. Report writer like formatting specification. |
|
2. Merging all the capabilities of ABF procedures into normal SQL procedures. |
#33
| |||
| |||
|
|
I think that's actually a fair point Mike. Ultimately Terminal Monitor is not a high level language like Perl, C etc. So there is little point giving it lots of conditionals, those things are better done by a higher level language. That being said I still think that TM can stand lots of improvements, for example (off the top of my head): 1. Report writer like formatting specification. |
|
2. Merging all the capabilities of ABF procedures into normal SQL procedures. |
#34
| |||
| |||
|
|
Actually on reflection.... If I can get conditionals in terminal monitor... why the hell not? |
|
Also Geraint tells me that he's looked at importing the Report Writer formatting into Terminal Monitor and he thinks it should be an achievable goal for the code sprint. I'm sure that with sufficient bribery (measured in pints) that he could be persuaded to have a crack at it. |
#35
| |||
| |||
|
|
On Fri, 25 Mar 2011 19:35:50 +0000 (UTC) Roy Hann <specially (AT) processed (DOT) almost.meat> wrote: Yeah, but your code worked. Dropping a non-existent table is no more an error than deleting a non-existent row. Really? What about deleting a nonexistent file? |
|
Time was rm(1) was silent if the named file didn't exist. But lack of feedback led to compound errors. *Some* feedback is required. On deletion of rows, the rowcount is available for inspection. AFAIK that's not true for a dropped table. Or a nondropped nontable. ;-) |
#36
| |||
| |||
|
|
Those are true observations but not proof that attempting to drop a table that doesn't exist is an error in your code. |
#37
| |||
| |||
|
|
I'm sure that with sufficient bribery (measured in pints) that he could be persuaded to have a crack at it. I'm sure the Benevolent Czarina won't object if I pass a hat round on the day. |
#38
| |||
| |||
|
|
I'm sure that with sufficient bribery (measured in pints) that he could be persuaded to have a crack at it. I'm sure the Benevolent Czarina won't object if I pass a hat round on the day. |
![]() |
| Thread Tools | |
| Display Modes | |
| |