[DBD::Pg] Provide a manual PGRES_COPY_BOTH in case compiling against an older libpq.
dbdpg-commits-gENoVmVU/[email protected]
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Provide a manual PGRES_COPY_BOTH in case compiling against an older libpq. --- Pg.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Pg.h b/Pg.h index 1b324df..e6f8ab4 100644 --- a/Pg.h +++ b/Pg.h @@ -42,6 +42,10 @@ static int errno; #define INV_WRITE 0x00020000 #endif +#ifndef PGRES_COPY_BOTH +#define PGRES_COPY_BOTH 8 +#endif + #ifdef BUFSIZ #undef BUFSIZ #endif -- 1.7.0.5