Search Postgresql Archives

Trouble Accessing Schema-Qualified Table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

 

I need to access a database using two different schemas.  During initialization the default schema is set as follows:

 

set schema 'ucm';

 

Then later, I need to get data from a table in another schema 'ts_sofia_internal', so I tried the following, but it returns an error as shown:

 

teo=# select * from sip_presence('ts_sofia_internal') where sip_presence.sip_user='1003';

ERROR:  function sip_presence(unknown) does not exist

LINE 1: select * from sip_presence('ts_sofia_internal') where sip_pr...

                      ^

HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

teo=#

 

Does anyone know how I can do this?  By the way, I'm using odbc to connect to the database.

 

Thanks,

Jerry

 

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux