| От | G. Anthony Reina |
|---|---|
| Тема | Re: [PORTS] Windows 95 PgAccess Help with PSQL |
| Дата | |
| Msg-id | 3755A905.9E1B3D7D@nsi.edu обсуждение |
| Список | pgsql-ports |
Finn Kettner wrote: > On June 2. 1999 at 11:46 G. Anthony Reina wrote about [PORTS] > Windows 95 PgAccess Help wi: > > > Files\PostgresSQL just fine. However, when I try 'psql db01' in a > > DOS window, I get the following error: > > > > Connection to database 'db01' failed. > > connectDB() -- socket() failed : errno=0 > > No error > > Use "psql -h ´hostname´ db01" where hostname is the name or the > IP-address of your database (Linux) machine. > > use psql -h to get a small help from the command line, and \? when > psql is started. sql statements to the backend is committed with an > ending ´;´. > > At least that worked for me, but I couldn't do something > like: "psql \\´hostname´:´dbname´" or even "psql \\´hostname´" > > Yours faithfully. > Finn Kettner. Thanks Finn. That did the trick. Is there a way to set the DOS environment so that it recognizes the PG host? For example, on my unix system I have: setenv PGHOST host_computer_name
В списке pgsql-ports по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера