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 PostgreSQL version of Aurora Serverless

See original GitHub issue

Some compatibility issues were brought up in #25 that show conflicts with the PostgreSQL version (likely because of sqlstring). There are also some additional data types (like structValue) that are only supported by the PostgreSQL version.

Overall, I think the two engines are rather interchangeable (thanks for that AWS). We likely need to add an engine config option or something similar since I don’t think the library can “auto detect” the underlying version.

I’ve created a new development branch (https://github.com/jeremydaly/data-api-client/tree/postgres-support) that should be the target of any pull requests regarding this. Please feel free to add comments to this issue with ideas or compatibility observations.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
jeremydalycommented, Aug 31, 2020

Sorry for the late reply. This is likely due to the support for parametizing identifiers. I think full Postgres support will require a separate config flag.

0reactions
thchiacommented, Apr 1, 2022

I am happy to provide a fix for #25 . However, I think we need to deal with the fact that the maintainers of sqlstring will not be adding support for Postgres. Off the top of my head, there are a few options:

  • Remove the dependency on sqlstring and rewrite the lone method this library currently uses (it’s small)
    • Pros: simple and clean
    • Cons: if we’re planning to make more use of sqlstring in the future, it will be harder
  • Fork sqlstring and add Postgres support
    • Pros: can continue to rely on other features of sqlstring if we need them in the future
    • Cons: maintaining upstream changes can become unwieldy
Read more comments on GitHub >

github_iconTop Results From Across the Web

Aurora Serverless v1 and Aurora database engine versions
If you want to use Aurora PostgreSQL for your Aurora Serverless v1 DB cluster, you can choose among Aurora PostgreSQL 10-compatible and 11-compatible...
Read more >
Aurora Serverless v1 and Aurora database engine versions
Learn about Aurora Serverless v1 database engine versions.
Read more >
Amazon Aurora Supports PostgreSQL 14 - InfoQ
Amazon recently announced that Aurora PostgreSQL supports PostgreSQL major version 14. The new release adds performance improvements and new ...
Read more >
What You Should Know About Aurora Serverless Before ...
Only one version of PostgreSQL and MySQL is supported by Aurora Serverless. At the time of writing this, not all or even the...
Read more >
Upgrade for Amazon Aurora Serverless v1 PostgreSQL ...
Upgrade for Amazon Aurora Serverless v1 PostgreSQL-compatible edition 10.x end of support is January 31, 2023.
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