Fixed string format specifier for fillfactor in GistIndex.

This commit is contained in:
Nick Pope 2017-12-05 09:52:21 +00:00 committed by Tim Graham
parent a8e492bc81
commit 1f0813ca7e
1 changed files with 1 additions and 1 deletions

View File

@ -96,5 +96,5 @@ class GistIndex(PostgresIndex):
if self.buffering is not None:
with_params.append('buffering = %s' % ('on' if self.buffering else 'off'))
if self.fillfactor is not None:
with_params.append('fillfactor = %s' % self.fillfactor)
with_params.append('fillfactor = %d' % self.fillfactor)
return with_params