Insert into postgresql timestamp issue #259
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#259
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when insert into postgresql table, time.Time type miss values after second.
for example,
values is 2015-06-16 12:05:15.7338519 +0800 CST
after insert into table the values is 2015-06-16 12:05:15
seems function FormatTime in engine.go is not good
As a good habit for myself, I always use unix timestamp(second or microsecond or nanosecond) instead regardless of what kinds of SQL server. Maybe you can take it into your account.