Re: Recursive Arrays 101 - Mailing list pgsql-general

From John R Pierce
Subject Re: Recursive Arrays 101
Date
Msg-id 562EB692.3020906@hogranch.com
Whole thread Raw
In response to Re: Recursive Arrays 101  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Responses Re: Recursive Arrays 101  (David Blomstrom <david.blomstrom@gmail.com>)
Re: Recursive Arrays 101  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On 10/26/2015 4:22 PM, Gavin Flower wrote:
>
> By type of shell, is meant are using a bash shell in your terminal, or
> csh, or something else? Bash stands for BOurne Again Shell, it process
> commands like 'psql' that you type into the shell.
>
> Please copy i the email addresses of the other helping you & the
> mailing list!

he said some time ago, he's running MS Windows, with EnterpriseDB's
installation package of PostgreSQL.   'SQL Shell' is a Start Menu
item/shortcut that references a batch script,
D:\PostgreSQL\9.3\scripts\runpsql.bat   which in turn looks like...

@echo off
REM Copyright (c) 2012-2014, EnterpriseDB Corporation.  All rights reserved

REM PostgreSQL server psql runner script for Windows

SET server=localhost
SET /P server="Server [%server%]: "

SET database=postgres
SET /P database="Database [%database%]: "

SET port=5432
SET /P port="Port [%port%]: "

SET username=postgres
SET /P username="Username [%username%]: "

for /f "delims=" %%a in ('chcp ^|find /c "932"') do @ SET
CLIENTENCODING_JP=%%a
if "%CLIENTENCODING_JP%"=="1" SET PGCLIENTENCODING=SJIS
if "%CLIENTENCODING_JP%"=="1" SET /P PGCLIENTENCODING="Client Encoding
[%PGCLIENTENCODING%]: "

REM Run psql
"D:\PostgreSQL\9.3\bin\psql.exe" -h %server% -U %username% -d %database%
-p %port%

pause

--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Recursive Arrays 101
Next
From: David Blomstrom
Date:
Subject: Re: Recursive Arrays 101