GetPGVersion
Returns the
PostgreSQL version number as reported from the server.
function GetVersion
(Connection
: TSQLConnection): Extended;
Parameters:
- Connection
- The TSQLConnection component that is connected to the server.
Return Value:
An Extended value containing the server database version.
Exceptions:
EDatabaseError
is raised in case of an error.
Example 4.1.
ShowMessage('The database version is ' + FloatToStr(GetPGVersion(SQLConnection1));