Re: [HACKERS] Issue with listing same tablenames from different schemas in the search_path

2011-10-01 Thread Nikhil Sontakke
postgres=#create table public.sample(x int); > postgres=#create schema new; >> postgres=#create table new.sample(x int); >> postgres=#set search_path=public,new; >> >> postgres=#\dt >> Schema | Name | Type | Owner >> --**- >> public | sample | table

Re: [HACKERS] Issue with listing same tablenames from different schemas in the search_path

2011-10-01 Thread Heikki Linnakangas
On 02.10.2011 08:31, Nikhil Sontakke wrote: Consider the following sequence of commands in a psql session: postgres=#create table public.sample(x int); postgres=#create schema new; postgres=#create table new.sample(x int); postgres=#set search_path=public,new; postgres=#\dt Schema | Name | Type

[HACKERS] Issue with listing same tablenames from different schemas in the search_path

2011-10-01 Thread Nikhil Sontakke
Hi, Consider the following sequence of commands in a psql session: postgres=#create table public.sample(x int); postgres=#create schema new; postgres=#create table new.sample(x int); postgres=#set search_path=public,new; postgres=#\dt Schema | Name | Type | Owner