Ticket #12308: t12308_1.diff

File t12308_1.diff, 648 bytes (added by andrewsk, 5 years ago)

Patch for current trunk r13359

  • django/db/backends/postgresql/operations.py

    diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
    index f517436..1f5fb6e 100644
    a b class DatabaseOperations(BaseDatabaseOperations): 
    133133                        style.SQL_TABLE(qn(f.m2m_db_table()))))
    134134        return output
    135135
     136    def tablespace_sql(self, tablespace, inline=False):
     137        return "%sTABLESPACE %s" % ((inline and "USING INDEX " or ""),
     138            self.quote_name(tablespace))
     139
    136140    def savepoint_create_sql(self, sid):
    137141        return "SAVEPOINT %s" % sid
    138142
Back to Top