Currently it doesn't seem to be possible to set the database-level search_path on the postgresql_database resource; it's necessary to create the resource and then connect and ALTER DATABASE dbname SET search_path TO schema1,schema2,schema3; some other way afterwards.
It would be good to have a list(string) argument on postgresql_database to set this instead:
Actually, sorry, but since I just found it is supported on the role I can do it like that for now. I might still get around to it though :slightly_smiling_face:
[Removed the template because not a bug]
Currently it doesn't seem to be possible to set the database-level
search_path
on thepostgresql_database
resource; it's necessary to create the resource and then connect andALTER DATABASE dbname SET search_path TO schema1,schema2,schema3;
some other way afterwards.It would be good to have a
list(string)
argument onpostgresql_database
to set this instead:Hope to have a PR shortly.