| From: | zedware <zedware(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: How to tell if 64 bit vs 32 bit engine? |
| Date: | 2008-04-21 10:10:33 |
| Message-ID: | 2a889a90-281e-417a-bd4f-c78b31629139@b9g2000prh.googlegroups.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 4月21日, 上午1时35分, pete(dot)(dot)(dot)(at)gmx(dot)net (Peter Eisentraut) wrote:
> Zoltan Boszormenyi wrote:
> > select version();
>
> > It will tell you the compiler version and arch as well. You can deduce
> > from there.
>
> That approach is not reliable. I often build and run a 32-bit build of
> PostgreSQL on a machine that claims to be something like
> x86_64-unknown-linux-gnu.
>
> --
> Sent via pgsql-general mailing list (pgsql-gene(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general
At the client side as libpq, `select version()' is the best solution
now.
It seems a good idea to let the backend support a GUC parameter like
those used in Linux/UNIX.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Browne | 2008-04-21 14:56:21 | Re: In the belly of the beast (MySQLCon) |
| Previous Message | Howard Cole | 2008-04-21 09:21:03 | Re: Missing Log File |