Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline. | Tim Graham | 2019-01-17 | 9 | -17/+0 |
| | |||||
* | Removed postgresql_psycopg2.version | Mariusz Felisiak | 2017-08-21 | 1 | -1/+0 |
| | | | Uneeded since 29ea9714ee23525000dd8bdb7a9aafb2147de8c7. | ||||
* | Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module. | Tim Graham | 2017-01-25 | 1 | -0/+9 |
| | |||||
* | Refs #25175 -- Added backwards compatibility for importing ↵ | Caio Ariede | 2015-08-07 | 10 | -0/+9 |
| | | | | postgresql_psycopg2 backend. | ||||
* | Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. | Caio Ariede | 2015-08-07 | 10 | -984/+0 |
| | |||||
* | Fixed #23658 -- Provided the password to PostgreSQL dbshell command | Jean-Michel Vourgère | 2015-06-30 | 1 | -10/+57 |
| | | | | | | The password from settings.py is written in a temporary .pgpass file file whose name is given to psql using the PGPASSFILE environment variable. | ||||
* | Fixed #25002 -- Used PostgreSQL column type alteration USING clause. | Simon Charette | 2015-06-22 | 1 | -0/+3 |
| | | | | Thanks to Dirk Uys for the report. | ||||
* | Fixed #23804 -- Added RasterField for PostGIS. | Daniel Wiesmann | 2015-06-19 | 1 | -9/+11 |
| | | | | Thanks to Tim Graham and Claude Paroz for the reviews and patches. | ||||
* | Fixed #24767 -- Added Greatest and Least expressions | Ian Foote | 2015-06-05 | 1 | -0/+1 |
| | | | | Greatest and Least are row-level Function versions of Min and Max. | ||||
* | Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in ↵ | Tim Graham | 2015-06-02 | 1 | -8/+8 |
| | | | | PostgreSQL | ||||
* | Fixed #9596 -- Added date transform for DateTimeField. | Jon Dufresne | 2015-06-02 | 1 | -12/+12 |
| | |||||
* | Well, what should I say: UPS. | Florian Apolloner | 2015-05-24 | 1 | -1/+0 |
| | |||||
* | Fixed #24844 -- Corrected has_changed implementation for HStoreField. | Andrea Grandi | 2015-05-24 | 1 | -0/+1 |
| | |||||
* | Dropped the needs_datetime_string_cast feature. | Aymeric Augustin | 2015-05-17 | 1 | -1/+0 |
| | | | | It has been superseded by the converter infrastructure. | ||||
* | Fixed #23820 -- Supported per-database time zone. | Aymeric Augustin | 2015-05-17 | 1 | -5/+3 |
| | | | | | | | | | The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error. | ||||
* | Renamed value_to_db_xxx to adapt_xxxfield_value. | Aymeric Augustin | 2015-05-17 | 1 | -4/+4 |
| | | | | | This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules. | ||||
* | Fixed #24791 -- Added fallback when 'postgres' database isn't available | Claude Paroz | 2015-05-15 | 1 | -0/+26 |
| | | | | Thanks Carl Meyer and Tim Graham for the reviews. | ||||
* | Fixed #24595 -- Prevented loss of null info in MySQL field alteration | Claude Paroz | 2015-04-17 | 1 | -3/+6 |
| | | | | | Thanks Simon Percivall for the report, and Simon Charette and Tim Graham for the reviews. | ||||
* | Fixed #19259 -- Added group by selected primary keys support. | Simon Charette | 2015-03-29 | 1 | -0/+1 |
| | |||||
* | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | 2015-03-25 | 1 | -1/+1 |
| | | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | ||||
* | Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for ↵ | Tim Graham | 2015-02-16 | 1 | -26/+18 |
| | | | | contrib.postgres). | ||||
* | Removed 'autocommit' options for the psycopg2 backend. | Aymeric Augustin | 2015-02-14 | 1 | -4/+1 |
| | | | | It was documented as not having any effect since Django 1.6. | ||||
* | Cleaned up init_connection_state in the psycopg2 backend. | Aymeric Augustin | 2015-02-14 | 1 | -19/+18 |
| | | | | settings_dict['TIME_ZONE'] is set in ConnectionHandler.ensure_defaults. | ||||
* | Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2. | Aymeric Augustin | 2015-02-14 | 1 | -5/+23 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 4 | -14/+14 |
| | |||||
* | Removed PostgreSQL DatabaseWrapper._set_isolation_level(). | Tim Graham | 2015-01-31 | 1 | -7/+0 |
| | | | | This method is unused since 8717b0668caf00ec5e81ef5a1e31b4d7c64eee8a. | ||||
* | Removed obsolete SQL generation methods. | Tim Graham | 2015-01-18 | 1 | -38/+0 |
| | |||||
* | Required sqlparse for SQL splitting per deprecation timeline. | Tim Graham | 2015-01-17 | 1 | -1/+1 |
| | |||||
* | Fixed #24092 -- Widened base field support for ArrayField. | Marc Tamlyn | 2015-01-16 | 3 | -7/+32 |
| | | | | | | | | | | | | | | | | | | | | | | Several issues resolved here, following from a report that a base_field of GenericIpAddressField was failing. We were using get_prep_value instead of get_db_prep_value in ArrayField which was bypassing any extra modifications to the value being made in the base field's get_db_prep_value. Changing this broke datetime support, so the postgres backend has gained the relevant operation methods to send dates/times/datetimes directly to the db backend instead of casting them to strings. Similarly, a new database feature has been added allowing the uuid to be passed directly to the backend, as we do with timedeltas. On the other side, psycopg2 expects an Inet() instance for IP address fields, so we add a value_to_db_ipaddress method to wrap the strings on postgres. We also have to manually add a database adapter to psycopg2, as we do not wish to use the built in adapter which would turn everything into Inet() instances. Thanks to smclenithan for the report. | ||||
* | Fixed #22603 -- Reorganized classes in django.db.backends. | Tim Graham | 2015-01-14 | 8 | -49/+56 |
| | |||||
* | Fixed #24031 -- Added CASE expressions to the ORM. | Michał Modzelewski | 2015-01-12 | 1 | -0/+12 |
| | |||||
* | Fixed #17785 -- Preferred column names in get_relations introspection | Claude Paroz | 2015-01-12 | 1 | -9/+10 |
| | | | | | Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review. | ||||
* | Moved DatabaseCreation.data_types properties to DatabaseWrapper. | Tim Graham | 2014-12-31 | 2 | -36/+35 |
| | | | | refs #22340. | ||||
* | Removed db.backends methods which only call super(). | Tim Graham | 2014-12-30 | 1 | -2/+0 |
| | |||||
* | Fixed #24033 -- Use interval type on Oracle. | Marc Tamlyn | 2014-12-23 | 1 | -0/+1 |
| | | | | | | | | | | | Use INTERVAL DAY(9) TO SECOND(6) for Durationfield on Oracle rather than storing as a NUMBER(19) of microseconds. There are issues with cx_Oracle which require some extra data manipulation in the database backend when constructing queries, but it handles the conversion back to timedelta objects cleanly. Thanks to Shai for the review. | ||||
* | Fixed #2443 -- Added DurationField. | Marc Tamlyn | 2014-12-20 | 3 | -17/+2 |
| | | | | | | | | | | | A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews. | ||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -1/+1 |
| | | | | comprehension | ||||
* | Fixed #23954 -- Added special text/varchar PostgreSQL indexes in migrations | Claude Paroz | 2014-12-04 | 1 | -0/+22 |
| | | | | Thanks adityagupta104 for the report and Tim Graham for the review. | ||||
* | Fixed #23807 -- Ignored non-digits in psycopg2 version | Andriy Sokolovskiy | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Fixed #16731 -- Made pattern lookups work properly with F() expressions | Thomas Chaumeny | 2014-11-28 | 1 | -2/+15 |
| | |||||
* | Added AutoField introspection for PostgreSQL | Claude Paroz | 2014-11-20 | 2 | -3/+15 |
| | | | | Refs #23748. | ||||
* | Factorized schema_editor() at BaseDatabaseWrapper level | Claude Paroz | 2014-09-26 | 1 | -4/+1 |
| | |||||
* | Fixed flake8 warnings. | Tim Graham | 2014-09-24 | 1 | -1/+1 |
| | |||||
* | Made get_table_list return a TableInfo named tuple | Claude Paroz | 2014-09-23 | 1 | -5/+9 |
| | |||||
* | Fixed #19463 -- Added UUIDField | Marc Tamlyn | 2014-09-16 | 2 | -0/+3 |
| | | | | Uses native support in postgres, and char(32) on other backends. | ||||
* | Limited lines to 119 characters in django/ | Tim Graham | 2014-09-05 | 3 | -20/+32 |
| | | | | refs #23395. | ||||
* | Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell. | Mihail Milushev | 2014-08-04 | 1 | -6/+2 |
| | | | | This fixes escaping of special characters on Windows. | ||||
* | Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4. | Tim Graham | 2014-08-01 | 1 | -6/+6 |
| | | | | Thanks Claude Paroz for the review. | ||||
* | Fixed #23074 -- Avoided leaking savepoints in atomic. | Aymeric Augustin | 2014-07-28 | 1 | -0/+1 |
| | | | | Thanks Chow Loong Jin for the report and the initial patch. | ||||
* | Fixed #22514 -- Prevented indexes on virtual fields [postgres]. | Vlastimil Zíma | 2014-06-20 | 1 | -2/+2 |
| |