From: | Joseph Brenner <doomvox(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Select works only when connected from login postgres |
Date: | 2016-12-04 05:01:11 |
Message-ID: | CAFfgvXVAaO8K-7VBYN0J92jm-r8rcWOnOqSxhz_BJj5c=zP9Ew@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
>For kicks, how about \echo or \! Something that doesn't need a server to work.
Sure: those do work.
doom(at)tango:~$ /usr/local/pgsql/bin/psql --dbname=doom --username=doom
psql (9.6.1)
Type "help" for help.
doom=# select 'hello' as world;
doom=# \echo 'yo'
yo
doom=# \! ls -lad p*
drwxr-xr-x 1 doom doom 12 Nov 16 12:29 perl5
On Sat, Dec 3, 2016 at 7:48 PM, David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> On Saturday, December 3, 2016, Joseph Brenner <doomvox(at)gmail(dot)com> wrote:
>>
>>
>> doom=# select 'hello' as world;
>> doom=#
>>
>> Nothing else gives me any output either: \l, \du, etc.
>>
>
> For kicks, how about \echo or \! Something that doesn't need a server to
> work.
>
> David J,
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2016-12-04 05:11:03 | Re: Select works only when connected from login postgres |
Previous Message | David G. Johnston | 2016-12-04 03:48:13 | Re: Select works only when connected from login postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2016-12-04 05:11:03 | Re: Select works only when connected from login postgres |
Previous Message | David G. Johnston | 2016-12-04 03:48:13 | Re: Select works only when connected from login postgres |