crystal-pg v0.7.0 Release Notes

Release Date: 2016-05-05 // almost 8 years ago
  • 🆕 new features

    • 100% crystal, using crystal's native async io (no longer using libpq)
    • each Connection#exec form can take a block, and stream the rows as they come in. This does not store any rows in memory and is very fast.
    • adds #on_notification for listen/notify support

    incompatable changes:

    • Result.each now yields the entire row and an array of fields
    • The notice callback now yields an entire
    • Error classes have changed, some removed
    • "db_name" changed to "dbname" in hash #initialize to match postgres
    • on_notice callback gets an object instead of just a string