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

Re: [GENERAL] character limit on db names in PGSQL or what?

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Kevin Heflin <kheflin(at)shreve(dot)net>
Cc: "PGSQL-General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] character limit on db names in PGSQL or what?
Date: 1999-02-24 23:59:19
Message-ID: 36D49257.85A6706C@rice.edu (view raw or flat)
Thread:
Lists: pgsql-general
Kevin - 
Seems to be fixed w/ 6.4.2:

$ createdb createdb prysm_shreveport
$ createdb createdb prysm_shreveport2
$ psql prysm_shreveport
Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL

   type \? for help on slash commands
   type \q to quit
   type \g or terminate with semicolon to execute query
 You are currently connected to the database: prysm_shreveport

prysm_shreveport=> \d
Couldn't find any tables, sequences or indices!
prysm_shreveport=> create table test (f int, g text);
CREATE
prysm_shreveport=> \c prysm_shreveport2
connecting to new database: prysm_shreveport2
prysm_shreveport2=> \d
Couldn't find any tables, sequences or indices!
prysm_shreveport2=> create table test2 (f int, g text);
CREATE
prysm_shreveport2=> \d

Database    = prysm_shreveport2
 +------------------+----------------------------------+----------+
 |  Owner           |             Relation             |   Type   |
 +------------------+----------------------------------+----------+
 | reedstrm         | test2                            | table    |
 +------------------+----------------------------------+----------+
prysm_shreveport2=> \c prysm_shreveport 
connecting to new database: prysm_shreveport
prysm_shreveport=> \d

Database    = prysm_shreveport
 +------------------+----------------------------------+----------+
 |  Owner           |             Relation             |   Type   |
 +------------------+----------------------------------+----------+
 | reedstrm         | test                             | table    |
 +------------------+----------------------------------+----------+
prysm_shreveport=> \c prysm_shreveport3
connecting to new database: prysm_shreveport3
FATAL 1:  Database prysm_shreveport3 does not exist in pg_database

Could not connect to new database. exiting
$ 

Ross
-- 
Ross J. Reedstrom, Ph.D., <reedstrm(at)rice(dot)edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005

In response to

pgsql-general by date

Next:From: Gilles DaroldDate: 1999-02-25 09:14:52
Subject: Thanks for all your answers
Previous:From: Kevin HeflinDate: 1999-02-24 23:30:44
Subject: character limit on db names in PGSQL or what?

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