Changes between Initial Version and Version 1 of Ticket #84, comment 3


Ignore:
Timestamp:
May 24, 2018 4:00:39 PM (7 years ago)
Author:
cedric
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #84, comment 3

    initial v1  
    1212}}} 
    1313 
    14 {{{!sql 
     14{{{#!sql 
    1515ALTER USER user_name WITH PASSWORD 'new_password'; 
    1616}}} 
     
    3030Created a "custom-format" dump of the database . Include binary blobs (-b) and verbose (-v) output. Used admin account. The psql version is the one from my computer 9.6.3 
    3131 
    32 {{{ 
     32{{{#!sh 
    3333F: 
    3434cd F:/base 
     
    3737Do a fresh install of PostGIS in a new database (on the 9.6 server).  
    3838 
    39 {{{ 
     39{{{#!sh 
    4040createdb -h 1.100.1.6 -p 5434 -U postgres dbeel 
    4141psql -h 1.100.1.6 -p 5434 -U postgres dbeel 
     
    4646>> You may also want to install legacy.sql if you have functions that use deprecated PostGIS functions. 
    4747> for me it is : 
    48 {{{ 
     48{{{#!sh 
    4949psql -h 1.100.1.6 -p 5434 -U postgres -c 'psql -h 1.100.1.6 -p 5434 -U postgres -f "C:\Program Files\PostgreSQL\9.6\share\contrib\postgis-2.4\legacy.sql" dbeel 
    5050}}} 
    5151 
    5252I'm getting a lot of return like  
    53 {{{ 
     53{{{#!sh 
    5454psql:C:/Program Files/PostgreSQL/9.6/share/contrib/postgis-2.4/legacy.sql:1585: NOTICE:  le type de retour geometry est seulement un shell 
    5555}}} 
     
    6565 
    6666Create an upgrade.bat file with contents something like this and save in same folder as your database backup: 
    67 {{{ 
     67{{{#!sh 
    6868set PGPORT=5434 
    6969set PGHOST=w3