summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33854 -- Corrected the order of parameters in dbshell on PostgreSQL.Jarrett Keifer2022-07-181-1/+1
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-24/+24
|
* Fixed #32687 -- Restored passing process’ environment to underlying tool ↵Konstantin Alekseev2021-04-271-1/+1
| | | | | | in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3.
* Fixed #32456 -- Added dbshell support for specifying a password file on ↵Hasan Ramezani2021-03-011-0/+3
| | | | PostgreSQL.
* Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵Mariusz Felisiak2021-02-261-2/+6
| | | | | is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474.
* Fixed #32292 -- Added support for connection by service name to PostgreSQL.Hasan Ramezani2021-01-201-0/+3
|
* Refs #32061 -- Unified DatabaseClient.runshell() in db backends.Simon Charette2020-10-291-24/+23
|
* Fixed #29501 -- Allowed dbshell to pass options to underlying tool.Adam Johnson2020-04-141-3/+4
|
* Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL.Oleh Mykytiuk2019-04-181-0/+12
|
* Fixed #30173 -- Simplified db.backends.postgresql.client.Daniel Bowring2019-02-131-33/+4
|
* Refs #27954 -- Fixed typo in django/db/backends/postgresql/client.py comment.Mariusz Felisiak2017-11-261-1/+1
|
* Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham2017-09-071-4/+5
| | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
* Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen2017-06-281-5/+4
|
* Fixed #27954 -- Allowed keyboard interrupt to abort queries in PostgreSQL ↵Chris Sinchok2017-04-011-0/+6
| | | | | dbshell. Thanks Tim Martin for review.
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-2/+1
| | | | Thanks Tim Graham for the review.
* Fixed #26751 -- Made dbshell exit with the shell's error code.Étienne BERSAC2016-06-271-1/+1
|
* Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.mieciu2016-06-031-9/+9
|
* Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede2015-08-071-0/+66
|
* Deprecated the psycopg-based postgresql database backend.Russell Keith-Magee2011-04-021-23/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@15980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-7/+7
| | | | | | | | | | | | | | | | | This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10357 -- Fixed the "dbshell" command for Windows users.Malcolm Tredinnick2009-04-111-2/+8
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@10517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10063: stop passing the -W flag to psql since it isn't needed and ↵Jacob Kaplan-Moss2009-04-021-2/+0
| | | | | | interferes with .pgpass. Thanks, Walter. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10459 -- Refactored the internals of database connection objects so ↵Adrian Holovaty2009-03-111-9/+9
| | | | | | | | | | | | | | | | | that connections know their own settings and pass around settings as dictionaries instead of passing around the Django settings module itself. This will make it easier for multiple database support. Thanks to Alex Gaynor for the initial patch. This is backwards-compatible but will likely break third-party database backends. Specific API changes are: * BaseDatabaseWrapper.__init__() now takes a settings_dict instead of a settings module. It's called settings_dict to disambiguate, and for easy grepability. This should be a dictionary containing DATABASE_NAME, etc. * BaseDatabaseWrapper has a settings_dict attribute instead of an options attribute. BaseDatabaseWrapper.options is now BaseDatabaseWrapper['DATABASE_OPTIONS'] * BaseDatabaseWrapper._cursor() no longer takes a settings argument. * BaseDatabaseClient.__init__() now takes a connection argument (a DatabaseWrapper instance) instead of no arguments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* db: Gave each DatabaseClient class an 'executable_name' attribute (e.g., ↵Adrian Holovaty2008-09-091-2/+4
| | | | | | 'psql' or 'mysql'), so that we can use it to make a more helpful error message. Refs #8978 git-svn-id: http://code.djangoproject.com/svn/django/trunk@8989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5461 -- Refactored the database backend code to use classes for the ↵Russell Keith-Magee2008-08-111-12/+14
| | | | | | creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2278 -- Fixed some argument parsing problems with the PostgreSQLMalcolm Tredinnick2006-07-051-4/+5
| | | | | | | | dbshell. Also added in the process name to the arg list so that the output of 'ps' looks sensible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty2006-05-021-0/+14
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37