[Live-demo] Re: [OSGeo] #438: Postgres 8.3 install script

OSGeo trac_osgeo at osgeo.org
Fri Sep 11 22:07:14 EDT 2009


#438: Postgres 8.3 install script
------------------------+---------------------------------------------------
  Reporter:  darkblueb  |       Owner:  live-demo at lists.osgeo.org
      Type:  defect     |      Status:  new                      
  Priority:  blocker    |   Component:  LiveDVD                  
Resolution:             |    Keywords:                           
------------------------+---------------------------------------------------
Comment (by hamish):

 try updates in r1947 and r1948.


 instead of writing to a file, does it work to have the command redirected
 from stdin?

 e.g. does this work:
 {{{
 echo "alter role \"user\" with password 'user'" | sudo -u postgres pqsl
 }}}

 or
 {{{
 sudo -u postgres pqsl << EOF
 alter role "user" with password 'user'
 EOF
 }}}

 ?,
 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/438#comment:3>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list