Re: determine client os - Mailing list pgsql-general

From Sim Zacks
Subject Re: determine client os
Date
Msg-id 4DF70148.5050205@compulab.co.il
Whole thread Raw
In response to Re: determine client os  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: determine client os  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Re: determine client os  (Craig Ringer <craig@postnewspapers.com.au>)
Re: determine client os  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List pgsql-general
On 06/14/2011 08:19 AM, Tom Lane wrote:

> Sim Zacks<sim@compulab.co.il>  writes:
>> All the suggestions given are for the server OS :-(
>> My purpose is to be able to return a correct file path to the client
>> without it specifying the OS.
> File path?  Seems to me that even if you knew the client OS, that'd
> provide next to no information about the installation pathnames of the
> client software.  Maybe you need to be a bit clearer about what you're
> trying to accomplish.
>
>             regards, tom lane
It is much simpler then that. My data includes file references.
One table has the filename with a path placeholder and another table
contains the windows and linux versions of the full path. This is for an
intranet and we _always_ have the same drive letters (windows) and mount
paths (linux) for every client. When the client requests data that
includes a file reference, I want to send the relevant path.

Sim

pgsql-general by date:

Previous
From: Vikram A
Date:
Subject: Re: PGP encrypt/decrypt - Prereqistes
Next
From: Stefan Keller
Date:
Subject: No implicit index created when adding primary key with ALTER TABLE