Re: [BUGS] BUG #5798: Some weird error with pl/pgsql procedure

2011-02-19 Thread Maxim Boguk
Hi all and Hi Robert I finally managed create working slave server with non-stripped Postgresql 8.4.7 and working gdb. (sorry for such long delay). And i can reproduce situation quite easy now, so i managed get stack backtrace with that error. What i need to do now? I have some expirience with gbd

Re: [BUGS] BUG #5798: Some weird error with pl/pgsql procedure

2011-02-19 Thread Maxim Boguk
Just an idea from code examination: I think problem in " RETURNING ctid" part of query and next comment in slot_getattr: /* * system attributes are handled by heap_getsysattr */ So, may be RETURNING implementation somehow incorrectely handle system attributes in returing

Re: [BUGS] BUG #5798: Some weird error with pl/pgsql procedure

2011-02-19 Thread Tom Lane
Maxim Boguk writes: > I finally managed create working slave server with non-stripped Postgresql > 8.4.7 and working gdb. > (sorry for such long delay). > And i can reproduce situation quite easy now, so i managed get stack > backtrace with that error. > What i need to do now? I have some expirien

Re: [BUGS] BUG #5798: Some weird error with pl/pgsql procedure

2011-02-19 Thread Maxim Boguk
On Sun, Feb 20, 2011 at 5:08 AM, Tom Lane wrote: > Maxim Boguk writes: > > I finally managed create working slave server with non-stripped > Postgresql > > 8.4.7 and working gdb. > > (sorry for such long delay). > > And i can reproduce situation quite easy now, so i managed get stack > > backtra

Re: [BUGS] issue about information_schema REFERENTIAL_CONSTRAINTS

2011-02-19 Thread Bruce Momjian
Fabien COELHO wrote: > > > If you're going to use something which is PostgreSQL-specific, you may > > as well write your own views or use the "native" tables and views > > directly. > > I wish I could write portable code, if possible:-) > > I'm basically writing views on top of the information