Re: host name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Στις Δευτέρα 26 Φεβρουάριος 2007 18:20, ο/η Igor Neyman έγραψε:
> And one more question.
> Is there a way (function/view) to find machine name on which user
> program (connected to Postgres) runs?

You could write a stored procedure
in plsh which simply returns the result of /bin/hostname


>
> Igor
>
> ________________________________
>
> From: pgsql-admin-owner@xxxxxxxxxxxxxx
> [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx] On Behalf Of Igor Neyman
> Sent: Monday, February 26, 2007 10:29 AM
> To: pgsql-admin@xxxxxxxxxxxxxx
> Subject: [ADMIN] host name?
>
>
> Is there a function (or catalog view) that I can call in psql and that
> will tell me host name of the machine on which Postgres database is
> running?
>
> Igor

-- 
Achilleas Mantzios


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux