Function GetClientFromStore

Function is now getting the params from the function call in PostgreSQL.
Example returning rows compiling