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 1rqYgF-00D5V8-O0 for pgsql-general@arkaria.postgresql.org; Sat, 30 Mar 2024 13:23:32 +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 1rqYgE-008ZVs-JD for pgsql-general@arkaria.postgresql.org; Sat, 30 Mar 2024 13:23:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rqYgE-008ZVj-8V for pgsql-general@lists.postgresql.org; Sat, 30 Mar 2024 13:23:30 +0000 Received: from mail-oa1-x2f.google.com ([2001:4860:4864:20::2f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rqYgA-007GQ0-Di for pgsql-general@postgresql.org; Sat, 30 Mar 2024 13:23:28 +0000 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-2228c4c5ac3so1603829fac.0 for ; Sat, 30 Mar 2024 06:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711805006; x=1712409806; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=FKCl13uwXCNxwHfmuJwurbxzJgj7oZ2op3iw+xHofno=; b=nqhyBl6fqz36ZPu4GgJJyhoBD2DavnDChFG5j6IBZQXWbAkzDZj+e+IcOO3zw0CEA/ xQx4s2ju3ELZGmoJV1oWUQQlSlk1EjU+WLmo9AZZegA6HFYUplR7lfnPblXU04DsMO24 0VLZB8uqN9KE8zXQHnBrFwh/tKvvL9jagCMFFxWpU2u8xQaRz3LXb21PeeVxqMi/TPTQ oANJTbHLyluiZxLNp7Dch8ZAlKWdQqRqlihxnkv6Rkx7d4FiIrd9dLGffQlPKUcKXL9+ AVUMVloq6eZdceq4sAKjs7zzF4us/14l1JVnUfBSUqb98/D0evoni/ohX8L9rXiDCuG9 eK7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711805006; x=1712409806; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FKCl13uwXCNxwHfmuJwurbxzJgj7oZ2op3iw+xHofno=; b=QGsZ43nNFsomAFJseQgLsVJNn1yLuWo1Q8xdpegVpauHq3zOzH86iN5SEhArDoVVWd WRo695EczDYlEXxZw47oQm2nxoBJpKzFdUCnRiaDy4EmYzNQ63z8LmpbDHfpSi5rEbH9 pYclP6CSTybWhbeE+a5X9ahNFYsWSa5mLUd7Lpg+TCnkhHuvNYdH/QscELjYHpivBsyZ xu9KVWEytVfEztYZ7W2lB70HRgFItAc8M+NfkxAQzk/eg0RJeM+16IBgE5s6kClghVru Rnsxsef0kRZJGLu9Mq6rTH1g65MAbLFlrXUcZMUraVkVip0rAkSPYRyWuBRdzIeIcXbX RHQQ== X-Gm-Message-State: AOJu0Yztg5ubQMid7l0SeRIhcccv5htNOC5QJv9vMvy646zYjFfy3gay 1UHYnF0EiqylD0LLlTzDm83Bmvle7/eIMb579fKE9TtYY233menSsal/98GGQoi9TDkD4zfqbx7 49hlOnIziL1OZlkIfnsF9X7J8DkEiYnnG X-Google-Smtp-Source: AGHT+IHcpErcA7B/fyGP/iTav2AnFgidM7ufdCGWoVj8XOaXU0/5kzpY5vnsMfAIEBHighlbDSgIXvz/6dGbs1i9R7w= X-Received: by 2002:a05:6870:2009:b0:22a:6d7f:6171 with SMTP id o9-20020a056870200900b0022a6d7f6171mr5502435oab.36.1711805006371; Sat, 30 Mar 2024 06:23:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Sat, 30 Mar 2024 09:23:15 -0400 Message-ID: Subject: Re: how to check if the license is expired. To: pgsql-general Content-Type: multipart/alternative; boundary="00000000000054737f0614e0a96b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000054737f0614e0a96b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 30, 2024 at 9:15=E2=80=AFAM =E9=BB=84=E5=AE=81 wrote: > I want to develop a postgresql paid extension, then there is a local > license file, how do I check if the license file is expired, check it onc= e > at each api execution, will that affect the performance of the api, is > there any other way? > What you're really asking is "how do I read a file from an extension?". --00000000000054737f0614e0a96b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Mar 30, 2024 at 9:15=E2=80=AFAM = =E9=BB=84=E5=AE=81 <huangning= 0722@gmail.com> wrote:
I want to develop= a postgresql paid extension, then there is a local license file, how do I = check if the license file is expired, check it once at each api execution, = will that affect the performance of the api, is there any other way?

What you're really asking is "= how do I read a file from an extension?".
=C2=A0
=
--00000000000054737f0614e0a96b--