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.92) (envelope-from ) id 1jH5kK-0004AL-Bk for pgsql-general@arkaria.postgresql.org; Wed, 25 Mar 2020 13:07:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jH5kJ-0003fq-4u for pgsql-general@arkaria.postgresql.org; Wed, 25 Mar 2020 13:06:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jH5kI-0003fi-OG for pgsql-general@lists.postgresql.org; Wed, 25 Mar 2020 13:06:58 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jH5kG-0007QB-Ii for pgsql-general@postgresql.org; Wed, 25 Mar 2020 13:06:57 +0000 Received: by mail-lf1-x12d.google.com with SMTP id j17so1698892lfe.7 for ; Wed, 25 Mar 2020 06:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zunibal-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ny6Vk1TDQWj34EFxBeKhOSbT7QOv57Cn41F5zYfRFe8=; b=NaypfINU2m29unY+OC9LFJm7tEGhAnY3kZUK8bes1mIpVncUEGFNnLjU8TJJ95Z0JM nI3S7/crgkDLVR5/I0Yrixecf2OQpughhpkHF4il9EJGSWPqBz6Xb7IX8UGMQfEIEcpX /YX4mMAAyEaiPDtHFsO4M93aWpWUriG3UAsDC1xIeh8Y2rCyJlFGXYZkz4mqsIfN6MYS 8YBresIclL58+ddvzzIxMpNCX1BopH/YbZSqGrdVwSNj1wh+ew8ELymWP+/oeE1x282O hz1TBZzWNXfYGnit/MyWjhe89J52YyEAUBSmGci2t+BFY3ME9OZC53YWHyvtX1uVOTbr C4xA== 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=Ny6Vk1TDQWj34EFxBeKhOSbT7QOv57Cn41F5zYfRFe8=; b=oSbKyZBTQzenFY8Nx+nGZVpfMdcPKWXS82Ro2zs2ISJMOC5fbNpG0X5sqxGZ1RSmam Y8Ik7g8CJrRIVmrAS/nzCwqdtEXNsS/4ZMaRvhhk4V9jn+CuAkN4ORLHJIvnXI1dSBr1 zMBAJv52x9omccCZjlE0CfWg6Dlug37oz9ZDo1vRsDH02rEPIvWAsJx2Yf8KLcLNW4LD 8DxJWhwirjxZqeKZAHTBHHxYuFR1xS0QxGYr/e6M07xIZrcvpzTHmvqEyUxJOv8edr5B KFLkdPFwg+6AVc8RC+tcdkClsQ/mEyOFFLP8y5MUo3yNh42ZjJvSUL+/FvbdgUN01Gn+ wkCg== X-Gm-Message-State: ANhLgQ3niLXTiiHXkL1MfR7kuh7nMxTgXZmcPPwiouX/ERFOP4A6DQpR l1/RpTf067ON0ZoByY2rZ1gGX84aPoZvukCRC30zBBZs X-Google-Smtp-Source: ADFU+vtyqDvFDLiuMkmSLLINZkGGOogulDANQsqr9mq2OAUDbJIR88JcLFV97aIBwWvdg6eljel1JgBk52Jq/qzKnps= X-Received: by 2002:ac2:4833:: with SMTP id 19mr2265061lft.185.1585141615116; Wed, 25 Mar 2020 06:06:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ekaterina Amez Date: Wed, 25 Mar 2020 14:06:43 +0100 Message-ID: Subject: Re: How to plpgsql scripting To: "David G. Johnston" Cc: pgsql-general Content-Type: multipart/alternative; boundary="000000000000e36fbc05a1ad8a70" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000e36fbc05a1ad8a70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mi=C3=A9., 25 mar. 2020 a las 13:54, David G. Johnston (< david.g.johnston@gmail.com>) escribi=C3=B3: > On Wednesday, March 25, 2020, Ekaterina Amez > wrote: >> >> What's wrong with the syntax? Or is not possible to make a script and I >> have to create a function to encapsulate my code? >> > This not working exactly the reason the =E2=80=9CDO=E2=80=9D command was = created..... > Thank you David, I was beginning to suppose this. > David J. > --000000000000e36fbc05a1ad8a70 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

El mi=C3=A9., 25 mar. 2020 a las 13:54, D= avid G. Johnston (<david.g= .johnston@gmail.com>) escribi=C3=B3:
On Wednesday, March 25, 2020, Ekaterina Amez &l= t;ekaterina= .amez@zunibal.com> wrote:

What's wrong with the syntax? Or is not possible to make a scrip= t and I have to create a function to encapsulate my code?

This not working exactly the reason the =E2=80=9CDO=E2=80=9D = command was created.....=C2=A0

Th= ank you David, I was beginning to suppose this.


= David J.
--000000000000e36fbc05a1ad8a70--