Re: Fw: Priority against catalog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Cristian Custodio" <crstian(at)terra(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fw: Priority against catalog
Date: 2003-02-11 17:09:51
Message-ID: 26400.1044983391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Cristian Custodio" <crstian(at)terra(dot)com(dot)br> writes:
> Thanks for your answer, but I already did this.
> Don't you would have another sugestion?

It works for me, what are you doing differently?

regression=# create schema myschema;
CREATE SCHEMA
regression=# create function myschema.version() returns text as '
regression'# select ''hello there''::text;' language sql;
CREATE FUNCTION
regression=# select version();
version
------------------------------------------------------------------
PostgreSQL 7.4devel on hppa-hp-hpux10.20, compiled by GCC 2.95.3
(1 row)

regression=# set search_path = myschema, pg_catalog;
SET
regression=# select version();
version
-------------
hello there
(1 row)

regression=#

Try looking at "show search_path" and "select current_schemas(true)"
to see what's going on.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-02-11 17:14:05 Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3
Previous Message Greg Stark 2003-02-11 17:02:59 Re: Is Hash Agg being used? 7.4 seems to handle this query worse than 7.3