/* ----------------------------------------------------------------------- *//** * * @file OutputStreamBuffer_proto.hpp * *//* ----------------------------------------------------------------------- */ #ifndef MADLIB_POSTGRES_OUTPUTSTREAMBUFFER_PROTO_HPP #define MADLIB_POSTGRES_OUTPUTSTREAMBUFFER_PROTO_HPP namespace madlib { namespace dbconnector { namespace postgres { /** * @brief Stream buffer that dispatches all output to PostgreSQL's ereport * function */ template class Allocator = std::allocator> class OutputStreamBuffer : public dbal::OutputStreamBufferBase< OutputStreamBuffer, char, Allocator > { public: void output(char *inMsg, std::size_t inLength) const; }; } // namespace postgres } // namespace dbconnector } // namespace madlib #endif // defined(MADLIB_POSTGRES_OUTPUTSTREAMBUFFER_PROTO_HPP)