Re: Select works only when connected from login postgres
Joseph Brenner <doomvox@gmail.com>
From: Joseph Brenner <doomvox@gmail.com>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2016-12-04T05:01:11Z
Lists: pgsql-hackers, pgsql-general
>For kicks, how about \echo or \! Something that doesn't need a server to work. Sure: those do work. doom@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.g.johnston@gmail.com> wrote: > On Saturday, December 3, 2016, Joseph Brenner <doomvox@gmail.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,
Commits
-
Handle empty or all-blank PAGER setting more sanely in psql.
- 1ec5cc025b41 9.2.20 landed
- ccb84dae13c9 9.4.11 landed
- bb39f58f76b4 9.6.2 landed
- 82eb5c514473 9.3.16 landed
- 370c7a863aa7 9.5.6 landed
- 18f8f784cbbf 10.0 landed