Daniele Varrazzo
7254587838
Add 6 hours per year converting from interval
...
This is the same operation performed by postgres when extracting the
number of seconds of an interval:
=# select extract(epoch from '1 year'::interval) / 60 / 60 / 24;
?column?
----------
365.25
This way `extract(epoch from interval)` will match the resulting
`timedelta.total_seconds()`.
Close #570
2017-06-16 21:09:23 +01:00
Daniele Varrazzo
2b5e131831
Merge branch 'fix-558'
2017-06-16 19:41:52 +01:00
Daniele Varrazzo
70a2d2238e
Consider redshift interval supported after further tests
2017-06-16 19:39:18 +01:00
Daniele Varrazzo
789eb64f3a
Added Json.prepare()
...
Close #562
2017-06-16 01:37:49 +01:00
Daniele Varrazzo
21ee8b62ef
Merge branch 'mr-566'
2017-06-16 01:04:27 +01:00
Daniele Varrazzo
eef198ac5e
Report issue #541 fixed in the NEWS file
2017-06-15 23:25:19 +01:00
Daniele Varrazzo
602c74faa6
Check return code from decoding the connection status
...
It fails on Py3 after receiving a SIGABRT. Because we don't handle it
here it will resurface later with nonsense such as:
SystemError: <some function> returned a result with an error set
Close #551
2017-06-15 17:33:05 +01:00
Daniele Varrazzo
256910f8ff
Updated docs about versions supported in errcodes
2017-06-05 12:34:17 +01:00
Daniele Varrazzo
6e5abf33f2
Merge branch 'fix-547'
2017-04-19 01:34:39 +01:00
Daniele Varrazzo
9d7ff405ee
Added news entries for the previous 2 merge requests
2017-04-19 01:16:08 +01:00
Daniele Varrazzo
248e653c9e
Fixed args parsing in ReplicationCursor.consume_stream()
...
Close #547 .
2017-04-19 01:01:59 +01:00
Daniele Varrazzo
a66c34a6d0
Don't clobber a Python exception with an unknown error
...
Close #410
2017-04-05 14:54:07 +01:00
Daniele Varrazzo
7214c6652e
Return objects with timezone parsing infinity timestamptz
...
Close #536 .
2017-03-22 03:03:02 +00:00
Daniele Varrazzo
9f160fd820
Obscure the password on url dsn too
...
Note that we don't leak anymore the password length.
Fix #528
2017-03-16 03:53:40 +00:00
Daniele Varrazzo
3626e961f8
Reported bug #443 fixed *again*
...
Also see ticket #527 .
2017-03-14 14:16:02 +00:00
Daniele Varrazzo
7c2333dd81
Connection state fixed noted in the news
2017-03-14 14:15:52 +00:00
Daniele Varrazzo
b075c7169c
Report ticket 518 fixed
...
The fix is actually implemented in the openssl1 branch of
https://github.com/psycopg/psycopg2-wheels
2017-03-11 17:00:58 +00:00
Daniele Varrazzo
06fbd0ee02
Dropped "what's new in 2.7.1" from docs index
2017-03-03 13:50:57 +00:00
Daniele Varrazzo
26bd5df048
Don't use PG_INT64_TYPE
...
Only defined in Postgres 9.3
Should close #520 , but let's wait for the CI response (build on
Windows etc.)
2017-03-02 19:32:39 +00:00
Daniele Varrazzo
44d8edfd8c
Ignore None arguments passed to make_dsn()
...
Close #517 .
2017-03-01 20:12:13 +00:00
Daniele Varrazzo
14fe3ad8c9
Fixed integer overflow in interval typecaster
...
Close #512 .
2017-02-24 02:10:27 +01:00
Daniele Varrazzo
f5bd6063fc
Fixed link to attribute in news
2017-02-16 20:25:58 +00:00
Daniele Varrazzo
d50ed48807
Added readonly and deferrable attributes
2017-02-16 12:46:35 +00:00
Daniele Varrazzo
b5d80b609d
Revert pre-2.7b1 behaviour of silent rollback on conn.set_isolation_level()
...
Legacy method is legacy.
2017-02-16 12:46:35 +00:00
Daniele Varrazzo
20c9c17457
connection.isolation_level is now writable
2017-02-16 12:46:35 +00:00
Daniele Varrazzo
3e12522bc9
Don't convert '{}'::unknown into an empty list
...
Close #506 .
2017-02-08 08:43:53 +00:00
Daniele Varrazzo
28c489f17e
Merge branch 'no-set-default-session'
2017-02-07 00:58:54 +00:00
Daniele Varrazzo
705dda2cba
Dropped support for Python 3.1
2017-02-06 23:03:48 +00:00
Daniele Varrazzo
3fbff5d848
Give precedence to '__conform__()' over superclasses choosing adapter
...
Close #456
2017-02-05 11:54:50 +01:00
Daniele Varrazzo
c54a614c6e
Added documentation about the changes in transaction control
2017-02-04 15:55:59 +00:00
Daniele Varrazzo
de8b335d80
Merge branch 'master' into sql-compose
2017-02-03 04:56:02 +00:00
Daniele Varrazzo
ca42306d79
Misplaced NEWS entry fixed.
2017-02-03 04:52:49 +00:00
Daniele Varrazzo
1911b250e3
Merge branch 'async-keyword'
...
Close #495
2017-02-03 04:45:17 +00:00
Daniele Varrazzo
44c3b77691
Added docs for async_ alias
2017-02-03 04:43:49 +00:00
Daniele Varrazzo
a95fd3df1a
Added execute_batch and execute_values functions
2017-02-01 01:59:47 +00:00
Daniele Varrazzo
d97399daa5
sql module docs wordsmithing
2017-01-01 09:23:26 +01:00
Daniele Varrazzo
21f38a4c07
Don't try to write bytes in the LoggingConnection file
...
Close #483
2016-12-29 22:42:25 +01:00
Daniele Varrazzo
f3e47a72ed
Brag about encoding/decoding speedup
2016-12-29 22:11:58 +01:00
Daniele Varrazzo
d13521a6ce
Mention named callproc in news, fixed docs.
2016-12-26 03:39:28 +01:00
Daniele Varrazzo
17698c4815
Fixed REst error in newsfile
2016-12-25 21:17:24 +01:00
Daniele Varrazzo
643ba70bad
Added ipaddress objects conversion
...
Close #387
2016-10-11 04:54:41 +01:00
Daniele Varrazzo
706ad2f177
Conver network array types into array of strings by default
2016-10-11 02:31:45 +01:00
Daniele Varrazzo
86198c1c21
inet adapters deprecated
...
Close #343
2016-10-11 02:17:56 +01:00
Daniele Varrazzo
b3792c7f02
Mention dropping Pre 9.1 libpq support in NEWS file
2016-08-15 02:57:49 +01:00
Daniele Varrazzo
47a312cf83
Mention dropping Py 2.5 support in NEWS file
2016-08-15 02:39:26 +01:00
Daniele Varrazzo
1d950748af
Merge branch 'replication-protocol'
2016-08-14 21:09:54 +01:00
Daniele Varrazzo
01c552baa3
Mention replication support in the NEWS file
2016-08-14 21:09:00 +01:00
Daniele Varrazzo
478f43f0c8
Mention NULL characters guard in NEWS file
...
Fix #420 .
2016-08-07 02:51:06 +01:00
Daniele Varrazzo
ec1e578e4b
Report range picklable in NEWS file
...
Fix #462
Conflicts:
NEWS
2016-08-07 02:39:26 +01:00
Daniele Varrazzo
90ee1ebba5
errorcodes map updated to PostgreSQL 9.5.
2016-07-01 20:14:30 +01:00