Commit Graph

24 Commits

Author SHA1 Message Date
Daniele Varrazzo
beea32ef03 Use the Py_RETURN_NONE macro 2013-04-05 01:25:05 +01:00
Daniele Varrazzo
62a54f64f7 Fixed infinite loop when parsing '{' as array 2012-09-20 03:24:47 +01:00
Daniele Varrazzo
0e644f6d95 Fixed return value after malformed arrays 2012-09-20 03:24:26 +01:00
Federico Di Gregorio
40a512fe46 Fixed always true comparaison 2012-08-17 14:52:59 +02:00
Daniele Varrazzo
6cece00958 Check failed list creation in array adaptation 2012-03-04 04:42:44 +00:00
Daniele Varrazzo
31812c01e6 Further modeling of exception raising 2012-03-04 04:38:44 +00:00
Daniele Varrazzo
c4e6d7d982 Fixed typecasting of arrays containing consecutive backslashes 2011-09-22 18:14:16 +01:00
Daniele Varrazzo
c1715f66fe More careful memory management
- Check return value of PyErr_Malloc and set an exception in case of error
- Avoid exposing variables with refcount 0 as connection attributes.
- PyErr_Free guards itself for NULL input
2011-02-23 00:32:23 +00:00
Federico Di Gregorio
611606d532 Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
James Henstridge
eae563ac96 * psycopg/*.[ch]: add const qualifier to various string arguments
to functions (typecast functions and conn_switch_isolation_level).
2008-01-21 17:34:08 +00:00
James Henstridge
f18881983b * psycopg/typecast_array.c (typecast_array_scan): set an initial
value for quotes to keep gcc happy.

	* psycopg/*.c: add missing static modifier on many functions.
2008-01-13 16:05:59 +00:00
Federico Di Gregorio
967ec370ed int->size_t transition. 2007-04-13 01:16:22 +00:00
Federico Di Gregorio
e5829292cd Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
Federico Di Gregorio
1c16009985 Added support for NULL in arrays (closes: #154) 2007-01-19 14:08:06 +00:00
Federico Di Gregorio
07be5df881 Fix for #93. 2006-06-11 05:09:59 +00:00
Federico Di Gregorio
559149824b Small 64 bit fix. 2006-03-02 13:47:30 +00:00
Federico Di Gregorio
e72f3dba40 Fixed problem with array results that begin with "[...]=". (Closes: #80) 2005-12-11 08:21:20 +00:00
Federico Di Gregorio
6b0b634bae Code cleanup. 2005-10-18 01:29:47 +00:00
Federico Di Gregorio
75e7273d85 Solid tokenization code. 2005-03-23 17:17:48 +00:00
Federico Di Gregorio
cb9cec57c0 Array support for all basic types. 2005-03-23 11:02:13 +00:00
Federico Di Gregorio
19cb161d27 Array tokenization seems working. 2005-03-23 10:32:30 +00:00
Federico Di Gregorio
cddb1a15d4 Array quoting (not completely working.) 2005-03-23 00:43:36 +00:00
Federico Di Gregorio
def14d5925 Array support works, at least for INTEGERS. 2005-03-22 16:33:57 +00:00
Federico Di Gregorio
07a38c31cd Starting array work. 2005-03-22 14:20:20 +00:00