Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fd40942f
Commit
fd40942f
authored
Feb 10, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly exit ODBC with 'X', allow linking on BSD/OS.
parent
618733de
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
11 additions
and
24 deletions
+11
-24
src/interfaces/odbc/GNUmakefile
src/interfaces/odbc/GNUmakefile
+7
-2
src/interfaces/odbc/bind.c
src/interfaces/odbc/bind.c
+0
-1
src/interfaces/odbc/columninfo.c
src/interfaces/odbc/columninfo.c
+0
-1
src/interfaces/odbc/connection.c
src/interfaces/odbc/connection.c
+0
-1
src/interfaces/odbc/convert.c
src/interfaces/odbc/convert.c
+0
-1
src/interfaces/odbc/dlg_specific.c
src/interfaces/odbc/dlg_specific.c
+0
-1
src/interfaces/odbc/drvconn.c
src/interfaces/odbc/drvconn.c
+0
-1
src/interfaces/odbc/environ.c
src/interfaces/odbc/environ.c
+0
-1
src/interfaces/odbc/execute.c
src/interfaces/odbc/execute.c
+0
-1
src/interfaces/odbc/info.c
src/interfaces/odbc/info.c
+0
-1
src/interfaces/odbc/lobj.c
src/interfaces/odbc/lobj.c
+0
-1
src/interfaces/odbc/misc.c
src/interfaces/odbc/misc.c
+0
-1
src/interfaces/odbc/options.c
src/interfaces/odbc/options.c
+0
-1
src/interfaces/odbc/parse.c
src/interfaces/odbc/parse.c
+0
-1
src/interfaces/odbc/pgtypes.c
src/interfaces/odbc/pgtypes.c
+0
-1
src/interfaces/odbc/psqlodbc.c
src/interfaces/odbc/psqlodbc.c
+0
-1
src/interfaces/odbc/qresult.c
src/interfaces/odbc/qresult.c
+0
-1
src/interfaces/odbc/results.c
src/interfaces/odbc/results.c
+0
-1
src/interfaces/odbc/setup.c
src/interfaces/odbc/setup.c
+0
-1
src/interfaces/odbc/socket.c
src/interfaces/odbc/socket.c
+4
-1
src/interfaces/odbc/statement.c
src/interfaces/odbc/statement.c
+0
-1
src/interfaces/odbc/tuple.c
src/interfaces/odbc/tuple.c
+0
-1
src/interfaces/odbc/tuplelist.c
src/interfaces/odbc/tuplelist.c
+0
-1
No files found.
src/interfaces/odbc/GNUmakefile
View file @
fd40942f
...
...
@@ -2,7 +2,7 @@
#
# GNUMakefile for psqlodbc (Postgres ODBC driver)
#
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.
8 2000/12/16 18:14:25 petere
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.
9 2001/02/10 05:50:27 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -24,7 +24,6 @@ OBJS = info.o bind.o columninfo.o connection.o convert.o drvconn.o \
gpps.o tuple.o tuplelist.o dlg_specific.o
$(OBJX)
SHLIB_LINK
=
$(
filter
-lm
,
$(LIBS)
)
all
:
all-lib
# Shared library stuff
...
...
@@ -33,7 +32,13 @@ include $(top_srcdir)/src/Makefile.shlib
# Symbols must be resolved to the version in the shared library because
# the driver manager (e.g., iodbc) provides some symbols with the same
# names and we don't want those. (This issue is probably ELF specific.)
#
# BSD/OS fails with libc and crt1.o undefined symbols without this.
# bjm 2001-02-09
#
ifneq
($(PORTNAME), bsdi)
LINK.shared
+=
$(shlib_symbolic)
endif
odbc_headers
=
isql.h isqlext.h iodbc.h
odbc_includedir
=
$(includedir)
/iodbc
...
...
src/interfaces/odbc/bind.c
View file @
fd40942f
/* Module: bind.c
*
* Description: This module contains routines related to binding
...
...
src/interfaces/odbc/columninfo.c
View file @
fd40942f
/* Module: columninfo.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/connection.c
View file @
fd40942f
/* Module: connection.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/convert.c
View file @
fd40942f
/* Module: convert.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/dlg_specific.c
View file @
fd40942f
/* Module: dlg_specific.c
*
* Description: This module contains any specific code for handling
...
...
src/interfaces/odbc/drvconn.c
View file @
fd40942f
/* Module: drvconn.c
*
* Description: This module contains only routines related to
...
...
src/interfaces/odbc/environ.c
View file @
fd40942f
/* Module: environ.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/execute.c
View file @
fd40942f
/* Module: execute.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/info.c
View file @
fd40942f
/* Module: info.c
*
* Description: This module contains routines related to
...
...
src/interfaces/odbc/lobj.c
View file @
fd40942f
/* Module: lobj.c
*
* Description: This module contains routines related to manipulating
...
...
src/interfaces/odbc/misc.c
View file @
fd40942f
/* Module: misc.c
*
* Description: This module contains miscellaneous routines
...
...
src/interfaces/odbc/options.c
View file @
fd40942f
/* Module: options.c
*
* Description: This module contains routines for getting/setting
...
...
src/interfaces/odbc/parse.c
View file @
fd40942f
/* Module: parse.c
*
* Description: This module contains routines related to parsing SQL statements.
...
...
src/interfaces/odbc/pgtypes.c
View file @
fd40942f
/* Module: pgtypes.c
*
* Description: This module contains routines for getting information
...
...
src/interfaces/odbc/psqlodbc.c
View file @
fd40942f
/* Module: psqlodbc.c
*
* Description: This module contains the main entry point (DllMain) for the library.
...
...
src/interfaces/odbc/qresult.c
View file @
fd40942f
/* Module: qresult.c
*
* Description: This module contains functions related to
...
...
src/interfaces/odbc/results.c
View file @
fd40942f
/* Module: results.c
*
* Description: This module contains functions related to
...
...
src/interfaces/odbc/setup.c
View file @
fd40942f
/* Module: setup.c
*
* Description: This module contains the setup functions for
...
...
src/interfaces/odbc/socket.c
View file @
fd40942f
/* Module: socket.c
*
* Description: This module contains functions for low level socket
...
...
@@ -78,8 +77,12 @@ SOCK_Destructor(SocketClass *self)
{
if
(
self
->
socket
!=
-
1
)
{
if
(
!
shutdown
(
self
->
socket
,
2
))
/* no sends or receives */
{
SOCK_put_char
(
self
,
'X'
);
SOCK_flush_output
(
self
);
closesocket
(
self
->
socket
);
}
}
if
(
self
->
buffer_in
)
free
(
self
->
buffer_in
);
...
...
src/interfaces/odbc/statement.c
View file @
fd40942f
/* Module: statement.c
*
* Description: This module contains functions related to creating
...
...
src/interfaces/odbc/tuple.c
View file @
fd40942f
/* Module: tuple.c
*
* Description: This module contains functions for setting the data for individual
...
...
src/interfaces/odbc/tuplelist.c
View file @
fd40942f
/* Module: tuplelist.c
*
* Description: This module contains functions for creating a manual result set
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment