On Thu, Dec 14, 2017 at 5:41 PM, Chapman Flack <c...@anastigmatix.net> wrote: > Would this sample code make an even better teaching example if it > used the existing GUC way to declare that worker_spi.naptime is > in units of seconds? > > Or does it not do that for some reason I've overlooked?
Making it use GUC_UNIT_S seems like a good idea to me, but removing the mention of seconds from the description doesn't seem like a good idea to me. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company