Re: schema name in SQL statement.

From: aklaver(at)comcast(dot)net (Adrian Klaver)
To: "Masis, Alexander (US SSA)" <alexander(dot)masis(at)baesystems(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: schema name in SQL statement.
Date: 2008-08-19 23:01:55
Message-ID: 081920082301.9924.48AB50E300082D1F000026C422007348309D0A900E04050E@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-------------- Original message ----------------------
From: "Masis, Alexander (US SSA)" <alexander(dot)masis(at)baesystems(dot)com>
> I have to explicitly specify the schema name to make SQL statement to
> work.
> Can I set the schema before the query, or set a default schema?
> My current statement:
> "SELECT col FROM schema.table"
> I like to be able to use generic SQL statement like:
> "SELECT col FROM table"
>
>
>
> --
See search_path in:
http://www.postgresql.org/docs/8.3/interactive/runtime-config-client.html

--
Adrian Klaver
aklaver(at)comcast(dot)net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dale Harris 2008-08-19 23:14:44 Re: can't get UPDATE ... RETURNING ... INTO ... to compile successfully
Previous Message Masis, Alexander (US SSA) 2008-08-19 22:52:27 schema name in SQL statement.