Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMElS-0003PN-83 for pgsql-docs@arkaria.postgresql.org; Sat, 17 Jun 2017 14:31:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dMElR-0000Ru-R7 for pgsql-docs@arkaria.postgresql.org; Sat, 17 Jun 2017 14:31:49 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dMEl4-0008DL-Sd for pgsql-docs@postgresql.org; Sat, 17 Jun 2017 14:31:26 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dMEl2-0001xK-EB for pgsql-docs@postgresql.org; Sat, 17 Jun 2017 14:31:26 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 08B6F209AF; Sat, 17 Jun 2017 10:31:23 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Sat, 17 Jun 2017 10:31:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=VLw2cBOUYSILraCKSLo5MBHS6Fss7PXNwKNF7YUJWx0=; b=YyZtjXci b48BBIJN86ifzETJldDnYt9ylsjS+cZFoaf3tX1sILFqlXZuxSymbudP5bihAMMX UCcMccyw9HNwYV3r7h4E4bX4B+7SJOyhabZc3L+XpnBn7NMTw8a+Zafhw+fSUXpc 5An0tdaqAOYRuDM+vP2+BZUcU1sVCCNKSIOP7nQN+rsaGVK5KoLLgQeVeEH0aRPW NLEro4TnAtOYT1D8h7L8JADPryE0cmjzsI2Zteet/Y4wVplUtpASAn5vYt6uQzFT x+6w5IWBPgyyrGb0/L6xNkKos9zPUVbcukHB9de6mPGQmWu+D32KYPoHhJ/FdeNU 7MMRrTCaYti4Aw== X-ME-Sender: X-Sasl-enc: eKQ6s8bUScDSJOkjbe5VKwMgYbya/zU4Gl3I5+ALTGmb 1497709882 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id BB8F524998; Sat, 17 Jun 2017 10:31:22 -0400 (EDT) Subject: Re: store procedure To: manish.kumar@tamarindservices.com, pgsql-docs@postgresql.org References: <20170616085258.1423.49867@wrigleys.postgresql.org> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Sat, 17 Jun 2017 10:31:28 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170616085258.1423.49867@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 6/16/17 04:52, manish.kumar@tamarindservices.com wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.6/static/plpgsql.html > Description: > > hello ,I am new to the postgreSql , so i just want to know is it possible to > write a store procedure in postgresql such as mysql. if yes then how .please > suggest me with better answer. PostgreSQL does not have CREATE PROCEDURE, only CREATE FUNCTION. However, there might be other differences if you are coming from a different system. This is not the right mailing list for this question. See pgsql-general or pgsql-novice please. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs