Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 4E23E86A549 for ; Wed, 18 Jan 2012 05:03:36 -0400 (AST) Received: from nm20-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.180]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RnRQc-0005YE-Sl for pgsql-sql@postgresql.org; Wed, 18 Jan 2012 09:03:35 +0000 Received: from [98.138.90.55] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:03:22 -0000 Received: from [98.138.89.234] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:03:22 -0000 Received: from [127.0.0.1] by omp1049.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:03:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 402670.5183.bm@omp1049.mail.ne1.yahoo.com Received: (qmail 51226 invoked by uid 60001); 18 Jan 2012 09:03:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1326877402; bh=5qZgqZ6lAYSJC8WGFK9sR97dq8s77K3s8pRcDIR6BSo=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=O2c5HooFNQu2KZuoC/WFWhDwFjKfHgQUvGFO5uG8dkLudiK4uewrrQkjQpbPXp2e3mfkZl68tfVgl4wSlDbiHO7nPmc7cOcfL0Yx/KVPU9i+D5Y7ZEjR1FXvR9hCENPfdPrsFKimv97BauWHDUDc6yfzmDV2Irt9HHvk+DTHFgw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=obVLRgCUzjqJFnQFRe0bF7W0J2/S9NM0Pj2Aqx1KQmVHxqPh4s/aeCaAdL9OO/gCBgq0hzeDYa7DqKCiUg3JSaUpRYk/Kq96Jlrjv00hYHcX/TzG0xgcCSXgKaH3KE+7L9DF0ecr0FDCTLvse8HAMpcwbgE0axvmxZ6Kgqqy2pA=; X-YMail-OSG: t1DKXjEVM1ltv9P75qZTPSkWnsKMbuu6Q5Y0SL88Y4x0kYI WRg6HQh4YTijjOfnb.DkDg9s8EpsjIj1fCu3F_0.YaSwue2nWrMT.SKCdbXM OP0FDjDtWb8EgAjZmfAoZ9IZ6nLc4ZvyQaw2bnxI3gUz3e6mlnVBtZhM3kFS tcEXHXfVZ7aHsrTO15jvB.f_J0gneFSjiJK_3a4l1fg0ciomvTaNcIwd7rll SnbIeHxTpkTehKxa70X7l9My6I5Llyxuy0Lfs7hs4hlNa4Co6MRaFTPwT2IF _fwg.EiRq08ZL15MxNQCd7tBwFj_jGidNLJSxegLMpdmfqTlVLuTCPslFcdQ OVMjkiUy41ywEzuXDJOQLEZQagQcxi9Um11Z_o_qdK0jr80Sa4aza3YgzDVs xK55.G_tYqRO7aL2QUyCfNo28OWcGYABd1_OJrtGg7CC7nw-- Received: from [180.178.172.138] by web121605.mail.ne1.yahoo.com via HTTP; Wed, 18 Jan 2012 01:03:22 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1326877402.34750.YahooMailNeo@web121605.mail.ne1.yahoo.com> Date: Wed, 18 Jan 2012 01:03:22 -0800 (PST) From: Rehan Saleem Reply-To: Rehan Saleem Subject: Postgresql Function To: "pgsql-sql@postgresql.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="2053635335-888544061-1326877402=:34750" X-Pg-Spam-Score: 0.8 (/) X-Archive-Number: 201201/81 X-Sequence-Number: 36252 --2053635335-888544061-1326877402=:34750 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hi=A0=0Ai want to create a function in postgresql that take input for colum= ns from user for example first_name , last_name, addres. and will put them = into table , and i also want to use exception if user enters wrong data. wi= ll some one help me how can i create thats function , because i am new to p= ostgresql . i know how to do it in MS-SQL , i also have that code .if you d= ont understand what am trying to say . i can post sql code .thanks=0AREHAN = SALEEM=A0 --2053635335-888544061-1326877402=:34750 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
hi 
= i want to create a function in postgresql that take input for columns from = user for example first_name , last_name, addres. and will put them into tab= le , and i also want to use exception if user enters wrong data. will some = one help me how can i create thats function , because i am new to postgresq= l . i know how to do it in MS-SQL , i also have that code .if you dont unde= rstand what am trying to say . i can post sql code .thanks
REHAN SALEEM 
--2053635335-888544061-1326877402=:34750--