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

Christos Zoulas christos at zoulas.com
Sat Jun 19 17:44:52 EDT 2004

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.  

| 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,


More information about the FreeTDS mailing list