From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Marvin <magosoft(at)gmx(dot)net> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Current Computer Name |
Date: | 2003-10-02 21:54:57 |
Message-ID: | 1065131697.4453.9.camel@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Thu, 2003-10-02 at 22:47, Marvin wrote:
> Because I would like to store in my table the name of the computer
> where the user saves the information.
>
> Whe have already into a MSSQL table the following definition:
>
> Field name Type Default
> IngUsername nvarchar(50) (suser_sname())
> IngDate datetime (getdate())
> IngPCName nvarchar(50) (host_name())
>
> So, I need to emulate this in order to make
> the migration transparent to the application.
>
>
> Thank you for any suggestions.
>
>
You could write a function in C or PL/Perl...
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Set your affection on things above, not on things on
the earth." Colossians 3:2
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-10-02 22:28:33 | Re: pg_restore fails - postgres 7.3.4 |
Previous Message | Rob Long | 2003-10-02 21:10:35 | Re: pg_restore fails - postgres 7.3.4 |