2
0

printtup.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*-------------------------------------------------------------------------
  2. *
  3. * printtup.h
  4. *
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/access/printtup.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef PRINTTUP_H
  15. #define PRINTTUP_H
  16. #include "utils/portal.h"
  17. extern DestReceiver *printtup_create_DR(CommandDest dest);
  18. extern void SetRemoteDestReceiverParams(DestReceiver *self, Portal portal);
  19. extern void SendRowDescriptionMessage(StringInfo buf,
  20. TupleDesc typeinfo, List *targetlist, int16 *formats);
  21. extern void debugStartup(DestReceiver *self, int operation,
  22. TupleDesc typeinfo);
  23. extern bool debugtup(TupleTableSlot *slot, DestReceiver *self);
  24. /* XXX these are really in executor/spi.c */
  25. extern void spi_dest_startup(DestReceiver *self, int operation,
  26. TupleDesc typeinfo);
  27. extern bool spi_printtup(TupleTableSlot *slot, DestReceiver *self);
  28. #endif /* PRINTTUP_H */