Re: Current Computer Name

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Current Computer Name
Дата
Msg-id 1065131697.4453.9.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Current Computer Name  ("Marvin Gonzalez" <magosoft@gmx.net>)
Список 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.Elphick@lfix.co.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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Question about DB VACUUM
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore fails - postgres 7.3.4