GithubHelp home page GithubHelp logo

sandord / respawn.postgres Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 4.0 59 KB

Builds upon Respawn and provides enhanced performance for Postgres databases. Respawn is an intelligent database cleaner for integration tests.

License: Apache License 2.0

C# 90.05% PowerShell 9.95%

respawn.postgres's People

Contributors

sandcastle avatar sandord avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

respawn.postgres's Issues

Improve Postgres compatibility

  • Figure out what versions of Postgres the queries are compatible with.
  • Attempt to improve compatibility. The database structure hash query may be sensitive to Postgres updates, either breaking or missing new parts. Perhaps we can iterate the columns that are currently selected statically.
  • Update docs accordingly
  • Provide a mechanism that can select compatible queries for certain Postgres version ranges.

Relax database/database entity name validation

Database entity names are currently validated (to mitigate SQL injection vulnerabilities), allowing alpha numeric characters and '_' and '-' only. It's likely that this is too stringent and sooner or later someone will hit this wall.

Proposed solution: allow all characters except for those that pose an SQL injection risk.

Npgsql exception: Column c.consrc does not exist

I tried to use PostgresCheckpoint and got this error

Npgsql.PostgresException : 42703: column p.consrc does not exist Data: Severity: ERROR InvariantSeverity: ERROR SqlState: 42703 MessageText: column p.consrc does not exist Hint: Perhaps you meant to reference the column "p.conkey" or the column "p.conbin". Position: 3309 File: parse_relation.c Line: 3523 Routine: errorMissingColumn

After googling I've found out the problem is PG12 removed the pg_constraint.consrc, this is tracked by PG12 removed the pg_constraint.consrc.
Possible solution: downgrading to PG11 should work until a fix is released.

Well... What if I want to stay in PG12?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.