From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | Oisin Glynn <me(at)oisinglynn(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [Fwd: Schema Question] |
Date: | 2006-03-04 03:36:23 |
Message-ID: | 20060304033623.GQ82012@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Mar 02, 2006 at 03:45:01PM -0500, Oisin Glynn wrote:
> I have a seperate schema with a function and table. The function does a
> select on the table.
> The table and function exist in public schema and betteridea schema. I
> have a user betteridea who owns the betteridea schema.
<snip>
> If I connect as postgres user and do select * from
> betteridea.zfunc_get_employee('1234');
> or
> select * from zfunc_get_employee('1234');
>
> with no schema in front of it.
> It is returning the data from the public.employee_list in both cases!
Take a look at searh_path in the manual.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2006-03-04 04:01:53 | Re: record OID to table |
Previous Message | Jim C. Nasby | 2006-03-04 03:33:53 | Re: Solaris 10 ZFS Postgresql request for comments |