Skip to Content.
Sympa Menu

freetds - Re: [freetds] tsql Tool in a Debian package?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <brian.bruns AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tsql Tool in a Debian package?
  • Date: Wed, 31 Aug 2005 21:08:26 -0400

Hi Steve,

tsql with the -H and -p switches is useful for seeing if a server is
up and answers without a freetds.conf configuration. So if somebody
can't get connected, the first thing I try after a basic telnet to the
port is tsql. Also tsql -C gives details on version and config time
options, maybe not as important for a .deb.

Quite honestly, I don't know how much use tsql is in debugging the
libraries themselves as the unittests do a much more thorough job. It
is useful in narrowing down a bug to the tds layer or not. In any
event, it's more of an end-user diagnostic program than a developer
program.

We have to walk a fine line between providing a decent tool for
debugging configuration problems and accidentally encouraging people
to use it in a production setting.

Brian

2005/8/31, Steve Langasek <vorlon AT dodds.net>:
> Hi Brian,
>
> On Wed, Aug 31, 2005 at 05:55:50PM -0400, Brian Bruns wrote:
> > I completely understand not including tsql, I'm generally in
> > agreement. My question is, when someone has a configuration problem
> > and comes to the list and we say "run tsql with these switches and see
> > what you get", what are their options? Rebuilding from source kind of
> > defeats the whole point of having a binary package. Would a
> > freetds-debugtools.deb make sense?
>
> Well, perhaps I don't understand how tsql is being used these days
> since I haven't had time to follow the list traffic much lately. My
> understanding, from the last time I used it, is that tsql is mainly
> useful for debugging problems with the library itself. Is it also
> useful for debugging configuration problems, in ways that sqsh is not?
>
> If it is only used for debugging library problems, then it seems to me
> that anyone who's coming to this list for help is going to be
> recompiling from source anyway in the process of resolving the bug, so
> having to recompile to get tsql doesn't seem like a big obstacle IMHO.
> If, OTOH, there are other reasons to want tsql around, I can certainly
> look into adding it to the Debian build.
>
> Thanks,
> --
> Steve Langasek Give me a lever long enough and a Free OS
> Debian Developer to set it on, and I can move the world.
> vorlon AT debian.org http://www.debian.org/
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDFkyTKN6ufymYLloRAkhCAKC+3Y2bCmgy+gl3HRWtMeLNzvFzjgCghn/o
> z6CiF4X2qsy6wZNcjCkuzUk=
> =IiRK
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>
>




Archive powered by MHonArc 2.6.24.

Top of Page