Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just postgis #387

Closed
wants to merge 2 commits into from
Closed

just postgis #387

wants to merge 2 commits into from

Conversation

pmp-p
Copy link
Collaborator

@pmp-p pmp-p commented Oct 14, 2024

No description provided.

Copy link
Contributor

@pmp-p
Copy link
Collaborator Author

pmp-p commented Nov 22, 2024

first #410

@pmp-p pmp-p closed this Nov 22, 2024
@sergio-milu
Copy link

first #410

hey, any ETA for postgis? many thanks in advance

@pmp-p
Copy link
Collaborator Author

pmp-p commented Dec 3, 2024

i think a test build of postgis has been released inadvertently, feel fee to try it eg with

const db = new PGlite("/tmp/pglite/base", {
    "username" : "postgres",
    "debug" : true,
    extensions: {
        "postgis-3" : new URL("./node_modules/@electric-sql/pglite/dist/postgis-3.tar.gz", import.meta.url),
  }
});

@sergio-milu
Copy link

  "postgis" : new URL("./node_modules/@electric-sql/pglite/dist/postgis-3.tar.gz", import.meta.url),

I've changed the "postgis-3" key to "postgis" (otherwise this error " extension "postgis" is not available" is still in place)

i think a test build of postgis has been released inadvertently, feel fee to try it eg with

const db = new PGlite("/tmp/pglite/base", {
    "username" : "postgres",
    "debug" : true,
    extensions: {
        "postgis-3" : new URL("./node_modules/@electric-sql/pglite/dist/postgis-3.tar.gz", import.meta.url),
  }
});

seems like this still gives this error

type "geography" does not exist

like postgis is not installed, could it be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants