Added aync.txt to distribution.

This commit is contained in:
Federico Di Gregorio 2005-11-29 12:01:46 +00:00
parent 4261bc3371
commit 3937ea3ece
6 changed files with 15 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2005-11-29 Federico Di Gregorio <fog@initd.org>
* MANIFEST.in: added docs/async.txt. (Closes: #75)
2005-11-26 Daniele Varrazzo <daniele.varrazzo@gmail.com> 2005-11-26 Daniele Varrazzo <daniele.varrazzo@gmail.com>
* psycopg/psycopgmodule.c: fixed exceptions refcount. * psycopg/psycopgmodule.c: fixed exceptions refcount.

View File

@ -4,7 +4,7 @@ recursive-include tests *.py
recursive-include ZPsycopgDA *.py *.gif *.dtml recursive-include ZPsycopgDA *.py *.gif *.dtml
recursive-include examples *.py somehackers.jpg whereareyou.jpg recursive-include examples *.py somehackers.jpg whereareyou.jpg
recursive-include debian * recursive-include debian *
recursive-include doc TODO HACKING SUCCESS ChangeLog-1.x recursive-include doc TODO HACKING SUCCESS ChangeLog-1.x async.txt
recursive-include scripts *.py *.sh recursive-include scripts *.py *.sh
include scripts/maketypes.sh scripts/buildtypes.py include scripts/maketypes.sh scripts/buildtypes.py
include AUTHORS README INSTALL ChangeLog include AUTHORS README INSTALL ChangeLog

View File

@ -1,6 +1,8 @@
psycopg asynchronous API psycopg asynchronous API
************************ ************************
** Important: async quaeries are not enabled for 2.0 **
Program code can initiate an asynchronous query by passing an 'async=1' flag Program code can initiate an asynchronous query by passing an 'async=1' flag
to the .execute() method. A very simple example, from the connection to the to the .execute() method. A very simple example, from the connection to the
query: query:

View File

@ -13,6 +13,10 @@
#define XIDOID 28 #define XIDOID 28
#define CIDOID 29 #define CIDOID 29
#define OIDVECTOROID 30 #define OIDVECTOROID 30
#define PG_TYPE_RELTYPE_OID 71
#define PG_ATTRIBUTE_RELTYPE_OID 75
#define PG_PROC_RELTYPE_OID 81
#define PG_CLASS_RELTYPE_OID 83
#define POINTOID 600 #define POINTOID 600
#define LSEGOID 601 #define LSEGOID 601
#define PATHOID 602 #define PATHOID 602
@ -30,6 +34,7 @@
#define MACADDROID 829 #define MACADDROID 829
#define INETOID 869 #define INETOID 869
#define CIDROID 650 #define CIDROID 650
#define INT4ARRAYOID 1007
#define ACLITEMOID 1033 #define ACLITEMOID 1033
#define BPCHAROID 1042 #define BPCHAROID 1042
#define VARCHAROID 1043 #define VARCHAROID 1043

View File

@ -16,8 +16,8 @@ static long int typecast_LONGINTEGERARRAY_types[] = {1016, 0};
static long int typecast_INTEGERARRAY_types[] = {1005, 1006, 1007, 0}; static long int typecast_INTEGERARRAY_types[] = {1005, 1006, 1007, 0};
static long int typecast_FLOATARRAY_types[] = {1017, 1021, 1022, 0}; static long int typecast_FLOATARRAY_types[] = {1017, 1021, 1022, 0};
static long int typecast_DECIMALARRAY_types[] = {1231, 0}; static long int typecast_DECIMALARRAY_types[] = {1231, 0};
static long int typecast_UNICODEARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0}; static long int typecast_UNICODEARRAY_types[] = {705, 1002, 1003, 1009, 1014, 1015, 0};
static long int typecast_STRINGARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0}; static long int typecast_STRINGARRAY_types[] = {705, 1002, 1003, 1009, 1014, 1015, 0};
static long int typecast_BOOLEANARRAY_types[] = {1000, 0}; static long int typecast_BOOLEANARRAY_types[] = {1000, 0};
static long int typecast_DATETIMEARRAY_types[] = {1115, 1185, 0}; static long int typecast_DATETIMEARRAY_types[] = {1115, 1185, 0};
static long int typecast_TIMEARRAY_types[] = {1183, 1270, 0}; static long int typecast_TIMEARRAY_types[] = {1183, 1270, 0};

View File

@ -37,8 +37,5 @@ echo -n generating typecast_builtins.c ...
awk '/#define .+OID/ {print $2 " " $3}' "$PGTYPE" | \ awk '/#define .+OID/ {print $2 " " $3}' "$PGTYPE" | \
python $SCRIPTSDIR/buildtypes.py >$SRCDIR/typecast_builtins.c python $SCRIPTSDIR/buildtypes.py >$SRCDIR/typecast_builtins.c
echo " done" echo " done"
#echo -n generating pgversion.h ...
#echo "#define PG_VERSION_MAJOR $PGMAJOR" >$SRCDIR/pgversion.h
#echo "#define PG_VERSION_MINOR $PGMINOR" >>$SRCDIR/pgversion.h
#echo " done"