Re: Recursive Arrays 101

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: David Blomstrom <david(dot)blomstrom(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, Rob Sargent <robjsargent(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Recursive Arrays 101
Date: 2015-10-26 23:21:48
Message-ID: CAKFQuwbANett5WPTRajQb5vK28k0rAGrRu_Z91F4uwt0xe0WwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 26, 2015 at 7:13 PM, David Blomstrom <david(dot)blomstrom(at)gmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Blomstrom 2015-10-26 23:21:49 Re: Recursive Arrays 101
Previous Message John R Pierce 2015-10-26 23:21:35 Re: Recursive Arrays 101