From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bhushan Pathak <bhushan(dot)pathak02(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgresql 9.2.4 - timezone error |
Date: | 2014-05-29 16:27:04 |
Message-ID: | 12769.1401380824@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bhushan Pathak <bhushan(dot)pathak02(at)gmail(dot)com> writes:
> myDB=# SELECT * FROM pg_timezone_names WHERE name = 'America/New_York';
> ERROR: could not stat "/usr/share/zoneinfo/America/New_York": Too many
> levels of symbolic links
Oh? There's something really broken about your tzdata installation,
then. On any Red Hat-derived system, /usr/share/zoneinfo/America/New_York
ought to be a plain file and none of the directories above it should
be symlinks either.
> What does this really mean?
It probably means there's a circular loop of symlinks at one of the steps
along that file path, for instance /usr/share/zoneinfo might be a symlink
pointing to itself. This would break many things not only Postgres.
You need to get rid of whatever's nonstandard there and reinstall the
regular tzdata package from Red Hat/CentOS.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-05-29 16:32:33 | Re: Code for user-defined type |
Previous Message | Mimiko | 2014-05-29 16:16:10 | Re: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object |