Changeset 827 for pg8000/trunk/pg8000.py
- Timestamp:
- 03/10/07 00:21:37 (2 years ago)
- Files:
-
- pg8000/trunk/pg8000.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pg8000/trunk/pg8000.py
r825 r827 1207 1207 return float(data) 1208 1208 1209 def float8send(v, **kwargs): 1210 return struct.pack("!d", v) 1211 1209 1212 # The timestamp_recv function is sadly not in use because some PostgreSQL 1210 1213 # servers are compiled with HAVE_INT64_TIMESTAMP, and some are not. This … … 1278 1281 str: {"tid": 25, "txt_out": textout}, 1279 1282 unicode: {"tid": 25, "txt_out": textout}, 1283 float: {"tid": 701, "bin_out": float8send}, 1284 decimal.Decimal: {"tid": 1700, "txt_out": numeric_out}, 1280 1285 type(None): {"tid": -1}, 1281 1286 }
