Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q3nXg-0004GR-5D for pgsql-general@arkaria.postgresql.org; Tue, 30 May 2023 00:48:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q3nXe-0005HN-Rv for pgsql-general@arkaria.postgresql.org; Tue, 30 May 2023 00:48:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q3nXd-0005HD-7j for pgsql-general@lists.postgresql.org; Tue, 30 May 2023 00:48:50 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q3nXa-002c0B-2K for pgsql-general@lists.postgresql.org; Tue, 30 May 2023 00:48:48 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BF4B75C011D; Mon, 29 May 2023 20:48:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 29 May 2023 20:48:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1685407723; x=1685494123; bh=adL6Kb1Zd/J8MQwids8BtlfzsbDYJEKuVYW q9NrubpQ=; b=JdRF2GZY6yTxyxD18l5XlpQC3PlyZGoxw4aRqUfjtLK8ehDknBU E+l+1r4f/ut3UtO/AFaz8MkvyOFHGb5Crq815gEkZlk0OA86VwN2mix2lqN2i7yJ IXl2iUzr09Qhb9pGajJoNAPkOd9H8QV3ZmlsEaynBvJdwp41nIH0z2essfXZekFD 5NPxIprRhDuaWKhM5BHwwCUHqf0xilhp0jaoDQFItcnwm4niUNsduiaA2dVzQtn1 4fo0x9cVWt5BXorXed3SHl6ZtBPGcO1qwHOio1Hle8019BMTSe2VjRMPH3flNssV 3k1szFzaLNXwzVAkTzSQfyhAOxEigRPvCdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1685407723; x= 1685494123; bh=adL6Kb1Zd/J8MQwids8BtlfzsbDYJEKuVYWq9NrubpQ=; b=e 3Ul0YUOFniygloPcxiZVZcIdS9V6EyaK1UQ7VjcArC26a95nmwzEo8JhmdwlvRbf WGfh2jmhwfxqvARZzFV26WpurNsv21q/6hZ9QbmlA62oiktmIjOpu7V0sSLfxuIz GhV6CtfQrZCK8lzliya1lvpSZkKajXNgIYTiL8tgfrM8kX9i0tmZg8cxEFKVULyx ePnZCAfTPgWh0waQwEUaBHKTq7vKf3LPn5zSGxBI4AUslwttJrgEn5sbs4Jq4d7R KK2cTZ0lA3EEcF0FKeB7YCZ0Z9qM7r/0X2Nu4NxHKxJbe+gVXjiskng7LJtnXIvx d4Uf0Gb5dRkq0LJyB9bgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeekiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepvedvkeeihf duhffhtdekleegffduiefgteejgeffgffhteefleeludfgleelgeevnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 May 2023 20:48:43 -0400 (EDT) Message-ID: <7126099b-760d-e7f9-1e47-01c9d46cd112@aklaver.com> Date: Mon, 29 May 2023 17:48:42 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: Where I can find the achieve of the 'generate_series' ? Content-Language: en-US To: Wen Yi <896634148@qq.com>, pgsql-general References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/29/23 17:34, Wen Yi wrote: > Hi team, > I want to figure out the principle of the function 'generate_series', > but I don't know it contains in which source file.(I download the pgsql > 15.3 source code) > Can someone provide some advice? > Thanks in advance! > At ~src/ grep -r --include=*.c generate_series > Yours, > Wen Yi -- Adrian Klaver adrian.klaver@aklaver.com