comparison sat_pubsub/pgsql_storage.py @ 485:97010eefdfd9

psql: fix `max_items` type on node creation
author Goffi <goffi@goffi.org>
date Sun, 02 Oct 2022 15:33:36 +0200
parents e814c98ef07a
children 39a6c0bc914b
comparison
equal deleted inserted replaced
484:70eddf92bf51 485:97010eefdfd9
302 (%s, 'leaf', %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)""", 302 (%s, 'leaf', %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)""",
303 (nodeIdentifier, 303 (nodeIdentifier,
304 config[const.OPT_ACCESS_MODEL], 304 config[const.OPT_ACCESS_MODEL],
305 config['pubsub#persist_items'], 305 config['pubsub#persist_items'],
306 config['pubsub#deliver_payloads'], 306 config['pubsub#deliver_payloads'],
307 config[const.OPT_MAX_ITEMS], 307 int(config[const.OPT_MAX_ITEMS]),
308 config[const.OPT_OVERWRITE_POLICY], 308 config[const.OPT_OVERWRITE_POLICY],
309 config[const.OPT_SERIAL_IDS], 309 config[const.OPT_SERIAL_IDS],
310 config[const.OPT_CONSISTENT_PUBLISHER], 310 config[const.OPT_CONSISTENT_PUBLISHER],
311 config[const.OPT_FTS_LANGUAGE], 311 config[const.OPT_FTS_LANGUAGE],
312 config['pubsub#send_last_published_item'], 312 config['pubsub#send_last_published_item'],