2
0

Remove Set self support from pgtype

Set having the capability to assign an object of the same type was
inconsistently implemented. Some places it was not implemented at all, some
places it was a shallow copy, some places a deep copy. Given that it doesn't
seem likely to ever be used, and if it is needed it is easy enough to do
outside of the library this code has been removed.
This commit is contained in:
Jack Christensen
2017-03-11 20:18:56 -06:00
parent b94ccae4c9
commit a79b498533
36 changed files with 0 additions and 64 deletions
-2
View File
@@ -17,8 +17,6 @@ type Float8Array struct {
func (dst *Float8Array) Set(src interface{}) error {
switch value := src.(type) {
case Float8Array:
*dst = value
case []float64:
if value == nil {