-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Hardcode the few OIDs that are used internally and rearrange some h…
…eader files, so the server development files are no longer used. - Conditionally compile the setSingleRowMode() function, since it only exists for PostgreSQL 9.2+.
- Loading branch information
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2009 - 2014, Micro Systems Marc Balmer, CH-5073 Gipf-Oberfrick | ||
* Copyright (c) 2009 - 2015, Micro Systems Marc Balmer, CH-5073 Gipf-Oberfrick | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
|
@@ -35,6 +35,11 @@ | |
#define NOTIFY_METATABLE "pgsql asychronous notification methods" | ||
#define LO_METATABLE "pgsql large object methods" | ||
|
||
/* OIDs from server/pg_type.h */ | ||
#define BOOLOID 16 | ||
#define TEXTOID 25 | ||
#define NUMERICOID 1700 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mbalmer
via email
Author
Collaborator
|
||
|
||
typedef struct largeObject { | ||
PGconn *conn; | ||
int fd; | ||
|
alignment seems off?