mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed string format specifier for fillfactor in GistIndex.
This commit is contained in:
@@ -96,5 +96,5 @@ class GistIndex(PostgresIndex):
|
|||||||
if self.buffering is not None:
|
if self.buffering is not None:
|
||||||
with_params.append('buffering = %s' % ('on' if self.buffering else 'off'))
|
with_params.append('buffering = %s' % ('on' if self.buffering else 'off'))
|
||||||
if self.fillfactor is not None:
|
if self.fillfactor is not None:
|
||||||
with_params.append('fillfactor = %s' % self.fillfactor)
|
with_params.append('fillfactor = %d' % self.fillfactor)
|
||||||
return with_params
|
return with_params
|
||||||
|
|||||||
Reference in New Issue
Block a user