Permalink
Commits on Feb 27, 2017
  1. Avoid the conflict on cl-annot's macro character @.

    Wrapping :@ keywords with || as cl-annot breakes the usage. This fix
    should have no issues as:
    (and
      (eq  :|@@| :@@)
      (eq  :|@>| :@>)
      (eq  :|@<| :@<)
      (eq  :|@| :@)) => t
    Knut Olav Bøhmer committed Feb 27, 2017
Commits on Dec 13, 2016
  1. Fixed compilation on SBCL < 1.2.5.

    A new package cl-postgres.features was added.
    It probes features and adds them to *features*.
    
    Right now it only tests if SBCL's sb-bsd-sockets are available
    and if IPv6 is available in it. First feature is needed because
    event 1.3.x version could be compiled without support
    for bsd-sockets.
    svetlyak40wt committed with Dec 13, 2016
Commits on Nov 3, 2016
  1. use oid constants

    slyrus committed Nov 3, 2016
  2. add cl-postgres-oid package

     * has various postgres oid (object ID) constants
    slyrus committed Nov 3, 2016
  3. added more timestamp tests

    slyrus committed Nov 3, 2016
Commits on Nov 2, 2016
  1. accept nil function for set-sql-reader

     * in which case we remove the hash table entry for the specified oid,
       resulting in using the default type interpreter (and reading the type
       as text)
    slyrus committed Nov 2, 2016
  2. add constants for timestamp and time oids

     * add +timestamp-oid+, +timestamptz-oid+, and +time-oid+ and export
       their symbols
    slyrus committed Nov 2, 2016
Commits on Oct 24, 2016
  1. respect text/binary choice for record arrays

     * when we read a record array (row types), we need to decide ahead of
       time if we want text or binary. In other words, we can't get a binary
       array with text row types in it. Therefore, we'll respect the row
       type text/binary choice and use that to decide of the record array
       should come back as text or binary.
    
    * add test for this while we're at it
    slyrus committed Oct 24, 2016
  2. fix array of null handling

     * fixes handling of arrays with null elmemts
    
     * also, return nil two places where we used to return :null
    slyrus committed with Oct 23, 2016
Commits on Oct 22, 2016
  1. cl-postgres-glue package and sql-readtable

     * move cl-postgres-glue symbols into their own package
    
     * add *simple-date-sql-readtable* variable and
       simple-date-sql-readtable function
    
     * now, on loading this file, we copy the current
       cl-postgres:read-sql-readtable, install our sql reader functions,
       then set the cl-postgres:*sql-readtable* to a copy of our newly
       modified readtable (ready for further modification by others), but we
       keep the our orginal (suitably modified by cl-postgres-glue)
       readtable around for use by clients that want to make sure they get
       the simole-date sql reader functionality (e.g., the cl-postgres
       simple-date tests).
    slyrus committed with Oct 22, 2016
  2. export time-of-day accessors

     * hours, minutes, seconds, microseconds
    slyrus committed with Oct 22, 2016
Commits on Oct 21, 2016
  1. comment and error message cleanup

    slyrus committed Oct 21, 2016
  2. rework binary array handling

    * add an error, for the moment at least, if has-null is true.
    slyrus committed Oct 21, 2016
Commits on Oct 20, 2016
  1. add tests for arrays with nulls

    slyrus committed Oct 20, 2016
  2. fix handling of 0-dimension arrays

     * in the binary type interpreters for arrays, we weren't properly
       handling zero-dimension arrays. One question is whether a
       zero-dimension array should return NIL or (make-array nil).
    slyrus committed Oct 20, 2016
Commits on Oct 19, 2016
  1. remove :use :simple-date clause from test package

     * cl-postgres-tests no longer needs this
    slyrus committed Oct 19, 2016
  2. cl-postgres-simple-date-tests cleanup

     * more fully decouple the cl-postgres-simple-date-tests from the
       vanilla cl-postgres-tests.
    slyrus committed Oct 19, 2016
Commits on Oct 18, 2016
  1. add some more time zone tests

    slyrus committed Oct 18, 2016
  2. uncouple cl-postgres and simple-date tests

     * cl-postgres tests now use the readtable provided by
       default-sql-readtable -- without the simple-date routines
    
    * added a new simple-date-tests.lisp file with tests that exercise the
      simple-date reader routines
    
    * fix tests to handle both binary and text row values
    slyrus committed Oct 12, 2016
  3. set default back to text for reading row types

     * add docs for *read-row-values-as-binary*, with-binary-row-values, and
       with-text-row-values, export these symbols.
    slyrus committed Oct 18, 2016
Commits on Oct 11, 2016
Commits on Oct 10, 2016
  1. added support for both text and binary readers

     * added new class type-interpreter
    
     * added new functions interpreter-binary-p and interpreter-reader
    
     * changed type-interpreter functino to get-type-interpreter
    
     * added *read-row-values-as-binary* and use this in the binary-p
       predicate of the sql reader for row values (type 2249)
    
     * added with-binary-row-values and with-text-row-value macros so we can
       use binary/text in a thread-safe way
    
     * chagned field-binary-p to a reader form an accessor
    
     * reworked read-field-descriptions to use the new type-interpreter stuff
    slyrus committed Oct 10, 2016
Commits on Oct 5, 2016
  1. Remove mailing list/support info

    It no longer works
    committed Oct 5, 2016
Commits on Sep 13, 2016