sub_plan.go 582 B

1234567891011121314151617181920212223242526272829
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type SubPlan struct {
  6. Xpr ast.Node
  7. SubLinkType SubLinkType
  8. Testexpr ast.Node
  9. ParamIds *ast.List
  10. PlanId int
  11. PlanName *string
  12. FirstColType Oid
  13. FirstColTypmod int32
  14. FirstColCollation Oid
  15. UseHashTable bool
  16. UnknownEqFalse bool
  17. ParallelSafe bool
  18. SetParam *ast.List
  19. ParParam *ast.List
  20. Args *ast.List
  21. StartupCost Cost
  22. PerCallCost Cost
  23. }
  24. func (n *SubPlan) Pos() int {
  25. return 0
  26. }