pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Schema?
3+ messages / 3 participants
[nested] [flat]

* Schema?
@ 2005-01-21 17:58 Ing. Jhon Carrillo <jdigital@cantv.net>
  2005-01-21 19:59 ` Re: [JDBC] Schema? Kris Jurka <books@ejurka.com>
  2005-01-21 20:14 ` Re: [JDBC] Schema? Franco Bruno Borghesi <franco@akyasociados.com.ar>
  0 siblings, 2 replies; 3+ messages in thread

From: Ing. Jhon Carrillo @ 2005-01-21 17:58 UTC (permalink / raw)
  To: pgadmin-support@postgresql.org; pgsql-odbc@postgresql.org; pgsql-jdbc

I want  to make a query without to indicate the schema name, for example:

  Select  *  from  tabla where  ....

  and not

  select   *  from  schema.tabla where  ...

  not to show the shema or system  tables from odbc and jdbc

  can you help me?

  thanks

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [JDBC] Schema?
  2005-01-21 17:58 Schema? Ing. Jhon Carrillo <jdigital@cantv.net>
@ 2005-01-21 19:59 ` Kris Jurka <books@ejurka.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Kris Jurka @ 2005-01-21 19:59 UTC (permalink / raw)
  To: Ing. Jhon Carrillo <jdigital@cantv.net>; +Cc: pgadmin-support@postgresql.org; pgsql-odbc@postgresql.org; pgsql-jdbc



On Fri, 21 Jan 2005, Ing. Jhon Carrillo wrote:

> I want  to make a query without to indicate the schema name, for example:
> 
>   Select  *  from  tabla where  ....
> 

See the search_path server configuration variable.  It may be set at a 
number of levels to indicate what schemas to look in for the requested 
table.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [JDBC] Schema?
  2005-01-21 17:58 Schema? Ing. Jhon Carrillo <jdigital@cantv.net>
@ 2005-01-21 20:14 ` Franco Bruno Borghesi <franco@akyasociados.com.ar>
  1 sibling, 0 replies; 3+ messages in thread

From: Franco Bruno Borghesi @ 2005-01-21 20:14 UTC (permalink / raw)
  To: Ing. Jhon Carrillo <jdigital@cantv.net>; +Cc: pgadmin-support@postgresql.org; pgsql-odbc@postgresql.org; pgsql-jdbc

well, you could add the schemas you work with into your path. Just open 
postgresql.conf, search for a line like this:
/search_path = '$user,public'       # schema names/

and add your schema names to the list. This should do what you want.

Ing. Jhon Carrillo wrote:

> I want  to make a query without to indicate the schema name, for example:
>
>      
>     Select  *  from  tabla where  ....
>      
>     and not
>      
>     select   *  from  schema.tabla where  ...
>      
>     not to show the shema or system  tables from odbc and jdbc
>      
>     can you help me?
>      
>     thanks
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-01-21 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21 17:58 Schema? Ing. Jhon Carrillo <jdigital@cantv.net>
2005-01-21 19:59 ` Kris Jurka <books@ejurka.com>
2005-01-21 20:14 ` Franco Bruno Borghesi <franco@akyasociados.com.ar>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox