Source

trac-ticketlinks / trac / db / postgres_backend.py

Author Commit Message Labels Comments Date
jomae
0.12.3dev: Follow-up to [10864], quotes schema name if the version of `pg_dump` is 8.2+.
Branches
0.12-stable
jomae
0.12.3dev: Fixed a failure of backup with postgres, removes unnecessary quoting.
Branches
0.12-stable
rblank
0.12.3dev: Fixed a compatibility issue with PostgreSQL 9.1.
Branches
0.12-stable
rblank
0.12.3dev: Properly quote sequence names in PostgreSQL functions.
Branches
0.12-stable
jomae
0.12.3dev: Improves `quote()` method of each database adapter. It should be able to specify a keyword including double-quote or grave accent.
Branches
0.12-stable
rblank
0.12.1dev: Added a method `update_sequence()` to database connections to allow updating table sequences during schema upgrades.
Branches
0.12-stable
cboos
0.12.1dev: remove a few remaining conditional imports of subprocess, dating back from the Python 2.3 support (i.e. Trac 0.11).
Branches
0.12-stable
rblank
0.12.1dev: Improved the error reporting when backing up the database. In particular, catch the case when the backup tool (`pg_dump`, `mysqldump`) cannot be found.
Branches
0.12-stable
cboos
Plugin admin: the currently selected db connector becomes a required component.
Branches
trunk
jhampton
Of course, I was wrong. Spaces won't screw up the db uri parser. The patch itself had a minor error in it.
Branches
trunk
rblank
db: Follow-up to [9210], re-added `PRIMARY KEY` in addition to `SERIAL` for PostgreSQL (comment:39:ticket:6466).
Branches
trunk
rblank
db: Converted all timestamp columns for resource tables from seconds to microseconds.
Branches
trunk
cboos
In SQL queries involving custom fields, be careful to not use the field name without quoting, as it could be a reserved SQL keyword.
Branches
trunk
cboos
Follow-up to [9057:9059]: `ConnectionWrapper` is simply used to proxy undefined methods to the wrapped connection.
Branches
trunk
rblank
0.12dev: Replaced all (mis)uses of `LIKE` for case-sensitive prefix matching with a range condition. All remaining uses of `LIKE` are case-insensitive, so `db.like()` is left case-insensitive as well.
Branches
trunk
cboos
In the backup method, the postgres backend shouldn't substitute a missing host by localhost, as this changes the connection mode from local to host, hence a possible change of authentication method.
Branches
trunk
rblank
0.12dev: Improved the plugin admin panel to provide better grouping of components by module, and to display the component and module docstrings as descriptions.
Branches
trunk
cboos
text utils: only `empty` should be used, better hide `Empty` class as it originally was, so that people are not tempted to use it.
Branches
trunk
rblank
0.12dev: Autumn cleaning using pylint:
Branches
trunk
rblank
0.12dev: Merged [8678,8682,8683] from 0.11-stable.
Branches
trunk
cboos
psycopg2 and MySQLdb didn't handle correctly `execute()` arguments which were subclasses of `unicode`.
Branches
trunk
rblank
0.12dev: Merged [8582] from 0.11-stable.
Branches
trunk
rblank
0.12dev: Removed support for pyPgSql.
Branches
trunk
rblank
0.12dev: Made `PostgreSQLConnector.backup()` more readable. Patch by Felix Schwarz, thanks!
Branches
trunk
cboos
0.12dev: merged r8381 and r8382 from 0.11.6dev
Branches
trunk
jonas
Merge [8338] from 0.11-stable (#8412)
Branches
trunk
rblank
0.12dev: Merged [8316] from 0.11-stable.
Branches
trunk
rblank
0.12dev: Merged [8310-8313] from 0.11-stable.
Branches
trunk
cboos
0.12dev: second round of merging for the rework-testing branch ([8133:8142/sandbox/rework-testing]). It is now possible to run the functional tests with a PostgreSQL or a MySQL database backend instead of the default SQLite backend. See source:trunk/doc/dev/testing-database.rst for instructions.
Branches
trunk
cboos
0.12dev: merged rework-testing branch [8000:8130/sandbox/rework-testing]
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. Next