Edgewall Software

Changes between Initial Version and Version 2 of Ticket #13140


Ignore:
Timestamp:
Mar 28, 2019, 3:09:27 PM (5 years ago)
Author:
Jun Omae
Comment:

1.0-stable after the patch:

>>> from trac.env import Environment
>>> env = Environment('/dev/shm/postgres-without-schema')
>>> from trac.db.api import DatabaseManager
>>> DatabaseManager(env).connection_uri
u'postgres://tracuser:password@127.1/tractest'
>>> with env.db_query as db: db.get_table_names()
...
[u'system', u'permission', u'auth_cookie', u'session', u'session_attribute', u'cache', u'attachment', u'wiki', u'repository', u'revision', u'node_change', u'ticket', u'ticket_change', u'ticket_custom', u'enum', u'component', u'milestone', u'version', u'report']
>>> with env.db_query as db: db.get_column_names('wiki')
...
[u'readonly', u'comment', u'text', u'ipnr', u'author', u'time', u'version', u'name']
>>>

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13140

    • Property Owner set to Jun Omae
    • Property Status newassigned
    • Property Version1.0.17
  • Ticket #13140 – Description

    initial v2  
     1I noticed the issue while investigating th:comment:3:ticket:13321.
     2
    13{{{#!pycon
    24Python 2.5.6 (r256:88840, Oct 21 2014, 22:49:55)