Thread

  1. RE: Win32 Install

    Joseph <lters@mrtc.com> — 2000-04-17T10:29:11Z

    > Log in as "postgres" (empty password) and create some users.
    
    Do I need to do this at the bash prompt somehow? I don't know how.
    
    Or do I log into my nt workstation and change users with the user manager?
    
    I guess I am confused how postgress works with users.
    
    Joseph 
    
    
    -----Original Message-----
    From: Horst Herb [mailto:hherb@malleenet.net.au]
    Sent: Saturday, April 15, 2000 10:18 PM
    To: Joseph
    Subject: Re: [GENERAL] Win32 Install
    
    
    
    ----- Original Message ----- 
    From: Joseph <lters@mrtc.com>
    To: <pgsql-general@postgresql.org>
    Sent: Sunday, April 16, 2000 11:55 AM
    Subject: [GENERAL] Win32 Install
    
    
    > I am trying to run postgress on an NT workstation.
    > 
    > Do I have to run it in a bash prompt?
    > 
    > This is the error I get if I try to run postgres.exe at nt cmd prompt:
    > D:\cygnus\cygwin-b20>postgres
    > FATAL 1:  SetPgUserName: no entry in host passwd file
    > 
    > The admin.pdf doesn't seem to give much help.
    > 
    > I am a newbie with Unix or Linux but am very at home in the win32 world.
    > 
    > Joseph 
    
    Log in as "postgres" (empty password) and create some users.
    
    Horst
    
    
    
  2. Re: Win32 Install

    Thomas D. Dean <tomdean@ix.netcom.com> — 2000-04-17T17:33:07Z

    You should be able to save the excel table as a text file, with a tab
    separator.  You may need to use sed to convert the line_end from
    windows to unix form.  Then use the psql copy to put the data into the
    table.
    
    Use vi to create a to_dos.sh
    
    #! /usr/local/bin/tcsh -f
    cat $1 | sed -e 's/$/^M/' > xx
    
    where the ^M is a single character entered with control-v controm-m,
    
    Then use this to convert the text
    
    tomdean