Re: [GENERAL] Date Time data types

Поиск
Список
Период
Сортировка
От Rakesh Kumar
Тема Re: [GENERAL] Date Time data types
Дата
Msg-id trinity-129ac1f7-4c97-4420-8afc-7538210b6384-1511444125725@3c-app-mailcom-lxa07
обсуждение исходный текст
Ответ на [GENERAL] Date Time data types  (Brahmam Eswar <brahmam1234@gmail.com>)
Список pgsql-general
>What is difference between CLOCK_TIMESTAMP() and CURRENT_TIMESTAMP?
CURRENT_TIMESTAMP stays the same within the transaction. It is very useful when you
are you inserting to multiple tables and want to use the timestamp columns to chain the rows
together. 

CLOCK_TIMESTAMP is the true timestamp at that given instant. Useful for debugging
purposes. I hardly see a use of it in applications, for reasons mentioned above.


В списке pgsql-general по дате отправления:

Предыдущее
От: Durumdara
Дата:
Сообщение: Re: Set role dynamically from proc
Следующее
От: Dmitry Lazurkin
Дата:
Сообщение: Implementation of gtrgm_out for gevel