Re: [HACKERS] Schemas: status report, call for developers - Mailing list pgsql-interfaces

From Bill Cunningham
Subject Re: [HACKERS] Schemas: status report, call for developers
Date
Msg-id 3CCED849.5040400@ballydev.com
Whole thread Raw
In response to Schemas: status report, call for developers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
<snip>

>
>Here's an example of what's broken:
>
>test=# create schema foo;
>CREATE
>test=# create table foo.mytab (f1 int, f2 text);
>CREATE
>test=# create schema bar;
>CREATE
>test=# create table bar.mytab (f1 text, f3 int);
>CREATE
>test=# \d mytab
>        Table "mytab"
> Column |  Type   | Modifiers
>--------+---------+-----------
> f1     | text    |
> f1     | integer |
> f2     | text    |
> f3     | integer |
>

I would think this should produce the following:
       Table "bar.mytab"Column |  Type   | Modifiers
--------+---------+-----------f1     | text    |f1     | integer |
       Table "foo.mytab"Column |  Type   | Modifiers
--------+---------+-----------f2     | text    |f3     | integer |

What do you think?


- Bill Cunningham





pgsql-interfaces by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: [HACKERS] Schemas: status report, call for developers
Next
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] Schemas: status report, call for developers