[HACKERS] ProcessUtilityHook DropStmt RenameStmt

2014-08-11 Thread geohas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I try to catch a DropStmt and convert it to a Rename Stmt, like petere's pg_trashcan, but i don't like to create new schema. I only like to rename the table in case of a drop table query. Is this possible with something like: ProcessUtility (Nod

Re: [HACKERS] How to use Makefile - pgxs without gcc -O2 ?

2014-07-08 Thread geohas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you Tom! make CFLAGS=-O0 was it. now gdb doesn't print . regards On 08/07/14 17:45, Tom Lane wrote: > geohas writes: >> is there any hint to tell pgxs to compile with gcc -O0 (CFLAGS) ? > > I tend to use >

[HACKERS] How to use Makefile - pgxs without gcc -O2 ?

2014-07-08 Thread geohas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, is there any hint to tell pgxs to compile with gcc -O0 (CFLAGS) ? regards geohas -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTvA4AAAoJEJFGMlQe7wR

[HACKERS] Does changing attribute order breaks something?

2014-06-30 Thread geohas
o' and attrelid = 18328; UPDATE 1 Does something break or are there any other ideas to change the order of columns? regard geohas -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTsZJMAAoJEJFGMlQe7wR/WL4H/32L

Re: [HACKERS] Hooks Docu - list of hooks

2014-06-24 Thread geohas
of a drop statement it should rename the table in the shadow schema XXX-droped-Date. Now i am trying to catch the planned Stmts, ... It should work without triggers - because the shadow schema should only be visible for user postgres. regards geohas > > > -- Abhijit >

[HACKERS] Hooks Docu - list of hooks

2014-06-24 Thread geohas
simple search in the archive showd no results. regards geohas PS: I've an excuse for my bad english - i'am austrian ;) -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTqVetAAoJEJFGMlQe7wR/ae0H/Rkt0G5d6kspgW