I'm using PgAdminPortable and I'd like to enable « PostGIS Shapefile and DBF loader » plugin. The issue is that the files are not structured as in a PostgreSQL complete install (see below).

enter image description here

I have tried the following steps:

  1. Add the lines below (see end of post) into D:\PgAdminPortable\App\PgAdmin\plugins.d\pugins.ini file. The plugin appears now correctly inside the plugins dropdown within pgAdmin, but when clicking it, I'm asked several DLLs files.
  2. Create a postgisgui folder within D:\PgAdminPortable\App\PgAdmin.
  3. Copy - paste missing DLLs files from a local PostgreSQL install into D:\PgAdminPortable\App\PgAdmin(I have no bin directory within PgAdminPortable folder). There are about 10 files missing. Once copied, I get a new error message saying that the program could not start...

;PostGIS shp2pgsql-gui (Windows):
Title=PostGIS Shapefile and DBF loader
Command="$$PGBINDIR\postgisgui\shp2pgsql-gui.exe" -h "$$HOSTNAME" -p $$PORT -U "$$USERNAME" -d "$$DATABASE" -W "$$PASSWORD"
Description=Open a PostGIS ESRI Shapefile or Plain dbf loader console to the current database.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.