It redefines a function sql in the core or previously loaded modules. If multiple database interface modules are loaded, you should issue
sql engine postgresql (according to Tensile SQL module specification)
SQL subfunctions
connect dbspec
dbspec is built according to libpq(3) rules, using keyword = value syntax. Keywords include host, port, user, password and most important dbname
NOTE: | at most one connection may be established per environment |
RETURNS: | true if connection was successful |
RETURNS: | true if there was actually a connection |
RETURNS: | "PostgreSQL" |
RETURNS: | true if arg is one of SQL subfunctions listed |
RETURNS: | the last error description |
RETURNS: | a textual response to the last SQL request |
RETURNS: | the number of tuples affected by the query in some way |