Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Open PG Admin
  • Double click on the PostgreSQL 9.0 node and enter a password if required.
  •  Right click on the Databases node and select New Database....
New NLPG DatabaseImage Removed

Image Added

  • Enter a Name for your NLPG database
  • Select an Owner for your NLPG database
  • Leave the other defaults and click Click OK.

 Now we need to add the database scripts to the new database.

  • Select your new NLPG database in PGAdmin and then click on the SQL icon [highlighted in the screenshot below].
NLPG run SQL commandImage Removed

Image Added

This will open a new window.

...

Image Added

  • In here click Open and navigate to the Scripts folder in the NLPG Importer home folder.
nlpg_scriptsImage Removed

Image Added

  • Select the run_all.sql script and click Open.

...

Image Added

  • Now click the Play button to execute the script. This will create the necessary views over the NLPG data.

...

Image Added

The script should run without errors.

...

 

Note
titleNote

Our example below shows the names of the Views after having run the script and they are appended with "_latest" which will not be the case initially.

 

...

Image Added