Re: table names seem identical - Mailing list pgsql-admin

From Walter Hurry
Subject Re: table names seem identical
Date
Msg-id jj86kl$mvu$1@dough.gmane.org
Whole thread Raw
In response to table names seem identical  (Ray Stell <stellr@cns.vt.edu>)
Responses Re: table names seem identical  (Ray Stell <stellr@cns.vt.edu>)
List pgsql-admin
On Wed, 07 Mar 2012 10:39:48 -0500, Ray Stell wrote:

> how I can differentiate these:
>
> oamp=# \z public.c3*
>                                    Access privileges
>  Schema |         Name          | Type  | Access privileges | Column
>  access privileges
> --------+-----------------------+-------+-------------------
+--------------------------
>  public | c3p0_connection_test  | table |                   |
>  public | c3p0_connection_test  | table |                   |
> (2 rows)
>
> oamp=# select * from pg_tables where tablename = 'c3p0_connection_test';
>  schemaname |      tablename       | tableowner | tablespace |
>  hasindexes | hasrules | hastriggers
> ------------+----------------------+------------+------------
+------------+----------+-------------
>  public     | c3p0_connection_test | admin      |            | f
>   | f        | f
> (1 row)

misc=# create table test1(flag varchar(1));
CREATE TABLE
misc=# create table "test1 "(flag varchar(1));
CREATE TABLE

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_attribute file in PostgreSQL 9.0
Next
From: Lukasz Brodziak
Date:
Subject: Re: pg_attribute file in PostgreSQL 9.0