Author: cito
Date: Mon Jan 11 07:09:18 2016
New Revision: 715
Log:
Use the original header file from PG instead of pgfs.h
Deleted:
trunk/pgfs.h
Modified:
branches/4.x/pgtypes.h
trunk/docs/download/files.rst
trunk/pgmodule.c
trunk/pgtypes.h
Modified: branches/4.x/pgtypes.h
==============================================================================
--- branches/4.x/pgtypes.h Mon Jan 11 06:44:49 2016 (r714)
+++ branches/4.x/pgtypes.h Mon Jan 11 07:09:18 2016 (r715)
@@ -2,8 +2,8 @@
pgtypes - PostgreSQL type definitions
These are the standard PostgreSQL built-in types,
- extracted from catalog/pg_type.h Revision 1.212,
- because that header file is sometimes not availale
+ extracted from server/catalog/pg_type.h Revision 1.212,
+ because that header file is sometimes not available
or needs other header files to get properly included.
You can also query pg_type to get this information.
*/
Modified: trunk/docs/download/files.rst
==============================================================================
--- trunk/docs/download/files.rst Mon Jan 11 06:44:49 2016 (r714)
+++ trunk/docs/download/files.rst Mon Jan 11 07:09:18 2016 (r715)
@@ -4,7 +4,6 @@
========== =
pgmodule.c the C Python module (_pg)
-pgfs.h PostgreSQL definitions for large objects
pgtypes.h PostgreSQL type definitions
py3c.h Python 2/3 compatibility layer for the C extension
pg.py the "classic" PyGreSQL module
Deleted: trunk/pgfs.h
==============================================================================
--- trunk/pgfs.h Mon Jan 11 07:09:18 2016 (r714)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,12 +0,0 @@
-/*
- pgfs - PostgreSQL definitions for large objects
-
- Extracted from libpq/libpq-fs.h Revision 1.25.
-*/
-
-#ifndef LIBPQ_FS_H
-
-#define INV_WRITE 0x00020000
-#define INV_READ 0x00040000
-
-#endif
Modified: trunk/pgmodule.c
==============================================================================
--- trunk/pgmodule.c Mon Jan 11 06:44:49 2016 (r714)
+++ trunk/pgmodule.c Mon Jan 11 07:09:18 2016 (r715)
@@ -32,10 +32,9 @@
#include <Python.h>
#include <libpq-fe.h>
+#include <libpq/libpq-fs.h>
-/* some definitions from <libpq/libpq-fs.h> */
-#include "pgfs.h"
-/* the type definitions from <catalog/pg_type.h> */
+/* the type definitions from <server/catalog/pg_type.h> */
#include "pgtypes.h"
/* macros for single-source Python 2/3 compatibility */
Modified: trunk/pgtypes.h
==============================================================================
--- trunk/pgtypes.h Mon Jan 11 06:44:49 2016 (r714)
+++ trunk/pgtypes.h Mon Jan 11 07:09:18 2016 (r715)
@@ -2,8 +2,8 @@
pgtypes - PostgreSQL type definitions
These are the standard PostgreSQL built-in types,
- extracted from catalog/pg_type.h Revision 1.212,
- because that header file is sometimes not availale
+ extracted from server/catalog/pg_type.h Revision 1.212,
+ because that header file is sometimes not available
or needs other header files to get properly included.
You can also query pg_type to get this information.
*/
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql