Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
c709f564
Commit
c709f564
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
More odbc include cleanups
parent
e1eee4cf
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/interfaces/odbc/gpps.c
+1
-1
1 addition, 1 deletion
src/interfaces/odbc/gpps.c
src/interfaces/odbc/misc.h
+11
-0
11 additions, 0 deletions
src/interfaces/odbc/misc.h
src/interfaces/odbc/psqlodbc.h
+0
-10
0 additions, 10 deletions
src/interfaces/odbc/psqlodbc.h
with
12 additions
and
11 deletions
src/interfaces/odbc/gpps.c
+
1
−
1
View file @
c709f564
...
...
@@ -26,7 +26,7 @@
#include
<sys/types.h>
#include
<string.h>
#include
"
psqlodb
c.h"
#include
"
mis
c.h"
#include
"gpps.h"
#ifndef TRUE
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/odbc/misc.h
+
11
−
0
View file @
c709f564
...
...
@@ -76,6 +76,17 @@
#define DIRSEPARATOR "\\"
#endif
#ifdef WIN32
#define PG_BINARY O_BINARY
#define PG_BINARY_R "rb"
#define PG_BINARY_W "wb"
#else
#define PG_BINARY 0
#define PG_BINARY_R "r"
#define PG_BINARY_W "w"
#endif
void
remove_newlines
(
char
*
string
);
char
*
strncpy_null
(
char
*
dst
,
const
char
*
src
,
int
len
);
char
*
trim
(
char
*
string
);
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/odbc/psqlodbc.h
+
0
−
10
View file @
c709f564
...
...
@@ -49,16 +49,6 @@ typedef UInt4 Oid;
#define DRIVER_FILE_NAME "libpsqlodbc.so"
#endif
#ifdef WIN32
#define PG_BINARY O_BINARY
#define PG_BINARY_R "rb"
#define PG_BINARY_W "wb"
#else
#define PG_BINARY 0
#define PG_BINARY_R "r"
#define PG_BINARY_W "w"
#endif
/* Limits */
#ifdef WIN32
#define BLCKSZ 4096
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment