X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3562C53623 for ; Fri, 25 Mar 2005 20:52:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58807-09 for ; Fri, 25 Mar 2005 20:52:47 +0000 (GMT) Received: from mxca2.corp.netopia.com (host222.netopia.com [65.206.239.222]) by svr1.postgresql.org (Postfix) with ESMTP id D71555352C for ; Fri, 25 Mar 2005 20:52:46 +0000 (GMT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: 64 or 32 postgres Date: Fri, 25 Mar 2005 12:52:47 -0800 Message-ID: <6B26A56846293C4488B54CF3E44033546CFFF1@mxca2.corp.netopia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] 64 or 32 postgres Thread-Index: AcUxcfxyfkBATrJEQU2eIgHwEuauagACCrVQ From: "Subbiah, Stalin" To: "Tom Lane" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.025 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/423 X-Sequence-Number: 16921 Hmm.. It was complied with ./configure --without-readline. That's it.=20 Does postgres801 rpm (postgresql-server-8.0.1-0.1.x86_64.rpm) comes with --enable-integer-datetimes enabled by default ? The reason it prompted me to ask is that, we have postgres801 rpm install in the same machine in /var/lib dir. If it's enabled by default then I think we might have started postgres from the rpm binary as opposed to src binary. What parameters should I enable if I install postgres on a 64 bit hardware from src. Seems like x86_64.rpm's enables some parameters which I'm missing it when I compile it from src. Thanks, -Stalin -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Friday, March 25, 2005 11:37 AM To: Subbiah, Stalin Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] 64 or 32 postgres=20 "Subbiah, Stalin" writes: > How to figure out whether the installed postgres version is 32 bit or=20 > 64bit ? We installed postgres801 from src on susu box with EMT64 bit=20 > hardware. I assume since the hardware was 64 bit, postgres should have > compiled in 64 bit too, but then we ran into this error > FATAL: database files are incompatible with server > DETAIL: The database cluster was initialized without=20 > HAVE_INT64_TIMESTAMP but the server was compiled with=20 > HAVE_INT64_TIMESTAMP. > HINT: It looks like you need to recompile or initdb.=3D20 That has nothing to do with 64/32 bit; you changed the --enable-integer-datetimes config option. regards, tom lane