f = open(os.path.join(os.path.dirname(__file__), 'pg_fts_install.sql'), 'r')\r
\r
try:\r
cursor = connection.cursor()\r
cursor.execute(f.read())\r
transaction.commit_unless_managed()\r
f = open(os.path.join(os.path.dirname(__file__), 'pg_fts_install.sql'), 'r')\r
\r
try:\r
cursor = connection.cursor()\r
cursor.execute(f.read())\r
transaction.commit_unless_managed()\r