Re: Strange "missing tables" problem

From: Denis BUCHER <dbucherml(at)hsolutions(dot)ch>
To: Wojtek <foo(at)twine(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange "missing tables" problem
Date: 2009-08-23 14:00:33
Message-ID: 4A914B81.2060204@hsolutions.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Wojtek a écrit :
>> It's even more strange :
>>
> why, looks logical to me :)
>> # \dt customers
>> Liste des relations
>> Schéma | Nom | Type | Propriétaire
>> --------+---------+-------+--------------
>> rma | customers | table | postgres
>> (1 ligne)
>>
> you have 1 'customers' table in 'rma' schema and (my guess) currently
> you're connected as main user for this schema

Yes but why the import.customers table doesn't appear, then ?

>> # \dt import.customers
>> Liste des relations
>> Schéma | Nom | Type | Propriétaire
>> -----------------+---------+-------+--------------
>> import | customers | table | postgres
>> (1 ligne)
>>
>>
> you have 1 'customers' table in 'import' schema
>> # \dt *.customers
>> Liste des relations
>> Schéma | Nom | Type | Propriétaire
>> -----------------+---------+-------+--------------
>> import | customers | table | postgres
>> rma | customers | table | postgres
>> (2 lignes)
>>
>>
> you have two tables 'customers', one in schema 'import', the other one
> in schema 'rma'

Yes that's correct

> I assume you want to keep two copies of this table, right?

Yes, in fact they are two different tables...

Denis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Denis BUCHER 2009-08-23 14:05:35 Re: Strange "missing tables" problem
Previous Message Wojtek 2009-08-23 13:29:31 Re: Strange "missing tables" problem