["prepared_statements"], but they weren't used - error

Hi guys.

I’m trying my first influxdb/telegraf deployment and I hit an issue, which I thought would be trivial, but I failed to find any info/answers.
I’ve configured first PosgreSQL agent with what InfluxDB webui gave me but that, fails to start:

Started The plugin-driven server agent for reporting metrics into InfluxDB.
2024-01-11T20:03:40Z I! Starting Telegraf 1.21.4+ds1-0ubuntu2
2024-01-11T20:03:40Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: plugin inputs.postgresql: line 128: configuration specified the fields ["prepared_statements"], but they weren't used

These vanilla-default config must be missing something - what is it / where can I find some docs on it.

many thanks, L.

Prepared statements were added in this PR: feat: add option to disable prepared statements for PostgreSQL by akrantz01 · Pull Request #9710 · influxdata/telegraf · GitHub which was not released until v1.22.0

Unfortunately, the version in Ubuntu is too old to use that setting.