Changes between Version 43 and Version 44 of UsersWikiWinCompileInitdb

Show
Ignore:
Timestamp:
12/09/09 10:36:32 (4 years ago)
Author:
pracine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiWinCompileInitdb

    v43 v44  
    66 1. '''Create a Windows local user''' called "postgres". 
    77 
    8  2. '''Initialize the DB cluster''' from the Msys shell: 
     8 2. '''Initialize the DB cluster''' from the MSYS shell: 
    99 
    1010     /c/postgres/bin/initdb -U postgres -D /c/postgres/data -A trust 
     
    3434    sc delete "pgsql-8.4 test" 
    3535 
    36  '''Option B) Directly from the DOS shell:''' 
     36 '''Option B) Directly from the DOS shell (prefered option):''' 
    3737 
    3838  1) In the same shell in which you initialized the DB cluster, do: 
     
    4949 
    5050 
    51  5. Before you do a make check for PostGIS, make sure to do an export of PGPORT and other variable to point to the one you are testing (you do this in Msys) 
    52 http://www.postgresql.org/docs/8.4/interactive/libpq-envars.html 
     51 5. '''Export the configuration variables''' 
    5352 
    54 These are only good for the current session 
     53  Before you do a make check for PostGIS, make sure to do an export of '''PGPORT''' and other variable to point to the one you are testing (you do this in MSYS). For more information about the PostgreSQL environment variables see http://www.postgresql.org/docs/8.4/interactive/libpq-envars.html 
    5554 
    56 export PATH="/c/postgres/bin:$PATH" 
     55  These are only good for the current session 
     56 
     57   export PATH="/c/postgres/bin:$PATH" 
     58 
     59   export PGPORT=8433 
     60 
     61   export PGUSER=postgres 
    5762 
    5863 
    59 export PGPORT=8433 
    60  
    61 export PGUSER=postgres 
    62  
    63  
    64 to see path settings or any other variables at msys prompt 
     64  to see path settings or any other variables at MSYS prompt: 
    6565 echo ${PATH}