feeder: create UNLOGGED tables (#59656)

This commit is contained in:
Benjamin Dauvergne 2021-12-14 07:30:44 +01:00
parent f94da4a239
commit 642b7efa3e
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ class WcsOlapFeeder(object):
vars=[first_date, last_date])
def create_table(self, name, columns, inherits=None, comment=None):
sql = 'CREATE TABLE %s' % quote(name)
sql = 'CREATE UNLOGGED TABLE %s' % quote(name)
sql += '(' + ', '.join('%s %s' % (quote(n), t) for n, t in columns) + ')'
if inherits:
sql += ' INHERITS (%s)' % quote(inherits)