question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Postgres on native targets

See original GitHub issue

Description

I want to use sqldelight with Postgres on Kotlin Native. I wrote my own Postgres Native driver (could be moved to sqldelight if stable and wanted). But the current postgres dialect uses JDBC references, runtimeTypes and PostgreSqlType. Idea: Make PostgreSqlDialect open to support override runtimeTypes without writing the postgres dialect from scratch. Refactor PostgreSqlType to an interface to support 3rd party implementations as well.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
AlecStrongcommented, May 13, 2022

(If you’re wondering why we do that - we need the whole dialect to be loadable as a single jar for the IDE functionality to work, and we can enforce non-transitivity a lot easier in gradle)

0reactions
hfhbdcommented, May 30, 2022

Thanks, worked!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using a PostgreSQL database as a target for AWS Database ...
Use a PostgreSQL database as a target for data migration using AWS Database Migration Service.
Read more >
15.7. Platform-specific Notes - PostgreSQL
Platform-specific Notes. This section documents additional platform-specific issues regarding the installation and setup of PostgreSQL.
Read more >
PostgreSQL Requirements - HVR 6 Documentation - Fivetran
HVR requires that the PostgreSQL native LIBPQ (i.e. libpq.so.5 and its dependencies) is installed on the machine from which HVR will connect to...
Read more >
Is PostgreSQL on Amazon RDS supported as Source/Target ...
PostgreSQL on RDS is supported as Source/Target in PowerCenter 10.4.x although it is not mentioned in the PAM as well as in the...
Read more >
Near zero-downtime Postgres migrations and upgrades with ...
The goal of migrating a database is to create an identical copy of it on a ... Both Postgres' native logical replication and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found