Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rltb0-004mDV-36 for pgadmin-hackers@arkaria.postgresql.org; Sun, 17 Mar 2024 16:42:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rltax-00Bgcp-GQ for pgadmin-hackers@arkaria.postgresql.org; Sun, 17 Mar 2024 16:42:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rltax-00Bgch-9B for pgadmin-hackers@lists.postgresql.org; Sun, 17 Mar 2024 16:42:47 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rltav-0052cp-8h for pgadmin-hackers@postgresql.org; Sun, 17 Mar 2024 16:42:47 +0000 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5684073ab38so6862740a12.0 for ; Sun, 17 Mar 2024 09:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710693764; x=1711298564; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AknW20J0YgcVUl7hrH4nIBM4utZxcltFr/f/1C4OQHQ=; b=hKlrQm/YQE5kX2/S7gMsr8lpWSbot8Xfczq2u7Cx6SA9TDWADPoblYxij48PKS/bcc xCMth2TG34ZJOJvPHMkFFhUO0ojSWb8VxNQXycdtwuwudFVcuE/O7RfomvHLwsE1j84r UFy7ATK2tSqEo2Ya9hPCMmf3oaEbv9//p07fEVf7WGtMhIo8dGiIwR4CoZ6vu+7Y1Tu+ Uo5NPJHrUGMR/B9Q13i1hRP5vlb6286HNcDEoHkXZ5zNtPpgSORzvWNAC2QoFLFgdv27 l067nUN7C7ZikZQYOlX1nBa9NRA9PkbotNH9fe7zQ9gaq5CAwbnT4ZPjyCjCSr7yrstC h4Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710693764; x=1711298564; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AknW20J0YgcVUl7hrH4nIBM4utZxcltFr/f/1C4OQHQ=; b=tPAAJ6qZVPHeXZfX/sksLWqXryITEDgnpsAZ0K5/aShZV8W5Ew6cwz4nV2HEwmGzJt BF7ztjnrG337jMnaplwFcNBj0jYjXlFpDhAhwYwtpjuTDBr/4XTNxso1LG2qqeP//Vao PSYSOmF5dBHgN1+yfqIH2N2nHAXzj5n4CDLI85qL4pxEF2lX8NbDG1eRryZx5zS7kUQV +yZVvGn/44pceyjydxaMKVam980srHJsWesf5dSz8HHYuW3jK8TKyTbDMUIjfJ4w3+p9 DFnnLyy2nVcWnXC0Zv7eHmAqEN5VkTBLyoMUNcAWlTw33DkJayMOOFXyLDvza7L2UQsA dCkQ== X-Gm-Message-State: AOJu0YzIFcREdhPkfRBKBrwkkptSllndlODd9GWPlDmTlxmt9JIwGn1w zEhv+XByqvhT1YGI+7YnBIK3smEauKBe4QrmCfzMi/cFZZNMYBim7asRLOuxVlb+zLpEDiSbzoy /pqCnvIg40DIDXHSbF0sK3Wm/QmJ0wqQV X-Google-Smtp-Source: AGHT+IHWYUqdXFfQOx/ZNVOBAV6PWumnnSw0HpKx0PtR8iKcIYc+iW/f8aaUjGfgDDdQowNZJ5eqUhaPE4Zj1nCXtDs= X-Received: by 2002:a50:9e0f:0:b0:566:624a:9e3f with SMTP id z15-20020a509e0f000000b00566624a9e3fmr12152633ede.3.1710693763990; Sun, 17 Mar 2024 09:42:43 -0700 (PDT) MIME-Version: 1.0 From: Christopher Maurer Date: Sun, 17 Mar 2024 12:42:33 -0400 Message-ID: Subject: Enhancement Request - Query Tool - Run non-contiguous highlighted code To: pgadmin-hackers@postgresql.org Content-Type: multipart/alternative; boundary="0000000000001f4afd0613ddeebb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001f4afd0613ddeebb Content-Type: text/plain; charset="UTF-8" PGADMIN4's Query Tool will run only the highlighted SQL when a section of the SQL window is highlighted. In the Windows operating system, this same window allows the highlighting of non-contiguous areas using ctrl-click&drag on the mouse, but executing such multi-region highlighted code fails because only the bottom-most highlighted region is executed. Note that this could be VERY useful when you have coded a CTE (common table expression), as this code is at the top of the SQL and its utilization may occur significantly below its definition. --0000000000001f4afd0613ddeebb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
PGADMIN4's Query Tool will run only the highlighted SQ= L when a section of the SQL window is highlighted.=C2=A0 In the Windows ope= rating system, this same window allows the highlighting of non-contiguous a= reas using ctrl-click&drag=C2=A0on the mouse, but executing such multi-= region highlighted code fails because only the bottom-most highlighted regi= on is executed.

Note that this could be VERY useful when= you have coded a CTE (common table expression), as this code is at the top= of the SQL and its=C2=A0utilization may occur significantly below its defi= nition.
--0000000000001f4afd0613ddeebb--