Re: Recursive Arrays 101

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Recursive Arrays 101
Дата
Msg-id CAKFQuwbANett5WPTRajQb5vK28k0rAGrRu_Z91F4uwt0xe0WwA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Recursive Arrays 101  (David Blomstrom <david.blomstrom@gmail.com>)
Список pgsql-general
On Mon, Oct 26, 2015 at 7:13 PM, David Blomstrom <david.blomstrom@gmail.com> wrote:
Oops, let me try it again...

Shell1

Server [localhost]: \l

Database [postgres]: 

* * * * *

Server [localhost]: \dt

Database [postgres]: 


Shell2

Database [postgres]: \l

Port [5432]: 

* * * * *

Port [5432]: \dt

Username [postgres]: 


​Please realize that what you show above is non-standard.  What it appears to be doing is walking you through the process of connecting to a database in a step-by-step manner.  What you are showing are prompts asking for a specific piece of data.  The first prompt is asking for the host you wish to connect to with a default value of localhost.  Then port, with a default of 5432.  Database, default postgres.  Username, default postgres.  Assuming all of the defaults are valid what happens if you simply hit enter for each of the prompts until you get to a prompt that is for something other than a setting with a default value?

Typing in \l or \dt at one of the above prompts is non-sensicial.  Whatever you are running is not yet ready to accept generic commands.  Likely even when the prompting is completed what you end up with will not be a generic psql shell where these meta-commands will have meaning.

You should learn what "Shell" (its seems more like an application) you are using and ask whomever wrote it what you should be doing.

David J.

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Recursive Arrays 101
Следующее
От: David Blomstrom
Дата:
Сообщение: Re: Recursive Arrays 101