Re: create batch script to import into postgres tables

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: create batch script to import into postgres tables
Дата
Msg-id 37a9ad71-b297-96b3-9c1f-1043e75dec58@aklaver.com
обсуждение исходный текст
Ответ на Re: create batch script to import into postgres tables  (Pepe TD Vo <pepevo@yahoo.com>)
Ответы Re: create batch script to import into postgres tables  (cgerard999@gmail.com)
Re: create batch script to import into postgres tables  (cgerard999@gmail.com)
Список pgsql-admin
On 6/18/20 4:37 PM, Pepe TD Vo wrote:
> thank you for the link.  I did try it and it's still error
> 
> echo 'SELECT count(*) FROM tableA;' |
> C:\Program Files\PostgreSQL\11\bin\psql -U PSmasteruser -d PSCIDR -h 
> hostname.amazonaws.com -p 5432


This is getting old. The error is?
> 
> I can run 'psql -u postgres -d PSCIDR -p 5432' (on Linux server, still 
> learning how to run it from psql shell in Window) fine from psql 
> prompt.  Just still wonder how to connect directly to the instance 
> PSCIDR from scripting in both aws and linux.  Otherwise manually run 
> using pgAdmin.
> 
> v/r,
> 
> **
> *Bach-Nga
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Pepe TD Vo
Дата:
Сообщение: Re: create batch script to import into postgres tables
Следующее
От: cgerard999@gmail.com
Дата:
Сообщение: Re: create batch script to import into postgres tables