f2s_pg_tools_namespace¶
Applies to: PGFlex
Syntax¶
get attribute f2s_pg_tools_namespace of {DriverID} to {variable}
set attribute f2s_pg_tools_namespace of {DriverID} to {variable}
Parameter |
Description |
---|---|
DriverID |
The ID of the driver for which this applies. In most cases, you should use _f2s_ActiveDriverId. |
variable |
A string to hold the name of the schema where te tools reside. |
Description¶
The driver needs access to some stored functions to properly support all the features of Dataflex in PostgreSQL. These functions are by default stored in the public schema. This attribute allows those functions to be stored in some other schema. This attribute must be set BEFORE logging into the server but AFTER activating the driver. If the schema doesn’t have the needed functions, this attribute will also try to add them to that specified schema for you. Getting of this attribute can be done at any time.
Example¶
f2s_activate_driver "f2s_pg"
set attribute f2s_pg_tools_namespace of _f2s_ActiveDriverId to "MertechTools"
login MyServer MyUser MyPassword f2s_pg
//in this case, sSchema will be "MertechTools"
string sSchema
get attribute f2s_pg_tools_namespace of _f2s_ActiveDriverId to sSchema