Date/Time Operators
Result: false
+ When adding an interval value to (or subtracting an
+ interval value from) a timestamp with time zone
+ value, the days component advances (or decrements) the date of the
+ timestamp with time zone by the indicated number of days.
+ Across daylight saving time changes (with the session time zone set to a
+ time zone that recognizes DST), this means interval '1 day'
+ does not necessarily equal interval '24 hours'.
+ For example, with the session time zone set to CST7CDT,
+ timestamp with time zone '2005-04-02 12:00-07' + interval '1 day'
+ will produce timestamp with time zone '2005-04-03 12:00-06',
+ while adding interval '24 hours' to the same initial
+ timestamp with time zone produces
+ timestamp with time zone '2005-04-03 13:00-06', as there is
+ a change in daylight saving time at 2005-04-03 02:00 in time zone
+ CST7CDT.
+
+
EXTRACT, date_part
- pg_relation_size> accepts the oid or name of a table, index or
- toast table, and returns the size in bytes.
+ pg_relation_size> accepts the oid or name of a table, index or
+ toast table, and returns the size in bytes.
- pg_complete_relation_size> accepts the oid or name of a table or
- toast table, and returns the size in bytes of the data and all associated
+ pg_complete_relation_size> accepts the oid or name of a table or
+ toast table, and returns the size in bytes of the data and all associated
indexes and toast tables.
- pg_size_pretty> can be used to format the size of the
- database objects in a human readable way, using kB, MB, GB or TB as appropriate.
+ pg_size_pretty> can be used to format the size of the
+ database objects in a human readable way, using kB, MB, GB or TB as appropriate.