Skip to Content.
Sympa Menu

freetds - interfaces file

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Craig Spannring <cts AT internetcds.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: interfaces file
  • Date: Tue, 10 Nov 1998 23:02:55 -0800 (PST)



As far as I can tell the dbopen(login, servername) function in
DB-Library for SQLServer looks in the WIN.INI file for a logical
server name given in 'servername' and if it doesn't find one there it
tries to connect to an actual server with that name.

The current implementation doesn't do that. Would anyone object if
the current implementation was changed so that dbopen() tried opening
a server in this order-

1) Look for the a logical server in the file set by the
set_interfaces_file_loc() function
2) If set_interfaces_file_loc() has not been called look for the
logical server in $SYBASE/interfaces
3) If the logical server was not found then search for it in the
$HOME/.interfaces file.
4) If no matching logical server was found then assume the user
specified an actual server name.

--
=======================================================================
Life is short. | Craig Spannring
Ski hard, Bike fast. | cts AT internetcds.com
--------------------------------+------------------------------------
Any sufficiently perverted technology is indistinguishable from Perl.
=======================================================================




Archive powered by MHonArc 2.6.24.

Top of Page