11.10.2017 21:09, Dimitry Sibiryakov wrote:
11.10.2017 19:47, Vlad Khorsun via Firebird-devel wrote:
   I don't see it as a problem, as user already should understand what is 
connection string and
how to construct is from host name and database name. From my expirience 
"usual" applications
(such as accounting etc) already hide details about connection string from end 
users. Tools for
developers, on the contrary, allows to set connection string (among other 
params), but developers
should understand what is a host name, database name and service manager name.

   So, i see no problem here.

  Ok. To make gbak getting backup stream from service for performance purpose you suggest to change command line options from current "gbak <connection string>" to "gbak <host name> <database name>" and tell all users that they should understand it, right?

  I don't understand your speculations

  I.e. users will ask you for new version of application, good for you, isn't is ?

   No, it isn't. At that point I may be already dead.

  There is service connection and there is database connection. This is 
different things.

  Why they must be different? Services are not goal, it just a tool for working with databases. Even with the same connection string, they use different API. Isn't this difference more than enough?

  Because someone at IB times made decision that service connections is not a 
database
connection. And i must agree that service could work with some database. Another
service could work with two databases and third service could work with no 
database
at all (read firebird.log, for example). As expirienced user of ISC API you 
should
know it.

Your proposal hides the difference and just fools app devs.

   I would say that it makes using of API simpler.

  I can't say that currently it is hard to use and requires such simplification.

  I see no benefits, just attempt to make a bit complex thing more complex and ambiguous.

   Compare this:

fbsvcmgr host:service_mgr user sysdba password xxx expected_db employee 
action_db_stats dbname employee

   and this:

fbsvcmgr host:employee user sysdba password xxx action_db_stats

   What is "more complex and ambiguous"?

  Every service action have set of parameters. In your second example i see no 
paramenter
for action action_db_stats. This is not that kind of simplicity that i would 
ask for.

   Perhaps, you must start to use services API to feel the benefits. As do I.

  Sometime, when you speak for another person, it is so funny

  To finish with it: you make proposal and ask for objections, i gave you 
objections,
what else do you want ?

Vlad

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to