Won't work well if it executes 20k+ queries per second. Filesystem will be a bottleneck among other things.
You can put more than one function in one file.
Sure, but not more than one query per file
Hm, what is preventing from putting more than one query into the same file?
The fact that you plan and execute query by query?
You can put more than one function in one file.
Sure, but not more than one query per file
Hm, what is preventing from putting more than one query into the same file?
The fact that you plan and execute query by query?