Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 1529C86A54A for ; Wed, 18 Jan 2012 05:10:58 -0400 (AST) Received: from nm5-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.135]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RnRXk-0004TQ-PG for pgsql-sql@postgresql.org; Wed, 18 Jan 2012 09:10:58 +0000 Received: from [98.138.90.57] by nm5.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:10:42 -0000 Received: from [98.138.89.164] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:10:42 -0000 Received: from [127.0.0.1] by omp1020.mail.ne1.yahoo.com with NNFMP; 18 Jan 2012 09:10:42 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 579043.75912.bm@omp1020.mail.ne1.yahoo.com Received: (qmail 18738 invoked by uid 60001); 18 Jan 2012 09:10:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1326877842; bh=Ks6fhpjF7G1rLmfibc+OCjG/EldBVH7n0gVlnSUqVe8=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=aQOOvUy1PUI5aMgsO1bW1e11Ex6SVuDQzMRBLPpqTdVlDP5V//EaPE2tsPfKRQtb9vLz+Hw7oZdHSxw/OraVdvZyMBeP4zUqZxdgvppR1g7Nui46KF+DN0rpbsHJbd+xZZ6l8HXqfiu53akMSaizQosKFTbFaewwtf4aVnvJncQ= 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=uyGct1m9jztYX9/w1fWX6iMW4BAIdGqgwiAIJ3pm0LDESedk48z1pSWuJaiIf7MDRs/qf9FXJMiAk1o1BfaaDmIa6uKyEQvExsVfAS20v2+ULj0NqQ4ubCqomke5RRhG3ZbU1AdG5E05ScXNfdZv2KFFisp82RigGplBRmDEKxM=; X-YMail-OSG: MjNnTXwVM1mU5GixWny5pZccCC3Qm7WxFo3WJ3HuQn3cAJH xQbTg0A5CIEjwcPrPDOtonaaodeHh7edMI.ybqNVbWGY1gtR6aAvZ4C5A32G 3DH2ZHQKSCcubkeWfoNOfzraeoewKWbu4R4wpWR8NwQ.rQkaSvZe1fgwTTzv 1Bu6ia5PuO3CKA9fnrbm73u3xA6Fbx4qME8KX55ldn.alpfML.AaOL36dEeL uA539ZhAV8cgbr4D8VypDLM8IE8NzcA4YY4CIdEXb3tR4qzQ1BELrqqDHF6n O6CeaqhFdvOW8DkeGAD0ZwTRrV42XgkEtbqvKUt4j3qSbCXMQPrpWWjuAwN4 6bV6GHehVEPaKppu2FbxQwgoYAuvNErJnYk3B_9tpaoTFJDw88KQC7WmSELR bJGrE5tRnPUWI_QVXqvcZV7hipJWQHPZvDmH27ApC_8bjhWLAsAH5NMLThy3 L_oLGgctkg_YfO51eECGk1VEb5Rjfqmj.9oLspLTASL7Nu4R9.g-- Received: from [180.178.172.138] by web121606.mail.ne1.yahoo.com via HTTP; Wed, 18 Jan 2012 01:10:42 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1326877842.18699.YahooMailNeo@web121606.mail.ne1.yahoo.com> Date: Wed, 18 Jan 2012 01:10:42 -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="1458340343-1666219641-1326877842=:18699" X-Pg-Spam-Score: 0.7 (/) X-Archive-Number: 201201/82 X-Sequence-Number: 36253 --1458340343-1666219641-1326877842=:18699 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=A0post=A0sql code .thanks =0A --1458340343-1666219641-1326877842=:18699 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
<= /div>

--1458340343-1666219641-1326877842=:18699--