ДТ
Грустно, в сторону: мне уже как-то начинает надоедать отвечать на этот вопрос (после нескольких десятков раз!). Когда у нас будет адекватный FAQ в чате?!
Size: a a a
ДТ
YS
AT
AL
МШ
YS
M
МШ
МШ
МШ
YS
МШ
YS
M
localtime()
timezone
is not specified in postgresql.conf
or as a server command-line option, the server attempts to use the value of the TZ
environment variable as the default time zone. If TZ
is not defined or is not any of the time zone names known to PostgreSQL, the server attempts to determine the operating system's default time zone by checking the behavior of the C library function localtime()
. The default time zone is selected as the closest match among PostgreSQL's known time zones. (These rules are also used to choose the default value of log_timezonelog_timezone, if not specified.)M
M
YS
M
YS
SS
WITH ins AS (Выдает:
INSERT INTO attendance
(action, people_id, action_time)
VALUES
(p_action, p_people_id, p_action_time)
RETURNING *
)
OPEN result_cursor FOR SELECT * FROM ins;
RETURN result_cursor;
ERROR: syntax error at or near "OPEN"Неужели это невалидный код?
LINE 41: OPEN result_cursor FOR SELECT * FROM ins;
^
SQL state: 42601
Character: 1175