pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to check running database is 32 bit
3+ messages / 3 participants
[nested] [flat]

* How to check running database is 32 bit
@ 2007-07-19 08:27 nilesh khode <nilesh_khode@yahoo.com>
  2007-07-19 08:50 ` Re: How to check running database is 32 bit Achilleas Mantzios <achill@matrix.gatewaynet.com>
  2007-07-19 09:49 ` Re: How to check running database is 32 bit Steve Holdoway <steve.holdoway@firetrust.com>
  0 siblings, 2 replies; 3+ messages in thread

From: nilesh khode @ 2007-07-19 08:27 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I have installed Postgresql 8.2.4 using Tarball on Suse Linux 10.1 (64 Bit).

I already had running Postgresql 64 bit under /var/lib/pgsql. I installed 32 bit 2nd Postgresql using Tarball under /usr/local/pgsql. I want to cross check whether it is 32 bit or 64 bit. So how shld I check the same?

Thanks,
Nilesh






       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to check running database is 32 bit
  2007-07-19 08:27 How to check running database is 32 bit nilesh khode <nilesh_khode@yahoo.com>
@ 2007-07-19 08:50 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Achilleas Mantzios @ 2007-07-19 08:50 UTC (permalink / raw)
  To: pgsql-admin

Óôéò ÐÝìðôç 19 Éïýëéïò 2007 11:27, ï/ç nilesh khode Ýãñáøå:
> Hello,
>
> I have installed Postgresql 8.2.4 using Tarball on Suse Linux 10.1 (64
> Bit).
>
> I already had running Postgresql 64 bit under /var/lib/pgsql. I installed
> 32 bit 2nd Postgresql using Tarball under /usr/local/pgsql. I want to cross
> check whether it is 32 bit or 64 bit. So how shld I check the same?

In SELECT version(); it should say smth about the architecture.
If this does not help, write a C function that checks the sizeof(void *), and 
compile it in both systems (64,32), and then install it on both postgresql's.
Then at calling time, check its value, if its 4 then it is on a 32 bit system,
if it is 8 then it is on a 64 bit system.

>
> Thanks,
> Nilesh
>
>
>
>
>
>
>
> ___________________________________________________________________________
>_________ Get the free Yahoo! toolbar and rest assured with the added
> security of spyware protection.
> http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

-- 
Achilleas Mantzios



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to check running database is 32 bit
  2007-07-19 08:27 How to check running database is 32 bit nilesh khode <nilesh_khode@yahoo.com>
@ 2007-07-19 09:49 ` Steve Holdoway <steve.holdoway@firetrust.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Steve Holdoway @ 2007-07-19 09:49 UTC (permalink / raw)
  To: pgsql-admin

Could I just suggest that you upgrade to 10.2? 10.1, especially the 64 bit version, is a bit rough in places.

Steve.

On Thu, 19 Jul 2007 01:27:26 -0700 (PDT)
nilesh khode <nilesh_khode@yahoo.com> wrote:

> Hello,
> 
> I have installed Postgresql 8.2.4 using Tarball on Suse Linux 10.1 (64 Bit).
> 
> I already had running Postgresql 64 bit under /var/lib/pgsql. I installed 32 bit 2nd Postgresql using Tarball under /usr/local/pgsql. I want to cross check whether it is 32 bit or 64 bit. So how shld I check the same?
> 
> Thanks,
> Nilesh
> 
> 
> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
> http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-07-19 09:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-07-19 08:27 How to check running database is 32 bit nilesh khode <nilesh_khode@yahoo.com>
2007-07-19 08:50 ` Achilleas Mantzios <achill@matrix.gatewaynet.com>
2007-07-19 09:49 ` Steve Holdoway <steve.holdoway@firetrust.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox