Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQB3e-0004Ra-5K for pgsql-students@arkaria.postgresql.org; Tue, 24 Feb 2015 08:41:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQB3c-0007Xe-Tz for pgsql-students@arkaria.postgresql.org; Tue, 24 Feb 2015 08:41:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQB3c-0007XW-1B for pgsql-students@postgresql.org; Tue, 24 Feb 2015 08:41:32 +0000 Received: from bay004-omc4s5.hotmail.com ([65.54.190.207]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQB3Y-0007Zy-Kx for pgsql-students@postgresql.org; Tue, 24 Feb 2015 08:41:30 +0000 Received: from BAY176-W27 ([65.54.190.201]) by BAY004-OMC4S5.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 24 Feb 2015 00:41:27 -0800 X-TMN: [sQSEYD0u5N8UFAXwEBmU92ofq3gu+gfP] X-Originating-Email: [hiteshramani@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_efbf6143-f706-4267-82ff-a3f40a70b009_" From: hitesh ramani To: Reza Harasani , "pgsql-students@postgresql.org" , "hitesh.ramani@hotmail.com" Subject: Re: Hi Mr.Ramani Date: Tue, 24 Feb 2015 14:11:27 +0530 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 24 Feb 2015 08:41:27.0383 (UTC) FILETIME=[ADC3C670:01D0500D] X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-students Precedence: bulk Sender: pgsql-students-owner@postgresql.org --_efbf6143-f706-4267-82ff-a3f40a70b009_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Reza=2C You can start debugging and studying how exactly the CREATE TABLE works usi= ng gdb. After starting your server and client=2C fetch the pid of backend p= rocesses by entering "select pg_backend_pid()=3B" query. This will give you= the backend pid. Attach this pid to your gdb and create a breakpoint at ra= w_parser=2C this is where all the query processing starts. Study the processing code of CREATE TABLE query and edit according to your = needs in the binary package which you can later compile and check the progr= ess. --Hitesh Date: Mon=2C 23 Feb 2015 23:24:49 +0330 Subject: [pgsql-students] Hi Mr.Ramani From: rharasani@gmail.com To: pgsql-students@postgresql.org=3B hitesh.ramani@hotmail.com Hello Mr.RamaniThanks for your response=2C Can you help me?I want to add so= me functions into PostgreSQL codes for this purpose : -=0A= For first step=2C I want to add a column automatically=2C that means when = a=0A= user use CREATE TABLE code for creating tables=2C without his/her know =0A= about added column=2C a column add in the created table and calculate =0A= hash that row ... I want to add a column without knowing user th= at used it=2C automatically ... =0A= - for second step=2C I want to know that columns that the unauthorized =0A= user changed it. In fact=2C i want to recognize changed rows that =0A= unauthorized users modified them=2C without the user know about existence = =0A= of added columns that calculate hash of every rows ...Can=0A= you help me about this work? Can you tell me what should i do for this =0A= work and where should i change PostgreSQL Codes for this purpose? Which =0A= Class or every things ???Thanks Mr.Ramani ... = --_efbf6143-f706-4267-82ff-a3f40a70b009_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Reza=2C

You can start debugging and studying how exactly the CREATE TABLE works us= ing gdb. After starting your server and client=2C fetch the pid of backend = processes by entering "select pg_backend_pid()=3B" query. This will give yo= u the backend pid. Attach this pid to your gdb and create a breakpoint at r= aw_parser=2C this is where all the query processing starts.

<= /div>
Study the processing code of CREATE TABLE query and edit accordin= g to your needs in the binary package which you can later compile and check= the progress.

--Hitesh


Date: Mon=2C 23 Feb 2015 23:24:49 +0330
Subject: [pgsq= l-students] Hi Mr.Ramani
From: rharasani@gmail.com
To: pgsql-students= @postgresql.org=3B hitesh.ramani@hotmail.com


<= span id=3D"ecxyui_3_16_0_1_1424718902522_16990">Hello Mr.Ramani
Th= anks for your response=2C Can you help me?
I want to add some functions i= nto PostgreSQL codes for this purpose :
 =3B =3B =3B =3B-= =0A= For first step=2C I want to add a column automatically=2C that means when = a=0A= user use CREATE TABLE code for creating tables=2C without his/her know =0A= about added column=2C =3B a column add in the created table and calcula= te =0A= hash that row ...
 =3B =3B =3B =3B =3B =3B = =3B =3B =3B =3B =3B I want to add a column without knowing = user that used it=2C automatically ...
 =3B =3B =3B=0A= - for second step=2C I want to know that columns that the unauthorized =0A= user changed it. In fact=2C i want to recognize changed rows that =0A= unauthorized users modified them=2C without the user know about existence = =0A= of added columns that calculate hash of every rows ...

Can=0A= you help me about this work? Can you tell me what should i do for this =0A= work and where should i change PostgreSQL Codes for this purpose? Which =0A= Class or every things ???

Thanks Mr.Ramani ...<= br>
= --_efbf6143-f706-4267-82ff-a3f40a70b009_--