Changeset 839 for trunk/docs


Ignore:
Timestamp:
Feb 8, 2016, 11:00:17 AM (4 years ago)
Author:
cito
Message:

Cast to proper type when adapting datetime values

Otherwise PostgreSQL needs to guess the type from the context
which is not always possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/contents/pgdb/types.rst

    r819 r839  
    2828    Construct an object holding a date value
    2929
    30 .. function:: Time(hour, minute=0, second=0, microsecond=0)
     30.. function:: Time(hour, [minute], [second], [microsecond], [tzinfo])
    3131
    3232    Construct an object holding a time value
    3333
    34 .. function:: Timestamp(year, month, day, hour=0, minute=0, second=0, microsecond=0)
     34.. function:: Timestamp(year, month, day, [hour], [minute], [second], [microsecond], [tzinfo])
    3535
    3636    Construct an object holding a time stamp value
Note: See TracChangeset for help on using the changeset viewer.