From: | hitesh ramani <hiteshramani(at)hotmail(dot)com> |
---|---|
To: | Reza Harasani <rharasani(at)gmail(dot)com>, "pgsql-students(at)postgresql(dot)org" <pgsql-students(at)postgresql(dot)org>, "hitesh(dot)ramani(at)hotmail(dot)com" <hitesh(dot)ramani(at)hotmail(dot)com> |
Subject: | Re: Hi Mr.Ramani |
Date: | 2015-02-24 08:41:27 |
Message-ID: | BAY176-W2754F122C77697172F8397DC160@phx.gbl |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-students |
Hello Reza,
You can start debugging and studying how exactly the CREATE TABLE works using gdb. After starting your server and client, fetch the pid of backend processes by entering "select pg_backend_pid();" query. This will give you the backend pid. Attach this pid to your gdb and create a breakpoint at raw_parser, 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 progress.
--Hitesh
Date: Mon, 23 Feb 2015 23:24:49 +0330
Subject: [pgsql-students] Hi Mr.Ramani
From: rharasani(at)gmail(dot)com
To: pgsql-students(at)postgresql(dot)org; hitesh(dot)ramani(at)hotmail(dot)com
Hello Mr.RamaniThanks for your response, Can you help me?I want to add some functions into PostgreSQL codes for this purpose : -
For first step, I want to add a column automatically, that means when a
user use CREATE TABLE code for creating tables, without his/her know
about added column, a column add in the created table and calculate
hash that row ... I want to add a column without knowing user that used it, automatically ...
- for second step, I want to know that columns that the unauthorized
user changed it. In fact, i want to recognize changed rows that
unauthorized users modified them, without the user know about existence
of added columns that calculate hash of every rows ...Can
you help me about this work? Can you tell me what should i do for this
work and where should i change PostgreSQL Codes for this purpose? Which
Class or every things ???Thanks Mr.Ramani ...
From | Date | Subject | |
---|---|---|---|
Next Message | Thom Brown | 2015-03-03 11:16:32 | Re: GSOC 2015: Student Introduction |
Previous Message | Reza Harasani | 2015-02-23 19:54:49 | Hi Mr.Ramani |