A question for the library's gurus...
Is there anything within the PostgreSQL connection protocol that would provide in indication as to the server's version and/or features, without having to execute SELECT version()?
Here's the thing: I need to auto-replace every SELECT * FROM proc_name() with CALL proc_name() - the new syntax added in PostgreSQL v11, so I need to know what server version we are connected to, without having to execute a separate SELECT version() for it.
A question for the library's gurus...
Is there anything within the PostgreSQL connection protocol that would provide in indication as to the server's version and/or features, without having to execute
SELECT version()?Here's the thing: I need to auto-replace every
SELECT * FROM proc_name()withCALL proc_name()- the new syntax added in PostgreSQL v11, so I need to know what server version we are connected to, without having to execute a separateSELECT version()for it.