Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group