Para a Índia:
SELECT now() AT TIME ZONE 'Asia/Calcutta';
SELECT now()::timestamp AT TIME ZONE 'Asia/Kolkata';
SELECT now()::timestamp AT TIME ZONE '5:30';
Para o Nepal:
SELECT now()::timestamp AT TIME ZONE 'Asia/Katmandu';
SELECT now()::timestamp AT TIME ZONE 'NPT';
Para definir o fuso horário para toda a sessão:
SET time zone 'Asia/Calcutta';
Para redefini-lo (para o fuso horário definido em postgresql.conf:
RESET time zone;
Encontre mais nas visualizações do sistema
pg_timezone_names
e pg_timezone_abbrevs
SELECT *
FROM pg_timezone_names
WHERE utc_offset BETWEEN '05:00:00' AND '06:00:00'
ORDER BY utc_offset;
SELECT *
FROM pg_timezone_abbrevs
WHERE utc_offset BETWEEN '05:00:00' AND '06:00:00'
ORDER BY utc_offset;
Manual do PostgreSQL sobre
AT TIME ZONE
construir. Sobre fusos horários
.