Re: table names seem identical

From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: Walter Hurry <walterhurry(at)lavabit(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: table names seem identical
Date: 2012-03-07 18:26:11
Message-ID: 20120307182611.GC27195@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Mar 07, 2012 at 05:41:41PM +0000, Walter Hurry wrote:
> On Wed, 07 Mar 2012 10:39:48 -0500, Ray Stell wrote:
>
> misc=# create table test1(flag varchar(1));
> CREATE TABLE
> misc=# create table "test1 "(flag varchar(1));
> CREATE TABLE

yeah, that is the case, the \z output is truncated it seems:

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)

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)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Campbell, Lance 2012-03-07 18:28:45 Re: logging issue
Previous Message Kevin Grittner 2012-03-07 17:57:59 Re: pg_attribute file in PostgreSQL 9.0