What Could Cause This Behavior?

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема What Could Cause This Behavior?
Дата
Msg-id Pine.LNX.4.63.0601261741570.3884@salmo.appl-ecosys.com
обсуждение исходный текст
Ответы Re: What Could Cause This Behavior?  (Michael Glaesemann <grzm@myrealbox.com>)
Re: What Could Cause This Behavior?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-general
   Now that I have postgres-8.1.2 properly configured and running I wanted to
create a new database for an application. Postgres would not let me -- as a
user -- create the database, so I su'd to 'postgres'.

   As user 'postgres' I could invoke psql and tried to create the database
with the command, 'create database contacts username=rshepard'. That failed
with no error message. I exited from psql and user postgres and ran the
command 'createdb contacts' as me. That worked.

   Also, I (as a listed superuser of postgres) cannot run 'psql' and get a
prompt. I'm told, 'psql: FATAL:  database "rshepard" does not exist'. But, as
user postgres I can type 'psql' and get into the interactive mode.

   In earlier versions I did not have this dichotomy. I could do everything as
a superuser and did not need to be logged in as user postgres. Any ideas
what's going on?

Rich

--
Richard B. Shepard, Ph.D.               |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
<http://www.appl-ecosys.com>     Voice: 503-667-4517         Fax: 503-667-8863

В списке pgsql-general по дате отправления:

Предыдущее
От: Bob Pawley
Дата:
Сообщение: Re: Arrays
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: What Could Cause This Behavior?