[HACKERS] use of pg_stat_database

2009-06-30 Thread abdelhak benmohamed
Hellow,
 
I like to track the number of committed transaction for my database
So I use the following command 
Select * from pg_stat_database;
 
The column xact_commit gives me the number of transaction committed
 
But if I execute the same command another time, the column xact_commit gives me 
an other number.
 
Between the first select and the second select I don’t execute any transaction 
on my database
 
Please, can any one help me to understanding the cause of the change?
 
Thanks very much 


  

[HACKERS] where EXEC_BACKEND?

2009-05-16 Thread abdelhak benmohamed
hi,

actually i try to execute postgres step by step (on paper)
i don't retreive where EXEC_BACKEND is initialized
can any one help me?
it is very important for me

thanks



  

[HACKERS] postgres and postmaster

2009-05-09 Thread abdelhak benmohamed
thanks very much
specialy for Peter
Eisentraut




  

[HACKERS] hellow Postmaster and Postgres

2009-05-04 Thread abdelhak benmohamed
hi
please I want to understands 
what is the tie between Postgres.c and Postmaster.c
thanks
 


  

[HACKERS] how to attach shared memory?

2009-04-27 Thread abdelhak benmohamed
hi,
I want to attach to acced the shared memory
 therefore I must attaches oneself it 
but how do?
 
thanks


  

[HACKERS] about hacking postgresql

2009-04-05 Thread abdelhak benmohamed
hello, 
here more of details
I have a set of transaction.  Naturally, the transactions execute themselves in 
competition.  But I would want to give to every transaction a priority. Thus 
the transaction more priority must execute itself in first.  
 
I thought, as first step, to change the transaction syntax as follows 
Start transaction (priority) 
 
But I do not know where to do exactly the change in gram.y 
for I have to try to change in TransactionStmt, but I always receive the 
message syntax error at now near (
 
thanks you a lot
 


  

[HACKERS] About hacking postgresql

2009-04-05 Thread abdelhak benmohamed
Hellow, 
 
I want to be more precis
I want to change the syntax as follows
Start Transaction (priority)
 
I have 03 transactions
I want to give to every transaction à priority
 
Example
Transaction 1
Start transaction (03) 
.
Commit
 
Transaction 2
Start transaction (04) 
………
Commit
 
Transaction 1
Start transaction (01) 
..
Commit
 
(the transaction with the higth priority must execute first)
 
How to express this in gram.y? Is change in gram.y sufficient?
 
Thanks a lot


  

[HACKERS] about hacking postgresql

2009-04-05 Thread abdelhak benmohamed
Hellow, 
  
I want to be more precis 
I want to change the syntax as follows 
Start Transaction (priority) 
  
I have 03 transactions 
I want to give to every transaction à priority 
  
Example 
Transaction 1 
Start transaction (03) 
. 
Commit 
  
Transaction 2 
Start transaction (04) 
……… 
Commit 
  
Transaction 1 
Start transaction (01) 
.. 
Commit 
  
(the transaction with the higth priority must execute first) 
  
How to express this in gram.y? Is change in gram.y sufficient? 
  
Thanks a lot


  

[HACKERS] about hacking postgresql

2009-04-02 Thread abdelhak benmohamed
Hello, 
  
I am learning how to hack PostgreSQL, but it is still so difficult in fact, I 
am a novice! 
  
I am trying to change syntax of postgresql (for my project). I access to 
gram.y, I add the changes but I still receive message error (syntax error at 
near …). 
  
Is that only change to do or are their other steps to accomplish? 
  
I need your help 
  
It is very important for me to have your advices, help. 
  
Thanks very much. Friendly