mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Fixed string format specifier for fillfactor in GistIndex.
This commit is contained in:
parent
a8e492bc81
commit
1f0813ca7e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user