why SELECT query needs relationname (schemaName.tableName)

From: "Amar Dhole" <adhole(at)tibco(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: why SELECT query needs relationname (schemaName.tableName)
Date: 2011-02-08 06:56:45
Message-ID: B290BFEC59278744B17A7A3CB14307E903A19236@NA-PA-VBE04.na.tibco.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi All,

I have a query regarding database.

I have database 'customer' which is having schema 'cust.'

I have added my tables and data into 'cust'. But when I try to run the
sql queries against this schema I need to add 'cust' as a relationName
for every query. But same is not applicable for public schema.

Same is applicable when I query with jdbc.

Can any one guide me how can I make my 'cust' schema to work like public
schema means for all the sqls I don't need to append schema name as
relationanme.

Thanks

Amar

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Samuel Gendler 2011-02-08 07:16:04 Re: why SELECT query needs relationname (schemaName.tableName)
Previous Message Steve Crawford 2011-02-07 22:13:30 Re: Cumulative result with increment