Replies: 1 comment 1 reply
-
PostgreSQL is designed as a network DBMS following a client-server architecture. I haven't heard about people shipping a Postgres copy to run a local server on each client before. It's possible, but most would probably just use sqlite3 for those use cases.
Unlike SQLite, Postgres is not a library that can be part of your application. It needs to run in its own process which you'd have to start in your application. You probably also need your own configuration for Postgres so that it doesn't conflict with other apps. For client-side databases as part of your application, I strongly suggest using sqlite3 over Postgres. Even if you need some features that aren't available in sqlite3, getting halfway there with user-defined functions or other customizations is likely still a better experience.
We support the ones you've mentioned, but not all of them. Note that you can also get most of them to work on sqlite3 with type converters though. |
Beta Was this translation helpful? Give feedback.
-
We have been using Drift for a long time and are very happy using this package. thank you @simolus3 for this amazing package.
I am thinking about a new project to start and use PostgreSQL, I have some questions in mind to ask:
Beta Was this translation helpful? Give feedback.
All reactions