Mercurial > p > roundup > code
comparison roundup/backends/back_postgresql.py @ 3046:a7045bad20de maint-0.8
have RDBMS full-text indexer do AND searching [SF#1055435]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 04 Jan 2005 01:33:04 +0000 |
| parents | b284ff7af3fb |
| children | b0f5ea4e4dff |
comparison
equal
deleted
inserted
replaced
| 3045:f859d9393bf0 | 3046:a7045bad20de |
|---|---|
| 79 return 0 | 79 return 0 |
| 80 | 80 |
| 81 class Database(rdbms_common.Database): | 81 class Database(rdbms_common.Database): |
| 82 arg = '%s' | 82 arg = '%s' |
| 83 | 83 |
| 84 # used by some code to switch styles of query | |
| 85 implements_intersect = 1 | |
| 86 | |
| 84 def sql_open_connection(self): | 87 def sql_open_connection(self): |
| 85 db = rdbms_common.connection_dict(self.config, 'database') | 88 db = rdbms_common.connection_dict(self.config, 'database') |
| 86 self.config.logging.getLogger('hyperdb').info('open database %r'%( | 89 self.config.logging.getLogger('hyperdb').info('open database %r'%( |
| 87 db['database'],)) | 90 db['database'],)) |
| 88 try: | 91 try: |
