2
0

Enhance support for custom types

* Add per connection oid to name map
* Global default type format is now based on names not oids
* Add better docs for custom types
This commit is contained in:
Jack Christensen
2014-09-13 11:33:34 -05:00
parent 68034af721
commit 8f81acfb5f
6 changed files with 104 additions and 36 deletions
+1 -3
View File
@@ -139,9 +139,7 @@ configure the TLS connection.
pgx includes support for the common data types like integers, floats, strings,
dates, and times that have direct mappings between Go and SQL. Support can be
added for additional types like point, hstore, numeric, etc. that do not have
direct mappings in Go by the types implementing Scanner and Encoder. See
example_custom_type_test.go for an example of a custom type for the PostgreSQL
point type.
direct mappings in Go. See the documentation for more information.
### Null Mapping