[HACKERS] strange warning sign relating to storage manager

2013-04-27 Thread Will Childs-Klein
anything. My guess is that the system creates template1 and writes it to disk, but an issue occurs on reading it back out (or it was written badly, but no error was thrown). Can anyone help give me some insight into what is happening here and why I'm getting these weird errors? Sincerely, Will Childs-Klein

[HACKERS] question about postgres storage management

2013-04-19 Thread Will Childs-Klein
g through the source code, in src/backend/storage specifically. I'm thinking something in smgr is where i want to make my de/compress calls. Specifically in src/backend/storage/smgr/md.c in the functions mdwrite(...) and mdread(...). Am I in the right place? If not where should I look? Sincerely, Will Childs-Klein