Re: [GENERAL] How to detoast a column of type BYTEAOID

2016-04-18 Thread David Bennett
l.org > -Original Message- > From: Albe Laurenz [mailto:laurenz.a...@wien.gv.at] > Sent: Monday, 18 April 2016 6:05 PM > To: 'da...@andl.org *EXTERN*' ; pgsql-general@postgresql.org > Subject: RE: [GENERAL] How to detoast a column of type BYTEAOID > > da...@andl.org

Re: [GENERAL] How to detoast a column of type BYTEAOID

2016-04-18 Thread david
l.org > -Original Message- > From: Albe Laurenz [mailto:laurenz.a...@wien.gv.at] > Sent: Monday, 18 April 2016 6:05 PM > To: 'da...@andl.org *EXTERN*' ; pgsql-general@postgresql.org > Subject: RE: [GENERAL] How to detoast a column of type BYTEAOID > > da...@andl.org

Re: [GENERAL] How to detoast a column of type BYTEAOID

2016-04-18 Thread Albe Laurenz
da...@andl.org wrote: > I am attempting to create a new language implementation. The language is > Andl (andl.org), so the handler is plandl. > I am having a bit of trouble executing SPI queries from inside plandl. > > The particular problem arises after calling SPI_cursor_fetch() and then > SPI_g

[GENERAL] How to detoast a column of type BYTEAOID

2016-04-17 Thread david
I am attempting to create a new language implementation. The language is Andl (andl.org), so the handler is plandl. I am having a bit of trouble executing SPI queries from inside plandl. The particular problem arises after calling SPI_cursor_fetch() and then SPI_getbinval() on a column of type BY