Daniel Zohar
ac9167f37b
[AIRFLOW-139] Let psycopg2 handle autocommit for PostgresHook
...
The server-side autocommit setting was removed and reimplemented
in client applications and languages. Server-side autocommit was
causing too many problems with languages and applications that
wanted to control their own autocommit behavior,
so autocommit was removed from the server and added to individual client APIs as appropriate
Closes #1821 from danielzohar/AIRFLOW-
139_vacuum_operator
2017-01-24 15:45:48 +01:00
John Bodley
4fb86f920a
[AIRFLOW-179] Fix DbApiHook with non-ASCII chars
...
String serialization fails when string contains non-ASCII characters
Closes #1553 from
johnbodley/dbapi_hook_serialization-remedy
2016-11-04 09:41:46 -04:00
gtoonstra
ac6d42912d
[AIRFLOW-609] Add application_name to PostgresHook
...
Closes #1861 from
gtoonstra/postgres_application_name
2016-11-02 23:30:41 -07:00
jlowin
851adc5547
[AIRFLOW-31] Use standard imports for hooks/operators
2016-06-16 14:55:07 -04:00
Bence Nagy
d9b57efd3a
Use psycopg2's API for serializing postgres cell values
2016-03-30 13:23:26 +02:00
Bence Nagy
28da05d860
Set Postgres autocommit as supported only if server version is < 7.4
...
The server-side autocommit setting was removed here http://www.postgresql.org/docs/7.4/static/release-7-4.html
Resolves : #690
2016-03-29 14:14:44 +02:00
Zack Shapiro
d1b4572c45
Adding support for ssl parameters. (picking up from jthomas123)
2016-03-17 14:07:37 -07:00
Maxime Beauchemin
f1cae05773
Bugfix on postres_hook
2015-07-27 22:12:28 -07:00
Maxime Beauchemin
07b02abfef
Setting autocommit default
2015-07-24 13:36:38 -07:00
Maxime Beauchemin
1bfbd752f4
Fixing the conn_ids
2015-07-23 22:44:32 -07:00
Steve Mardenfeld
c995cfa07a
clean up default_conn_name and conn_name_attr
2015-07-17 15:15:17 -07:00
Steve Mardenfeld
2c38917a8c
change base_hook_sql to be dbApiHook and do some more refactoring
2015-07-17 13:52:56 -07:00
Steve Mardenfeld
0daef23e8c
make a baseSqlHook and apply it to mysql, postgres, sqlite
2015-07-16 17:04:10 -07:00
Maxime
7091b3d539
Defining AirflowException in place of generic ones
2015-06-14 15:53:07 +00:00
Mike Kerzhner
ec2fc4b3e6
Postgres operator unit tests
2015-03-11 16:48:15 -07:00
Mike Kerzhner
d77a403720
Default for autocommit
2015-03-06 19:09:42 -08:00
Mike Kerzhner
9aae54dec6
Passing self to setAutocommit
2015-03-06 17:37:29 -08:00
Mike Kerzhner
ebd68486c5
Adding postgres setAutocommit
2015-03-06 17:28:05 -08:00
Mike Kerzhner
499587cf19
Adding autocommit setting for Postgres operator
2015-03-06 16:29:22 -08:00
Mike Kerzhner
4ea0483176
Error message cleanup
2015-03-04 10:32:29 -08:00
Mike Kerzhner
7b70d6fd73
Adding postgres operator and hook
2015-03-04 10:24:23 -08:00