X Tutup
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: khellang/npgsql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: khellang/npgsql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: typehandling
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 139 files changed
  • 1 contributor

Commits on Jul 1, 2017

  1. Big refactor of type handling system

    * Significant redo of type handling, mainly to support npgsql#1475
    * All knowledge of PG types has been split out into DatabaseInfo.
      The PostgresType hierarchy no longer knows anything about mapping -
      it's purely about modeling pg_type.
    * Instead of a single TypeHandlerRegistry with special mechanisms for
      enum/composite, we now have a global type mapper and a connection
      type mapper, allowing all mappings to be user-managed at the global
      and connection level.
    * Handlers are now bound eagerly at physical connection open, much
      simpler.
    * Necessary types and APIs for writing a type handler have not yet been
      made public - leaving for later.
    roji committed Jul 1, 2017
    Configuration menu
    Copy the full SHA
    27d4cbb View commit details
    Browse the repository at this point in the history
  2. WIP on nodatime handler

    roji committed Jul 1, 2017
    Configuration menu
    Copy the full SHA
    c225ce2 View commit details
    Browse the repository at this point in the history
  3. Json.NET handler :)

    roji committed Jul 1, 2017
    Configuration menu
    Copy the full SHA
    4ca5b4b View commit details
    Browse the repository at this point in the history
  4. WIP making everything public

    roji committed Jul 1, 2017
    Configuration menu
    Copy the full SHA
    33e8092 View commit details
    Browse the repository at this point in the history
  5. General refactor of type handling hierarchy

    Now that the type handlers are going public, it was time for a long-
    awaited overhaul:
    
    * Folded ChunkingTypeHandler<T> into TypeHandler<T>,
      SimpleTypeHandler<T> now inherits from it.
    * Moved all array-specific checks from reader/binary exporter into the
      array handler where it belongs.
    * Other general simplifications.
    
    1 test still failing.
    roji committed Jul 1, 2017
    Configuration menu
    Copy the full SHA
    cc7e7b7 View commit details
    Browse the repository at this point in the history
Loading
X Tutup