Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXppp-00077T-0c for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2019 16:29:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXppn-0008Uu-98 for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2019 16:29:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXppn-0008Un-0z for pgsql-bugs@lists.postgresql.org; Mon, 03 Jun 2019 16:29:19 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXppk-00054d-HG for pgsql-bugs@postgresql.org; Mon, 03 Jun 2019 16:29:18 +0000 Received: by mail-wr1-x42f.google.com with SMTP id o12so5644948wrj.9 for ; Mon, 03 Jun 2019 09:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yfa+DEAblydyziW2v5ifvx7floHVciAwRg5ugyIFCxw=; b=nnwXWRH9mhNah1eD2a1leNDy16GxLG/peyapPQYXoz+W214tvHvSg/+746vW5+YJFB dR9iF9FmeIkKoXKf+N+lllVaY82qSFkf1D8AXse9OomtGNetkVHK1NIA4NliY2u/D7oI bjAQzEUqWSEaUdiiYoxWPR04JpU1N1AIFtoonfB8MuRuWyJVaEEoGqjb+8WGPWAjhZ/y +Wq49aocyZnIdL8b0HvOtcTpEtRlX4T5B5/+VvYIDtKDo2q4ccb3rCvXNMeO/geao7S6 99/TiGukZ8dM6qTHJfsYoMfxGEGIwMWK5NYrwFnkFtYgzsl3Gv0Cl9a44CskJkgMH+mi HfEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yfa+DEAblydyziW2v5ifvx7floHVciAwRg5ugyIFCxw=; b=mP1gpmKLgo8Pum7QwBSh4yo79eZj8uV10o4QOv8b3fSEy2+ffJwJ5RNyZlyVujlHPM QmgMcNv8EXV+ST7/eDNRFZIg+1Rxx16bMxyTFAffEZsnFS9JciDo9OsEQmZA+w2NdOup k8tA/L8HT0q9p2pRJa2XeuFtRrXf5pIWFoLzp4FXAm+jnb9p603Nwwyy7Mm6H72nYe80 uVJnXUYH6kdW0lFjxbFTzcy/MrLPKzsYAnmhB3SshMDTGRq9VcRzSt+WV9LyKRpzMvpV f9LgBrgWkv1o1y6jVCUR92OJ/2aJ40HJvNphRVdKLDB+iOanXX2Do+K/cSfTiKaA9TGe AVAw== X-Gm-Message-State: APjAAAWYZaSHLnbQmS27jGIXMTtMaGE+ViIWa6xqsEUmbPErdgI3VkjM ZWcO8egZxnqXl2M0DqrjIhS7dnagr88VsqxG1h4= X-Google-Smtp-Source: APXvYqys5UWCZuqy66sIWaVr9DrpAKmiXD1xGvUU6pppgoj21eD/DG33akLJX0vGFKZF25LuAN/XdwnVNChLngDFrFU= X-Received: by 2002:adf:e2c8:: with SMTP id d8mr3061976wrj.14.1559579355490; Mon, 03 Jun 2019 09:29:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= Date: Mon, 3 Jun 2019 18:29:00 +0200 Message-ID: Subject: Re: ste application name for psql command line query To: Ahmed MARFOUK Cc: pgsql-bugs@postgresql.org Content-Type: multipart/alternative; boundary="0000000000007baf0d058a6ddd97" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000007baf0d058a6ddd97 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 3, 2019 at 6:05 PM Ahmed MARFOUK wrote: > > Is there a way to set application name to querey with psql command line. > > You can customize the psql prompt: https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-PROMPTING The pgsql-admin list is a better fit for questions like this, so please move the thread there if you need any further assistance. Regards, Juan Jos=C3=A9 Santamar=C3=ADa Flecha --0000000000007baf0d058a6ddd97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Mon, Jun 3, 2019 at 6:05 PM Ahmed MARFOUK <marfouk.inforisk= @gmail.com> wrote:
<= div>
Is there a way to set application name to querey with ps= ql command line.

=C2=A0
You can customize the psql prompt:

=

The pgsql-admin list is a better fit fo= r questions like this, so please move the thread there if you need any furt= her=C2=A0assistance.

Regards,

Juan Jos=C3=A9 Santamar=C3=ADa = Flecha
--0000000000007baf0d058a6ddd97--