Skip to Content.
Sympa Menu

freetds - Re: [freetds] port setting in the global section of the config file does not work

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: christos AT zoulas.com (Christos Zoulas)
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] port setting in the global section of the config file does not work
  • Date: Sat, 19 Jun 2004 17:44:52 -0400

On Jun 19, 5:12pm, jklowden AT schemamania.org ("James K. Lowden") wrote:
-- Subject: Re: [freetds] port setting in the global section of the config fi

| Hi Christos,
|
| I applied this patch and the tsql one. Thanks.

Thanks.
|
| BTW, I wrote bsqldb specifically for batch processing. I think it's
| better suited than tsql to the task.

I'll give it a try.

| In case you (or someone else) is inclined to do anything further with
| these items, I'd like to offer the following thoughts:
|
| 1. The port should be inferred not from the compiled-in default TDS
| protocol, but from the protocol version in force at the time the
| connection is attempted. That is, if I set "tds version = 5.0" in
| freetds.conf, that should imply port 4000 for that server.

Ok, I will look into fixing that. Right now if no port is specified,
it just uses the compiled default.

| 2. tsql should write non-data to stderr. That would make it easier to
| use as a data extractor.

I have mixed feelings about this. You can go overboard on this, look at fuser.

| Your changes are improvements, too, and fix real problems, which is why I
| applied them.

Thanks again,


christos




Archive powered by MHonArc 2.6.24.

Top of Page