From: | Walter Hurry <walterhurry(at)lavabit(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: table names seem identical |
Date: | 2012-03-07 17:41:41 |
Message-ID: | jj86kl$mvu$1@dough.gmane.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Lukasz Brodziak | 2012-03-07 17:49:12 | Re: pg_attribute file in PostgreSQL 9.0 |
Previous Message | Tom Lane | 2012-03-07 17:24:25 | Re: pg_attribute file in PostgreSQL 9.0 |