OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 8}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name x :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 13}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name x :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "foo" :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "" :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 9}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 11} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("-") :lexpr {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_EXPR :name ("*") :lexpr {A_CONST :val 2 :location 11} :rexpr {A_CONST :val 3 :location 15} :rexpr_list_start 0 :rexpr_list_end 0 :location 13} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :rexpr {A_EXPR :name ("%") :lexpr {A_EXPR :name ("/") :lexpr {A_CONST :val 4 :location 19} :rexpr {A_CONST :val 5 :location 23} :rexpr_list_start 0 :rexpr_list_end 0 :location 21} :rexpr {A_EXPR :name ("^") :lexpr {A_CONST :val 6 :location 27} :rexpr {A_CONST :val 7 :location 31} :rexpr_list_start 0 :rexpr_list_end 0 :location 29} :rexpr_list_start 0 :rexpr_list_end 0 :location 25} :rexpr_list_start 0 :rexpr_list_end 0 :location 17} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("\<") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 11} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR :name (">") :lexpr {A_CONST :val 1 :location 14} :rexpr {A_CONST :val 2 :location 18} :rexpr_list_start 0 :rexpr_list_end 0 :location 16} :location 14} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("=") :lexpr {A_CONST :val 1 :location 21} :rexpr {A_CONST :val 2 :location 25} :rexpr_list_start 0 :rexpr_list_end 0 :location 23} :location 21} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("\<=") :lexpr {A_CONST :val 1 :location 28} :rexpr {A_CONST :val 2 :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 30} :location 28} {RESTARGET :name <> :indirection <> :val {A_EXPR :name (">=") :lexpr {A_CONST :val 1 :location 36} :rexpr {A_CONST :val 2 :location 41} :rexpr_list_start 0 :rexpr_list_end 0 :location 38} :location 36} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("\<>") :lexpr {A_CONST :val 1 :location 44} :rexpr {A_CONST :val 2 :location 49} :rexpr_list_start 0 :rexpr_list_end 0 :location 46} :location 44} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("\<>") :lexpr {A_CONST :val 1 :location 52} :rexpr {A_CONST :val 2 :location 57} :rexpr_list_start 0 :rexpr_list_end 0 :location 54} :location 52}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val -1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 9}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr <> :rexpr {A_CONST :val 1 :location 8} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 9}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val -1.5 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 11}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr <> :rexpr {A_CONST :val 1.5 :location 8} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 11}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val -1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("-") :lexpr <> :rexpr {A_CONST :val "x" :location 7} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 11}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("-") :lexpr <> :rexpr {COLUMNREF :fields ("x") :location 8} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 9}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val true :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {A_CONST :val false :location 13} :location 13} {RESTARGET :name <> :indirection <> :val {A_CONST NULL :location 20} :location 20}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1.5e10 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {A_CONST :val .5 :location 15} :location 15} {RESTARGET :name <> :indirection <> :val {A_CONST :val 42 :location 19} :location 19} {RESTARGET :name <> :indirection <> :val {A_CONST :val 15 :location 25} :location 25} {RESTARGET :name <> :indirection <> :val {A_CONST :val 5 :location 31} :location 31} {RESTARGET :name <> :indirection <> :val {A_CONST :val 1000000 :location 38} :location 38}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val b0101 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val x1F :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2147483647 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {A_CONST :val -2147483648 :location 19} :location 19} {RESTARGET :name <> :indirection <> :val {A_CONST :val 9999999999 :location 32} :location 32}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 15}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias {ALIAS :aliasname d :colnames <>} :location 17}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias {ALIAS :aliasname c :colnames <>} :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 17}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 14} {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 17} {RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 20} {RANGEVAR :catalogname cat :schemaname s :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh false :relpersistence p :alias <> :location 19}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 17}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname b :inh false :relpersistence p :alias <> :location 20}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t" "a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t" {A_STAR}) :location 12} :location 12} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("s" "t" "a") :location 17} :location 17}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 28}) :whereClause {A_EXPR :name ("\<") :lexpr {A_CONST :val 1 :location 36} :rexpr {A_CONST :val 2 :location 40} :rexpr_list_start 0 :rexpr_list_end 0 :location 38} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("Quoted\ Ident") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname Tab\ le :inh true :relpersistence p :alias <> :location 27}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("abort") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("absolute") :location 14} :location 14}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 11} :location 11}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("*") :lexpr {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 8} :rexpr {A_CONST :val 2 :location 12} :rexpr_list_start 0 :rexpr_list_end 0 :location 10} :rexpr {A_CONST :val 3 :location 17} :rexpr_list_start 0 :rexpr_list_end 0 :location 15} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 18}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {PARAMREF :number 1 :location 7} :rexpr {PARAMREF :number 2 :location 12} :rexpr_list_start 0 :rexpr_list_end 0 :location 10} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("@+@") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 13} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("@") :lexpr <> :rexpr {A_CONST :val 1 :location 9} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 8}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 15}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 6}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 8} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 17} :location 17}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 10 :stmt_len 8} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 3 :location 27} :location 27}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 20 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 8}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 9} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 19} :location 19}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 12 :stmt_len 0}) OK <> OK <> OK <> ERR 10 syntax error at or near "1" ERR 13 syntax error at or near "FROM" ERR 11 syntax error at end of input ERR 14 syntax error at or near "'bar'" ERR 10 syntax error at or near "1" ERR 15 improper qualified name (too many dotted names): a.b.c.d ERR 8 unterminated quoted string at or near "'unterminated" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "x" :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "a\
b" :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "A" :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("b") :location 10} :rexpr {A_CONST :val 1 :location 14} :rexpr_list_start 0 :rexpr_list_end 0 :location 12} :location 10}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 21}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 32} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1} {SORTBY :node {COLUMNREF :fields ("b") :location 35} :sortby_dir 2 :sortby_nulls 0 :useOp <> :location -1} {SORTBY :node {COLUMNREF :fields ("c") :location 43} :sortby_dir 1 :sortby_nulls 1 :useOp <> :location -1} {SORTBY :node {COLUMNREF :fields ("d") :location 62} :sortby_dir 0 :sortby_nulls 2 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 74}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 3 :sortby_nulls 1 :useOp ("\<") :location 33} {SORTBY :node {COLUMNREF :fields ("b") :location 48} :sortby_dir 3 :sortby_nulls 0 :useOp (">=") :location 56}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount {A_CONST :val 10 :location 22} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset {A_CONST :val 3 :location 33} :limitCount {A_CONST NULL :location 22} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset {A_CONST :val 5 :location 23} :limitCount {A_EXPR :name ("-") :lexpr {A_CONST :val 2 :location 31} :rexpr {A_CONST :val 1 :location 35} :rexpr_list_start 0 :rexpr_list_end 0 :location 33} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset {A_CONST :val 2 :location 43} :limitCount {A_CONST :val 10 :location 33} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset {A_CONST :val 2 :location 23} :limitCount {A_CONST :val 5 :location 42} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 53}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 1 :location -1} :limitOption 1 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 51}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount {A_EXPR :name ("+") :lexpr <> :rexpr {A_CONST :val 1 :location 29} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val -1.5 :location 39} :limitOption 1 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 8} :location 8}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 15}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 27} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 28}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 29}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount {A_CONST :val 2 :location 36} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("count") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star true :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 21}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("count") :args ({COLUMNREF :fields ("a") :location 13}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 21} :rexpr {A_CONST :val 1 :location 25} :rexpr_list_start 0 :rexpr_list_end 0 :location 23}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 17} :location 17} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "count") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star true :agg_distinct false :func_variadic false :funcformat 0 :location 29} :location 29}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 54}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({COLUMNREF :fields ("a") :location 9} {COLUMNREF :fields ("b") :location 12}) :agg_order ({SORTBY :node {COLUMNREF :fields ("c") :location 23} :sortby_dir 2 :sortby_nulls 0 :useOp <> :location -1} {SORTBY :node {COLUMNREF :fields ("d") :location 31} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({COLUMNREF :fields ("a") :location 18}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct true :func_variadic false :funcformat 0 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({COLUMNREF :fields ("a") :location 28} {COLUMNREF :fields ("b") :location 31}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({COLUMNREF :fields ("a") :location 18}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic true :funcformat 0 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({COLUMNREF :fields ("a") :location 24} {COLUMNREF :fields ("b") :location 36}) :agg_order ({SORTBY :node {COLUMNREF :fields ("c") :location 47} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic true :funcformat 0 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("count") :args <> :agg_order <> :agg_filter {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 30} :rexpr {A_CONST :val 0 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :over <> :agg_within_group false :agg_star true :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 42}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("mode") :args <> :agg_order ({SORTBY :node {COLUMNREF :fields ("a") :location 37} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :agg_filter <> :over <> :agg_within_group true :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 45}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "x" :location 7} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 12} :location 10} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 1 :location 18} :typeName {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :location 19} :location 18} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {COLUMNREF :fields ("a") :location 27} :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 38} {A_CONST :val 2 :location 42}) :typemod -1 :arrayBounds <> :location 30} :location 28} :location 27} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {COLUMNREF :fields ("b") :location 46} :typeName {TYPENAME :names ("pg_catalog" "text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 49} :location 47} :location 46}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 64}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {COLUMNREF :fields ("a") :location 12} :typeName {TYPENAME :names ("pg_catalog" "float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 41} :rexpr {A_CONST :val 2 :location 45} :rexpr_list_start 0 :rexpr_list_end 0 :location 43} :typeName {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 50} :location 36} :location 36} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {COLUMNREF :fields ("b") :location 64} :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 69} :location 59} :location 59}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 77}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 1 :location 7} :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 10} :location 8} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 2 :location 15} :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location 16} :location 15} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 3 :location 27} :typeName {TYPENAME :names ("pg_catalog" "int2") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 30} :location 28} :location 27} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 4 :location 40} :typeName {TYPENAME :names ("pg_catalog" "float4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :location 41} :location 40} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 5 :location 49} :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 52} :location 50} :location 49} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 6 :location 57} :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 3 :location 68}) :typemod -1 :arrayBounds <> :location 60} :location 58} :location 57} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 7 :location 72} :typeName {TYPENAME :names ("pg_catalog" "bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 75} :location 73} :location 72} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 8 :location 84} :typeName {TYPENAME :names ("pg_catalog" "float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 87} :location 85} :location 84} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 9 :location 94} :typeName {TYPENAME :names ("pg_catalog" "float4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 97} :location 95} :location 94} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 10 :location 108} :typeName {TYPENAME :names ("pg_catalog" "float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 112} :location 110} :location 108}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 121}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val b01 :location 7} :typeName {TYPENAME :names ("pg_catalog" "varbit") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 14} :location 12} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "c" :location 27} :typeName {TYPENAME :names ("pg_catalog" "bpchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 2 :location 37}) :typemod -1 :arrayBounds <> :location 32} :location 30} :location 27} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "v" :location 41} :typeName {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 3 :location 54}) :typemod -1 :arrayBounds <> :location 46} :location 44} :location 41} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "n" :location 58} :typeName {TYPENAME :names ("pg_catalog" "bpchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 4 :location 82}) :typemod -1 :arrayBounds <> :location 63} :location 61} :location 58} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "x" :location 86} :typeName {TYPENAME :names ("pg_catalog" "bit") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 2 :location 95}) :typemod -1 :arrayBounds <> :location 91} :location 89} :location 86} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "y" :location 99} :typeName {TYPENAME :names ("pg_catalog" "bit") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 1 :location -1}) :typemod -1 :arrayBounds <> :location 104} :location 102} :location 99} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "z" :location 109} :typeName {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 114} :location 112} :location 109}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 131}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "ts" :location 7} :typeName {TYPENAME :names ("pg_catalog" "timestamptz") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 2 :location 23}) :typemod -1 :arrayBounds <> :location 13} :location 11} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "t" :location 42} :typeName {TYPENAME :names ("pg_catalog" "time") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 47} :location 45} :location 42} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "u" :location 71} :typeName {TYPENAME :names ("pg_catalog" "time") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 1 :location 81}) :typemod -1 :arrayBounds <> :location 76} :location 74} :location 71} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "i" :location 85} :typeName {TYPENAME :names ("pg_catalog" "interval") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 90} :location 88} :location 85} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "j" :location 100} :typeName {TYPENAME :names ("pg_catalog" "json") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 105} :location 103} :location 100} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "ts2" :location 111} :typeName {TYPENAME :names ("pg_catalog" "timestamp") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 118} :location 116} :location 111}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 127}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "\42" :location 12} :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 7} :location -1} :location 7} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "abc" :location 23} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location -1} :location 18} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "abc" :location 46} :typeName {TYPENAME :names ("pg_catalog" "text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 30} :location -1} :location 30} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "x" :location 60} :typeName {TYPENAME :names ("bpchar") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 53} :location -1} :location 53} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "\2020-01-01" :location 75} :typeName {TYPENAME :names ("pg_catalog" "timestamp") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 65} :location -1} :location 65} {RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val "v" :location 97} :typeName {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 89} :location -1} :location 89}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 100}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop or :args ({BOOLEXPR :boolop and :args ({COLUMNREF :fields ("a") :location 7} {COLUMNREF :fields ("b") :location 13} {COLUMNREF :fields ("c") :location 19}) :location 9} {COLUMNREF :fields ("d") :location 24} {COLUMNREF :fields ("e") :location 29}) :location 21} :location 7} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({BOOLEXPR :boolop not :args ({COLUMNREF :fields ("a") :location 40}) :location 36}) :location 32} :location 32} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop or :args ({COLUMNREF :fields ("a") :location 43} {BOOLEXPR :boolop and :args ({COLUMNREF :fields ("b") :location 48} {COLUMNREF :fields ("c") :location 54}) :location 50}) :location 45} :location 43}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {NULLTEST :arg {COLUMNREF :fields ("a") :location 7} :nulltesttype 0 :argisrow false :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {NULLTEST :arg {COLUMNREF :fields ("b") :location 18} :nulltesttype 1 :argisrow false :location 20} :location 18} {RESTARGET :name <> :indirection <> :val {NULLTEST :arg {COLUMNREF :fields ("c") :location 33} :nulltesttype 0 :argisrow false :location 35} :location 33} {RESTARGET :name <> :indirection <> :val {NULLTEST :arg {COLUMNREF :fields ("d") :location 43} :nulltesttype 1 :argisrow false :location 45} :location 43} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop and :args ({A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 54} :rexpr {A_CONST :val 1 :location 58} :rexpr_list_start 0 :rexpr_list_end 0 :location 56} {NULLTEST :arg {COLUMNREF :fields ("b") :location 64} :nulltesttype 0 :argisrow false :location 66}) :location 60} :location 54}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 73}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause (<>) :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 16} :location 16} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 19} :location 19}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 26}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause ({COLUMNREF :fields ("a") :location 20} {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("b") :location 23} :rexpr {A_CONST :val 1 :location 27} :rexpr_list_start 0 :rexpr_list_end 0 :location 25}) :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 30} :location 30}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 37}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 48} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 11} :location 11}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 19}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 22} :rexpr {A_CONST :val 42 :location 26} :rexpr_list_start 0 :rexpr_list_end 0 :location 24} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 28}) ERR 17 LIMIT #,# syntax is not supported ERR 39 multiple ORDER BY clauses not allowed ERR 36 WITH TIES cannot be specified without ORDER BY clause ERR 24 cannot use multiple ORDER BY clauses with WITHIN GROUP ERR 22 cannot use DISTINCT with WITHIN GROUP ERR 22 cannot use VARIADIC with WITHIN GROUP ERR 17 precision for type float must be at least 1 bit ERR 17 precision for type float must be less than 54 bits OK ({RAWSTMT :stmt {PREPARESTMT :name s :argtypes <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 20} :location 20}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {EXECUTESTMT :name s :params <>} :stmt_location 0 :stmt_len 9}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name s :isall false :location 11} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {PREPARESTMT :name s :argtypes <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 20} :location 20}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 21} {RAWSTMT :stmt {EXECUTESTMT :name s :params <>} :stmt_location 23 :stmt_len 9} {RAWSTMT :stmt {DEALLOCATESTMT :name s :isall false :location 45} :stmt_location 34 :stmt_len 12}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 10}) :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {PARAMREF :number 1 :location 25} :rexpr {A_CONST :val 1 :location 30} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :location 25}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 11} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 30}) :typemod -1 :arrayBounds <> :location 22} {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 8 :location 43} {A_CONST :val 2 :location 45}) :typemod -1 :arrayBounds <> :location 35}) :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {PARAMREF :number 1 :location 59} :location 59} {RESTARGET :name <> :indirection <> :val {PARAMREF :number 2 :location 63} :location 63} {RESTARGET :name <> :indirection <> :val {PARAMREF :number 3 :location 67} :location 67} {RESTARGET :name <> :indirection <> :val {PARAMREF :number 4 :location 71} :location 71}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 73}) OK ({RAWSTMT :stmt {EXECUTESTMT :name q :params ({A_CONST :val 42 :location 10} {A_CONST :val "x" :location 14})} :stmt_location 0 :stmt_len 18}) OK ({RAWSTMT :stmt {EXECUTESTMT :name q :params ({A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 11} :rexpr {A_EXPR :name ("*") :lexpr {A_CONST :val 2 :location 15} :rexpr {A_CONST :val 3 :location 19} :rexpr_list_start 0 :rexpr_list_end 0 :location 17} :rexpr_list_start 0 :rexpr_list_end 0 :location 13} {A_CONST :val -4.5 :location 22} {A_CONST :val true :location 28} {A_CONST NULL :location 34})} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {PREPARESTMT :name lower_kw :argtypes <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val "k" :location 27} :location 27}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {PREPARESTMT :name Quoted\ Name :argtypes <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 32} :location 32}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name Quoted\ Name :isall false :location 11} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name s :isall false :location 19} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name <> :isall true :location -1} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name <> :isall true :location -1} :stmt_location 0 :stmt_len 22}) ERR 11 syntax error at or near "SELECT" ERR 8 syntax error at or near ";" ERR 11 syntax error at or near ";" ERR 9 syntax error at or near "1" OK ({RAWSTMT :stmt {VARIABLESHOWSTMT :name work_mem} :stmt_location 0 :stmt_len 13}) OK ({RAWSTMT :stmt {VARIABLESHOWSTMT :name search_path} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name work_mem :args ({A_CONST :val "\8MB" :location 15}) :jumble_args false :is_local false :location 15} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name datestyle :args ({A_CONST :val "ISO,\ YMD" :location 16}) :jumble_args false :is_local false :location 16} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name search_path :args ({A_CONST :val "public" :location 19}) :jumble_args false :is_local false :location 19} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name work_mem :args ({A_CONST :val "\16MB" :location 21}) :jumble_args false :is_local true :location 21} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 4 :name work_mem :args <> :jumble_args false :is_local false :location -1} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 4 :name datestyle :args <> :jumble_args false :is_local false :location -1} :stmt_location 0 :stmt_len 15}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name x.y :args ({A_CONST :val "on" :location 10}) :jumble_args false :is_local false :location 10} :stmt_location 0 :stmt_len 12}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 0 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 5}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 0 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 2 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 6}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 2 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 11}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 3 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 8}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 4 :options <> :savepoint_name sp1 :gid <> :chain false :location 10} :stmt_location 0 :stmt_len 13}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 6 :options <> :savepoint_name sp1 :gid <> :chain false :location 22} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 5 :options <> :savepoint_name sp1 :gid <> :chain false :location 18} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 27} :location 27}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname costs :arg "off" :defaction 0 :location 9})} :stmt_location 0 :stmt_len 28}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 74} :location 74}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname analyze :arg <> :defaction 0 :location 9} {DEFELEM :defnamespace <> :defname timing :arg "off" :defaction 0 :location 18} {DEFELEM :defnamespace <> :defname summary :arg "off" :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname buffers :arg "off" :defaction 0 :location 43} {DEFELEM :defnamespace <> :defname costs :arg "off" :defaction 0 :location 56})} :stmt_location 0 :stmt_len 75}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name one :indirection <> :val {A_CONST :val 1 :location 36} :location 36}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname verbose :arg <> :defaction 0 :location 9} {DEFELEM :defnamespace <> :defname costs :arg "off" :defaction 0 :location 18})} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COALESCEEXPR :coalescetype 0 :coalescecollid 0 :args ({A_CONST NULL :location 16} {A_CONST :val 42 :location 22}) :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {MINMAXEXPR :minmaxtype 0 :minmaxcollid 0 :inputcollid 0 :op 0 :args ({A_CONST :val 1 :location 16} {A_CONST :val 2 :location 19} {A_CONST :val 3 :location 22}) :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {MINMAXEXPR :minmaxtype 0 :minmaxcollid 0 :inputcollid 0 :op 1 :args ({A_CONST :val 1 :location 32} {A_CONST :val 2 :location 35} {A_CONST :val 3 :location 38}) :location 26} :location 26}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {CASEEXPR :casetype 0 :casecollid 0 :arg <> :args ({CASEWHEN :expr {A_EXPR :name ("\<") :lexpr {A_CONST :val 1 :location 17} :rexpr {A_CONST :val 2 :location 21} :rexpr_list_start 0 :rexpr_list_end 0 :location 19} :result {A_CONST :val "lt" :location 28} :location 12}) :defresult {A_CONST :val "ge" :location 38} :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {CASEEXPR :casetype 0 :casecollid 0 :arg <> :args ({CASEWHEN :expr {COLUMNREF :fields ("a") :location 17} :result {A_CONST :val 1 :location 24} :location 12} {CASEWHEN :expr {COLUMNREF :fields ("b") :location 31} :result {A_CONST :val 2 :location 38} :location 26}) :defresult {A_CONST :val 3 :location 45} :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 56}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 57}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {CASEEXPR :casetype 0 :casecollid 0 :arg {COLUMNREF :fields ("a") :location 12} :args ({CASEWHEN :expr {A_CONST :val 1 :location 19} :result {A_CONST :val "one" :location 26} :location 14}) :defresult <> :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 41}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGESUBSELECT :lateral false :subquery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists (({A_CONST :val 2 :location 23} {A_CONST :val "b" :location 26}) ({A_CONST :val 1 :location 33} {A_CONST :val "a" :location 36})) :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :alias {ALIAS :aliasname v :colnames ("n" "s")}}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("n") :location 62} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x") :location 7} :location 7}) :fromClause ({RANGESUBSELECT :lateral false :subquery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name x :indirection <> :val {A_CONST :val 1 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :alias {ALIAS :aliasname sub :colnames <>}}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 28} :location 28}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname x :inh true :relpersistence p :alias <> :location 35}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename x :aliascolnames <> :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 18} :location 18}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location 5 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive false :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 95} :location 95}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname x :inh true :relpersistence p :alias <> :location 102}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 113} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 2 :location 121} :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename x :aliascolnames ("a" "b") :ctematerialized 1 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 48} :location 48} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 51} :location 51}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>} {COMMONTABLEEXPR :ctename y :aliascolnames <> :ctematerialized 2 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 3 :location 85} :location 85}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location 55 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 47} :location 47}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname x :inh true :relpersistence p :alias <> :location 54} {RANGEVAR :catalogname <> :schemaname <> :relname x :inh true :relpersistence p :alias {ALIAS :aliasname x2 :colnames <>} :location 57}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename x :aliascolnames <> :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 18} :location 18}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 33} :rexpr {A_CONST :val 5 :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location 5 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive false :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 1 multiple WITH clauses not allowed OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("g") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("row_number") :args <> :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause ({COLUMNREF :fields ("g") :location 42}) :orderClause ({SORTBY :node {COLUMNREF :fields ("a") :location 53} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 1058 :startOffset <> :endOffset <> :location 28} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("rank") :args <> :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("a") :location 79} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 1058 :startOffset <> :endOffset <> :location 69} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 57} :location 57} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 87}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause ({COLUMNREF :fields ("g") :location 109}) :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 95} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 83} :location 83}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 117}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("count") :args <> :agg_order <> :agg_filter <> :over {WINDOWDEF :name w :refname <> :partitionClause <> :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 21} :agg_within_group false :agg_star true :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 28}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause ({WINDOWDEF :name w :refname <> :partitionClause ({COLUMNREF :fields ("g") :location 56}) :orderClause ({SORTBY :node {COLUMNREF :fields ("a") :location 67} :sortby_dir 2 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 1058 :startOffset <> :endOffset <> :location 42}) :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("rank") :args <> :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname w :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("a") :location 31} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 1058 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 39}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause ({WINDOWDEF :name w :refname <> :partitionClause ({COLUMNREF :fields ("g") :location 67}) :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 53} {WINDOWDEF :name v :refname w :partitionClause <> :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 76}) :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("row_number") :args <> :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 25} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 33}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t1" "g") :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname t1 :colnames <>} :location 17} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname t2 :colnames <>} :location 27} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t1" "pk") :location 35} :rexpr {COLUMNREF :fields ("t2" "fk") :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 27} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 32} :rexpr {COLUMNREF :fields ("b" "y") :location 38} :rexpr_list_start 0 :rexpr_list_end 0 :location 36} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 27} :usingClause <> :join_using_alias <> :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 15} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 22} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 27} :rexpr {COLUMNREF :fields ("b" "x") :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :alias {ALIAS :aliasname c :colnames <>} :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 15} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 22} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 27} :rexpr {COLUMNREF :fields ("b" "x") :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :alias {ALIAS :aliasname c :colnames <>} :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 21} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 26} :rexpr {COLUMNREF :fields ("b" "x") :location 32} :rexpr_list_start 0 :rexpr_list_end 0 :location 30} :alias <> :rtindex 0} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 41} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("b" "y") :location 46} :rexpr {COLUMNREF :fields ("c" "y") :location 52} :rexpr_list_start 0 :rexpr_list_end 0 :location 50} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 22} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 29} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("b" "y") :location 34} :rexpr {COLUMNREF :fields ("c" "y") :location 40} :rexpr_list_start 0 :rexpr_list_end 0 :location 38} :alias <> :rtindex 0} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 48} :rexpr {COLUMNREF :fields ("b" "x") :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 1 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 26} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 31} :rexpr {COLUMNREF :fields ("b" "x") :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 1 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 32} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 37} :rexpr {COLUMNREF :fields ("b" "x") :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 3 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 27} :usingClause <> :join_using_alias <> :quals {A_CONST :val true :location 32} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 2 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 32} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 37} :rexpr {COLUMNREF :fields ("b" "x") :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x" "g") :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname x :colnames <>} :location 16} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname y :colnames <>} :location 25} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("x" "pk") :location 32} :rexpr {COLUMNREF :fields ("y" "fk") :location 39} :rexpr_list_start 0 :rexpr_list_end 0 :location 37} :alias <> :rtindex 0}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("x" "g") :location 50} :rexpr {A_CONST :val 5 :location 56} :rexpr_list_start 0 :rexpr_list_end 0 :location 54} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("x" "g") :location 67} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 3 :location 77} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 23 syntax error at end of input OK ({RAWSTMT :stmt {DROPSTMT :objects (("regress_m1_t")) :removeType 41 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("foo")) :removeType 41 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("a" "b") ("c")) :removeType 41 :behavior 1 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("a" "b" "c") ("d")) :removeType 41 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 38}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("Quoted" "Name")) :removeType 41 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("v1") ("v2")) :removeType 51 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("seq1")) :removeType 37 :behavior 1 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("mv")) :removeType 23 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("idx1")) :removeType 20 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 15}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("ft")) :removeType 18 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("tsc")) :removeType 45 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("s1" "s2") :removeType 36 :behavior 1 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("ext") :removeType 15 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 37}) ERR 11 syntax error at or near ";" ERR 15 syntax error at or near "foo" ERR 22 syntax error at or near "RESTRICT" OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 15} :location 15}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options <>} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 23} :location 23}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname analyze :arg <> :defaction 0 :location 8})} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname analyze :arg <> :defaction 0 :location 8} {DEFELEM :defnamespace <> :defname verbose :arg <> :defaction 0 :location 16})} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {EXPLAINSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 23} :location 23}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :options ({DEFELEM :defnamespace <> :defname verbose :arg <> :defaction 0 :location 8})} :stmt_location 0 :stmt_len 24}) ERR 17 syntax error at or near "ANALYZE" OK ({RAWSTMT :stmt {INDEXSTMT :idxname <> :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 16} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0} {INDEXELEM :name b :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique true :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 2 :nulls_ordering 2} {INDEXELEM :name b :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 1 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists true :reset_default_tblspc false} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name <> :expr {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 22} :rexpr {COLUMNREF :fields ("b") :location 26} :rexpr_list_start 0 :rexpr_list_end 0 :location 24} :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 29}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 30} :rexpr {A_CONST :val 0 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation ("C") :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass ("text_pattern_ops") :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 38} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique true :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent true :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams ({INDEXELEM :name b :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options ({DEFELEM :defnamespace <> :defname fillfactor :arg 70 :defaction 0 :location 30}) :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace ts :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name <> :expr {FUNCCALL :funcname ("lower") :args ({COLUMNREF :fields ("a") :location 27}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 21} :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique true :nulls_not_distinct true :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 2 :nulls_ordering 1}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 40}) ERR 16 syntax error at or near ";" OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 0 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 5} {RAWSTMT :stmt {DECLARECURSORSTMT :portalname c :options 256 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 35} :location 35}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 42}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 53} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 7 :stmt_len 47} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 3 :portalname c :ismove false} :stmt_location 56 :stmt_len 9} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 67 :stmt_len 12} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 9223372036854775807 :portalname c :ismove false} :stmt_location 81 :stmt_len 11} {RAWSTMT :stmt {CLOSEPORTALSTMT :portalname c} :stmt_location 94 :stmt_len 7} {RAWSTMT :stmt {TRANSACTIONSTMT :kind 2 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 103 :stmt_len 6}) OK ({RAWSTMT :stmt {DECLARECURSORSTMT :portalname c :options 258 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 35} :location 35}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 36} {RAWSTMT :stmt {DECLARECURSORSTMT :portalname c2 :options 292 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 87} :location 87}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 94}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 38 :stmt_len 0}) OK ({RAWSTMT :stmt {DECLARECURSORSTMT :portalname c :options 267 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 67} :location 67}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 74}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 75} {RAWSTMT :stmt {DECLARECURSORSTMT :portalname c3 :options 272 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 117} :location 117}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 77 :stmt_len 0}) OK ({RAWSTMT :stmt {DECLARECURSORSTMT :portalname Quoted\ Cursor :options 256 :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 42} :location 42}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 49}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 57} :rexpr {A_CONST :val 5 :location 61} :rexpr_list_start 0 :rexpr_list_end 0 :location 59} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 72} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 10 :location 80} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 0 :stmt_len 7} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 9 :stmt_len 10} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 21 :stmt_len 12} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 35 :stmt_len 17} {RAWSTMT :stmt {FETCHSTMT :direction 1 :howMany 1 :portalname c :ismove false} :stmt_location 54 :stmt_len 18} {RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany 1 :portalname c :ismove false} :stmt_location 74 :stmt_len 13} {RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany -1 :portalname c :ismove false} :stmt_location 89 :stmt_len 0}) OK ({RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany 7 :portalname c :ismove false} :stmt_location 0 :stmt_len 23} {RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany -2 :portalname c :ismove false} :stmt_location 25 :stmt_len 22} {RAWSTMT :stmt {FETCHSTMT :direction 3 :howMany -3 :portalname c :ismove false} :stmt_location 49 :stmt_len 19} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 5 :portalname c :ismove false} :stmt_location 70 :stmt_len 14} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany -4 :portalname c :ismove false} :stmt_location 86 :stmt_len 10} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 9223372036854775807 :portalname c :ismove false} :stmt_location 98 :stmt_len 0}) OK ({RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove false} :stmt_location 0 :stmt_len 15} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 2 :portalname c :ismove false} :stmt_location 17 :stmt_len 17} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 9223372036854775807 :portalname c :ismove false} :stmt_location 36 :stmt_len 24} {RAWSTMT :stmt {FETCHSTMT :direction 1 :howMany 1 :portalname c :ismove false} :stmt_location 62 :stmt_len 16} {RAWSTMT :stmt {FETCHSTMT :direction 1 :howMany 2 :portalname c :ismove false} :stmt_location 80 :stmt_len 21} {RAWSTMT :stmt {FETCHSTMT :direction 1 :howMany 9223372036854775807 :portalname c :ismove false} :stmt_location 103 :stmt_len 0}) OK ({RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 1 :portalname c :ismove true} :stmt_location 0 :stmt_len 6} {RAWSTMT :stmt {FETCHSTMT :direction 0 :howMany 5 :portalname c :ismove true} :stmt_location 8 :stmt_len 8} {RAWSTMT :stmt {FETCHSTMT :direction 1 :howMany 9223372036854775807 :portalname c :ismove true} :stmt_location 18 :stmt_len 24} {RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany 3 :portalname c :ismove true} :stmt_location 44 :stmt_len 17} {RAWSTMT :stmt {FETCHSTMT :direction 2 :howMany -1 :portalname c :ismove true} :stmt_location 63 :stmt_len 11} {RAWSTMT :stmt {FETCHSTMT :direction 3 :howMany 2 :portalname c :ismove true} :stmt_location 76 :stmt_len 0}) OK ({RAWSTMT :stmt {CLOSEPORTALSTMT :portalname c} :stmt_location 0 :stmt_len 7} {RAWSTMT :stmt {CLOSEPORTALSTMT :portalname <>} :stmt_location 9 :stmt_len 9} {RAWSTMT :stmt {CLOSEPORTALSTMT :portalname Quoted\ Cursor} :stmt_location 20 :stmt_len 0}) ERR 18 syntax error at or near "SELECT" ERR 16 syntax error at or near "FOR" ERR 19 syntax error at end of input ERR 6 syntax error at end of input OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 3093 :startOffset {A_CONST :val 2 :location 44} :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 78}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause <> :frameOptions 1061 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 51}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("first_value") :args ({COLUMNREF :fields ("a") :location 19}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 37} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 18451 :startOffset {A_CONST :val 1 :location 53} :endOffset {A_CONST :val 1 :location 69} :location 27} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 87}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 789 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 86}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 18457 :startOffset {A_CONST :val 1 :location 46} :endOffset {A_CONST :val 1 :location 62} :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 80}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 24597 :startOffset {A_CONST :val 1 :location 44} :endOffset {A_CONST :val 2 :location 60} :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 78}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 33843 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 107}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 3077 :startOffset {A_CONST :val 2 :location 36} :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 72}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 134169 :startOffset {A_CONST :val 1 :location 46} :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 93}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 66323 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 101}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name w :refname <> :partitionClause <> :orderClause <> :frameOptions 1058 :startOffset <> :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 26}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause ({WINDOWDEF :name w :refname <> :partitionClause ({COLUMNREF :fields ("c") :location 54}) :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 65} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 6165 :startOffset {A_CONST :val 2 :location 80} :endOffset {A_CONST :val 1 :location 96} :location 40}) :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("a") :location 11}) :agg_order <> :agg_filter <> :over {WINDOWDEF :name <> :refname <> :partitionClause <> :orderClause ({SORTBY :node {COLUMNREF :fields ("b") :location 29} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :frameOptions 3075 :startOffset {A_CONST :val "\1\ day" :location 37} :endOffset <> :location 19} :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 26 frame start cannot be UNBOUNDED FOLLOWING ERR 26 frame starting from following row cannot end with current row ERR 50 frame end cannot be UNBOUNDED PRECEDING ERR 50 frame starting from current row cannot have preceding rows ERR 50 frame starting from following row cannot have preceding rows ERR 50 frame starting from following row cannot have preceding rows OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_CONST :val 42 :location 39} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :fdwoptions <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 34} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 32} :behavior 0 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 41} :behavior 0 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 22} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 8 :location 45} {A_CONST :val 2 :location 47}) :typemod -1 :arrayBounds <> :location 37} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 58} :rexpr {A_CONST :val 2 :location 62} :rexpr_list_start 0 :rexpr_list_end 0 :location 60} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 50}) :fdwoptions <> :location 35} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok true} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias <> :location 17} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 30} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 27} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :fdwoptions <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("c") :location 38} :rexpr {A_CONST :val 0 :location 42} :rexpr_list_start 0 :rexpr_list_end 0 :location 40} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31} {CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_CONST :val 7 :location 53} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 45}) :fdwoptions <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 54}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 2 :conname dflt :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_CONST :val 5 :location 55} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :fdwoptions <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 13 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 13 :name c :num 0 :newowner <> :def <> :behavior 1 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 28}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 13 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 22} :cmds ({ALTERTABLECMD :subtype 13 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok true} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname Quoted :relname Tab :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 13 :name Col :num 0 :newowner <> :def <> :behavior 1 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 52}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 13 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname d :typeName {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_CONST :val -1 :location 57} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 49}) :fdwoptions <> :location 40} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname d :typeName {TYPENAME :names ("pg_catalog" "timestamp") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_CONST :val "now" :location 45} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 37}) :fdwoptions <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 50}) ERR 12 syntax error at or near ";" ERR 14 syntax error at or near ";" ERR 26 syntax error at or near ";" ERR 25 syntax error at or near ";" ERR 27 syntax error at or near ";" ERR 37 syntax error at or near "RESTRICT" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 26} :location 26}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 2 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 26} :location 26}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 2 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 30} :location 30}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 3 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 23} :location 23}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 3 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 27} :location 27}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 28}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 3 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 29} :location 29}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 36}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("c") :location 52} :location 52}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname v :inh true :relpersistence p :alias <> :location 59}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {A_CONST :val 1 :location 47} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 3 :location 55} :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("y") :location 29} :location 29}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 36}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 2 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 8} :location 8}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 23} :location 23}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 3 :location 43} :location 43}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 2 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 3 :location 41} :location 41}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}}} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 2}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 1}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 3 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 2 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 1 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14} {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 17}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 33}) :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14} {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 17}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 33} {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 36}) :strength 4 :waitPolicy 2}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 29}) :strength 2 :waitPolicy 0} {LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 45}) :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 1 :location 33} :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount {A_CONST :val 1 :location 33} :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 8} :location 8}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 15}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 22} :rexpr {A_CONST :val 1 :location 26} :rexpr_list_start 0 :rexpr_list_end 0 :location 24} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0} {LOCKINGCLAUSE :lockedRels <> :strength 2 :waitPolicy 2}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 33}) :strength 1 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 47 SKIP LOCKED and WITH TIES options cannot be used together ERR 30 syntax error at end of input OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels <> :strength 4 :waitPolicy 0}) :withClause <> :op 1 :all false :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 22} :location 22}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 16}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 21}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 27} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 116} {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 121}) :privileges ({ACCESSPRIV :priv_name select :cols <>} {ACCESSPRIV :priv_name insert :cols <>} {ACCESSPRIV :priv_name update :cols <>} {ACCESSPRIV :priv_name delete :cols <>} {ACCESSPRIV :priv_name truncate :cols <>} {ACCESSPRIV :priv_name references :cols <>} {ACCESSPRIV :priv_name trigger :cols <>} {ACCESSPRIV :priv_name maintain :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename admin :location 126} {ROLESPEC :roletype 4 :rolename <> :location 133}) :grant_option false :grantor <> :behavior 0} :stmt_location 29 :stmt_len 110} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 154}) :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename r :location 159}) :grant_option false :grantor <> :behavior 0} :stmt_location 141 :stmt_len 19} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 192}) :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename r :location 197}) :grant_option false :grantor <> :behavior 0} :stmt_location 162 :stmt_len 36} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 37 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname sq :inh true :relpersistence p :alias <> :location 224}) :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename r :location 230}) :grant_option true :grantor <> :behavior 0} :stmt_location 200 :stmt_len 49} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 267}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 2 :rolename <> :location 272} {ROLESPEC :roletype 1 :rolename <> :location 286} {ROLESPEC :roletype 3 :rolename <> :location 300} {ROLESPEC :roletype 0 :rolename g :location 320}) :grant_option false :grantor <> :behavior 0} :stmt_location 251 :stmt_len 70} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 339}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 344}) :grant_option false :grantor {ROLESPEC :roletype 2 :rolename <> :location 357} :behavior 0} :stmt_location 323 :stmt_len 46} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 410}) :privileges ({ACCESSPRIV :priv_name select :cols ("a" "b")} {ACCESSPRIV :priv_name references :cols ("c")}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 415}) :grant_option false :grantor <> :behavior 0} :stmt_location 371 :stmt_len 45} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 438}) :privileges ({ACCESSPRIV :priv_name <> :cols ("a" "b")}) :grantees ({ROLESPEC :roletype 0 :rolename Quoted\ Role :location 443}) :grant_option false :grantor <> :behavior 0} :stmt_location 418 :stmt_len 38} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 474}) :privileges ({ACCESSPRIV :priv_name create :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 479}) :grant_option false :grantor <> :behavior 0} :stmt_location 458 :stmt_len 22} {RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 504}) :privileges ({ACCESSPRIV :priv_name alter\ system :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 509}) :grant_option false :grantor <> :behavior 0} :stmt_location 482 :stmt_len 28}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 17}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 24}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 30} {RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 52} {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 57}) :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename admin :location 64}) :grant_option false :grantor <> :behavior 1} :stmt_location 32 :stmt_len 45} {RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 121}) :privileges ({ACCESSPRIV :priv_name select :cols <>} {ACCESSPRIV :priv_name update :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 128}) :grant_option true :grantor <> :behavior 0} :stmt_location 79 :stmt_len 59} {RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 37 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname sq :inh true :relpersistence p :alias <> :location 166}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename g :location 174}) :grant_option false :grantor {ROLESPEC :roletype 1 :rolename <> :location 187} :behavior 0} :stmt_location 140 :stmt_len 59} {RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 230}) :privileges ({ACCESSPRIV :priv_name <> :cols ("a")}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 237}) :grant_option false :grantor <> :behavior 0} :stmt_location 201 :stmt_len 37}) ERR 22 role name "none" is reserved ERR 18 syntax error at or near ";" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 13} :location 13}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause ({GROUPINGSET :kind 2 :content ({COLUMNREF :fields ("a") :location 43} {COLUMNREF :fields ("b") :location 46}) :location 36}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 48}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 13} :location 13}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause ({GROUPINGSET :kind 3 :content ({COLUMNREF :fields ("a") :location 41} {COLUMNREF :fields ("b") :location 44}) :location 36}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 13} :location 13}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause ({GROUPINGSET :kind 4 :content ({COLUMNREF :fields ("a") :location 52} {COLUMNREF :fields ("b") :location 57} {GROUPINGSET :kind 0 :content <> :location 61}) :location 36}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 64}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 11}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 19}) :whereClause <> :groupClause ({GROUPINGSET :kind 0 :content <> :location 30}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {GROUPINGFUNC :args ({COLUMNREF :fields ("a") :location 19} {COLUMNREF :fields ("b") :location 22}) :refs <> :cols <> :agglevelsup 0 :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 30}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 26} :location 26}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 38}) :whereClause <> :groupClause ({GROUPINGSET :kind 2 :content ({COLUMNREF :fields ("a") :location 56} {COLUMNREF :fields ("b") :location 59}) :location 49}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 61}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause ({GROUPINGSET :kind 4 :content ({COLUMNREF :fields ("a") :location 40} {GROUPINGSET :kind 2 :content ({COLUMNREF :fields ("b") :location 50} {COLUMNREF :fields ("c") :location 53}) :location 43}) :location 25}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 17}) :whereClause <> :groupClause ({COLUMNREF :fields ("a") :location 28} {GROUPINGSET :kind 2 :content ({COLUMNREF :fields ("b") :location 38} {COLUMNREF :fields ("c") :location 41}) :location 31}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause ({GROUPINGSET :kind 2 :content ({COLUMNREF :fields ("a") :location 41} {COLUMNREF :fields ("b") :location 44}) :location 34}) :groupDistinct true :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {GROUPINGFUNC :args ({COLUMNREF :fields ("a") :location 16}) :refs <> :cols <> :agglevelsup 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 24}) :whereClause <> :groupClause ({GROUPINGSET :kind 3 :content ({COLUMNREF :fields ("a") :location 40}) :location 35}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("sum") :args ({COLUMNREF :fields ("c") :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 13} :location 13}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause ({GROUPINGSET :kind 4 :content ({ROWEXPR :args ({COLUMNREF :fields ("a") :location 52} {COLUMNREF :fields ("b") :location 54}) :row_typeid 0 :row_format 2 :colnames <> :location 51}) :location 36}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 57}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause ({ROWEXPR :args ({COLUMNREF :fields ("a") :location 26} {COLUMNREF :fields ("b") :location 29}) :row_typeid 0 :row_format 2 :colnames <> :location 25}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause ({GROUPINGSET :kind 2 :content ({ROWEXPR :args ({COLUMNREF :fields ("a") :location 33} {COLUMNREF :fields ("b") :location 35}) :row_typeid 0 :row_format 2 :colnames <> :location 32} {COLUMNREF :fields ("c") :location 39}) :location 25}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname id :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 28}) :fdwoptions <> :location 21}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname child :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname pid :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 39} :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 28}) :fdwoptions <> :location 20}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname child2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname pid :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 40} :fk_attrs <> :pk_attrs ("id") :fk_with_period false :pk_with_period false :fk_matchtype f :fk_upd_action n :fk_del_action c :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 29}) :fdwoptions <> :location 21}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 100}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname child3 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname pid :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 40} :fk_attrs <> :pk_attrs ("id") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action r :fk_del_action d :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 29}) :fdwoptions <> :location 21}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 93}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 7 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 23}) :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname nn :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 62} :fk_attrs <> :pk_attrs ("x") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 37}) :fdwoptions <> :location 31}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 101}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 24} {CONSTRAINT :contype 9 :conname fk_ab :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 78} :fk_attrs ("a" "b") :pk_attrs ("x" "y") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action c :fk_del_action n :fk_del_set_cols ("a") :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 133}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t3 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 24} {CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname parent :inh true :relpersistence p :alias <> :location 58} :fk_attrs ("a") :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 65}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t4 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 24} {CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("a" "b") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t5 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 24} {CONSTRAINT :contype 7 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct true :keys ("a") :without_overlaps false :including ("b") :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 73}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t6 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {CONSTRAINT :contype 5 :conname ck :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 45} :rexpr {A_CONST :val 0 :location 49} :rexpr_list_start 0 :rexpr_list_end 0 :location 47} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 24}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 52}) ERR 46 MATCH PARTIAL not yet implemented ERR 56 a column list with SET NULL is only supported for ON DELETE actions ERR 54 CHECK constraints cannot be marked DEFERRABLE ERR 71 constraint declared INITIALLY DEFERRED must be DEFERRABLE ERR 56 FOREIGN KEY constraints cannot be marked NO INHERIT ERR 38 UNIQUE constraints cannot be marked NOT VALID OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause {A_EXPR :name ("pg_catalog" "=") :lexpr {A_CONST :val 1 :location 15} :rexpr {A_CONST :val 1 :location 40} :rexpr_list_start 0 :rexpr_list_end 0 :location 17} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias {ALIAS :aliasname x :colnames <>} :location 19}) :whereClause {A_EXPR :name ("pg_catalog" "=") :lexpr {COLUMNREF :fields ("id") :location 29} :rexpr {PARAMREF :number 1 :location 57} :rexpr_list_start 0 :rexpr_list_end 0 :location 34} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause ({LOCKINGCLAUSE :lockedRels ({RANGEVAR :catalogname <> :schemaname <> :relname x :inh true :relpersistence p :alias <> :location 77}) :strength 1 :waitPolicy 0}) :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 78}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR LIKE :name ("~~") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {A_CONST :val "x%" :location 14} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 24}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR LIKE :name ("!~~") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {A_CONST :val "x%" :location 18} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 28}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR LIKE :name ("~~") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {FUNCCALL :funcname ("pg_catalog" "like_escape") :args ({A_CONST :val "x!%" :location 14} {A_CONST :val "!" :location 27}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 9} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 36}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR LIKE :name ("!~~") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {FUNCCALL :funcname ("pg_catalog" "like_escape") :args ({A_CONST :val "x!%" :location 18} {A_CONST :val "!" :location 31}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 9} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 40}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR ILIKE :name ("~~*") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {A_CONST :val "x%" :location 15} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR ILIKE :name ("!~~*") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {A_CONST :val "x%" :location 19} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 29}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR ILIKE :name ("~~*") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {FUNCCALL :funcname ("pg_catalog" "like_escape") :args ({A_CONST :val "x!%" :location 15} {A_CONST :val "!" :location 28}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 9} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 37}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR ILIKE :name ("!~~*") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr {FUNCCALL :funcname ("pg_catalog" "like_escape") :args ({A_CONST :val "x!%" :location 19} {A_CONST :val "!" :location 32}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 9} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 41}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop and :args ({BOOLEXPR :boolop not :args ({A_EXPR LIKE :name ("~~") :lexpr {COLUMNREF :fields ("a") :location 11} :rexpr {A_CONST :val "x%" :location 18} :rexpr_list_start 0 :rexpr_list_end 0 :location 13}) :location 7} {COLUMNREF :fields ("b") :location 27}) :location 23} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 34}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("c") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname tchar :inh true :relpersistence p :alias <> :location 14}) :whereClause {A_EXPR LIKE :name ("~~") :lexpr {COLUMNREF :fields ("c") :location 26} :rexpr {A_CONST :val "ab%" :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("c") :location 48} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 26 syntax error at or near "ILIKE" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR DISTINCT :name ("=") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 26} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR NOT_DISTINCT :name ("=") :lexpr {COLUMNREF :fields ("a") :location 29} :rexpr {A_CONST NULL :location 52} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :location 29}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR DISTINCT :name ("=") :lexpr {A_CONST NULL :location 7} :rexpr {A_CONST NULL :location 29} :rexpr_list_start 0 :rexpr_list_end 0 :location 12} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR NOT_DISTINCT :name ("=") :lexpr {A_CONST NULL :location 35} :rexpr {A_CONST :val "x" :location 61} :rexpr_list_start 0 :rexpr_list_end 0 :location 40} :location 35}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 64}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("a") :location 7} :booltesttype 0 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("b") :location 18} :booltesttype 1 :location 20} :location 18} {RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("c") :location 33} :booltesttype 2 :location 35} :location 33} {RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("d") :location 45} :booltesttype 3 :location 47} :location 45} {RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("e") :location 61} :booltesttype 4 :location 63} :location 61} {RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {COLUMNREF :fields ("f") :location 75} :booltesttype 5 :location 77} :location 75}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 97}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 98}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEANTEST :arg {BOOLEANTEST :arg {COLUMNREF :fields ("a") :location 7} :booltesttype 1 :location 9} :booltesttype 2 :location 21} :location 7} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({BOOLEANTEST :arg {COLUMNREF :fields ("b") :location 35} :booltesttype 4 :location 37}) :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLLATECLAUSE :arg {A_CONST :val "x" :location 7} :collname ("C") :location 11} :location 7} {RESTARGET :name <> :indirection <> :val {COLLATECLAUSE :arg {COLUMNREF :fields ("n") :location 24} :collname ("pg_catalog" "default") :location 26} :location 24} {RESTARGET :name <> :indirection <> :val {COLLATECLAUSE :arg {COLUMNREF :fields ("s") :location 56} :collname ("de_de") :location 58} :location 56}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 77}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 78}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR IN :name ("=") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr ({A_CONST :val 1 :location 13}) :rexpr_list_start 12 :rexpr_list_end 14 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR IN :name ("\<>") :lexpr {COLUMNREF :fields ("b") :location 17} :rexpr ({A_CONST :val 1 :location 27} {A_EXPR :name ("+") :lexpr {A_CONST :val 2 :location 30} :rexpr {A_CONST :val 3 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} {A_CONST :val "x" :location 37}) :rexpr_list_start 26 :rexpr_list_end 40 :location 19} :location 17} {RESTARGET :name <> :indirection <> :val {SUBLINK :subLinkType 2 :subLinkId 0 :testexpr {COLUMNREF :fields ("c") :location 43} :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 56} :location 56}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 45} :location 43}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR ANY :name ("=") :lexpr {A_CONST :val 1 :location 7} :rexpr {COLUMNREF :fields ("a") :location 16} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR ALL :name (">") :lexpr {A_CONST :val 2 :location 20} :rexpr {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("b") :location 29} :rexpr {A_CONST :val 1 :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :rexpr_list_start 0 :rexpr_list_end 0 :location 22} :location 20} {RESTARGET :name <> :indirection <> :val {A_EXPR ANY :name ("\<>") :lexpr {A_CONST :val 3 :location 37} :rexpr {COLUMNREF :fields ("c") :location 48} :rexpr_list_start 0 :rexpr_list_end 0 :location 39} :location 37}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {ROWEXPR :args ({A_CONST :val 1 :location 8} {A_CONST :val 2 :location 11}) :row_typeid 0 :row_format 2 :colnames <> :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {ROWEXPR :args ({A_CONST :val 1 :location 19} {A_CONST :val 2 :location 22} {A_CONST :val 3 :location 25}) :row_typeid 0 :row_format 0 :colnames <> :location 15} :location 15} {RESTARGET :name <> :indirection <> :val {ROWEXPR :args ({A_CONST :val 1 :location 33}) :row_typeid 0 :row_format 0 :colnames <> :location 29} :location 29} {RESTARGET :name <> :indirection <> :val {ROWEXPR :args <> :row_typeid 0 :row_format 0 :colnames <> :location 37} :location 37} {RESTARGET :name <> :indirection <> :val {ROWEXPR :args ({COLUMNREF :fields ("a") :location 45} {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("b") :location 48} :rexpr {A_CONST :val 1 :location 52} :rexpr_list_start 0 :rexpr_list_end 0 :location 50} {A_CONST :val "x" :location 55}) :row_typeid 0 :row_format 2 :colnames <> :location 44} :location 44}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("\<") :lexpr {ROWEXPR :args ({COLUMNREF :fields ("a") :location 8} {COLUMNREF :fields ("b") :location 11}) :row_typeid 0 :row_format 2 :colnames <> :location 7} :rexpr {ROWEXPR :args ({COLUMNREF :fields ("c") :location 17} {COLUMNREF :fields ("d") :location 20}) :row_typeid 0 :row_format 2 :colnames <> :location 16} :rexpr_list_start 0 :rexpr_list_end 0 :location 14} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR :name ("=") :lexpr {ROWEXPR :args ({COLUMNREF :fields ("x") :location 28}) :row_typeid 0 :row_format 0 :colnames <> :location 24} :rexpr {ROWEXPR :args ({COLUMNREF :fields ("y") :location 37}) :row_typeid 0 :row_format 0 :colnames <> :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :location 24}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR BETWEEN :name ("BETWEEN") :lexpr {COLUMNREF :fields ("a") :location 7} :rexpr ({A_CONST :val 1 :location 17} {A_CONST :val 2 :location 23}) :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7} {RESTARGET :name <> :indirection <> :val {A_EXPR NOT_BETWEEN_SYM :name ("NOT\ BETWEEN\ SYMMETRIC") :lexpr {COLUMNREF :fields ("b") :location 26} :rexpr ({A_CONST :val 3 :location 50} {A_CONST :val 4 :location 56}) :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :location 26}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 57}) ERR 22 syntax error at or near "2" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name collate :indirection <> :val {COLUMNREF :fields ("x") :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 16} :options <> :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 17}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname myschema :relname seq1 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname increment :arg 5 :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname start :arg 100 :defaction 0 :location 45}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s2 :inh true :relpersistence p :alias <> :location 30} :options ({DEFELEM :defnamespace <> :defname minvalue :arg 0 :defaction 0 :location 33} {DEFELEM :defnamespace <> :defname maxvalue :arg 1000 :defaction 0 :location 44} {DEFELEM :defnamespace <> :defname cache :arg 20 :defaction 0 :location 58} {DEFELEM :defnamespace <> :defname cycle :arg true :defaction 0 :location 67}) :ownerId 0 :for_identity false :if_not_exists true} :stmt_location 0 :stmt_len 72}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s3 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname as :arg {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname increment :arg -1 :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname minvalue :arg <> :defaction 0 :location 43} {DEFELEM :defnamespace <> :defname maxvalue :arg <> :defaction 0 :location 55} {DEFELEM :defnamespace <> :defname cycle :arg false :defaction 0 :location 67}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 75}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s4 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname start :arg 9223372036854775807 :defaction 0 :location 19}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s5 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname increment :arg -2.5 :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname cache :arg 10.5 :defaction 0 :location 37}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s6 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname owned_by :arg ("tbl" "col") :defaction 0 :location 19}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s7 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname sequence_name :arg ("x" "y") :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname restart :arg 5 :defaction 0 :location 37}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s8 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname logged :arg <> :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname unlogged :arg <> :defaction 0 :location 26} {DEFELEM :defnamespace <> :defname restart :arg <> :defaction 0 :location 35}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname s9 :inh true :relpersistence p :alias <> :location 16} :options ({DEFELEM :defnamespace <> :defname start :arg 42 :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname maxvalue :arg -1 :defaction 0 :location 34} {DEFELEM :defnamespace <> :defname as :arg {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 49} :defaction 0 :location 46}) :ownerId 0 :for_identity false :if_not_exists false} :stmt_location 0 :stmt_len 64}) ERR 16 syntax error at or near ";" ERR 21 syntax error at or near "WITH" OK ({RAWSTMT :stmt {CREATEDOMAINSTMT :domainname ("posint") :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :collClause <> :constraints ({CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("value") :location 35} :rexpr {A_CONST :val 0 :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 28} {CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 46})} :stmt_location 0 :stmt_len 54}) OK ({RAWSTMT :stmt {CREATEDOMAINSTMT :domainname ("d1") :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :collClause <> :constraints <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEDOMAINSTMT :domainname ("myschema" "d2") :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :collClause <> :constraints ({CONSTRAINT :contype 2 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name ("+") :lexpr {A_CONST :val 5 :location 42} :rexpr {A_CONST :val 1 :location 46} :rexpr_list_start 0 :rexpr_list_end 0 :location 44} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 34})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEDOMAINSTMT :domainname ("d3") :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :collClause <> :constraints ({CONSTRAINT :contype 0 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 28} {CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name ("\<>") :lexpr {COLUMNREF :fields ("value") :location 40} :rexpr {A_CONST :val 0 :location 49} :rexpr_list_start 0 :rexpr_list_end 0 :location 46} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 33})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEDOMAINSTMT :domainname ("d4") :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :collClause <> :constraints ({CONSTRAINT :contype 5 :conname pos :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("value") :location 46} :rexpr {A_CONST :val 0 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 24})} :stmt_location 0 :stmt_len 0}) ERR 14 syntax error at end of input OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 16}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 25}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 114 :partParams ({PARTITIONELEM :name a :expr <> :collation <> :opclass <> :location 53}) :location 33} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 108 :partParams ({PARTITIONELEM :name a :expr <> :collation <> :opclass <> :location 44} {PARTITIONELEM :name b :expr <> :collation <> :opclass <> :location 47}) :location 25} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 104 :partParams ({PARTITIONELEM :name a :expr <> :collation <> :opclass <> :location 44} {PARTITIONELEM :name b :expr <> :collation <> :opclass <> :location 47}) :location 25} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 114 :partParams ({PARTITIONELEM :name <> :expr {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 46} :rexpr {A_CONST :val 1 :location 50} :rexpr_list_start 0 :rexpr_list_end 0 :location 48} :collation <> :opclass <> :location 45} {PARTITIONELEM :name <> :expr {FUNCCALL :funcname ("lower") :args ({COLUMNREF :fields ("b") :location 60}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 54} :collation <> :opclass <> :location 54} {PARTITIONELEM :name c :expr <> :collation <> :opclass <> :location 64}) :location 25} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 66}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 114 :partParams ({PARTITIONELEM :name a :expr <> :collation ("C") :opclass ("int4_ops") :location 45}) :location 25} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 68}) ERR 39 unrecognized partitioning strategy "foo" OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c1 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({A_CONST :val 1 :location 49}) :upperdatums ({A_CONST :val 10 :location 56}) :location 43} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c1 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname s :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({COLUMNREF :fields ("minvalue") :location 51} {A_CONST :val 0 :location 61}) :upperdatums ({COLUMNREF :fields ("maxvalue") :location 68} {A_CONST :val "x" :location 78}) :location 45} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 82}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c2 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val 1 :location 47} {A_CONST :val 2 :location 50} {A_CONST :val 3 :location 53}) :lowerdatums <> :upperdatums <> :location 43} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c3 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val "a" :location 47} {A_CONST NULL :location 52} {A_CONST :val true :location 58}) :lowerdatums <> :upperdatums <> :location 43} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c4 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy <> :is_default true :modulus 0 :remainder 0 :listdatums <> :lowerdatums <> :upperdatums <> :location 32} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c5 :inh true :relpersistence t :alias <> :location 18} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 34}) :partbound {PARTITIONBOUNDSPEC :strategy <> :is_default true :modulus 0 :remainder 0 :listdatums <> :lowerdatums <> :upperdatums <> :location 37} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c6 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({A_CONST :val 1 :location 49} {A_CONST :val "x" :location 52}) :upperdatums ({A_CONST :val 10 :location 61} {A_CONST :val "y" :location 65}) :location 43} :partspec {PARTITIONSPEC :strategy 108 :partParams ({PARTITIONELEM :name b :expr <> :collation <> :opclass <> :location 89}) :location 70} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 91}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c7 :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname pt :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val 1 :location 47}) :lowerdatums <> :upperdatums <> :location 43} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename ts :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 63}) ERR 31 syntax error at or near ";" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname x :colnames ("a" "b")} :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname x :colnames ("a")} :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x" "a") :location 7} :location 7}) :fromClause ({RANGESUBSELECT :lateral false :subquery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 24} :location 24}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :alias {ALIAS :aliasname x :colnames ("a")}}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 15} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 22} :usingClause <> :join_using_alias <> :quals {A_CONST :val true :location 27} :alias {ALIAS :aliasname c :colnames ("p" "q")} :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias {ALIAS :aliasname x :colnames ("a" "b" "c")} :location 19}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("g") :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("generate_series") :args ({A_CONST :val 1 :location 30} {A_CONST :val 3 :location 33}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname g :colnames ("i")} :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("pg_catalog" "+") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 32} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 7} :rexpr {A_CONST :val 2 :location 21} :rexpr_list_start 0 :rexpr_list_end 0 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 25} :sortby_dir 3 :sortby_nulls 0 :useOp ("pg_catalog" "\<") :location 33}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14}) :whereClause {A_EXPR :name ("myschema" "deep" "=") :lexpr {COLUMNREF :fields ("a") :location 22} :rexpr {A_CONST :val 1 :location 50} :rexpr_list_start 0 :rexpr_list_end 0 :location 24} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause {SUBLINK :subLinkType 2 :subLinkId 0 :testexpr {A_CONST :val 1 :location 15} :operName ("pg_catalog" "=") :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 52} :location 52}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 17} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location -1} :location -1}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 6}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location -1} :location -1}) :fromClause ({RANGEVAR :catalogname <> :schemaname s :relname t :inh false :relpersistence p :alias <> :location 11}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location -1} :location -1}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 6}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 17} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 2 :location 25} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 2 :name c :num 0 :newowner <> :def {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 41} :rexpr {A_CONST :val 2 :location 45} :rexpr_list_start 0 :rexpr_list_end 0 :location 43} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 2 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 4 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 5 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 6 :name c :num 0 :newowner <> :def {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("c") :location 41} :rexpr {A_CONST :val 1 :location 45} :rexpr_list_start 0 :rexpr_list_end 0 :location 43} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 7 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 7 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 8 :name c :num 0 :newowner <> :def 100 :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 8 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 8 :name <> :num 4 :newowner <> :def 55 :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 28 column number must be in range from 1 to 32767 ERR 28 column number must be in range from 1 to 32767 OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 9 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname n_distinct :arg 7 :defaction 0 :location 27}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 10 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname n_distinct :arg <> :defaction 0 :location 36}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 11 :name c :num 0 :newowner <> :def "plain" :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 11 :name c :num 0 :newowner <> :def "default" :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 12 :name c :num 0 :newowner <> :def "lz4" :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 12 :name c :num 0 :newowner <> :def "default" :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 63 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname generated :arg 97 :defaction 0 :location 22}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 63 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname generated :arg 100 :defaction 0 :location 29} {DEFELEM :defnamespace <> :defname restart :arg 10 :defaction 0 :location 54}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 63 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname restart :arg <> :defaction 0 :location 22}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 64 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 64 :name c :num 0 :newowner <> :def <> :behavior 0 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 24 :name c :num 0 :newowner <> :def {COLUMNDEF :colname <> :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local false :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 20} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 24 :name c :num 0 :newowner <> :def {COLUMNDEF :colname <> :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 51} {A_CONST :val 2 :location 55}) :typemod -1 :arrayBounds <> :location 43} :compression <> :inhcount 0 :is_local false :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default {TYPECAST :arg {COLUMNREF :fields ("c") :location 76} :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 79} :location 77} :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 58} :collOid 0 :constraints <> :fdwoptions <> :location 27} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 25 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname opt :arg "v" :defaction 1 :location 35} {DEFELEM :defnamespace <> :defname o2 :arg "w" :defaction 2 :location 48} {DEFELEM :defnamespace <> :defname o3 :arg <> :defaction 3 :location 61}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 25 :name c :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname o1 :arg "x" :defaction 0 :location 38}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 20 :name cc :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 22 :name cc :num 0 :newowner <> :def <> :behavior 1 :missing_ok true :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 22 :name cc :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 31 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 27 :name idx :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 28 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 29 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 30 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 37 :name tg :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 38 :name tg :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 39 :name tg :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 41 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 43 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 40 :name tg :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 42 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 44 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 45 :name rr :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 46 :name rr :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 47 :name rr :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 48 :name rr :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 49 :name <> :num 0 :newowner <> :def {RANGEVAR :catalogname <> :schemaname <> :relname par :inh true :relpersistence p :alias <> :location 22} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 50 :name <> :num 0 :newowner <> :def {RANGEVAR :catalogname <> :schemaname s :relname par :inh true :relpersistence p :alias <> :location 25} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 51 :name <> :num 0 :newowner <> :def {TYPENAME :names ("s" "comptype") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 52 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 26 :name <> :num 0 :newowner {ROLESPEC :roletype 0 :rolename alice :location 23} :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 26 :name <> :num 0 :newowner {ROLESPEC :roletype 2 :rolename <> :location 23} :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 26 :name <> :num 0 :newowner {ROLESPEC :roletype 4 :rolename <> :location 23} :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 32 :name heap2 :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 32 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 33 :name ts :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 34 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname fillfactor :arg 70 :defaction 0 :location 19}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 35 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname fillfactor :arg <> :defaction 0 :location 21}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 53 :name <> :num 0 :newowner <> :def {REPLICAIDENTITYSTMT :identity_type n :name <>} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 53 :name <> :num 0 :newowner <> :def {REPLICAIDENTITYSTMT :identity_type f :name <>} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 53 :name <> :num 0 :newowner <> :def {REPLICAIDENTITYSTMT :identity_type d :name <>} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 53 :name <> :num 0 :newowner <> :def {REPLICAIDENTITYSTMT :identity_type i :name ridx} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 54 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 55 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 56 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 57 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 58 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname foo :arg "bar" :defaction 2 :location 27}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 22} :cmds ({ALTERTABLECMD :subtype 24 :name c :num 0 :newowner <> :def {COLUMNDEF :colname <> :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 37} :compression <> :inhcount 0 :is_local false :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 30} :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 26 :name <> :num 0 :newowner {ROLESPEC :roletype 3 :rolename <> :location 52} :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 34 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname autovacuum_enabled :arg "off" :defaction 0 :location 71}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEENUMSTMT :typeName ("mood") :vals ("sad" "ok" "happy")} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {CREATEENUMSTMT :typeName ("public" "empty_mood") :vals <>} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {CREATEENUMSTMT :typeName ("s" "q" "mood3") :vals ("a")} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {ALTERENUMSTMT :typeName ("mood") :oldVal <> :newVal meh :newValNeighbor <> :newValIsAfter true :skipIfNewValExists false} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {ALTERENUMSTMT :typeName ("mood") :oldVal <> :newVal meh :newValNeighbor <> :newValIsAfter true :skipIfNewValExists true} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTERENUMSTMT :typeName ("mood") :oldVal <> :newVal meh :newValNeighbor ok :newValIsAfter false :skipIfNewValExists false} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {ALTERENUMSTMT :typeName ("mood") :oldVal <> :newVal meh :newValNeighbor sad :newValIsAfter true :skipIfNewValExists true} :stmt_location 0 :stmt_len 57}) OK ({RAWSTMT :stmt {ALTERENUMSTMT :typeName ("mood") :oldVal sad :newVal blue :newValNeighbor <> :newValIsAfter false :skipIfNewValExists false} :stmt_location 0 :stmt_len 44}) ERR 17 dropping an enum value is not implemented OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v1 :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t1" "a") :location 25} :location 25} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t1" "b") :location 31} :location 31} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t2" "d") :location 37} :location 37}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 47} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 55} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t1" "a") :location 61} :rexpr {COLUMNREF :fields ("t2" "a") :location 68} :rexpr_list_start 0 :rexpr_list_end 0 :location 66} :alias <> :rtindex 0}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("t1" "b") :location 79} :rexpr {A_CONST :val 10 :location 86} :rexpr_list_start 0 :rexpr_list_end 0 :location 84} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname s :relname v2 :inh true :relpersistence p :alias <> :location 23} :aliases ("x" "y") :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 45} :location 45} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 48} :location 48}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace true :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v3 :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 25} :location 25}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 2} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v4 :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 25} :location 25}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 2} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v5 :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 25} :location 25}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname Quoted :relname Name :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 38} :location 38}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v6 :inh true :relpersistence p :alias <> :location 12} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 25} :location 25}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("a") :location 43} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount {A_CONST :val 3 :location 51} :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) ERR 17 syntax error at end of input ERR 13 syntax error at or near "AS" ERR 18 syntax error at or near ")" OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 39} :location 39} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 42} :location 42}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 49}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 57} :rexpr {A_CONST :val 1 :location 61} :rexpr_list_start 0 :rexpr_list_end 0 :location 59} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname mv1 :inh true :relpersistence p :alias <> :location 25} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 23 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 62} :location 62} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 65} :location 65}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname s :relname mv2 :inh true :relpersistence p :alias <> :location 39} :colNames ("x" "y") :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData true} :objtype 23 :is_select_into false :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 48} :location 48}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname mv3 :inh true :relpersistence u :alias <> :location 34} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 23 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 50} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 57}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname mv4 :inh true :relpersistence p :alias <> :location 25} :colNames <> :accessMethod heap :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 23 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {REFRESHMATVIEWSTMT :concurrent false :skipData false :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv1 :inh true :relpersistence p :alias <> :location 26}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {REFRESHMATVIEWSTMT :concurrent true :skipData false :relation {RANGEVAR :catalogname <> :schemaname s :relname mv2 :inh true :relpersistence p :alias <> :location 39}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {REFRESHMATVIEWSTMT :concurrent false :skipData true :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv1 :inh true :relpersistence p :alias <> :location 26}} :stmt_location 0 :stmt_len 0}) ERR 26 syntax error at or near "AS" OK ({RAWSTMT :stmt {DROPSTMT :objects (("mv1") ("s" "mv2")) :removeType 23 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 25 :oldstyle false :defnames ("===") :args <> :definition ({DEFELEM :defnamespace <> :defname leftarg :arg {TYPENAME :names ("box") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 31} :defaction 0 :location 21} {DEFELEM :defnamespace <> :defname rightarg :arg {TYPENAME :names ("box") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 47} :defaction 0 :location 36} {DEFELEM :defnamespace <> :defname function :arg {TYPENAME :names ("area_equal_function") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 63} :defaction 0 :location 52} {DEFELEM :defnamespace <> :defname commutator :arg ("===") :defaction 0 :location 84} {DEFELEM :defnamespace <> :defname negator :arg ("!==") :defaction 0 :location 102} {DEFELEM :defnamespace <> :defname restrict :arg {TYPENAME :names ("area_restriction_function") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 128} :defaction 0 :location 117} {DEFELEM :defnamespace <> :defname join :arg {TYPENAME :names ("area_join_function") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 162} :defaction 0 :location 155} {DEFELEM :defnamespace <> :defname hashes :arg <> :defaction 0 :location 182} {DEFELEM :defnamespace <> :defname merges :arg <> :defaction 0 :location 190}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 197} {RAWSTMT :stmt {DEFINESTMT :kind 25 :oldstyle false :defnames ("myschema" "##") :args <> :definition ({DEFELEM :defnamespace <> :defname leftarg :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 238} :defaction 0 :location 228} {DEFELEM :defnamespace <> :defname rightarg :arg {TYPENAME :names ("myschema" "widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 255} :defaction 0 :location 244} {DEFELEM :defnamespace <> :defname procedure :arg {TYPENAME :names ("myschema" "myfn") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 284} :defaction 0 :location 272}) :if_not_exists false :replace false} :stmt_location 199 :stmt_len 99} {RAWSTMT :stmt {DEFINESTMT :kind 25 :oldstyle false :defnames ("@#@") :args <> :definition ({DEFELEM :defnamespace <> :defname rightarg :arg {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 332} :defaction 0 :location 321} {DEFELEM :defnamespace <> :defname procedure :arg {TYPENAME :names ("factorial") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 350} :defaction 0 :location 338} {DEFELEM :defnamespace <> :defname commutator :arg ("alt" "%>") :defaction 0 :location 361} {DEFELEM :defnamespace <> :defname negator :arg ("\<>") :defaction 0 :location 392} {DEFELEM :defnamespace <> :defname restrict :arg "\1.5" :defaction 0 :location 406} {DEFELEM :defnamespace <> :defname join :arg 2 :defaction 0 :location 424} {DEFELEM :defnamespace <> :defname sort1 :arg ("\<") :defaction 0 :location 434} {DEFELEM :defnamespace <> :defname unknownattr :arg "all" :defaction 0 :location 445}) :if_not_exists false :replace false} :stmt_location 300 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEOPCLASSSTMT :opclassname ("widget_ops") :opfamilyname ("wf") :amname btree :datatype {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 50} :items ({CREATEOPCLASSITEM :itemtype 1 :name {OBJECTWITHARGS :objname ("\<") :objargs <> :objfuncargs <> :args_unspecified false} :number 1 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 1 :name {OBJECTWITHARGS :objname ("\<=") :objargs ({TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 110} {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 118}) :objfuncargs <> :args_unspecified false} :number 2 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 1 :name {OBJECTWITHARGS :objname ("my" ">") :objargs <> :objfuncargs <> :args_unspecified false} :number 5 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 1 :name {OBJECTWITHARGS :objname ("><") :objargs <> :objfuncargs <> :args_unspecified false} :number 4 :order_family ("float_ops") :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 2 :name {OBJECTWITHARGS :objname ("btwidgetcmp") :objargs ({TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 216} {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 224}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 216} :mode 100 :defexpr <> :location 216} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 224} :mode 100 :defexpr <> :location 224}) :args_unspecified false} :number 1 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 2 :name {OBJECTWITHARGS :objname ("widget_sortsupport") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 280}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 280} :mode 100 :defexpr <> :location 280}) :args_unspecified false} :number 2 :order_family <> :class_args ({TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 245} {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 253}) :storedtype <>} {CREATEOPCLASSITEM :itemtype 2 :name {OBJECTWITHARGS :objname ("nofn") :objargs <> :objfuncargs <> :args_unspecified true} :number 3 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 3 :name <> :number 0 :order_family <> :class_args <> :storedtype {TYPENAME :names ("widget") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 316}}) :isDefault true} :stmt_location 0 :stmt_len 322} {RAWSTMT :stmt {CREATEOPCLASSSTMT :opclassname ("oc") :opfamilyname <> :amname hash :datatype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 358} :items ({CREATEOPCLASSITEM :itemtype 2 :name {OBJECTWITHARGS :objname ("hashint4") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 402} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 427} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 445}) :objfuncargs ({FUNCTIONPARAMETER :name x :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 402} :mode 105 :defexpr <> :location 397} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 412} :mode 111 :defexpr <> :location 408} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 427} :mode 118 :defexpr <> :location 418} {FUNCTIONPARAMETER :name named :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 445} :mode 98 :defexpr <> :location 433}) :args_unspecified false} :number 1 :order_family <> :class_args <> :storedtype <>}) :isDefault false} :stmt_location 324 :stmt_len 126} {RAWSTMT :stmt {CREATEOPFAMILYSTMT :opfamilyname ("fam") :amname btree} :stmt_location 452 :stmt_len 38} {RAWSTMT :stmt {CREATEOPFAMILYSTMT :opfamilyname ("s" "fam") :amname gist} :stmt_location 492 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROPFAMILYSTMT :opfamilyname ("fam") :amname btree :isDrop false :items ({CREATEOPCLASSITEM :itemtype 1 :name {OBJECTWITHARGS :objname ("\<") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 56} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 62}) :objfuncargs <> :args_unspecified false} :number 1 :order_family <> :class_args <> :storedtype <>} {CREATEOPCLASSITEM :itemtype 2 :name {OBJECTWITHARGS :objname ("btint48cmp") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 91} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 97}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 91} :mode 100 :defexpr <> :location 91} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 97} :mode 100 :defexpr <> :location 97}) :args_unspecified false} :number 1 :order_family <> :class_args <> :storedtype <>})} :stmt_location 0 :stmt_len 102} {RAWSTMT :stmt {ALTEROPFAMILYSTMT :opfamilyname ("s" "fam") :amname btree :isDrop true :items ({CREATEOPCLASSITEM :itemtype 1 :name <> :number 1 :order_family <> :class_args ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 161} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 167}) :storedtype <>} {CREATEOPCLASSITEM :itemtype 2 :name <> :number 2 :order_family <> :class_args ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 186}) :storedtype <>})} :stmt_location 104 :stmt_len 87} {RAWSTMT :stmt {ALTEROPERATORSTMT :opername {OBJECTWITHARGS :objname ("===") :objargs ({TYPENAME :names ("pg_catalog" "bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 213} {TYPENAME :names ("pg_catalog" "bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 222}) :objfuncargs <> :args_unspecified false} :options ({DEFELEM :defnamespace <> :defname restrict :arg <> :defaction 0 :location 236} {DEFELEM :defnamespace <> :defname join :arg {TYPENAME :names ("contjoinsel") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 260} :defaction 0 :location 253} {DEFELEM :defnamespace <> :defname commutator :arg ("===") :defaction 0 :location 273} {DEFELEM :defnamespace <> :defname hashes :arg <> :defaction 0 :location 291})} :stmt_location 193 :stmt_len 105} {RAWSTMT :stmt {ALTEROPERATORSTMT :opername {OBJECTWITHARGS :objname ("my" "+") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 321} {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 327}) :objfuncargs <> :args_unspecified false} :options ({DEFELEM :defnamespace <> :defname negator :arg ("my" "-") :defaction 0 :location 338} {DEFELEM :defnamespace <> :defname merges :arg <> :defaction 0 :location 364})} :stmt_location 300 :stmt_len 0}) ERR 24 missing argument ERR 23 syntax error at or near ";" OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 19} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t" "a") :location 24} :rexpr {COLUMNREF :fields ("s" "a") :location 30} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 2 :override 0 :condition <> :targetList ({RESTARGET :name b :indirection <> :val {COLUMNREF :fields ("s" "b") :location 67} :location 63}) :values <>} {MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 0 :condition <> :targetList ({RESTARGET :name a :indirection <> :val <> :location 101} {RESTARGET :name b :indirection <> :val <> :location 104}) :values ({COLUMNREF :fields ("s" "a") :location 115} {COLUMNREF :fields ("s" "b") :location 120})}) :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 124}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias {ALIAS :aliasname tt :colnames <>} :location 16} :sourceRelation {RANGESUBSELECT :lateral false :subquery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name x :indirection <> :val {A_CONST :val 1 :location 38} :location 38}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :alias {ALIAS :aliasname ss :colnames <>}} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("tt" "a") :location 55} :rexpr {COLUMNREF :fields ("ss" "x") :location 62} :rexpr_list_start 0 :rexpr_list_end 0 :location 60} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 4 :override 0 :condition {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("tt" "b") :location 84} :rexpr {A_CONST :val 0 :location 91} :rexpr_list_start 0 :rexpr_list_end 0 :location 89} :targetList <> :values <>} {MERGEWHENCLAUSE :matchKind 0 :commandType 7 :override 0 :condition <> :targetList <> :values <>} {MERGEWHENCLAUSE :matchKind 2 :commandType 7 :override 0 :condition {A_EXPR :name ("\<") :lexpr {COLUMNREF :fields ("ss" "x") :location 155} :rexpr {A_CONST :val 4 :location 162} :rexpr_list_start 0 :rexpr_list_end 0 :location 160} :targetList <> :values <>}) :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 179}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 19} :joinCondition {A_CONST :val true :location 24} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 1 :commandType 4 :override 0 :condition <> :targetList <> :values <>} {MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 0 :condition <> :targetList <> :values <>}) :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 121}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname t2 :colnames <>} :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 22} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t2" "k") :location 27} :rexpr {COLUMNREF :fields ("s" "k") :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 2 :override 0 :condition <> :targetList ({RESTARGET :name b :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("s" "b") :location 71} :rexpr {A_CONST :val 1 :location 77} :rexpr_list_start 0 :rexpr_list_end 0 :location 75} :location 67}) :values <>} {MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 2 :condition <> :targetList <> :values ({A_CONST :val 1 :location 140} {A_CONST :val 2 :location 143})}) :returningClause {RETURNINGCLAUSE :options <> :exprs ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t2" "a") :location 156} :location 156} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("s" "b") :location 162} :location 162})} :withClause <>} :stmt_location 0 :stmt_len 165}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 19} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t" "a") :location 24} :rexpr {COLUMNREF :fields ("s" "a") :location 30} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 1 :condition <> :targetList ({RESTARGET :name a :indirection <> :val <> :location 64}) :values ({COLUMNREF :fields ("s" "a") :location 97})}) :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 101}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname s :inh true :relpersistence p :alias <> :location 19} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t" "a") :location 24} :rexpr {COLUMNREF :fields ("s" "a") :location 30} :rexpr_list_start 0 :rexpr_list_end 0 :location 28} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 4 :override 0 :condition <> :targetList <> :values <>}) :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 32} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname w :inh true :relpersistence p :alias <> :location 40} :joinCondition {A_CONST :val true :location 45} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 4 :override 0 :condition <> :targetList <> :values <>}) :returningClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename w :aliascolnames <> :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 18} :location 18}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location 5 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive false :location 0}} :stmt_location 0 :stmt_len 74}) ERR 34 syntax error at or near ";" ERR 7 syntax error at or near "t" ERR 48 syntax error at or near "INSERT" OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 7 :options <> :savepoint_name <> :gid foo :chain false :location 20} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 8 :options <> :savepoint_name <> :gid foo :chain false :location 16} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 9 :options <> :savepoint_name <> :gid foo :chain false :location 18} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 7 :options <> :savepoint_name <> :gid gid\ with\ 'quote' :chain false :location 20} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 0 :options <> :savepoint_name <> :gid <> :chain false :location -1} :stmt_location 0 :stmt_len 5} {RAWSTMT :stmt {TRANSACTIONSTMT :kind 7 :options <> :savepoint_name <> :gid x :chain false :location 27} :stmt_location 7 :stmt_len 23} {RAWSTMT :stmt {TRANSACTIONSTMT :kind 8 :options <> :savepoint_name <> :gid x :chain false :location 48} :stmt_location 32 :stmt_len 19}) OK ({RAWSTMT :stmt {TRANSACTIONSTMT :kind 9 :options <> :savepoint_name <> :gid x :chain false :location 18} :stmt_location 0 :stmt_len 22}) ERR 16 syntax error at end of input OK ({RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname fixture :if_not_exists false :options <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname fixture :if_not_exists true :options <>} :stmt_location 0 :stmt_len 38}) OK ({RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname fixture :if_not_exists false :options ({DEFELEM :defnamespace <> :defname schema :arg "public" :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname new_version :arg "\1.0" :defaction 0 :location 44} {DEFELEM :defnamespace <> :defname cascade :arg true :defaction 0 :location 58})} :stmt_location 0 :stmt_len 65}) OK ({RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname fixture :if_not_exists false :options ({DEFELEM :defnamespace <> :defname schema :arg "myschema" :defaction 0 :location 25})} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {ALTEREXTENSIONSTMT :extname fixture :options <>} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {ALTEREXTENSIONSTMT :extname fixture :options ({DEFELEM :defnamespace <> :defname new_version :arg "\1.1" :defaction 0 :location 31})} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("fixture") :removeType 15 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("fixture" "other") :removeType 15 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 29} :location 29} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 32} :location 32}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 39}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 47} :rexpr {A_CONST :val 1 :location 51} :rexpr_list_start 0 :rexpr_list_end 0 :location 49} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas1 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 52} :location 52} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 55} :location 55}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname s :relname ctas2 :inh true :relpersistence p :alias <> :location 27} :colNames ("x" "y") :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData true} :objtype 41 :is_select_into false :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 34} :location 34}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas3 :inh true :relpersistence t :alias <> :location 18} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 45} :location 45}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 52}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas4 :inh true :relpersistence t :alias <> :location 29} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 39} :location 39}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas5 :inh true :relpersistence t :alias <> :location 23} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 49} :location 49}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas6 :inh true :relpersistence t :alias <> :location 18} :colNames <> :accessMethod <> :options <> :onCommit 3 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 40} :location 40}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ctas7 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod heap :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tnew :inh true :relpersistence p :alias <> :location 17} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 10} :location 10}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 27}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 35} :rexpr {A_CONST :val 1 :location 39} :rexpr_list_start 0 :rexpr_list_end 0 :location 37} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tt1 :inh true :relpersistence t :alias <> :location 24} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tt2 :inh true :relpersistence t :alias <> :location 19} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tt3 :inh true :relpersistence t :alias <> :location 30} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tt4 :inh true :relpersistence t :alias <> :location 25} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname ut1 :inh true :relpersistence u :alias <> :location 23} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname tab1 :inh true :relpersistence p :alias <> :location 20} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 14 syntax error at or near "AS" OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t1 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 35} :funcname ("f") :args <> :row true :timing 2 :events 4 :columns <> :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 72}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace true :isconstraint false :trigname t2 :relation {RANGEVAR :catalogname <> :schemaname s :relname tab :inh true :relpersistence p :alias <> :location 59} :funcname ("f") :args ("\1" "\1.5" "x" "ident") :row true :timing 0 :events 16 :columns ("col1" "col2") :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 117}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t3 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 54} :funcname ("f") :args <> :row false :timing 0 :events 28 :columns <> :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 78}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t4 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v :inh true :relpersistence p :alias <> :location 39} :funcname ("f") :args <> :row true :timing 64 :events 4 :columns <> :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 74}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t5 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 35} :funcname ("f") :args <> :row true :timing 2 :events 16 :columns <> :whenClause {A_EXPR :name ("\<>") :lexpr {COLUMNREF :fields ("old" "a") :location 58} :rexpr {COLUMNREF :fields ("new" "a") :location 67} :rexpr_list_start 0 :rexpr_list_end 0 :location 64} :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 94}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t6 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 36} :funcname ("f") :args <> :row false :timing 0 :events 32 :columns <> :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 79}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t7 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 34} :funcname ("f") :args <> :row true :timing 0 :events 4 :columns <> :whenClause <> :transitionRels ({TRIGGERTRANSITION :name newtab :isNew true :isTable true}) :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 103}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint false :trigname t8 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 34} :funcname ("f") :args <> :row true :timing 0 :events 16 :columns <> :whenClause <> :transitionRels ({TRIGGERTRANSITION :name o :isNew false :isTable true} {TRIGGERTRANSITION :name n :isNew true :isTable true}) :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 113}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint true :trigname ct1 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 46} :funcname ("f") :args <> :row true :timing 0 :events 4 :columns <> :whenClause <> :transitionRels <> :deferrable true :initdeferred true :constrrel {RANGEVAR :catalogname <> :schemaname <> :relname reftab :inh true :relpersistence p :alias <> :location 55}} :stmt_location 0 :stmt_len 125}) OK ({RAWSTMT :stmt {CREATETRIGSTMT :replace false :isconstraint true :trigname ct2 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 46} :funcname ("s" "f") :args ("a") :row true :timing 0 :events 8 :columns <> :whenClause <> :transitionRels <> :deferrable false :initdeferred false :constrrel <>} :stmt_location 0 :stmt_len 88}) ERR 1 CREATE OR REPLACE CONSTRAINT TRIGGER is not supported ERR 36 duplicate trigger events specified at or near "INSERT" OK ({RAWSTMT :stmt {DROPSTMT :objects (("tab" "t1")) :removeType 44 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("s" "tab" "t1")) :removeType 44 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {CONSTRAINTSSETSTMT :constraints <> :deferred true} :stmt_location 0 :stmt_len 28}) OK ({RAWSTMT :stmt {CONSTRAINTSSETSTMT :constraints ({RANGEVAR :catalogname <> :schemaname <> :relname c1 :inh true :relpersistence p :alias <> :location 16} {RANGEVAR :catalogname <> :schemaname s :relname c2 :inh true :relpersistence p :alias <> :location 20}) :deferred false} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 44 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname tab :inh true :relpersistence p :alias <> :location 20} :object <> :subname t1 :newname t2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {CREATEROLESTMT :stmt_type 0 :role alice :options ({DEFELEM :defnamespace <> :defname canlogin :arg true :defaction 0 :location 18})} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {CREATEROLESTMT :stmt_type 1 :role bob :options ({DEFELEM :defnamespace <> :defname password :arg "x" :defaction 0 :location 21} {DEFELEM :defnamespace <> :defname createdb :arg true :defaction 0 :location 34})} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {ALTERROLESTMT :role {ROLESPEC :roletype 0 :rolename alice :location 11} :options ({DEFELEM :defnamespace <> :defname canlogin :arg false :defaction 0 :location 17}) :action 1} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {ALTERROLESETSTMT :role {ROLESPEC :roletype 0 :rolename alice :location 11} :database <> :setstmt {VARIABLESETSTMT :kind 0 :name work_mem :args ({A_CONST :val "\10MB" :location 32}) :jumble_args false :is_local false :location 32}} :stmt_location 0 :stmt_len 38}) OK ({RAWSTMT :stmt {DROPROLESTMT :roles ({ROLESPEC :roletype 0 :rolename alice :location 20} {ROLESPEC :roletype 0 :rolename bob :location 27}) :missing_ok true} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {GRANTROLESTMT :granted_roles ({ACCESSPRIV :priv_name alice :cols <>}) :grantee_roles ({ROLESPEC :roletype 0 :rolename bob :location 15}) :is_grant true :opt ({DEFELEM :defnamespace <> :defname admin :arg true :defaction 0 :location 24}) :grantor {ROLESPEC :roletype 2 :rolename <> :location 48} :behavior 0} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {GRANTROLESTMT :granted_roles ({ACCESSPRIV :priv_name alice :cols <>}) :grantee_roles ({ROLESPEC :roletype 0 :rolename bob :location 18}) :is_grant false :opt <> :grantor <> :behavior 0} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {REASSIGNOWNEDSTMT :roles ({ROLESPEC :roletype 0 :rolename alice :location 18}) :newrole {ROLESPEC :roletype 0 :rolename bob :location 27}} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {DROPOWNEDSTMT :roles ({ROLESPEC :roletype 0 :rolename alice :location 14}) :behavior 1} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name role :args ({A_CONST :val "alice" :location 9}) :jumble_args false :is_local false :location 9} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 4 :name role :args <> :jumble_args false :is_local false :location -1} :stmt_location 0 :stmt_len 10}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} :mode 100 :defexpr <> :location 16} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :mode 100 :defexpr <> :location 21}) :args_unspecified false} {OBJECTWITHARGS :objname ("s" "g") :objargs <> :objfuncargs <> :args_unspecified false}) :removeType 19 :behavior 1 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("f") :objargs <> :objfuncargs <> :args_unspecified true}) :removeType 19 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 46} {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 65}) :objfuncargs ({FUNCTIONPARAMETER :name a :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :mode 105 :defexpr <> :location 16} {FUNCTIONPARAMETER :name b :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :mode 111 :defexpr <> :location 26} {FUNCTIONPARAMETER :name c :argType {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 46} :mode 98 :defexpr <> :location 38} {FUNCTIONPARAMETER :name d :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 65} :mode 118 :defexpr <> :location 54}) :args_unspecified false}) :removeType 19 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 25} {A_CONST :val 2 :location 28}) :typemod -1 :arrayBounds <> :location 17}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 25} {A_CONST :val 2 :location 28}) :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17}) :args_unspecified false}) :removeType 29 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("s" "p") :objargs ({TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :mode 100 :defexpr <> :location 29}) :args_unspecified false}) :removeType 29 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("r") :objargs ({TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 15}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 15} :mode 100 :defexpr <> :location 15}) :args_unspecified false}) :removeType 34 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("agg") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :mode 100 :defexpr <> :location 19}) :args_unspecified false} {OBJECTWITHARGS :objname ("agg2") :objargs <> :objfuncargs <> :args_unspecified false}) :removeType 1 :behavior 1 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("ord") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 38} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 38} :mode 100 :defexpr <> :location 38} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :mode 100 :defexpr <> :location 43}) :args_unspecified false}) :removeType 1 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("s" "f") :objargs <> :objfuncargs <> :args_unspecified true}) :removeType 19 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("s" "f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :mode 100 :defexpr <> :location 24}) :args_unspecified false} :comment c} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("f") :objargs <> :objfuncargs <> :args_unspecified true} :comment <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("binary") :objargs <> :objfuncargs <> :args_unspecified true} :comment k} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 1 :object {OBJECTWITHARGS :objname ("a") :objargs <> :objfuncargs <> :args_unspecified false} :comment x} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 29 :object {OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 23}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 23} :mode 100 :defexpr <> :location 23}) :args_unspecified false} :comment y} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 34 :object {OBJECTWITHARGS :objname ("s" "r") :objargs <> :objfuncargs <> :args_unspecified true} :comment z} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 19 :objects ({OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :mode 100 :defexpr <> :location 28}) :args_unspecified false} {OBJECTWITHARGS :objname ("s" "g") :objargs <> :objfuncargs <> :args_unspecified true}) :privileges ({ACCESSPRIV :priv_name execute :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 41}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 29 :objects ({OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 30}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 30} :mode 100 :defexpr <> :location 30}) :args_unspecified false}) :privileges ({ACCESSPRIV :priv_name execute :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 40}) :grant_option false :grantor <> :behavior 1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 34 :objects ({OBJECTWITHARGS :objname ("r") :objargs <> :objfuncargs <> :args_unspecified true}) :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 26}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 1 :objtype 19 :objects ("s" "s2") :privileges ({ACCESSPRIV :priv_name execute :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 50}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 1 :objtype 29 :objects ("s") :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename u :location 46}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 1 :objtype 34 :objects ("s") :privileges ({ACCESSPRIV :priv_name execute :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 45}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 19 :func {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17}) :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname strict :arg true :defaction 0 :location 22} {DEFELEM :defnamespace <> :defname volatility :arg "immutable" :defaction 0 :location 29})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 29 :func {OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :mode 100 :defexpr <> :location 18}) :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname security :arg true :defaction 0 :location 24})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 34 :func {OBJECTWITHARGS :objname ("r") :objargs <> :objfuncargs <> :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname cost :arg 100 :defaction 0 :location 18})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 19 :relationType 0 :relation <> :object {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17}) :args_unspecified false} :subname <> :newname g :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 1 :relationType 0 :relation <> :object {OBJECTWITHARGS :objname ("a") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :mode 100 :defexpr <> :location 18}) :args_unspecified false} :subname <> :newname b :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 29 :relationType 0 :relation <> :object {OBJECTWITHARGS :objname ("p") :objargs <> :objfuncargs <> :args_unspecified true} :subname <> :newname q :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 34 :relationType 0 :relation <> :object {OBJECTWITHARGS :objname ("r") :objargs ({TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} :mode 100 :defexpr <> :location 16}) :args_unspecified false} :subname <> :newname r2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 19 :relation <> :object {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17}) :args_unspecified false} :newowner {ROLESPEC :roletype 0 :rolename alice :location 31}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 1 :relation <> :object {OBJECTWITHARGS :objname ("a") :objargs <> :objfuncargs <> :args_unspecified false} :newowner {ROLESPEC :roletype 2 :rolename <> :location 30}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 29 :relation <> :object {OBJECTWITHARGS :objname ("p") :objargs <> :objfuncargs <> :args_unspecified false} :newowner {ROLESPEC :roletype 3 :rolename <> :location 29}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 34 :relation <> :object {OBJECTWITHARGS :objname ("r") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} :mode 100 :defexpr <> :location 16}) :args_unspecified false} :newowner {ROLESPEC :roletype 4 :rolename <> :location 30}} :stmt_location 0 :stmt_len 0}) ERR 18 aggregates cannot have output arguments ERR 18 syntax error at end of input OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p1 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 20} :cmd_name all :permissive true :roles ({ROLESPEC :roletype 4 :rolename <> :location -1}) :qual {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 30} :rexpr {A_CONST :val 1 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :with_check <>} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p2 :table {RANGEVAR :catalogname <> :schemaname s :relname t2 :inh true :relpersistence p :alias <> :location 20} :cmd_name select :permissive false :roles ({ROLESPEC :roletype 0 :rolename pg_monitor :location 54} {ROLESPEC :roletype 4 :rolename <> :location 66}) :qual {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("b") :location 80} :rexpr {A_CONST :val "x" :location 84} :rexpr_list_start 0 :rexpr_list_end 0 :location 82} :with_check <>} :stmt_location 0 :stmt_len 88}) OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p3 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 20} :cmd_name insert :permissive true :roles ({ROLESPEC :roletype 4 :rolename <> :location -1}) :qual <> :with_check {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 46} :rexpr {A_CONST :val 0 :location 50} :rexpr_list_start 0 :rexpr_list_end 0 :location 48}} :stmt_location 0 :stmt_len 52}) OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p4 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 20} :cmd_name update :permissive true :roles ({ROLESPEC :roletype 2 :rolename <> :location 51}) :qual {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 71} :rexpr {A_CONST :val 1 :location 75} :rexpr_list_start 0 :rexpr_list_end 0 :location 73} :with_check {A_EXPR :name ("\<") :lexpr {COLUMNREF :fields ("a") :location 90} :rexpr {A_CONST :val 10 :location 94} :rexpr_list_start 0 :rexpr_list_end 0 :location 92}} :stmt_location 0 :stmt_len 97}) OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p5 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 20} :cmd_name delete :permissive true :roles ({ROLESPEC :roletype 4 :rolename <> :location -1}) :qual {A_CONST :val true :location 41} :with_check <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {CREATEPOLICYSTMT :policy_name p6 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 20} :cmd_name all :permissive true :roles ({ROLESPEC :roletype 3 :rolename <> :location 34}) :qual {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 54} :rexpr {A_CONST :val 1 :location 58} :rexpr_list_start 0 :rexpr_list_end 0 :location 56} :with_check <>} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {ALTERPOLICYSTMT :policy_name p1 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 19} :roles ({ROLESPEC :roletype 4 :rolename <> :location 25}) :qual <> :with_check <>} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {ALTERPOLICYSTMT :policy_name p1 :table {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 19} :roles <> :qual {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 29} :rexpr {A_CONST :val 2 :location 33} :rexpr_list_start 0 :rexpr_list_end 0 :location 31} :with_check {A_EXPR :name ("\<") :lexpr {COLUMNREF :fields ("a") :location 48} :rexpr {A_CONST :val 5 :location 52} :rexpr_list_start 0 :rexpr_list_end 0 :location 50}} :stmt_location 0 :stmt_len 54}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 28 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 19} :object <> :subname p1 :newname p1x :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("t1" "p1x")) :removeType 28 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("t1" "nope")) :removeType 28 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 54 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 55 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 56 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 57 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype T :typeName ("dpos") :name <> :def {A_EXPR :name ("+") :lexpr {A_CONST :val 5 :location 30} :rexpr {A_CONST :val 2 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype T :typeName ("s1" "dpos") :name <> :def <> :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype N :typeName ("dpos") :name <> :def <> :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype O :typeName ("dpos") :name <> :def <> :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype C :typeName ("dpos") :name <> :def {CONSTRAINT :contype 5 :conname c1 :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("value") :location 43} :rexpr {A_CONST :val 0 :location 51} :rexpr_list_start 0 :rexpr_list_end 0 :location 49} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 22} :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 53}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype C :typeName ("dpos") :name <> :def {CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name ("\<>") :lexpr {COLUMNREF :fields ("value") :location 29} :rexpr {A_CONST :val 42 :location 38} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 22} :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 51}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype C :typeName ("dpos") :name <> :def {CONSTRAINT :contype 1 :conname nn :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("value") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 22} :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 44}) ERR 32 NOT NULL constraints cannot be marked NO INHERIT ERR 55 CHECK constraints cannot be marked DEFERRABLE OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype X :typeName ("dpos") :name c1 :def <> :behavior 1 :missing_ok false} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype X :typeName ("dpos") :name c1 :def <> :behavior 0 :missing_ok true} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {ALTERDOMAINSTMT :subtype V :typeName ("dpos") :name c1 :def <> :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 12 :relationType 0 :relation <> :object ("dpos") :subname <> :newname dneg :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 32}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 13 :relationType 0 :relation <> :object ("s1" "dpos") :subname a :newname b :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 12 :relation <> :object ("dpos") :newschema s2 :missing_ok false} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 12 :relation <> :object ("dpos") :newowner {ROLESPEC :roletype 0 :rolename some_role :location 27}} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {DELETESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 12} :usingClause <> :whereClause {CURRENTOFEXPR :cvarno 0 :cursor_name c1 :cursor_param 0} :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name t :indirection <> :val {A_CONST :val "x" :location 18} :location 14}) :whereClause {CURRENTOFEXPR :cvarno 0 :cursor_name c1 :cursor_param 0} :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name t :indirection <> :val {A_CONST :val "x" :location 18} :location 14} {RESTARGET :name id :indirection <> :val {A_CONST :val 2 :location 28} :location 23}) :whereClause {CURRENTOFEXPR :cvarno 0 :cursor_name Cur :cursor_param 0} :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DELETESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh false :relpersistence p :alias <> :location 17} :usingClause <> :whereClause {CURRENTOFEXPR :cvarno 0 :cursor_name cur2 :cursor_param 0} :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias {ALIAS :aliasname a :colnames <>} :location 7} :targetList ({RESTARGET :name t :indirection <> :val {COLUMNREF :fields ("a" "id") :location 23} :location 19}) :whereClause {CURRENTOFEXPR :cvarno 0 :cursor_name cur3 :cursor_param 0} :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DELETESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 12} :usingClause <> :whereClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name t :indirection <> :val {SETTODEFAULT :typeId 0 :typeMod 0 :collation 0 :location 18} :location 14}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("id") :location 32} :rexpr {A_CONST :val 1 :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("id") :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 15}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("ctid") :location 24} :rexpr {A_CONST :val "\(0,2\)" :location 31} :rexpr_list_start 0 :rexpr_list_end 0 :location 29} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 32 syntax error at end of input OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ex1 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname c :typeName {TYPENAME :names ("box") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} {CONSTRAINT :contype 8 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions (({INDEXELEM :name c :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0} ("&&"))) :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method gist :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 25}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ex2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname f1 :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} {CONSTRAINT :contype 8 :conname ex2c :deferrable true :initdeferred true :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions (({INDEXELEM :name f1 :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0} ("="))) :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method btree :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 26}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 81}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ex3 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname f1 :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} {COLUMNDEF :colname f2 :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 26} {CONSTRAINT :contype 8 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions (({INDEXELEM :name <> :expr {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("f1") :location 44} :rexpr {A_CONST :val 0 :location 49} :rexpr_list_start 0 :rexpr_list_end 0 :location 47} :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0} ("pg_catalog" "="))) :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method btree :where_clause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("f2") :location 88} :rexpr {A_CONST :val 0 :location 93} :rexpr_list_start 0 :rexpr_list_end 0 :location 91} :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 34}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 96}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname <> :schemaname <> :relname test_type_exists :inh false :relpersistence p :alias <> :location 12} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 35} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 33} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 40})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname <> :schemaname s :relname ct2 :inh false :relpersistence p :alias <> :location 12} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 22} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 31} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 36} :collOid 0 :constraints <> :fdwoptions <> :location 29})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname c :schemaname s :relname ct3 :inh false :relpersistence p :alias <> :location 12} :coldeflist <>} :stmt_location 0 :stmt_len 0}) ERR 13 improper qualified name (too many dotted names): a.b.c.d OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGETABLEFUNC :lateral false :docexpr {A_CONST :val "\<rows/>" :location 43} :rowexpr {A_CONST :val "/rows/row" :location 23} :namespaces <> :columns ({RANGETABLEFUNCCOL :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 63} :for_ordinality false :is_not_null false :colexpr {A_CONST :val "a" :location 72} :coldefexpr <> :location 61}) :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGETABLEFUNC :lateral false :docexpr {COLUMNREF :fields ("doc") :location 38} :rowexpr {A_CONST :val "/r/c" :location 23} :namespaces <> :columns ({RANGETABLEFUNCCOL :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 52} :for_ordinality false :is_not_null true :colexpr {A_CONST :val "a" :location 61} :coldefexpr {A_CONST :val 7 :location 73} :location 50} {RANGETABLEFUNCCOL :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 87} :for_ordinality false :is_not_null false :colexpr <> :coldefexpr <> :location 85} {RANGETABLEFUNCCOL :colname ord :typeName <> :for_ordinality true :is_not_null false :colexpr <> :coldefexpr <> :location 98}) :alias {ALIAS :aliasname t :colnames ("x" "y" "z")} :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGETABLEFUNC :lateral false :docexpr {COLUMNREF :fields ("doc") :location 94} :rowexpr {A_CONST :val "/x:r" :location 79} :namespaces ({RESTARGET :name x :indirection <> :val {A_CONST :val "http://x.y" :location 37} :location 37} {RESTARGET :name <> :indirection <> :val {A_CONST :val "http://d.e" :location 64} :location 56}) :columns ({RANGETABLEFUNCCOL :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 108} :for_ordinality false :is_not_null false :colexpr <> :coldefexpr <> :location 106}) :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14} {RANGETABLEFUNC :lateral true :docexpr {COLUMNREF :fields ("t" "d") :location 47} :rowexpr {A_CONST :val "/r" :location 34} :namespaces <> :columns ({RANGETABLEFUNCCOL :colname c :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 61} :for_ordinality false :is_not_null false :colexpr {A_CONST :val "c" :location 71} :coldefexpr <> :location 59}) :alias {ALIAS :aliasname u :colnames <>} :location 25}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 53 unrecognized column option "foo" ERR 62 only one PATH value per column is allowed ERR 63 only one DEFAULT value is allowed ERR 58 conflicting or redundant NULL / NOT NULL declarations for column "a" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 0 :name <> :named_args <> :arg_names <> :args ({A_CONST :val "\<a/>" :location 17} {A_CONST :val "\<b/>" :location 25}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 1 :name foo :named_args <> :arg_names <> :args <> :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 1 :name foo :named_args ({RESTARGET :name bar :indirection <> :val {A_CONST :val 1 :location 42} :location 42} {RESTARGET :name baz :indirection <> :val {A_CONST :val "b" :location 52} :location 52}) :arg_names <> :args <> :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 1 :name foo :named_args <> :arg_names <> :args ({A_CONST :val "body" :location 28} {A_CONST :val 42 :location 36}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 1 :name foo :named_args ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("v") :location 42} :location 42}) :arg_names <> :args ({A_CONST :val "body" :location 46}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "xmlexists") :args ({A_CONST :val "//town" :location 17} {A_CONST :val "\<towns/>" :location 41}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "xmlexists") :args ({A_CONST :val "//t" :location 17} {A_CONST :val "\<x/>" :location 31}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "xmlexists") :args ({A_CONST :val "//t" :location 17} {A_CONST :val "\<x/>" :location 40}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 2 :name <> :named_args ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 17} :location 17} {RESTARGET :name c :indirection <> :val {COLUMNREF :fields ("b") :location 20} :location 20}) :arg_names <> :args <> :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 3 :name <> :named_args <> :arg_names <> :args ({A_CONST :val "\<x/>" :location 25} {A_CONST :val true :location -1}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 3 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("s") :location 24} {A_CONST :val false :location -1}) :xmloption 1 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 3 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("s") :location 24} {A_CONST :val false :location -1}) :xmloption 1 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 4 :name php :named_args <> :arg_names <> :args <> :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 4 :name php :named_args <> :arg_names <> :args ({A_CONST :val "echo\ $x;" :location 23}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 5 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 15} {A_CONST :val "\1.0" :location 26} {A_CONST :val 0 :location -1}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 5 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 15} {A_CONST NULL :location -1} {A_CONST :val 1 :location -1}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 5 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 15} {A_CONST :val "\1.1" :location 26} {A_CONST :val 2 :location -1}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 5 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 15} {A_CONST :val "\1.0" :location 26} {A_CONST :val 3 :location -1}) :xmloption 0 :indent false :type 0 :typmod 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLSERIALIZE :xmloption 1 :expr {COLUMNREF :fields ("x") :location 28} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :indent false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLSERIALIZE :xmloption 0 :expr {COLUMNREF :fields ("x") :location 29} :typeName {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 30 :location 42}) :typemod -1 :arrayBounds <> :location 34} :indent true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLSERIALIZE :xmloption 1 :expr {COLUMNREF :fields ("x") :location 28} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :indent false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {XMLEXPR :op 7 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 7}) :xmloption 0 :indent false :type 0 :typmod 0 :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({XMLEXPR :op 7 :name <> :named_args <> :arg_names <> :args ({COLUMNREF :fields ("x") :location 7}) :xmloption 0 :indent false :type 0 :typmod 0 :location 9}) :location 9} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname t :colnames <>} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 23} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 40} {A_CONST :val 2 :location 43}) :typemod -1 :arrayBounds <> :location 32} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 46} :collOid 0 :constraints <> :fdwoptions <> :location 30})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias <> :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 22})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname t :colnames <>} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 20})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 21} :usingClause ("id") :join_using_alias <> :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 1 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 26} :usingClause ("id" "name") :join_using_alias {ALIAS :aliasname j :colnames <>} :quals <> :alias <> :rtindex 0}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("j" "id") :location 56} :rexpr {A_CONST :val 1 :location 63} :rexpr_list_start 0 :rexpr_list_end 0 :location 61} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 64}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("j" {A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 2 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 16} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 34} :usingClause ("id") :join_using_alias {ALIAS :aliasname j :colnames <>} :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 51}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural true :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 29} :usingClause <> :join_using_alias <> :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 2 :isNatural true :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 40} :usingClause <> :join_using_alias <> :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural true :larg {JOINEXPR :jointype 1 :isNatural true :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 34} :usingClause <> :join_using_alias <> :quals <> :alias <> :rtindex 0} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 49} :usingClause <> :join_using_alias <> :quals <> :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 15} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 22} :usingClause ("id") :join_using_alias <> :quals <> :alias {ALIAS :aliasname c :colnames <>} :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JOINEXPR :jointype 0 :isNatural false :larg {JOINEXPR :jointype 3 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname a :inh true :relpersistence p :alias <> :location 14} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname b :inh true :relpersistence p :alias <> :location 27} :usingClause ("id") :join_using_alias <> :quals <> :alias <> :rtindex 0} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname d :inh true :relpersistence p :alias <> :location 45} :usingClause <> :join_using_alias <> :quals {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a" "x") :location 50} :rexpr {COLUMNREF :fields ("d" "x") :location 56} :rexpr_list_start 0 :rexpr_list_end 0 :location 54} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 112} :location 112}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 119}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a" "b") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 34} :location 34} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 37} :location 37}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 56} :rexpr {A_CONST :val 1 :location 60} :rexpr_list_start 0 :rexpr_list_end 0 :location 58} :location 56} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 63} :location 63}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 70}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause {CTESEARCHCLAUSE :search_col_list ("a") :search_breadth_first false :search_seq_column seq :location 73} :cycle_clause <> :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 120}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 122} :location 122}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 129}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a" "b") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 34} :location 34} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 37} :location 37}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 56} :rexpr {A_CONST :val 1 :location 60} :rexpr_list_start 0 :rexpr_list_end 0 :location 58} :location 56} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 63} :location 63}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 70}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause {CTESEARCHCLAUSE :search_col_list ("a" "b") :search_breadth_first true :search_seq_column ordercol :location 73} :cycle_clause <> :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 130}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 103} :location 103}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 110}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 50} :rexpr {A_CONST :val 1 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause <> :cycle_clause {CTECYCLECLAUSE :cycle_col_list ("a") :cycle_mark_column is_cycle :cycle_mark_value {A_CONST :val true :location -1} :cycle_mark_default {A_CONST :val false :location -1} :cycle_path_column path :location 64 :cycle_mark_type 0 :cycle_mark_typmod 0 :cycle_mark_collation 0 :cycle_mark_neop 0} :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 111}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 112} :location 112}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 119}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 50} :rexpr {A_CONST :val 1 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause <> :cycle_clause {CTECYCLECLAUSE :cycle_col_list ("a") :cycle_mark_column m :cycle_mark_value {A_CONST :val "Y" :location 81} :cycle_mark_default {A_CONST :val "N" :location 93} :cycle_path_column p :location 64 :cycle_mark_type 0 :cycle_mark_typmod 0 :cycle_mark_collation 0 :cycle_mark_neop 0} :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 120}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 108} :location 108}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 115}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 50} :rexpr {A_CONST :val 1 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause <> :cycle_clause {CTECYCLECLAUSE :cycle_col_list ("a") :cycle_mark_column m :cycle_mark_value {A_CONST :val 1 :location 81} :cycle_mark_default {A_CONST :val 0 :location 91} :cycle_path_column p :location 64 :cycle_mark_type 0 :cycle_mark_typmod 0 :cycle_mark_collation 0 :cycle_mark_neop 0} :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 116}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 115} :location 115}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 122}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 50} :rexpr {A_CONST :val 1 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause <> :cycle_clause {CTECYCLECLAUSE :cycle_col_list ("a") :cycle_mark_column m :cycle_mark_value {A_CONST :val true :location 81} :cycle_mark_default {A_CONST :val false :location 94} :cycle_path_column p :location 64 :cycle_mark_type 0 :cycle_mark_typmod 0 :cycle_mark_collation 0 :cycle_mark_neop 0} :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 123}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 140} :location 140}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 147}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a" "b") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 34} :location 34} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 37} :location 37}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 56} :rexpr {A_CONST :val 1 :location 60} :rexpr_list_start 0 :rexpr_list_end 0 :location 58} :location 56} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 63} :location 63}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 70}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause {CTESEARCHCLAUSE :search_col_list ("b" "a") :search_breadth_first false :search_seq_column seq :location 73} :cycle_clause {CTECYCLECLAUSE :cycle_col_list ("a" "b") :cycle_mark_column m :cycle_mark_value {A_CONST :val true :location -1} :cycle_mark_default {A_CONST :val false :location -1} :cycle_path_column p :location 108 :cycle_mark_type 0 :cycle_mark_typmod 0 :cycle_mark_collation 0 :cycle_mark_neop 0} :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 148}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 110} :location 110}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 117}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames ("a") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 1 :all true :larg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 31} :location 31}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :rarg {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 50} :rexpr {A_CONST :val 1 :location 54} :rexpr_list_start 0 :rexpr_list_end 0 :location 52} :location 50}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 61}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :search_clause {CTESEARCHCLAUSE :search_col_list ("Aa") :search_breadth_first true :search_seq_column Seq :location 64} :cycle_clause <> :location 15 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 118}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 65} :location 65}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 72}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename t :aliascolnames <> :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name a :indirection <> :val {A_CONST :val 1 :location 18} :location 18}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause {CTESEARCHCLAUSE :search_col_list ("a") :search_breadth_first false :search_seq_column seq :location 26} :cycle_clause <> :location 5 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive false :location 0} :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 73}) ERR 78 syntax error at or near "BY" ERR 84 syntax error at or near "USING" ERR 75 syntax error at or near "m" OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name xmloption :args ({A_CONST :val "DOCUMENT" :location 15}) :jumble_args true :is_local false :location -1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name xmloption :args ({A_CONST :val "CONTENT" :location 15}) :jumble_args true :is_local false :location -1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VARIABLESETSTMT :kind 0 :name xmloption :args ({A_CONST :val "DOCUMENT" :location 23}) :jumble_args true :is_local false :location -1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DOSTMT :args ({DEFELEM :defnamespace <> :defname as :arg "begin\ null;\ end" :defaction 0 :location 3})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DOSTMT :args ({DEFELEM :defnamespace <> :defname language :arg "plpgsql" :defaction 0 :location 3} {DEFELEM :defnamespace <> :defname as :arg "begin\ null;\ end" :defaction 0 :location 20})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DOSTMT :args ({DEFELEM :defnamespace <> :defname as :arg "\ x\ " :defaction 0 :location 3} {DEFELEM :defnamespace <> :defname language :arg "plpgsql" :defaction 0 :location 15})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEEVENTTRIGSTMT :trigname et1 :eventname ddl_command_start :whenclause <> :funcname ("etfn")} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEEVENTTRIGSTMT :trigname et2 :eventname ddl_command_end :whenclause ({DEFELEM :defnamespace <> :defname tag :arg ("CREATE\ TABLE" "drop\ table") :defaction 0 :location 49}) :funcname ("s" "etfn")} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEEVENTTRIGSTMT :trigname et3 :eventname sql_drop :whenclause ({DEFELEM :defnamespace <> :defname tag :arg ("DROP\ VIEW") :defaction 0 :location 42} {DEFELEM :defnamespace <> :defname other :arg ("x" "y") :defaction 0 :location 67}) :funcname ("etfn")} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEREVENTTRIGSTMT :trigname et1 :tgenabled O} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEREVENTTRIGSTMT :trigname et1 :tgenabled R} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEREVENTTRIGSTMT :trigname et1 :tgenabled A} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEREVENTTRIGSTMT :trigname et1 :tgenabled D} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("et1") :removeType 14 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ("nosuch") :removeType 14 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs <> :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("pg_catalog" "json") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 35}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 29} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "b" :location 27} :value {JSONVALUEEXPR :raw_expr {A_CONST :val "two" :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "c" :location 39} :value {JSONVALUEEXPR :raw_expr {A_CONST :val true :location 44} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "d" :location 50} :value {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 55} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "b" :location 27} :value {JSONVALUEEXPR :raw_expr {A_CONST :val "two" :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 54}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null true :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 54} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null true :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "a" :location 27} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "a" :location 27} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 53} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 59}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "a" :location 27} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 61} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 67}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "b" :location 36} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 41} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "c" :location 45} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 3 :location 50} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 52}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"x":1\}" :location 24} :typeName {TYPENAME :names ("pg_catalog" "json") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 35} :location 33} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "b" :location 41} :value {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"y":2\}" :location 46} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 57} :location 55} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "k" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1.5 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} {JSONKEYVALUE :key {A_CONST :val "l" :location 29} :value {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\2026-01-02" :location 34} :typeName {TYPENAME :names ("date") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :location 46} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 53}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST NULL :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 27}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_typeof") :args ({JSONOBJECTCONSTRUCTOR :exprs <> :output <> :absent_on_null false :unique false :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_typeof") :args ({JSONOBJECTCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 65} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 43}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 33} :location 33} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_typeof") :args ({JSONOBJECTCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 106} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 84}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 74} :location 74}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 112}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "json_object") :args ({A_CONST :val "\{a,1,b,2\}" :location 19}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs <> :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 19}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs <> :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val "two" :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val true :location 28} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 34} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 39} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST NULL :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 52} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"a":1\}" :location 18} :typeName {TYPENAME :names ("pg_catalog" "json") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "[2]" :location 35} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :location 40} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 48}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 29} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {A_CONST :val 2 :location 31} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 47} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 3 :location 52} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 35} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\{"a":\ 1\}" :location 12} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\ \ \{"a"\ :\ 1\ \}\ \ " :location 12} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 29}) ERR 24 syntax error at or near "RETURNING" ERR 49 syntax error at or near "RETURNING" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"a":\ 1\}" :location 12} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST NULL :location 12} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location 16} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "not\ json" :location 12} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST :val 1 :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST :val 1.5 :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST :val "a\ "quoted"\ string" :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST :val true :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST NULL :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {TYPECAST :arg {A_CONST NULL :location 19} :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :location 23} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 29}) ERR 22 syntax error at or near "RETURNING" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSERIALIZEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\{"a":\ 1\}" :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 33}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSERIALIZEEXPR :expr {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"a":\ 1\}" :location 22} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 34} :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_typeof") :args ({JSONSERIALIZEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\1" :location 32} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "[1]" :location 26} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 26} :location 26} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\1" :location 41} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 41} :location 41} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "oops" :location 54} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 54} :location 54}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7}) :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({JSONISPREDICATE :expr {A_CONST :val "oops" :location 30} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 30}) :location 30} :location 30}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 48}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 32} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 1 :unique_keys false :location 32} :location 32} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 58} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 2 :unique_keys false :location 58} :location 58} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1\}" :location 83} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 3 :unique_keys false :location 83} :location 83}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 107}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "[1,2]" :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 1 :unique_keys false :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "[1,2]" :location 31} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 2 :unique_keys false :location 31} :location 31} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\"x"" :location 54} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 3 :unique_keys false :location 54} :location 54} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\12" :location 76} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 3 :unique_keys false :location 76} :location 76}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 95}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {A_CONST :val "\{"a":1,"a":2\}" :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val "\{"a":1\}" :location 7} :typeName {TYPENAME :names ("pg_catalog" "json") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location 16} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 1 :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val "\{"a":1\}" :location 7} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location 16} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val "[1]" :location 33} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 40} :location 38} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 2 :unique_keys false :location 33} :location 33} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val "\1" :location 61} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 66} :location 64} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 3 :unique_keys false :location 61} :location 61} {RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val "\{"a":1\}" :location 88} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 99} :location 97} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 3 :unique_keys false :location 88} :location 88}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 119}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST NULL :location 7} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :location 11} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {BOOLEXPR :boolop not :args ({JSONISPREDICATE :expr {TYPECAST :arg {A_CONST NULL :location 27} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :location 31} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 27}) :location 27} :location 27}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {TYPECAST :arg {A_CONST :val 1 :location 7} :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 10} :location 8} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 0 :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 33}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 30} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 38}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 46}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null true :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 48}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 57}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 37} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 49}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 52} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null true :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 64}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 73}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("v") :location 42} :rexpr {A_CONST :val 1 :location 46} :rexpr_list_start 0 :rexpr_list_end 0 :location 44} :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 22} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 54}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 29}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 38}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null false} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 42}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 51}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 44}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 53}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order ({SORTBY :node {COLUMNREF :fields ("v") :location 32} :sortby_dir 2 :sortby_nulls 2 :useOp <> :location -1}) :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 56}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 65}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 45}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 54}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output {JSONOUTPUT :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 64} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :agg_filter <> :agg_order ({SORTBY :node {COLUMNREF :fields ("k") :location 32} :sortby_dir 2 :sortby_nulls 0 :useOp <> :location -1}) :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 76}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 85}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("k") :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 10} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 10}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 32}) :whereClause <> :groupClause ({COLUMNREF :fields ("k") :location 51}) :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("k") :location 62} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {COLUMNREF :fields ("k") :location 19} :value {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 30}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("k") :location 49} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("k") :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 29}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {COLUMNREF :fields ("k") :location 48} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_get_viewdef") :args ({TYPECAST :arg {A_CONST :val "sqljson_v" :location 22} :typeName {TYPENAME :names ("regclass") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 35} :location 33}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_v :inh true :relpersistence p :alias <> :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause ({SORTBY :node {TYPECAST :arg {COLUMNREF :fields ("o") :location 33} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 36} :location 34} :sortby_dir 0 :sortby_nulls 0 :useOp <> :location -1}) :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val 1 :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output {JSONOUTPUT :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 36} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSERIALIZEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\{"a":1\}" :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output {JSONOUTPUT :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 46}) ERR 23 syntax error at or near "RETURNING" ERR 22 syntax error at or near "RETURNING" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output {JSONOUTPUT :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("v") :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname sqljson_t :inh true :relpersistence p :alias <> :location 43}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 52}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONISPREDICATE :expr {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :item_type 1 :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 41}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name explicit_name :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTCONSTRUCTOR :exprs ({JSONKEYVALUE :key {A_CONST :val "a" :location 19} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 24} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}}) :output <> :absent_on_null false :unique false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYCONSTRUCTOR :exprs ({JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 18} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}) :output <> :absent_on_null true :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONPARSEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\1" :location 12} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :unique_keys false :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSCALAREXPR :expr {A_CONST :val 1 :location 19} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONSERIALIZEEXPR :expr {JSONVALUEEXPR :raw_expr {A_CONST :val "\1" :location 22} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :output <> :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONOBJECTAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONKEYVALUE :key {A_CONST :val "a" :location 22} :value {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 27} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}}} :absent_on_null false :unique false} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 29}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONARRAYAGG :constructor {JSONAGGCONSTRUCTOR :output <> :agg_filter <> :agg_order <> :over <> :location 7} :arg {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 21} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :absent_on_null true} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONFUNCEXPR :op 1 :column_name <> :context_item {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{"a":[1]\}" :location 24} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location -1} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {A_CONST :val "$.a" :location 37} :passing <> :output <> :on_empty <> :on_error <> :wrapper 3 :quotes 1 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONFUNCEXPR :op 0 :column_name <> :context_item {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\{\}" :location 25} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :location -1} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {A_CONST :val "$" :location 31} :passing ({JSONARGUMENT :val {JSONVALUEEXPR :raw_expr {A_CONST :val 1 :location 43} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :name x}) :output <> :on_empty <> :on_error {JSONBEHAVIOR :btype 3 :expr <> :coerce false :location 50} :wrapper 0 :quotes 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 64}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {JSONFUNCEXPR :op 2 :column_name <> :context_item {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "\"1"" :location 24} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :location -1} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {A_CONST :val "$" :location 31} :passing <> :output {JSONOUTPUT :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 45} :returning {JSONRETURNING :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :typid 0 :typmod 0}} :on_empty <> :on_error {JSONBEHAVIOR :btype 8 :expr {A_CONST :val 2 :location 57} :coerce false :location 49} :wrapper 0 :quotes 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 16}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 104 :partParams ({PARTITIONELEM :name a :expr <> :collation <> :opclass <> :location 42}) :location 23} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 28}) :partbound {PARTITIONBOUNDSPEC :strategy h :is_default false :modulus 4 :remainder 0 :listdatums <> :lowerdatums <> :upperdatums <> :location 41} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) ERR 42 remainder for hash partition must be specified ERR 42 modulus for hash partition must be specified ERR 59 modulus for hash partition provided more than once ERR 59 unrecognized hash partition bound specification "bucket" OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val 1 :location 48}) :lowerdatums <> :upperdatums <> :location 44} :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound {PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({A_CONST :val 1 :location 50}) :upperdatums ({A_CONST :val 2 :location 57}) :location 44} :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound {PARTITIONBOUNDSPEC :strategy h :is_default false :modulus 2 :remainder 1 :listdatums <> :lowerdatums <> :upperdatums <> :location 44} :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound {PARTITIONBOUNDSPEC :strategy <> :is_default true :modulus 0 :remainder 0 :listdatums <> :lowerdatums <> :upperdatums <> :location 33} :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 22} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 41} :bound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val 1 :location 58}) :lowerdatums <> :upperdatums <> :location 54} :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 60 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound <> :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 60 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound <> :concurrent true} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 61 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname c :inh true :relpersistence p :alias <> :location 31} :bound <> :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname pi :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 59 :name <> :num 0 :newowner <> :def {PARTITIONCMD :name {RANGEVAR :catalogname <> :schemaname <> :relname ci :inh true :relpersistence p :alias <> :location 32} :bound <> :concurrent false} :behavior 0 :missing_ok false :recurse false}) :objtype 20 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 31 syntax error at end of input ERR 43 syntax error at or near "CONCURRENTLY" OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname rt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname i :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 17}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options ({DEFELEM :defnamespace <> :defname fillfactor :arg 30 :defaction 0 :location 31} {DEFELEM :defnamespace <> :defname autovacuum_enabled :arg "false" :defaction 0 :location 46} {DEFELEM :defnamespace toast :defname autovacuum_enabled :arg {TYPENAME :names ("off") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 101} :defaction 0 :location 74} {DEFELEM :defnamespace toast :defname vacuum_truncate :arg <> :defaction 0 :location 106}) :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 128} {RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname rt2 :inh true :relpersistence p :alias <> :location 143} :tableElts ({COLUMNDEF :colname i :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 150} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 148}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options ({DEFELEM :defnamespace <> :defname oids :arg "false" :defaction 0 :location 162}) :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 130 :stmt_len 45} {RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 195} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options ({DEFELEM :defnamespace <> :defname deduplicate_items :arg {TYPENAME :names ("off") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 227} :defaction 0 :location 207} {DEFELEM :defnamespace <> :defname buffering :arg {TYPENAME :names ("auto") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 244} :defaction 0 :location 232} {DEFELEM :defnamespace foo :defname bar :arg "none" :defaction 0 :location 250}) :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 177 :stmt_len 88} {RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname i :inh true :relpersistence p :alias <> :location 279} :cmds ({ALTERTABLECMD :subtype 34 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname fillfactor :arg 40 :defaction 0 :location 286}) :behavior 0 :missing_ok false :recurse false}) :objtype 20 :missing_ok false} :stmt_location 267 :stmt_len 35} {RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname i :inh true :relpersistence p :alias <> :location 326} :cmds ({ALTERTABLECMD :subtype 35 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname fillfactor :arg <> :defaction 0 :location 335}) :behavior 0 :missing_ok false :recurse false}) :objtype 20 :missing_ok true} :stmt_location 304 :stmt_len 42} {RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 360} :cmds ({ALTERTABLECMD :subtype 34 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname vacuum_index_cleanup :arg "auto" :defaction 0 :location 367} {DEFELEM :defnamespace <> :defname fillfactor :arg <> :defaction 0 :location 398}) :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 348 :stmt_len 61} {RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname rt3 :inh true :relpersistence p :alias <> :location 424} :tableElts ({COLUMNDEF :colname i :typeName {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 431} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 429}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options ({DEFELEM :defnamespace <> :defname ff :arg -30.1 :defaction 0 :location 443} {DEFELEM :defnamespace <> :defname gg :arg 4.5 :defaction 0 :location 455} {DEFELEM :defnamespace <> :defname hh :arg 2 :defaction 0 :location 466}) :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 411 :stmt_len 0}) ERR 36 syntax error at or near "." OK ({RAWSTMT :stmt {INDEXSTMT :idxname i :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 18} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options ({DEFELEM :defnamespace <> :defname x :arg ("===") :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname y :arg {TYPENAME :names ("pg_catalog" "text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :defaction 0 :location 39}) :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 9 :objects ("d1" "d2") :privileges ({ACCESSPRIV :priv_name connect :cols <>} {ACCESSPRIV :priv_name temporary :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 47}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 67}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 9 :objects ("d1") :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 31}) :grant_option false :grantor <> :behavior 1} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 12 :objects (("s" "dom1") ("dom2")) :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 38}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 12 :objects (("dom1")) :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 50}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 61}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 21 :objects ("plpgsql" "sql") :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 40} {ROLESPEC :roletype 4 :rolename <> :location 44}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 21 :objects ("sql") :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 2 :rolename <> :location 34}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 22 :objects (1234 42) :privileges ({ACCESSPRIV :priv_name select :cols <>} {ACCESSPRIV :priv_name update :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 49}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 51}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 22 :objects (3000000000) :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 40}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 22 :objects (7) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 37}) :grant_option false :grantor <> :behavior 1} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 36 :objects ("s1" "s2") :privileges ({ACCESSPRIV :priv_name usage :cols <>} {ACCESSPRIV :priv_name create :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 40}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 60}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 36 :objects ("public") :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 44}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 50}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 49 :objects (("int4") ("pg_catalog" "text")) :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 45}) :grant_option false :grantor {ROLESPEC :roletype 3 :rolename <> :location 59} :behavior 0} :stmt_location 0 :stmt_len 71}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 49 :objects (("t1")) :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u1 :location 29} {ROLESPEC :roletype 0 :rolename u2 :location 33}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 44}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 9 :objects ("d1") :privileges <> :grantees ({ROLESPEC :roletype 3 :rolename <> :location 28}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 5 :conname cc :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 39} :rexpr {A_CONST :val 0 :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 5 :conname cc2 :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit true :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 40} :rexpr {A_CONST :val 0 :location 44} :rexpr_list_start 0 :rexpr_list_end 0 :location 42} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 1 :conname nn :deferrable false :initdeferred false :is_enforced false :skip_validation true :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("a") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 1 :conname nn2 :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid true :is_no_inherit true :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("a") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 9 :conname fk :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 59} :fk_attrs ("a") :pk_attrs ("b") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 9 :conname fk2 :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 60} :fk_attrs ("a") :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tnv :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} {CONSTRAINT :contype 5 :conname cc :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 46} :rexpr {A_CONST :val 0 :location 50} :rexpr_list_start 0 :rexpr_list_end 0 :location 48} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 25}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) ERR 44 UNIQUE constraints cannot be marked NOT VALID ERR 49 PRIMARY KEY constraints cannot be marked NOT VALID ERR 57 conflicting constraint properties OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias <> :location 17} :cmds ({ALTERTABLECMD :subtype 20 :name cc :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 5 :conname cc4 :deferrable false :initdeferred false :is_enforced true :skip_validation true :initially_valid false :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 40} :rexpr {A_CONST :val 0 :location 44} :rexpr_list_start 0 :rexpr_list_end 0 :location 42} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 18} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 40 syntax error at or near "VALID" OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 62 :name c :num 0 :newowner <> :def {CONSTRAINT :contype 3 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when a :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 33} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 62 :name c :num 0 :newowner <> :def {CONSTRAINT :contype 3 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when d :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options ({DEFELEM :defnamespace <> :defname start :arg 10 :defaction 0 :location 60} {DEFELEM :defnamespace <> :defname increment :arg 2 :defaction 0 :location 74}) :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 26} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 41 :object ("tc") :comment table\ doc} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 6 :object ("tc" "a") :comment col\ doc} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 51 :object ("vv") :comment <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 23 :object ("mv") :comment m} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 20 :object ("ii") :comment i} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 37 :object ("s" "sq") :comment q} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 18 :object ("ft") :comment f} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 7 :object ("C") :comment c} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 8 :object ("cnv") :comment c} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 39 :object ("stx") :comment s} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 47 :object ("tsp") :comment p} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 46 :object ("tsd") :comment d} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 48 :object ("tst") :comment t} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 45 :object ("tsc") :comment c} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 9 :object "db" :comment d} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 33 :object "rr" :comment r} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 38 :object "sub" :comment s} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 42 :object "tsp2" :comment t} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 0 :object "gin" :comment a} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 14 :object "evt" :comment e} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 15 :object "ext" :comment e} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 16 :object "fdw" :comment f} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 21 :object "plfoo" :comment l} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 21 :object "plbar" :comment l} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 30 :object "pb" :comment p} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 36 :object "sch" :comment s} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 17 :object "srv" :comment s} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 49 :object {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16} :comment t} :stmt_location 0 :stmt_len 27} {RAWSTMT :stmt {COMMENTSTMT :objtype 49 :object {TYPENAME :names ("s" "custom") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 45} :comment t} :stmt_location 29 :stmt_len 31} {RAWSTMT :stmt {COMMENTSTMT :objtype 12 :object {TYPENAME :names ("dom") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 80} :comment d} :stmt_location 62 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 1 :object {OBJECTWITHARGS :objname ("myavg") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :mode 100 :defexpr <> :location 27}) :args_unspecified false} :comment a} :stmt_location 0 :stmt_len 39} {RAWSTMT :stmt {COMMENTSTMT :objtype 1 :object {OBJECTWITHARGS :objname ("cnt") :objargs <> :objfuncargs <> :args_unspecified false} :comment a} :stmt_location 41 :stmt_len 34} {RAWSTMT :stmt {COMMENTSTMT :objtype 1 :object {OBJECTWITHARGS :objname ("two") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 102} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 108}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 102} :mode 100 :defexpr <> :location 102} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 108} :mode 100 :defexpr <> :location 108}) :args_unspecified false} :comment a} :stmt_location 77 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :mode 100 :defexpr <> :location 22} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :mode 100 :defexpr <> :location 28}) :args_unspecified false} :comment f} :stmt_location 0 :stmt_len 40} {RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("f") :objargs <> :objfuncargs <> :args_unspecified false} :comment f} :stmt_location 42 :stmt_len 30} {RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("f") :objargs <> :objfuncargs <> :args_unspecified true} :comment f} :stmt_location 74 :stmt_len 28} {RAWSTMT :stmt {COMMENTSTMT :objtype 19 :object {OBJECTWITHARGS :objname ("s" "f") :objargs <> :objfuncargs <> :args_unspecified true} :comment f} :stmt_location 104 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 25 :object {OBJECTWITHARGS :objname ("+") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 23} {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29}) :objfuncargs <> :args_unspecified false} :comment o} :stmt_location 0 :stmt_len 41} {RAWSTMT :stmt {COMMENTSTMT :objtype 25 :object {OBJECTWITHARGS :objname ("pg_catalog" "=") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 77} {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 83}) :objfuncargs <> :args_unspecified false} :comment o} :stmt_location 43 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 40 :object ("tc" "cc") :comment c} :stmt_location 0 :stmt_len 37} {RAWSTMT :stmt {COMMENTSTMT :objtype 13 :object ({TYPENAME :names ("dom") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location -1} "dc") :comment c} :stmt_location 39 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 28 :object ("tc" "pol") :comment p} :stmt_location 0 :stmt_len 34} {RAWSTMT :stmt {COMMENTSTMT :objtype 35 :object ("tc" "rul") :comment r} :stmt_location 36 :stmt_len 32} {RAWSTMT :stmt {COMMENTSTMT :objtype 44 :object ("tc" "trg") :comment t} :stmt_location 70 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 29 :object {OBJECTWITHARGS :objname ("pr") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :mode 100 :defexpr <> :location 24}) :args_unspecified false} :comment p} :stmt_location 0 :stmt_len 36} {RAWSTMT :stmt {COMMENTSTMT :objtype 34 :object {OBJECTWITHARGS :objname ("rt") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 60}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 60} :mode 100 :defexpr <> :location 60}) :args_unspecified false} :comment r} :stmt_location 38 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 43 :object ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} "sql") :comment t} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 24 :object ("btree" "oc") :comment o} :stmt_location 0 :stmt_len 47} {RAWSTMT :stmt {COMMENTSTMT :objtype 26 :object ("btree" "fam") :comment o} :stmt_location 49 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 22 :object 1234 :comment l} :stmt_location 0 :stmt_len 35} {RAWSTMT :stmt {COMMENTSTMT :objtype 22 :object 4294967295 :comment l} :stmt_location 37 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 5 :object ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25}) :comment c} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 41 :object ("tc") :comment ""} :stmt_location 0 :stmt_len 0}) ERR 11 syntax error at end of input ERR 17 syntax error at end of input ERR 23 syntax error at end of input OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 6 :object ("a") :comment x} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p1 :options <> :pubobjects <> :for_all_tables false} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p1 :options ({DEFELEM :defnamespace <> :defname publish :arg "insert,\ update" :defaction 0 :location 28}) :pubobjects <> :for_all_tables false} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p2 :options <> :pubobjects <> :for_all_tables true} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p2 :options ({DEFELEM :defnamespace <> :defname publish_via_partition_root :arg "true" :defaction 0 :location 43}) :pubobjects <> :for_all_tables true} :stmt_location 0 :stmt_len 77}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p3 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 32} :whereClause <> :columns <>} :location 0}) :for_all_tables false} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p4 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 32} :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 49} :rexpr {A_CONST :val 5 :location 53} :rexpr_list_start 0 :rexpr_list_end 0 :location 51} :columns ("a" "b")} :location 0}) :for_all_tables false} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p5 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 1 :name s1 :pubtable <> :location 43}) :for_all_tables false} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p6 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 2 :name <> :pubtable <> :location 43}) :for_all_tables false} :stmt_location 0 :stmt_len 57}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p7 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 32} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname s1 :relname t2 :inh true :relpersistence p :alias <> :location 36} :whereClause <> :columns <>} :location 36} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t3 :inh true :relpersistence p :alias <> :location 43} :whereClause {A_EXPR :name ("\<") :lexpr {COLUMNREF :fields ("x") :location 57} :rexpr {A_CONST :val 3 :location 61} :rexpr_list_start 0 :rexpr_list_end 0 :location 59} :columns ("x")} :location 43} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t4 :inh true :relpersistence p :alias <> :location 65} :whereClause <> :columns <>} :location 65}) :for_all_tables false} :stmt_location 0 :stmt_len 67}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p8 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh false :relpersistence p :alias <> :location 37} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh false :relpersistence p :alias <> :location 47} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t3 :inh true :relpersistence p :alias <> :location 52} :whereClause <> :columns <>} :location 0}) :for_all_tables false} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p9 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 1 :name s1 :pubtable <> :location 43} {PUBLICATIONOBJSPEC :pubobjtype 1 :name s2 :pubtable <> :location 47} {PUBLICATIONOBJSPEC :pubobjtype 2 :name <> :pubtable <> :location 51}) :for_all_tables false} :stmt_location 0 :stmt_len 65}) OK ({RAWSTMT :stmt {CREATEPUBLICATIONSTMT :pubname p10 :options ({DEFELEM :defnamespace <> :defname publish :arg "insert" :defaction 0 :location 77}) :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 33} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 1 :name s1 :pubtable <> :location 54} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname c :schemaname s :relname t2 :inh true :relpersistence p :alias <> :location 64} :whereClause <> :columns <>} :location 0}) :for_all_tables false} :stmt_location 0 :stmt_len 96}) ERR 27 invalid publication object list ERR 37 invalid table name ERR 48 WHERE clause not allowed for schema ERR 48 column specification not allowed for schema ERR 48 invalid schema name OK ({RAWSTMT :stmt {ALTERPUBLICATIONSTMT :pubname p1 :options ({DEFELEM :defnamespace <> :defname publish :arg "insert" :defaction 0 :location 26}) :pubobjects <> :for_all_tables false :action 0} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTERPUBLICATIONSTMT :pubname p1 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 31} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname s :relname t2 :inh true :relpersistence p :alias <> :location 35} :whereClause <> :columns <>} :location 35}) :for_all_tables false :action 0} :stmt_location 0 :stmt_len 39}) OK ({RAWSTMT :stmt {ALTERPUBLICATIONSTMT :pubname p1 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 31} :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 45} :rexpr {A_CONST :val 1 :location 49} :rexpr_list_start 0 :rexpr_list_end 0 :location 47} :columns ("a")} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 1 :name s2 :pubtable <> :location 70}) :for_all_tables false :action 2} :stmt_location 0 :stmt_len 72}) OK ({RAWSTMT :stmt {ALTERPUBLICATIONSTMT :pubname p1 :options <> :pubobjects ({PUBLICATIONOBJSPEC :pubobjtype 0 :name <> :pubtable {PUBLICATIONTABLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 32} :whereClause <> :columns <>} :location 0} {PUBLICATIONOBJSPEC :pubobjtype 1 :name s1 :pubtable <> :location 53}) :for_all_tables false :action 1} :stmt_location 0 :stmt_len 55}) OK ({RAWSTMT :stmt {CREATESUBSCRIPTIONSTMT :subname sub1 :conninfo dbname=foo\ host=bar :publication ("p1" "p2") :options ({DEFELEM :defnamespace <> :defname connect :arg "false" :defaction 0 :location 83} {DEFELEM :defnamespace <> :defname slot_name :arg "x" :defaction 0 :location 100})} :stmt_location 0 :stmt_len 116}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 0 :subname sub1 :conninfo <> :publication <> :options ({DEFELEM :defnamespace <> :defname slot_name :arg "y" :defaction 0 :location 29})} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 1 :subname sub1 :conninfo dbname=baz :publication <> :options <>} :stmt_location 0 :stmt_len 47}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 5 :subname sub1 :conninfo <> :publication <> :options <>} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 5 :subname sub1 :conninfo <> :publication <> :options ({DEFELEM :defnamespace <> :defname copy_data :arg "false" :defaction 0 :location 50})} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 3 :subname sub1 :conninfo <> :publication ("p3") :options ({DEFELEM :defnamespace <> :defname refresh :arg "false" :defaction 0 :location 49})} :stmt_location 0 :stmt_len 65}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 4 :subname sub1 :conninfo <> :publication ("p3") :options <>} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 2 :subname sub1 :conninfo <> :publication ("p4" "p5") :options <>} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 6 :subname sub1 :conninfo <> :publication <> :options ({DEFELEM :defnamespace <> :defname enabled :arg true :defaction 0 :location 0})} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 6 :subname sub1 :conninfo <> :publication <> :options ({DEFELEM :defnamespace <> :defname enabled :arg false :defaction 0 :location 0})} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {ALTERSUBSCRIPTIONSTMT :kind 7 :subname sub1 :conninfo <> :publication <> :options ({DEFELEM :defnamespace <> :defname lsn :arg "\0/12345" :defaction 0 :location 30})} :stmt_location 0 :stmt_len 46}) OK ({RAWSTMT :stmt {DROPSUBSCRIPTIONSTMT :subname sub1 :missing_ok false :behavior 0} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {DROPSUBSCRIPTIONSTMT :subname sub1 :missing_ok true :behavior 1} :stmt_location 0 :stmt_len 40}) OK ({RAWSTMT :stmt {DROPSUBSCRIPTIONSTMT :subname sub1 :missing_ok false :behavior 0} :stmt_location 0 :stmt_len 31}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 30 :relationType 0 :relation <> :object "pub1" :subname <> :newname pub2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 37}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 38 :relationType 0 :relation <> :object "sub1" :subname <> :newname sub2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 38}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 30 :relation <> :object "pub1" :newowner {ROLESPEC :roletype 0 :rolename regress_owner :location 32}} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 38 :relation <> :object "sub1" :newowner {ROLESPEC :roletype 2 :rolename <> :location 33}} :stmt_location 0 :stmt_len 45}) OK ({RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options <> :action {GRANTSTMT :is_grant true :targtype 2 :objtype 41 :objects <> :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 51}) :grant_option false :grantor <> :behavior 0}} :stmt_location 0 :stmt_len 57} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options ({DEFELEM :defnamespace <> :defname schemas :arg ("s1" "s2") :defaction 0 :location 84}) :action {GRANTSTMT :is_grant true :targtype 2 :objtype 37 :objects <> :privileges ({ACCESSPRIV :priv_name select :cols <>} {ACCESSPRIV :priv_name update :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename r :location 138}) :grant_option true :grantor <> :behavior 0}} :stmt_location 59 :stmt_len 98} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options ({DEFELEM :defnamespace <> :defname roles :arg ({ROLESPEC :roletype 0 :rolename r1 :location 193} {ROLESPEC :roletype 0 :rolename r2 :location 197}) :defaction 0 :location 184}) :action {GRANTSTMT :is_grant false :targtype 2 :objtype 19 :objects <> :privileges ({ACCESSPRIV :priv_name execute :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 233}) :grant_option false :grantor <> :behavior 1}} :stmt_location 159 :stmt_len 88} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options ({DEFELEM :defnamespace <> :defname roles :arg ({ROLESPEC :roletype 0 :rolename u :location 283}) :defaction 0 :location 274}) :action {GRANTSTMT :is_grant false :targtype 2 :objtype 49 :objects <> :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename r :location 329}) :grant_option true :grantor <> :behavior 0}} :stmt_location 249 :stmt_len 90} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options <> :action {GRANTSTMT :is_grant true :targtype 2 :objtype 19 :objects <> :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename r :location 391}) :grant_option false :grantor <> :behavior 0}} :stmt_location 341 :stmt_len 51} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options <> :action {GRANTSTMT :is_grant true :targtype 2 :objtype 36 :objects <> :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename Quoted\ Role :location 445}) :grant_option false :grantor <> :behavior 0}} :stmt_location 394 :stmt_len 64} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options <> :action {GRANTSTMT :is_grant true :targtype 2 :objtype 22 :objects <> :privileges ({ACCESSPRIV :priv_name select :cols <>} {ACCESSPRIV :priv_name update :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename r :location 526}) :grant_option false :grantor <> :behavior 0}} :stmt_location 460 :stmt_len 67} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options ({DEFELEM :defnamespace <> :defname schemas :arg ("s") :defaction 0 :location 554} {DEFELEM :defnamespace <> :defname roles :arg ({ROLESPEC :roletype 0 :rolename r :location 575}) :defaction 0 :location 566}) :action {GRANTSTMT :is_grant true :targtype 2 :objtype 41 :objects <> :privileges ({ACCESSPRIV :priv_name insert :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 603}) :grant_option false :grantor <> :behavior 0}} :stmt_location 529 :stmt_len 80} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options ({DEFELEM :defnamespace <> :defname roles :arg ({ROLESPEC :roletype 0 :rolename r :location 645}) :defaction 0 :location 636} {DEFELEM :defnamespace <> :defname schemas :arg ("s") :defaction 0 :location 647}) :action {GRANTSTMT :is_grant false :targtype 2 :objtype 41 :objects <> :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename u :location 696}) :grant_option false :grantor <> :behavior 0}} :stmt_location 611 :stmt_len 86} {RAWSTMT :stmt {ALTERDEFAULTPRIVILEGESSTMT :options <> :action {GRANTSTMT :is_grant true :targtype 2 :objtype 19 :objects <> :privileges <> :grantees ({ROLESPEC :roletype 1 :rolename <> :location 761}) :grant_option false :grantor <> :behavior 0}} :stmt_location 699 :stmt_len 0}) ERR 48 syntax error at end of input ERR 36 syntax error at or near "GRANT" OK ({RAWSTMT :stmt {DEFINESTMT :kind 46 :oldstyle false :defnames ("ispell") :args <> :definition ({DEFELEM :defnamespace <> :defname template :arg {TYPENAME :names ("ispell") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 47} :defaction 0 :location 38} {DEFELEM :defnamespace <> :defname dictfile :arg {TYPENAME :names ("ispell_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 64} :defaction 0 :location 55} {DEFELEM :defnamespace <> :defname afffile :arg {TYPENAME :names ("ispell_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 87} :defaction 0 :location 79}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 101}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 46 :oldstyle false :defnames ("synonym") :args <> :definition ({DEFELEM :defnamespace <> :defname template :arg {TYPENAME :names ("synonym") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :defaction 0 :location 39} {DEFELEM :defnamespace <> :defname synonyms :arg {TYPENAME :names ("synonym_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 66} :defaction 0 :location 57}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 81}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 46 :oldstyle false :defnames ("thesaurus") :args <> :definition ({DEFELEM :defnamespace <> :defname template :arg {TYPENAME :names ("thesaurus") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 50} :defaction 0 :location 41} {DEFELEM :defnamespace <> :defname dictfile :arg {TYPENAME :names ("thesaurus_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 70} :defaction 0 :location 61} {DEFELEM :defnamespace <> :defname dictionary :arg {TYPENAME :names ("english_stem") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 99} :defaction 0 :location 88}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 112}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 46 :oldstyle false :defnames ("tsdict_case") :args <> :definition ({DEFELEM :defnamespace <> :defname template :arg {TYPENAME :names ("ispell") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 54} :defaction 0 :location 43} {DEFELEM :defnamespace <> :defname DictFile :arg {TYPENAME :names ("ispell_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 75} :defaction 0 :location 62} {DEFELEM :defnamespace <> :defname AffFile :arg {TYPENAME :names ("ispell_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 102} :defaction 0 :location 90}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 116}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 46 :oldstyle false :defnames ("s" "d2") :args <> :definition ({DEFELEM :defnamespace <> :defname template :arg {TYPENAME :names ("simple") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 47} :defaction 0 :location 36} {DEFELEM :defnamespace <> :defname stopwords :arg {TYPENAME :names ("english") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 67} :defaction 0 :location 55} {DEFELEM :defnamespace <> :defname accept :arg "false" :defaction 0 :location 76}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 91}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 45 :oldstyle false :defnames ("ispell_tst") :args <> :definition ({DEFELEM :defnamespace <> :defname copy :arg {TYPENAME :names ("english") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 50} :defaction 0 :location 45}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 45 :oldstyle false :defnames ("cfg") :args <> :definition ({DEFELEM :defnamespace <> :defname parser :arg {TYPENAME :names ("pg_catalog" "default") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 47} :defaction 0 :location 38}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 47 :oldstyle false :defnames ("prs") :args <> :definition ({DEFELEM :defnamespace <> :defname start :arg {TYPENAME :names ("prsd_start") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 37} :defaction 0 :location 31} {DEFELEM :defnamespace <> :defname gettoken :arg {TYPENAME :names ("prsd_nexttoken") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 58} :defaction 0 :location 49} {DEFELEM :defnamespace <> :defname end :arg {TYPENAME :names ("prsd_end") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 78} :defaction 0 :location 74} {DEFELEM :defnamespace <> :defname lextypes :arg {TYPENAME :names ("prsd_lextype") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 97} :defaction 0 :location 88} {DEFELEM :defnamespace <> :defname headline :arg {TYPENAME :names ("prsd_headline") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 120} :defaction 0 :location 111}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 134}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 48 :oldstyle false :defnames ("tmpl") :args <> :definition ({DEFELEM :defnamespace <> :defname init :arg {TYPENAME :names ("dsimple_init") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 39} :defaction 0 :location 34} {DEFELEM :defnamespace <> :defname lexize :arg {TYPENAME :names ("dsimple_lexize") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 60} :defaction 0 :location 53}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 75}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 48 :oldstyle false :defnames ("t2") :args <> :definition ({DEFELEM :defnamespace <> :defname lexize :arg {TYPENAME :names ("dsimple_lexize") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 41} :defaction 0 :location 32} {DEFELEM :defnamespace <> :defname weird :arg ("\<=") :defaction 0 :location 57}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 68}) OK ({RAWSTMT :stmt {ALTERTSDICTIONARYSTMT :dictname ("synonym") :options ({DEFELEM :defnamespace <> :defname casesensitive :arg 1 :defaction 0 :location 38})} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {ALTERTSDICTIONARYSTMT :dictname ("synonym") :options ({DEFELEM :defnamespace <> :defname casesensitive :arg 2 :defaction 0 :location 38})} :stmt_location 0 :stmt_len 56}) OK ({RAWSTMT :stmt {ALTERTSDICTIONARYSTMT :dictname ("synonym") :options ({DEFELEM :defnamespace <> :defname casesensitive :arg {TYPENAME :names ("off") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 54} :defaction 0 :location 38})} :stmt_location 0 :stmt_len 58}) OK ({RAWSTMT :stmt {ALTERTSDICTIONARYSTMT :dictname ("d") :options ({DEFELEM :defnamespace <> :defname dictfile :arg {TYPENAME :names ("ispell_sample") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :defaction 0 :location 32} {DEFELEM :defnamespace <> :defname afffile :arg "none" :defaction 0 :location 58})} :stmt_location 0 :stmt_len 73}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 1 :cfgname ("ispell_tst") :tokentype ("word" "numword" "asciiword" "hword" "numhword" "asciihword" "hword_part" "hword_numpart" "hword_asciipart") :dicts (("ispell") ("english_stem")) :override true :replace false :missing_ok false} :stmt_location 0 :stmt_len 184}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 2 :cfgname ("hunspell_tst") :tokentype <> :dicts (("ispell") ("hunspell")) :override false :replace true :missing_ok false} :stmt_location 0 :stmt_len 87}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 3 :cfgname ("t") :tokentype ("word") :dicts (("a" "b") ("c" "d")) :override false :replace true :missing_ok false} :stmt_location 0 :stmt_len 77}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 0 :cfgname ("dummy_tst") :tokentype ("word" "word") :dicts (("ispell")) :override false :replace false :missing_ok false} :stmt_location 0 :stmt_len 80}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 4 :cfgname ("dummy_tst") :tokentype ("not_a_token" "not_a_token") :dicts <> :override false :replace false :missing_ok false} :stmt_location 0 :stmt_len 83}) OK ({RAWSTMT :stmt {ALTERTSCONFIGURATIONSTMT :kind 4 :cfgname ("dummy_tst") :tokentype ("word" "word") :dicts <> :override false :replace false :missing_ok true} :stmt_location 0 :stmt_len 79}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("ispell")) :removeType 46 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("foo")) :removeType 46 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 49}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("tmpl")) :removeType 48 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 30}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("prs")) :removeType 47 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 36}) ERR 32 syntax error at or near ";" ERR 34 syntax error at or near ")" ERR 49 syntax error at or near "WITH" OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_CONST :val "a" :location 13} {A_CONST :val "b" :location 17} {A_CONST :val "c" :location 21}) :list_start 12 :list_end 24 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_CONST :val 1 :location 13} {A_EXPR :name ("+") :lexpr {A_CONST :val 2 :location 16} :rexpr {A_CONST :val 3 :location 18} :rexpr_list_start 0 :rexpr_list_end 0 :location 17} {A_CONST NULL :location 21}) :list_start 12 :list_end 25 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 26}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_ARRAYEXPR :elements ({A_CONST :val 1 :location 19} {A_CONST :val 2 :location 21}) :list_start 18 :list_end 22 :location 13} {A_ARRAYEXPR :elements ({A_CONST :val 3 :location 31} {A_CONST :val 4 :location 33}) :list_start 30 :list_end 34 :location 25}) :list_start 12 :list_end 35 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 36}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_ARRAYEXPR :elements ({A_CONST :val 1 :location 14} {A_CONST :val 2 :location 16}) :list_start 13 :list_end 17 :location 13} {A_ARRAYEXPR :elements ({A_CONST :val 3 :location 20} {A_CONST :val 4 :location 22}) :list_start 19 :list_end 23 :location 19}) :list_start 12 :list_end 24 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 25}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements <> :list_start 12 :list_end 13 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_CONST :val "" :location 13}) :list_start 12 :list_end 15 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 16}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("ts_delete") :args ({TYPECAST :arg {A_CONST :val "base" :location 17} :typeName {TYPENAME :names ("tsvector") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :location 23} {A_ARRAYEXPR :elements ({A_CONST :val "spaceship" :location 41} {A_CONST :val "rebel" :location 53}) :list_start 40 :list_end 60 :location 35}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 62}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("setweight") :args ({TYPECAST :arg {A_CONST :val "a" :location 17} :typeName {TYPENAME :names ("tsvector") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :location 20} {A_CONST :val "c" :location 32} {A_CONST :val "\{a\}" :location 37}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {A_ARRAYEXPR :elements ({A_ARRAYEXPR :elements ({A_ARRAYEXPR :elements ({A_CONST :val 1 :location 59}) :list_start 58 :list_end 60 :location 58}) :list_start 57 :list_end 61 :location 52}) :list_start 51 :list_end 62 :location 46} :location 46}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 63}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname <> :schemaname <> :relname hash_test_t1 :inh false :relpersistence p :alias <> :location 12} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 31} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 29} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 38} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 36})} :stmt_location 0 :stmt_len 43}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname <> :schemaname s :relname t :inh false :relpersistence p :alias <> :location 12} :coldeflist <>} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {COMPOSITETYPESTMT :typevar {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh false :relpersistence p :alias <> :location 12} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 29} {A_CONST :val 2 :location 32}) :typemod -1 :arrayBounds <> :location 21} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 35} :collOid 0 :constraints <> :fdwoptions <> :location 19} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "varchar") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 3 :location 58}) :typemod -1 :arrayBounds <> :location 50} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 48})} :stmt_location 0 :stmt_len 61}) ERR 20 syntax error at or near ")" OK ({RAWSTMT :stmt {DROPSTMT :objects ({TYPENAME :names ("hash_test_t1") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 10}) :removeType 49 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 22}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({TYPENAME :names ("a" "b") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} {TYPENAME :names ("c") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25}) :removeType 49 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 34}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({TYPENAME :names ("d1") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 12}) :removeType 12 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 23}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({TYPENAME :names ("d2") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22}) :removeType 12 :behavior 0 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("jsonb_path_exists") :args ({COLUMNREF :fields ("t") :location 25} {COLUMNREF :fields ("p") :location 28} {A_CONST :val "\{\}" :location 31} {NAMEDARGEXPR :arg {A_CONST :val true :location 47} :name silent :argnumber -1 :location 37}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname j :inh true :relpersistence p :alias <> :location 58}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("f") :args ({A_CONST :val 1 :location 9} {NAMEDARGEXPR :arg {A_CONST :val true :location 22} :name silent :argnumber -1 :location 12}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality true :is_rowsfrom false :functions (({FUNCCALL :funcname ("generate_series") :args ({A_CONST :val 1 :location 30} {A_CONST :val 3 :location 32}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias <> :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality true :is_rowsfrom false :functions (({FUNCCALL :funcname ("generate_series") :args ({A_CONST :val 1 :location 30} {A_CONST :val 3 :location 32}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname t :colnames ("v" "o")} :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality true :is_rowsfrom true :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 25} ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 35} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 33} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 40})) ({FUNCCALL :funcname ("g") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 49} <>)) :alias {ALIAS :aliasname t :colnames ("x" "y" "z" "o")} :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom true :functions (({FUNCCALL :funcname ("generate_series") :args ({A_CONST :val 1 :location 41} {A_CONST :val 2 :location 43}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 25} <>) ({FUNCCALL :funcname ("generate_series") :args ({A_CONST :val 1 :location 63} {A_CONST :val 3 :location 65}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 47} <>)) :alias <> :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname t :colnames <>} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 23} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 37} :collOid 0 :constraints <> :fdwoptions <> :location 30})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias <> :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 22})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("f") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias {ALIAS :aliasname t :colnames <>} :coldeflist ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 20})}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGEFUNCTION :lateral false :ordinality false :is_rowsfrom false :functions (({FUNCCALL :funcname ("unnest") :args ({A_ARRAYEXPR :elements ({A_CONST :val 1 :location 27} {A_CONST :val 2 :location 29}) :list_start 26 :list_end 30 :location 21} {A_ARRAYEXPR :elements ({A_CONST :val "a" :location 39} {A_CONST :val "b" :location 43}) :list_start 38 :list_end 46 :location 33}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 14} <>)) :alias <> :coldeflist <>}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "pg_collation_for") :args ({TYPECAST :arg {A_CONST :val "x" :location 22} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :location 25}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "normalize") :args ({COLUMNREF :fields ("u") :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "normalize") :args ({COLUMNREF :fields ("u") :location 31} {A_CONST :val "NFKC" :location 34}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 21} :location 21}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 45}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "overlay") :args ({COLUMNREF :fields ("s") :location 15} {A_CONST :val "x" :location 25} {A_CONST :val 2 :location 34} {A_CONST :val 3 :location 40}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "overlay") :args ({COLUMNREF :fields ("s") :location 52} {A_CONST :val "x" :location 62} {A_CONST :val 2 :location 71}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 44} :location 44}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 79}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("overlay") :args ({A_CONST :val "abc" :location 15} {A_CONST :val "x" :location 22} {A_CONST :val 2 :location 27}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "position") :args ({COLUMNREF :fields ("s") :location 23} {A_CONST :val "b" :location 16}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 31}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "text") :args ({COLUMNREF :fields ("x") :location 13}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 29}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "btrim") :args ({COLUMNREF :fields ("s") :location 26} {A_CONST :val "x" :location 17}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 7} :location 7} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "ltrim") :args ({COLUMNREF :fields ("s") :location 48}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 30} :location 30} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "rtrim") :args ({COLUMNREF :fields ("s") :location 75} {A_CONST :val "y" :location 66}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 52} :location 52} {RESTARGET :name <> :indirection <> :val {FUNCCALL :funcname ("pg_catalog" "btrim") :args ({COLUMNREF :fields ("s") :location 84}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 3 :location 79} :location 79}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 92}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR NULLIF :name ("=") :lexpr {COLUMNREF :fields ("a") :location 14} :rexpr {COLUMNREF :fields ("b") :location 17} :rexpr_list_start 0 :rexpr_list_end 0 :location 7} :location 7}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 13} :tableElts <> :inhRelations <> :partbound <> :partspec <> :ofTypename {TYPENAME :names ("ty") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName <> :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 38}) :fdwoptions <> :location 23} {CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("a") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 48}) :inhRelations <> :partbound <> :partspec <> :ofTypename {TYPENAME :names ("ty") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tt :inh true :relpersistence p :alias <> :location 27} :tableElts <> :inhRelations <> :partbound <> :partspec <> :ofTypename {TYPENAME :names ("s" "ty") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName <> :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 34}) :fdwoptions <> :location 32}) :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 29}) :partbound {PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({A_CONST :val 1 :location 61}) :upperdatums ({A_CONST :val 10 :location 68}) :location 55} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname p3 :inh true :relpersistence p :alias <> :location 27} :tableElts ({COLUMNDEF :colname a :typeName <> :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 61}) :fdwoptions <> :location 46}) :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 43}) :partbound {PARTITIONBOUNDSPEC :strategy l :is_default false :modulus 0 :remainder 0 :listdatums ({A_CONST :val 1 :location 86}) :lowerdatums <> :upperdatums <> :location 82} :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CALLSTMT :funccall {FUNCCALL :funcname ("version") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 5} :funcexpr <> :outargs <>} :stmt_location 0 :stmt_len 14}) OK ({RAWSTMT :stmt {CALLSTMT :funccall {FUNCCALL :funcname ("p") :args <> :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 5} :funcexpr <> :outargs <>} :stmt_location 0 :stmt_len 8}) OK ({RAWSTMT :stmt {CALLSTMT :funccall {FUNCCALL :funcname ("sch" "p") :args ({A_CONST :val 1 :location 11} {A_EXPR :name ("+") :lexpr {A_CONST :val 2 :location 14} :rexpr {A_CONST :val 3 :location 18} :rexpr_list_start 0 :rexpr_list_end 0 :location 16}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 5} :funcexpr <> :outargs <>} :stmt_location 0 :stmt_len 20}) OK ({RAWSTMT :stmt {CALLSTMT :funccall {FUNCCALL :funcname ("p") :args ({NAMEDARGEXPR :arg {A_CONST :val 1 :location 12} :name a :argnumber -1 :location 7} {NAMEDARGEXPR :arg {A_CONST :val "x" :location 20} :name b :argnumber -1 :location 15}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 5} :funcexpr <> :outargs <>} :stmt_location 0 :stmt_len 24}) OK ({RAWSTMT :stmt {CALLSTMT :funccall {FUNCCALL :funcname ("p") :args ({A_CONST :val 1 :location 7} {NAMEDARGEXPR :arg {A_CONST :val 2 :location 15} :name b :argnumber -1 :location 10}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 5} :funcexpr <> :outargs <>} :stmt_location 0 :stmt_len 17}) OK ({RAWSTMT :stmt {CREATETABLESPACESTMT :tablespacename regress_ts :owner <> :location /mnt/ts1 :options <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLESPACESTMT :tablespacename regress_ts :owner {ROLESPEC :roletype 0 :rolename alice :location 35} :location /mnt/ts1 :options ({DEFELEM :defnamespace <> :defname random_page_cost :arg 2.0 :defaction 0 :location 67} {DEFELEM :defnamespace <> :defname seq_page_cost :arg 1.5 :defaction 0 :location 91})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLESPACESTMT :tablespacename regress_ts :owner {ROLESPEC :roletype 2 :rolename <> :location 35} :location "" :options <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPTABLESPACESTMT :tablespacename regress_ts :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPTABLESPACESTMT :tablespacename regress_ts :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESPACEOPTIONSSTMT :tablespacename regress_ts :options ({DEFELEM :defnamespace <> :defname random_page_cost :arg 4.0 :defaction 0 :location 33}) :isReset false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESPACEOPTIONSSTMT :tablespacename regress_ts :options ({DEFELEM :defnamespace <> :defname random_page_cost :arg <> :defaction 0 :location 35} {DEFELEM :defnamespace <> :defname effective_io_concurrency :arg <> :defaction 0 :location 53}) :isReset true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 42 :relationType 0 :relation <> :object <> :subname regress_ts :newname regress_ts2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 42 :relation <> :object "regress_ts" :newowner {ROLESPEC :roletype 0 :rolename bob :location 37}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 42 :objects ("regress_ts") :privileges ({ACCESSPRIV :priv_name create :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename alice :location 41}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 42 :objects ("regress_ts") :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename alice :location 41}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 16}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename regress_ts :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {INDEXSTMT :idxname ti :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 19} :accessMethod btree :tableSpace regress_ts :indexParams ({INDEXELEM :name a :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tpk :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 18} {CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("a") :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace regress_ts :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 25}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 33 :name regress_ts :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 18 syntax error at end of input ERR 20 syntax error at end of input ERR 16 syntax error at end of input OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("widget") :args <> :definition <> :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("s" "myshell") :args <> :definition <> :if_not_exists false :replace false} :stmt_location 0 :stmt_len 21}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("widget") :args <> :definition ({DEFELEM :defnamespace <> :defname internallength :arg 24 :defaction 0 :location 20} {DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("widget_in") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 49} :defaction 0 :location 41} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("widget_out") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 69} :defaction 0 :location 60} {DEFELEM :defnamespace <> :defname typmod_in :arg {TYPENAME :names ("numerictypmodin") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 93} :defaction 0 :location 81} {DEFELEM :defnamespace <> :defname typmod_out :arg {TYPENAME :names ("numerictypmodout") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 123} :defaction 0 :location 110} {DEFELEM :defnamespace <> :defname alignment :arg {TYPENAME :names ("double") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 153} :defaction 0 :location 141}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("city_budget") :args <> :definition ({DEFELEM :defnamespace <> :defname internallength :arg 16 :defaction 0 :location 25} {DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("int44in") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 54} :defaction 0 :location 46} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("int44out") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 72} :defaction 0 :location 63} {DEFELEM :defnamespace <> :defname element :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 92} :defaction 0 :location 82} {DEFELEM :defnamespace <> :defname category :arg "x" :defaction 0 :location 98} {DEFELEM :defnamespace <> :defname preferred :arg "true" :defaction 0 :location 114}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("mytype") :args <> :definition ({DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("fn_in") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :defaction 0 :location 20} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("fn_out") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :defaction 0 :location 35} {DEFELEM :defnamespace <> :defname internallength :arg {TYPENAME :names ("variable") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 69} :defaction 0 :location 52} {DEFELEM :defnamespace <> :defname alignment :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 91} :defaction 0 :location 79} {DEFELEM :defnamespace <> :defname storage :arg {TYPENAME :names ("extended") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 107} :defaction 0 :location 97} {DEFELEM :defnamespace <> :defname passedbyvalue :arg <> :defaction 0 :location 117} {DEFELEM :defnamespace <> :defname delimiter :arg ";" :defaction 0 :location 132} {DEFELEM :defnamespace <> :defname collatable :arg "true" :defaction 0 :location 149} {DEFELEM :defnamespace <> :defname default :arg "zippo" :defaction 0 :location 168} {DEFELEM :defnamespace <> :defname category :arg "N" :defaction 0 :location 187} {DEFELEM :defnamespace <> :defname preferred :arg "false" :defaction 0 :location 203} {DEFELEM :defnamespace <> :defname receive :arg {TYPENAME :names ("myrecv") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 232} :defaction 0 :location 222} {DEFELEM :defnamespace <> :defname send :arg {TYPENAME :names ("mysend") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 247} :defaction 0 :location 240} {DEFELEM :defnamespace <> :defname analyze :arg {TYPENAME :names ("myanalyze") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 265} :defaction 0 :location 255} {DEFELEM :defnamespace <> :defname subscript :arg {TYPENAME :names ("mysub") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 288} :defaction 0 :location 276} {DEFELEM :defnamespace <> :defname like :arg {TYPENAME :names ("point") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 302} :defaction 0 :location 295} {DEFELEM :defnamespace <> :defname element :arg {TYPENAME :names ("float4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 319} :defaction 0 :location 309}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("t2") :args <> :definition ({DEFELEM :defnamespace <> :defname internallength :arg {TYPENAME :names ("variable") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :defaction 0 :location 16} {DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("i") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 51} :defaction 0 :location 43} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("o") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 63} :defaction 0 :location 54} {DEFELEM :defnamespace <> :defname storage :arg {TYPENAME :names ("plain") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 76} :defaction 0 :location 66}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("bogus") :args <> :definition ({DEFELEM :defnamespace <> :defname unknownattr :arg 4 :defaction 0 :location 19} {DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("a") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :defaction 0 :location 36} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("b") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 56} :defaction 0 :location 47}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 49 :oldstyle false :defnames ("s" "q" "t3") :args <> :definition ({DEFELEM :defnamespace <> :defname input :arg {TYPENAME :names ("qual" "name0") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :defaction 0 :location 20} {DEFELEM :defnamespace <> :defname output :arg {TYPENAME :names ("qual" "name2") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 49} :defaction 0 :location 40}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) ERR 12 syntax error at end of input ERR 16 syntax error at or near ")" OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 20} :location 20}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 11}) :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {PARAMREF :number 1 :location 26} :location 26}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 11} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 16}) :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_EXPR :name ("+") :lexpr {PARAMREF :number 1 :location 32} :rexpr {A_CONST :val 1 :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :location 32} {RESTARGET :name <> :indirection <> :val {PARAMREF :number 2 :location 40} :location 40}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes <> :query {INSERTSTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25} :cols <> :selectStmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists (({PARAMREF :number 1 :location 35})) :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :onConflictClause <> :returningClause <> :withClause <> :override 0}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes <> :query {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 20} :targetList ({RESTARGET :name a :indirection <> :val {PARAMREF :number 1 :location 30} :location 26}) :whereClause <> :fromClause <> :returningClause <> :withClause <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {PREPARESTMT :name q :argtypes <> :query {DELETESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 25} :usingClause <> :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 33} :rexpr {PARAMREF :number 1 :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :returningClause <> :withClause <>}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {EXECUTESTMT :name q :params <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 11})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {EXECUTESTMT :name q :params ({A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 11} :rexpr {A_CONST :val 1 :location 15} :rexpr_list_start 0 :rexpr_list_end 0 :location 13} {A_EXPR :name ("||") :lexpr {A_CONST :val "a" :location 18} :rexpr {A_CONST :val "b" :location 25} :rexpr_list_start 0 :rexpr_list_end 0 :location 22})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params <>} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 30} {A_CONST :val "x" :location 33})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 30})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 30})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 13} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData true} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 35})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence t :alias <> :location 18} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 47} {A_CONST :val "x" :location 50})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence t :alias <> :location 23} :colNames ("a" "b") :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData true} :objtype 41 :is_select_into false :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 44})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 27} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData false} :objtype 41 :is_select_into false :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETABLEASSTMT :query {EXECUTESTMT :name q :params ({A_CONST :val 1 :location 49})} :into {INTOCLAUSE :rel {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence t :alias <> :location 32} :colNames <> :accessMethod <> :options <> :onCommit 0 :tableSpaceName <> :viewQuery <> :skipData true} :objtype 41 :is_select_into false :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name q :isall false :location 11} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name q :isall false :location 19} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name <> :isall true :location -1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEALLOCATESTMT :name <> :isall true :location -1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("avg2") :args (({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 23} :mode 100 :defexpr <> :location 23}) -1) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("int4pl") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 38} :defaction 0 :location 30} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 54} :defaction 0 :location 46} {DEFELEM :defnamespace <> :defname initcond :arg "\0" :defaction 0 :location 60} {DEFELEM :defnamespace <> :defname parallel :arg {TYPENAME :names ("safe") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 87} :defaction 0 :location 76}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("avg2") :args (({FUNCTIONPARAMETER :name x :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 36} :mode 100 :defexpr <> :location 34} {FUNCTIONPARAMETER :name y :argType {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :mode 100 :defexpr <> :location 42}) -1) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("int4pl") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 59} :defaction 0 :location 51} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 75} :defaction 0 :location 67} {DEFELEM :defnamespace <> :defname finalfunc :arg {TYPENAME :names ("int8out") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 93} :defaction 0 :location 81} {DEFELEM :defnamespace <> :defname finalfunc_modify :arg {TYPENAME :names ("read_only") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 121} :defaction 0 :location 102} {DEFELEM :defnamespace <> :defname mfinalfunc_extra :arg <> :defaction 0 :location 132}) :if_not_exists false :replace true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("cnt2") :args (<> -1) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("int8inc") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 35} :defaction 0 :location 27} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 52} :defaction 0 :location 44}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("rank2") :args (({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :mode 100 :defexpr <> :location 33} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 39} :mode 100 :defexpr <> :location 39}) 0) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("ordered_set_transition_multi") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 57} :defaction 0 :location 49} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 95} :defaction 0 :location 87} {DEFELEM :defnamespace <> :defname finalfunc :arg {TYPENAME :names ("rank_final") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 117} :defaction 0 :location 105} {DEFELEM :defnamespace <> :defname finalfunc_extra :arg <> :defaction 0 :location 129} {DEFELEM :defnamespace <> :defname hypothetical :arg <> :defaction 0 :location 146}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("pctile2") :args (({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 26} :mode 100 :defexpr <> :location 26} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :mode 100 :defexpr <> :location 42}) 1) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("ordered_set_transition") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 59} :defaction 0 :location 51} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 91} :defaction 0 :location 83} {DEFELEM :defnamespace <> :defname finalfunc :arg {TYPENAME :names ("percentile_disc_final") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 113} :defaction 0 :location 101} {DEFELEM :defnamespace <> :defname finalfunc_extra :arg <> :defaction 0 :location 136}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle false :defnames ("hypo2") :args (({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("any") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :mode 118 :defexpr <> :location 24}) 1) :definition ({DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("ordered_set_transition_multi") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 73} :defaction 0 :location 65} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 111} :defaction 0 :location 103} {DEFELEM :defnamespace <> :defname finalfunc :arg {TYPENAME :names ("rank_final") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 133} :defaction 0 :location 121} {DEFELEM :defnamespace <> :defname hypothetical :arg <> :defaction 0 :location 145}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) ERR 48 an ordered-set aggregate with a VARIADIC direct argument must have one VARIADIC aggregated argument of the same data type OK ({RAWSTMT :stmt {DEFINESTMT :kind 1 :oldstyle true :defnames ("old2") :args <> :definition ({DEFELEM :defnamespace <> :defname basetype :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 34} :defaction 0 :location 23} {DEFELEM :defnamespace <> :defname sfunc :arg {TYPENAME :names ("int4pl") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :defaction 0 :location 40} {DEFELEM :defnamespace <> :defname stype :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 64} :defaction 0 :location 56} {DEFELEM :defnamespace <> :defname initcond1 :arg "\0" :defaction 0 :location 70}) :if_not_exists false :replace false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func {OBJECTWITHARGS :objname ("bool") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 46}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 46} :mode 100 :defexpr <> :location 46}) :args_unspecified false} :context 3 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func {OBJECTWITHARGS :objname ("s" "f") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 45} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 51}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 45} :mode 100 :defexpr <> :location 45} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 51} :mode 100 :defexpr <> :location 51}) :args_unspecified false} :context 0 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 23} :func {OBJECTWITHARGS :objname ("int4") :objargs ({TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :mode 100 :defexpr <> :location 48}) :args_unspecified false} :context 1 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("money") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 3 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("money") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 0 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("money") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 1 :inout false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("mytype") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 3 :inout true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("mytype") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 0 :inout true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECASTSTMT :sourcetype {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 13} :targettype {TYPENAME :names ("mytype") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :func <> :context 1 :inout true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETRANSFORMSTMT :replace false :type_name {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :lang plperl :fromsql {OBJECTWITHARGS :objname ("f1") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 68}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 68} :mode 100 :defexpr <> :location 68}) :args_unspecified false} :tosql {OBJECTWITHARGS :objname ("f2") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 103}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 103} :mode 100 :defexpr <> :location 103}) :args_unspecified false}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETRANSFORMSTMT :replace true :type_name {TYPENAME :names ("s" "ty") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :lang plpython3u :fromsql {OBJECTWITHARGS :objname ("s" "f1") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 121} {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 131}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 121} :mode 100 :defexpr <> :location 121} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 131} :mode 100 :defexpr <> :location 131}) :args_unspecified false} :tosql {OBJECTWITHARGS :objname ("f2") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 82}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 82} :mode 100 :defexpr <> :location 82}) :args_unspecified false}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETRANSFORMSTMT :replace false :type_name {TYPENAME :names ("bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :lang plperl :fromsql {OBJECTWITHARGS :objname ("f1") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 69}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 69} :mode 100 :defexpr <> :location 69}) :args_unspecified false} :tosql <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATETRANSFORMSTMT :replace false :type_name {TYPENAME :names ("bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 21} :lang plperl :fromsql <> :tosql {OBJECTWITHARGS :objname ("f2") :objargs ({TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 67}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("internal") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 67} :mode 100 :defexpr <> :location 67}) :args_unspecified false}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEAMSTMT :amname gist2 :handler_name ("gisthandler") :amtype i} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEAMSTMT :amname heap2 :handler_name ("s" "heap_handler") :amtype t} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 27} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 30} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 39} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 1 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 44}) :fdwoptions <> :location 37}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname t2 :inh true :relpersistence t :alias <> :location 32} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("serial") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 40} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 47}) :fdwoptions <> :location 38}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 3 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t3 :inh true :relpersistence u :alias <> :location 36} :tableElts <> :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options ({DEFELEM :defnamespace <> :defname fillfactor :arg 70 :defaction 0 :location 48}) :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t4 :inh true :relpersistence p :alias <> :location 27} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 31}) :inhRelations ({RANGEVAR :catalogname <> :schemaname <> :relname p :inh true :relpersistence p :alias <> :location 48}) :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename ts :accessMethod heap :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t5 :inh true :relpersistence p :alias <> :location 27} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 31}) :inhRelations <> :partbound <> :partspec {PARTITIONSPEC :strategy 114 :partParams ({PARTITIONELEM :name a :expr <> :collation <> :opclass <> :location 58}) :location 38} :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 27 :objects ("work_mem") :privileges ({ACCESSPRIV :priv_name set :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename pg_monitor :location 35}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 27 :objects ("shared_buffers" "hash_mem_multiplier") :privileges ({ACCESSPRIV :priv_name set :cols <>} {ACCESSPRIV :priv_name alter\ system :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename pg_checkpoint :location 76}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 27 :objects ("plperl.on_init") :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 41}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 27 :objects ("work_mem" "plperl.on_init") :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename pg_monitor :location 54}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATECONVERSIONSTMT :conversion_name ("myconv") :for_encoding_name LATIN1 :to_encoding_name UTF8 :func_name ("myfunc") :def false} :stmt_location 0 :stmt_len 59} {RAWSTMT :stmt {CREATECONVERSIONSTMT :conversion_name ("s" "cnv2") :for_encoding_name EUC_JP :to_encoding_name MULE_INTERNAL :func_name ("s" "f2") :def true} :stmt_location 61 :stmt_len 74} {RAWSTMT :stmt {CREATECONVERSIONSTMT :conversion_name ("Q\ C") :for_encoding_name utf8 :to_encoding_name sjis :func_name ("cat" "s" "fn") :def false} :stmt_location 137 :stmt_len 58} {RAWSTMT :stmt {DROPSTMT :objects (("myconv")) :removeType 8 :behavior 0 :missing_ok false :concurrent false} :stmt_location 197 :stmt_len 22} {RAWSTMT :stmt {DROPSTMT :objects (("s" "cnv2")) :removeType 8 :behavior 1 :missing_ok true :concurrent false} :stmt_location 221 :stmt_len 40} {RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname plsample :if_not_exists false :options <>} :stmt_location 263 :stmt_len 24} {RAWSTMT :stmt {CREATEEXTENSIONSTMT :extname plsample :if_not_exists true :options <>} :stmt_location 289 :stmt_len 43} {RAWSTMT :stmt {CREATEPLANGSTMT :replace false :plname plsample :plhandler ("plsample_call_handler") :plinline <> :plvalidator <> :pltrusted false} :stmt_location 334 :stmt_len 54} {RAWSTMT :stmt {CREATEPLANGSTMT :replace true :plname plsample :plhandler ("s" "h") :plinline ("inl") :plvalidator ("s" "v") :pltrusted true} :stmt_location 390 :stmt_len 91} {RAWSTMT :stmt {CREATEPLANGSTMT :replace false :plname lang2 :plhandler ("h" "a" "b") :plinline <> :plvalidator <> :pltrusted false} :stmt_location 483 :stmt_len 48} {RAWSTMT :stmt {DROPSTMT :objects ("plsample") :removeType 21 :behavior 0 :missing_ok false :concurrent false} :stmt_location 533 :stmt_len 22} {RAWSTMT :stmt {DROPSTMT :objects ("plsample") :removeType 21 :behavior 1 :missing_ok true :concurrent false} :stmt_location 557 :stmt_len 0}) OK ({RAWSTMT :stmt {VACUUMSTMT :options ({DEFELEM :defnamespace <> :defname parallel :arg 2 :defaction 0 :location 8}) :rels ({VACUUMRELATION :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 20} :oid 0 :va_cols <>}) :is_vacuumcmd true} :stmt_location 0 :stmt_len 21} {RAWSTMT :stmt {VACUUMSTMT :options ({DEFELEM :defnamespace <> :defname parallel :arg 0 :defaction 0 :location 31}) :rels ({VACUUMRELATION :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 43} :oid 0 :va_cols <>}) :is_vacuumcmd true} :stmt_location 23 :stmt_len 21} {RAWSTMT :stmt {VACUUMSTMT :options ({DEFELEM :defnamespace <> :defname parallel :arg 2 :defaction 0 :location 54} {DEFELEM :defnamespace <> :defname verbose :arg "false" :defaction 0 :location 66}) :rels ({VACUUMRELATION :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 81} :oid 0 :va_cols <>}) :is_vacuumcmd true} :stmt_location 46 :stmt_len 36} {RAWSTMT :stmt {VACUUMSTMT :options ({DEFELEM :defnamespace <> :defname opt1 :arg 1.5 :defaction 0 :location 92} {DEFELEM :defnamespace <> :defname opt2 :arg -2 :defaction 0 :location 102} {DEFELEM :defnamespace <> :defname opt3 :arg 3.5 :defaction 0 :location 111} {DEFELEM :defnamespace <> :defname opt4 :arg -1.25 :defaction 0 :location 122}) :rels ({VACUUMRELATION :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 134} :oid 0 :va_cols <>}) :is_vacuumcmd true} :stmt_location 84 :stmt_len 51} {RAWSTMT :stmt {VACUUMSTMT :options ({DEFELEM :defnamespace <> :defname opt5 :arg 7 :defaction 0 :location 146}) :rels ({VACUUMRELATION :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 154} :oid 0 :va_cols <>}) :is_vacuumcmd false} :stmt_location 137 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATERANGESTMT :typeName ("myrange") :params ({DEFELEM :defnamespace <> :defname subtype :arg {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 40} :defaction 0 :location 30})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATERANGESTMT :typeName ("s" "floatrange") :params ({DEFELEM :defnamespace <> :defname subtype :arg {TYPENAME :names ("float8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 45} :defaction 0 :location 35} {DEFELEM :defnamespace <> :defname subtype_diff :arg {TYPENAME :names ("float8mi") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 68} :defaction 0 :location 53})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATERANGESTMT :typeName ("textrange") :params ({DEFELEM :defnamespace <> :defname subtype :arg {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :defaction 0 :location 32} {DEFELEM :defnamespace <> :defname collation :arg {TYPENAME :names ("C") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 60} :defaction 0 :location 48} {DEFELEM :defnamespace <> :defname subtype_opclass :arg {TYPENAME :names ("text_ops") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 83} :defaction 0 :location 65})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATERANGESTMT :typeName ("bigrange") :params ({DEFELEM :defnamespace <> :defname subtype :arg {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 41} :defaction 0 :location 31} {DEFELEM :defnamespace <> :defname canonical :arg {TYPENAME :names ("my_canonical") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 59} :defaction 0 :location 47} {DEFELEM :defnamespace <> :defname multirange_type_name :arg {TYPENAME :names ("s" "big_mr") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 96} :defaction 0 :location 73})} :stmt_location 0 :stmt_len 0}) ERR 29 syntax error at end of input ERR 32 syntax error at or near ")" OK ({RAWSTMT :stmt {RENAMESTMT :renameType 7 :relationType 0 :relation <> :object ("coll1") :subname <> :newname coll2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 37} {RAWSTMT :stmt {RENAMESTMT :renameType 8 :relationType 0 :relation <> :object ("s" "cnv") :subname <> :newname cnv2 :behavior 0 :missing_ok false} :stmt_location 39 :stmt_len 37} {RAWSTMT :stmt {RENAMESTMT :renameType 39 :relationType 0 :relation <> :object ("s" "st1") :subname <> :newname st2 :behavior 0 :missing_ok false} :stmt_location 78 :stmt_len 36} {RAWSTMT :stmt {RENAMESTMT :renameType 49 :relationType 0 :relation <> :object ("s" "ty") :subname <> :newname ty2 :behavior 0 :missing_ok false} :stmt_location 116 :stmt_len 29} {RAWSTMT :stmt {RENAMESTMT :renameType 47 :relationType 0 :relation <> :object ("prs") :subname <> :newname prs2 :behavior 0 :missing_ok false} :stmt_location 147 :stmt_len 43} {RAWSTMT :stmt {RENAMESTMT :renameType 46 :relationType 0 :relation <> :object ("s" "dict") :subname <> :newname d2 :behavior 0 :missing_ok false} :stmt_location 192 :stmt_len 48} {RAWSTMT :stmt {RENAMESTMT :renameType 48 :relationType 0 :relation <> :object ("tmpl") :subname <> :newname t2 :behavior 0 :missing_ok false} :stmt_location 242 :stmt_len 44} {RAWSTMT :stmt {RENAMESTMT :renameType 45 :relationType 0 :relation <> :object ("s" "cfg") :subname <> :newname c2 :behavior 0 :missing_ok false} :stmt_location 288 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 16 :relationType 0 :relation <> :object "fdw1" :subname <> :newname fdw2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 46} {RAWSTMT :stmt {RENAMESTMT :renameType 21 :relationType 0 :relation <> :object "plsample" :subname <> :newname plsample2 :behavior 0 :missing_ok false} :stmt_location 48 :stmt_len 43} {RAWSTMT :stmt {RENAMESTMT :renameType 21 :relationType 0 :relation <> :object "l1" :subname <> :newname l2 :behavior 0 :missing_ok false} :stmt_location 93 :stmt_len 41} {RAWSTMT :stmt {RENAMESTMT :renameType 17 :relationType 0 :relation <> :object "srv" :subname <> :newname srv2 :behavior 0 :missing_ok false} :stmt_location 136 :stmt_len 31} {RAWSTMT :stmt {RENAMESTMT :renameType 14 :relationType 0 :relation <> :object "evt" :subname <> :newname evt2 :behavior 0 :missing_ok false} :stmt_location 169 :stmt_len 38} {RAWSTMT :stmt {RENAMESTMT :renameType 24 :relationType 0 :relation <> :object ("btree" "s" "oc") :subname <> :newname oc2 :behavior 0 :missing_ok false} :stmt_location 209 :stmt_len 51} {RAWSTMT :stmt {RENAMESTMT :renameType 26 :relationType 0 :relation <> :object ("hash" "fam") :subname <> :newname fam2 :behavior 0 :missing_ok false} :stmt_location 262 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 33 :relationType 0 :relation <> :object <> :subname g1 :newname g2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 27} {RAWSTMT :stmt {RENAMESTMT :renameType 33 :relationType 0 :relation <> :object <> :subname r1 :newname r2 :behavior 0 :missing_ok false} :stmt_location 29 :stmt_len 26} {RAWSTMT :stmt {RENAMESTMT :renameType 33 :relationType 0 :relation <> :object <> :subname u1 :newname u2 :behavior 0 :missing_ok false} :stmt_location 57 :stmt_len 26} {RAWSTMT :stmt {RENAMESTMT :renameType 36 :relationType 0 :relation <> :object <> :subname s1 :newname s2 :behavior 0 :missing_ok false} :stmt_location 85 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 37 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname seq1 :inh true :relpersistence p :alias <> :location 15} :object <> :subname <> :newname seq2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 34} {RAWSTMT :stmt {RENAMESTMT :renameType 37 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname s :relname seq :inh true :relpersistence p :alias <> :location 61} :object <> :subname <> :newname seq3 :behavior 0 :missing_ok true} :stmt_location 36 :stmt_len 45} {RAWSTMT :stmt {RENAMESTMT :renameType 51 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v1 :inh true :relpersistence p :alias <> :location 94} :object <> :subname <> :newname v2 :behavior 0 :missing_ok false} :stmt_location 83 :stmt_len 26} {RAWSTMT :stmt {RENAMESTMT :renameType 51 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname s :relname v :inh true :relpersistence p :alias <> :location 132} :object <> :subname <> :newname v3 :behavior 0 :missing_ok true} :stmt_location 111 :stmt_len 37} {RAWSTMT :stmt {RENAMESTMT :renameType 23 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 174} :object <> :subname <> :newname mv2 :behavior 0 :missing_ok false} :stmt_location 150 :stmt_len 40} {RAWSTMT :stmt {RENAMESTMT :renameType 23 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname s :relname mv :inh true :relpersistence p :alias <> :location 226} :object <> :subname <> :newname mv3 :behavior 0 :missing_ok true} :stmt_location 192 :stmt_len 52} {RAWSTMT :stmt {RENAMESTMT :renameType 20 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname i1 :inh true :relpersistence p :alias <> :location 258} :object <> :subname <> :newname i2 :behavior 0 :missing_ok false} :stmt_location 246 :stmt_len 27} {RAWSTMT :stmt {RENAMESTMT :renameType 20 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname s :relname i :inh true :relpersistence p :alias <> :location 297} :object <> :subname <> :newname i3 :behavior 0 :missing_ok true} :stmt_location 275 :stmt_len 38} {RAWSTMT :stmt {RENAMESTMT :renameType 18 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft :inh true :relpersistence p :alias <> :location 335} :object <> :subname <> :newname ft2 :behavior 0 :missing_ok false} :stmt_location 315 :stmt_len 36} {RAWSTMT :stmt {RENAMESTMT :renameType 18 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname s :relname ft :inh true :relpersistence p :alias <> :location 383} :object <> :subname <> :newname ft3 :behavior 0 :missing_ok true} :stmt_location 353 :stmt_len 0}) OK ({RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 51 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v1 :inh true :relpersistence p :alias <> :location 11} :object <> :subname c1 :newname c2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 36} {RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 51 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v1 :inh true :relpersistence p :alias <> :location 59} :object <> :subname c1 :newname c2 :behavior 0 :missing_ok true} :stmt_location 38 :stmt_len 39} {RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 23 :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 103} :object <> :subname a :newname b :behavior 0 :missing_ok false} :stmt_location 79 :stmt_len 47} {RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 23 :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 162} :object <> :subname a :newname b :behavior 0 :missing_ok true} :stmt_location 128 :stmt_len 50} {RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 18 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft :inh true :relpersistence p :alias <> :location 200} :object <> :subname x :newname y :behavior 0 :missing_ok false} :stmt_location 180 :stmt_len 43} {RAWSTMT :stmt {RENAMESTMT :renameType 6 :relationType 18 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft :inh true :relpersistence p :alias <> :location 255} :object <> :subname x :newname y :behavior 0 :missing_ok true} :stmt_location 225 :stmt_len 46} {RAWSTMT :stmt {RENAMESTMT :renameType 35 :relationType 0 :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 294} :object <> :subname myrule :newname r2 :behavior 0 :missing_ok false} :stmt_location 273 :stmt_len 36} {RAWSTMT :stmt {RENAMESTMT :renameType 4 :relationType 49 :relation {RANGEVAR :catalogname <> :schemaname s :relname ty :inh false :relpersistence p :alias <> :location 322} :object <> :subname att :newname att2 :behavior 1 :missing_ok false} :stmt_location 311 :stmt_len 52} {RAWSTMT :stmt {RENAMESTMT :renameType 4 :relationType 49 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ty :inh false :relpersistence p :alias <> :location 376} :object <> :subname a :newname b :behavior 0 :missing_ok false} :stmt_location 365 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 1 :relation <> :object {OBJECTWITHARGS :objname ("agg") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 20} :mode 100 :defexpr <> :location 20}) :args_unspecified false} :newschema s2 :missing_ok false} :stmt_location 0 :stmt_len 39} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 7 :relation <> :object ("coll") :newschema s2 :missing_ok false} :stmt_location 41 :stmt_len 34} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 8 :relation <> :object ("cnv") :newschema s2 :missing_ok false} :stmt_location 77 :stmt_len 34} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 15 :relation <> :object "ext" :newschema s2 :missing_ok false} :stmt_location 113 :stmt_len 33} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 19 :relation <> :object {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 165} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 171}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 165} :mode 100 :defexpr <> :location 165} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 171} :mode 100 :defexpr <> :location 171}) :args_unspecified false} :newschema s2 :missing_ok false} :stmt_location 148 :stmt_len 42} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 25 :relation <> :object {OBJECTWITHARGS :objname ("my" "+") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 213} {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 219}) :objfuncargs <> :args_unspecified false} :newschema s2 :missing_ok false} :stmt_location 192 :stmt_len 46} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 24 :relation <> :object ("btree" "oc") :newschema s2 :missing_ok false} :stmt_location 240 :stmt_len 49} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 26 :relation <> :object ("gist" "fam") :newschema s2 :missing_ok false} :stmt_location 291 :stmt_len 50} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 29 :relation <> :object {OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 361}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 361} :mode 100 :defexpr <> :location 361}) :args_unspecified false} :newschema s2 :missing_ok false} :stmt_location 343 :stmt_len 37} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 34 :relation <> :object {OBJECTWITHARGS :objname ("rt") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 399}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 399} :mode 100 :defexpr <> :location 399}) :args_unspecified false} :newschema s2 :missing_ok false} :stmt_location 382 :stmt_len 36} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 39 :relation <> :object ("st") :newschema s2 :missing_ok false} :stmt_location 420 :stmt_len 33} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 47 :relation <> :object ("prs") :newschema s2 :missing_ok false} :stmt_location 455 :stmt_len 42} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 46 :relation <> :object ("dict") :newschema s2 :missing_ok false} :stmt_location 499 :stmt_len 47} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 48 :relation <> :object ("tmpl") :newschema s2 :missing_ok false} :stmt_location 548 :stmt_len 45} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 45 :relation <> :object ("cfg") :newschema s2 :missing_ok false} :stmt_location 595 :stmt_len 49} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 49 :relation <> :object ("ty") :newschema s2 :missing_ok false} :stmt_location 646 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 41 :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :object <> :newschema s2 :missing_ok false} :stmt_location 0 :stmt_len 28} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 41 :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 52} :object <> :newschema s2 :missing_ok true} :stmt_location 30 :stmt_len 38} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 37 :relation {RANGEVAR :catalogname <> :schemaname <> :relname sq :inh true :relpersistence p :alias <> :location 85} :object <> :newschema s2 :missing_ok false} :stmt_location 70 :stmt_len 31} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 37 :relation {RANGEVAR :catalogname <> :schemaname <> :relname sq :inh true :relpersistence p :alias <> :location 128} :object <> :newschema s2 :missing_ok true} :stmt_location 103 :stmt_len 41} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 51 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v :inh true :relpersistence p :alias <> :location 157} :object <> :newschema s2 :missing_ok false} :stmt_location 146 :stmt_len 26} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 51 :relation {RANGEVAR :catalogname <> :schemaname <> :relname v :inh true :relpersistence p :alias <> :location 195} :object <> :newschema s2 :missing_ok true} :stmt_location 174 :stmt_len 36} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 23 :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 236} :object <> :newschema s2 :missing_ok false} :stmt_location 212 :stmt_len 40} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 23 :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 288} :object <> :newschema s2 :missing_ok true} :stmt_location 254 :stmt_len 50} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 18 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft :inh true :relpersistence p :alias <> :location 326} :object <> :newschema s2 :missing_ok false} :stmt_location 306 :stmt_len 36} {RAWSTMT :stmt {ALTEROBJECTSCHEMASTMT :objectType 18 :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft :inh true :relpersistence p :alias <> :location 374} :object <> :newschema s2 :missing_ok true} :stmt_location 344 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 7 :relation <> :object ("coll") :newowner {ROLESPEC :roletype 0 :rolename rol :location 30}} :stmt_location 0 :stmt_len 33} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 8 :relation <> :object ("cnv") :newowner {ROLESPEC :roletype 0 :rolename rol :location 65}} :stmt_location 35 :stmt_len 33} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 49 :relation <> :object ("ty") :newowner {ROLESPEC :roletype 2 :rolename <> :location 93}} :stmt_location 70 :stmt_len 35} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 39 :relation <> :object ("st") :newowner {ROLESPEC :roletype 0 :rolename rol :location 136}} :stmt_location 107 :stmt_len 32} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 21 :relation <> :object "lang" :newowner {ROLESPEC :roletype 0 :rolename rol :location 170}} :stmt_location 141 :stmt_len 32} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 21 :relation <> :object "lang2" :newowner {ROLESPEC :roletype 0 :rolename rol :location 216}} :stmt_location 175 :stmt_len 44} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 36 :relation <> :object "s1" :newowner {ROLESPEC :roletype 0 :rolename rol :location 246}} :stmt_location 221 :stmt_len 28} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 16 :relation <> :object "fdw" :newowner {ROLESPEC :roletype 0 :rolename rol :location 291}} :stmt_location 251 :stmt_len 43} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 17 :relation <> :object "srv" :newowner {ROLESPEC :roletype 0 :rolename rol :location 322}} :stmt_location 296 :stmt_len 29} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 14 :relation <> :object "evt" :newowner {ROLESPEC :roletype 0 :rolename rol :location 360}} :stmt_location 327 :stmt_len 36} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 22 :relation <> :object 42 :newowner {ROLESPEC :roletype 0 :rolename rol :location 396}} :stmt_location 365 :stmt_len 34} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 25 :relation <> :object {OBJECTWITHARGS :objname ("my" "@@") :objargs ({TYPENAME :names ("int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 423} {TYPENAME :names ("int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 429}) :objfuncargs <> :args_unspecified false} :newowner {ROLESPEC :roletype 0 :rolename rol :location 444}} :stmt_location 401 :stmt_len 46} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 24 :relation <> :object ("btree" "oc") :newowner {ROLESPEC :roletype 0 :rolename rol :location 494}} :stmt_location 449 :stmt_len 48} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 26 :relation <> :object ("btree" "fam") :newowner {ROLESPEC :roletype 0 :rolename rol :location 546}} :stmt_location 499 :stmt_len 50} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 46 :relation <> :object ("dict") :newowner {ROLESPEC :roletype 0 :rolename rol :location 594}} :stmt_location 551 :stmt_len 46} {RAWSTMT :stmt {ALTEROWNERSTMT :objectType 45 :relation <> :object ("cfg") :newowner {ROLESPEC :roletype 3 :rolename <> :location 644}} :stmt_location 599 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTATSSTMT :defnames ("s1") :stat_types ("ndistinct" "dependencies") :exprs ({STATSELEM :name a :expr <>} {STATSELEM :name b :expr <>}) :relations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 60}) :stxcomment <> :transformed false :if_not_exists false :owner 0} :stmt_location 0 :stmt_len 61} {RAWSTMT :stmt {CREATESTATSSTMT :defnames ("sch" "s2") :stat_types ("mcv") :exprs ({STATSELEM :name <> :expr {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("a") :location 112} :rexpr {COLUMNREF :fields ("b") :location 114} :rexpr_list_start 0 :rexpr_list_end 0 :location 113}} {STATSELEM :name c :expr <>}) :relations ({RANGEVAR :catalogname <> :schemaname sch :relname t :inh true :relpersistence p :alias <> :location 125}) :stxcomment <> :transformed false :if_not_exists true :owner 0} :stmt_location 63 :stmt_len 67} {RAWSTMT :stmt {CREATESTATSSTMT :defnames <> :stat_types <> :exprs ({STATSELEM :name a :expr <>} {STATSELEM :name b :expr <>}) :relations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 163}) :stxcomment <> :transformed false :if_not_exists false :owner 0} :stmt_location 132 :stmt_len 32} {RAWSTMT :stmt {CREATESTATSSTMT :defnames ("s3") :stat_types <> :exprs ({STATSELEM :name <> :expr {FUNCCALL :funcname ("lower") :args ({COLUMNREF :fields ("x") :location 197}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 191}}) :relations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 206}) :stxcomment <> :transformed false :if_not_exists false :owner 0} :stmt_location 166 :stmt_len 41} {RAWSTMT :stmt {CREATESTATSSTMT :defnames ("s4") :stat_types <> :exprs ({STATSELEM :name a :expr <>}) :relations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 240}) :stxcomment <> :transformed false :if_not_exists false :owner 0} :stmt_location 209 :stmt_len 32} {RAWSTMT :stmt {CREATESTATSSTMT :defnames ("s5") :stat_types ("ndistinct") :exprs ({STATSELEM :name a :expr <>} {STATSELEM :name <> :expr {FUNCCALL :funcname ("upper") :args ({COLUMNREF :fields ("b") :location 288}) :agg_order <> :agg_filter <> :over <> :agg_within_group false :agg_star false :agg_distinct false :func_variadic false :funcformat 0 :location 282}}) :relations ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias <> :location 301}) :stxcomment <> :transformed false :if_not_exists false :owner 0} :stmt_location 243 :stmt_len 59} {RAWSTMT :stmt {ALTERSTATSSTMT :defnames ("s1") :stxstattarget 100 :missing_ok false} :stmt_location 304 :stmt_len 38} {RAWSTMT :stmt {ALTERSTATSSTMT :defnames ("sch" "s1") :stxstattarget -1 :missing_ok true} :stmt_location 344 :stmt_len 51} {RAWSTMT :stmt {ALTERSTATSSTMT :defnames ("s2") :stxstattarget <> :missing_ok false} :stmt_location 397 :stmt_len 0}) ERR 22 syntax error at or near "STATISTICS" OK ({RAWSTMT :stmt {RENAMESTMT :renameType 39 :relationType 0 :relation <> :object ("s1") :subname <> :newname s2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 32} {RAWSTMT :stmt {RENAMESTMT :renameType 39 :relationType 0 :relation <> :object ("sch" "s1") :subname <> :newname s2 :behavior 0 :missing_ok false} :stmt_location 34 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 14} :method ("bernoulli") :args ({A_CONST :val 10 :location 39}) :repeatable <> :location 28}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 42} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 51} :location 51}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 58} :method ("system") :args ({A_CONST :val 50 :location 80}) :repeatable {A_CONST :val 0 :location 96} :location 72}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 44 :stmt_len 54} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 107} :location 107}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname x :colnames <>} :location 114} :method ("bernoulli") :args ({A_CONST :val 1.5 :location 144}) :repeatable <> :location 133}) :whereClause {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 155} :rexpr {A_CONST :val 0 :location 159} :rexpr_list_start 0 :rexpr_list_end 0 :location 157} :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 100 :stmt_len 60} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 169} :location 169}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh false :relpersistence p :alias <> :location 181} :method ("system") :args ({A_CONST :val 0.1 :location 203}) :repeatable {A_EXPR :name ("+") :lexpr {A_CONST :val 1 :location 220} :rexpr {A_CONST :val 2 :location 224} :rexpr_list_start 0 :rexpr_list_end 0 :location 222} :location 195}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 162 :stmt_len 64} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 235} :location 235}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 242} :method ("foo" "bar") :args ({A_CONST :val 1 :location 267} {A_CONST :val 2 :location 270}) :repeatable {COLUMNREF :fields ("x") :location 285} :location 258}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 228 :stmt_len 59} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 296} :location 296}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias {ALIAS :aliasname x :colnames ("a" "b")} :location 303} :method ("bernoulli") :args ({A_CONST :val 50 :location 336}) :repeatable <> :location 325} {JOINEXPR :jointype 0 :isNatural false :larg {RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 341} :rarg {RANGEVAR :catalogname <> :schemaname <> :relname v :inh true :relpersistence p :alias <> :location 348} :usingClause <> :join_using_alias <> :quals {A_CONST :val true :location 353} :alias <> :rtindex 0}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 289 :stmt_len 68} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 366} :location 366}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 373} :method ("bernoulli") :args ({A_CONST :val 10 :location 398}) :repeatable {A_CONST :val -1 :location 414} :location 387}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 359 :stmt_len 58} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 426} :location 426}) :fromClause ({RANGETABLESAMPLE :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 433} :method ("system") :args ({PARAMREF :number 1 :location 457}) :repeatable <> :location 449}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 419 :stmt_len 41}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 32} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 30} :behavior 0 :missing_ok false :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 30} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 28} :behavior 1 :missing_ok false :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 13 :name a :num 0 :newowner <> :def <> :behavior 1 :missing_ok true :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 13 :name a :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 24 :name a :num 0 :newowner <> :def {COLUMNDEF :colname <> :typeName {TYPENAME :names ("pg_catalog" "numeric") :typeOid 0 :setof false :pct_type false :typmods ({A_CONST :val 10 :location 54} {A_CONST :val 2 :location 58}) :typemod -1 :arrayBounds <> :location 46} :compression <> :inhcount 0 :is_local false :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause {COLLATECLAUSE :arg <> :collname ("C") :location 61} :collOid 0 :constraints <> :fdwoptions <> :location 30} :behavior 1 :missing_ok false :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname cat :schemaname s :relname ty :inh false :relpersistence p :alias <> :location 11} :cmds ({ALTERTABLECMD :subtype 24 :name a :num 0 :newowner <> :def {COLUMNDEF :colname <> :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 43} :compression <> :inhcount 0 :is_local false :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 36} :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 13 :name b :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 83} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 81} :behavior 0 :missing_ok false :recurse false}) :objtype 49 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 12 improper qualified name (too many dotted names): a.b.c.d OK ({RAWSTMT :stmt {RENAMESTMT :renameType 33 :relationType 0 :relation <> :object <> :subname r1 :newname r2 :behavior 0 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 19 :func {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17}) :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname set :arg {VARIABLESETSTMT :kind 0 :name search_path :args ({A_CONST :val "public" :location 41} {A_CONST :val "pg_temp" :location 49}) :jumble_args false :is_local false :location 41} :defaction 0 :location 22})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 19 :func {OBJECTWITHARGS :objname ("f") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 17} :mode 100 :defexpr <> :location 17} {FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 22} :mode 100 :defexpr <> :location 22}) :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname set :arg {VARIABLESETSTMT :kind 4 :name search_path :args <> :jumble_args false :is_local false :location -1} :defaction 0 :location 28})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERFUNCTIONSTMT :objtype 29 :func {OBJECTWITHARGS :objname ("p") :objargs ({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18}) :objfuncargs ({FUNCTIONPARAMETER :name <> :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18} :mode 100 :defexpr <> :location 18}) :args_unspecified false} :actions ({DEFELEM :defnamespace <> :defname set :arg {VARIABLESETSTMT :kind 5 :name <> :args <> :jumble_args false :is_local false :location -1} :defaction 0 :location 23})} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 36 :relation <> :object "myschema" :newowner {ROLESPEC :roletype 0 :rolename newowner :location 31}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTEROWNERSTMT :objectType 36 :relation <> :object "s2" :newowner {ROLESPEC :roletype 2 :rolename <> :location 25}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_INDIRECTION :arg {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 15} :location 15}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 22}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 7} :indirection ("b")} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_INDIRECTION :arg {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 15} :location 15}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 22}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 7} :indirection ("b" {A_INDICES :is_slice false :lidx <> :uidx {A_CONST :val 1 :location 27}})} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_INDIRECTION :arg {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 15} :location 15}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 22}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 7} :indirection ("c" {A_INDICES :is_slice true :lidx {A_CONST :val 1 :location 27} :uidx {A_CONST :val 2 :location 29}})} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_INDIRECTION :arg {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location 16} :location 16}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 23}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 7} :indirection ({A_STAR})} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) ERR 29 improper use of "*" at end of input OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection <> :val {MULTIASSIGNREF :source {ROWEXPR :args ({A_CONST :val 1 :location 23} {A_CONST :val 2 :location 26}) :row_typeid 0 :row_format 2 :colnames <> :location 22} :colno 1 :ncolumns 2} :location 14} {RESTARGET :name b :indirection <> :val {MULTIASSIGNREF :source {ROWEXPR :args ({A_CONST :val 1 :location 23} {A_CONST :val 2 :location 26}) :row_typeid 0 :row_format 2 :colnames <> :location 22} :colno 2 :ncolumns 2} :location 17}) :whereClause <> :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection <> :val {MULTIASSIGNREF :source {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 30} :location 30} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 33} :location 33}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 22} :colno 1 :ncolumns 2} :location 14} {RESTARGET :name b :indirection <> :val {MULTIASSIGNREF :source {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 30} :location 30} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 33} :location 33}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 22} :colno 2 :ncolumns 2} :location 17}) :whereClause <> :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname t :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection <> :val {MULTIASSIGNREF :source {ROWEXPR :args ({A_CONST :val 1 :location 25}) :row_typeid 0 :row_format 0 :colnames <> :location 21} :colno 1 :ncolumns 1} :location 16}) :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 34} :rexpr {A_CONST :val 0 :location 38} :rexpr_list_start 0 :rexpr_list_end 0 :location 36} :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection <> :val {MULTIASSIGNREF :source {ROWEXPR :args ({A_CONST :val 1 :location 25} {A_CONST :val 2 :location 28}) :row_typeid 0 :row_format 2 :colnames <> :location 24} :colno 1 :ncolumns 2} :location 14} {RESTARGET :name b :indirection ("c") :val {MULTIASSIGNREF :source {ROWEXPR :args ({A_CONST :val 1 :location 25} {A_CONST :val 2 :location 28}) :row_typeid 0 :row_format 2 :colnames <> :location 24} :colno 2 :ncolumns 2} :location 17} {RESTARGET :name x :indirection <> :val {A_CONST :val 3 :location 36} :location 32}) :whereClause <> :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection ({A_INDICES :is_slice false :lidx <> :uidx {A_CONST :val 1 :location 16}}) :val {MULTIASSIGNREF :source {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x") :location 33} :location 33} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("y") :location 36} :location 36}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 43}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 25} :colno 1 :ncolumns 2} :location 14} {RESTARGET :name b :indirection <> :val {MULTIASSIGNREF :source {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("x") :location 33} :location 33} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("y") :location 36} :location 36}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname u :inh true :relpersistence p :alias <> :location 43}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 25} :colno 2 :ncolumns 2} :location 20}) :whereClause <> :fromClause <> :returningClause <> :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {A_CONST :val "[]" :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$" :location 31} :name <> :name_location -1 :location 31} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 46} :pathspec <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 44}) :on_error <> :alias <> :lateral false :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 51} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 60} :location 60}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {TYPECAST :arg {A_CONST :val "[1,2,3]" :location 84} :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 78} :location -1} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$[*]" :location 95} :name rootpath :name_location 102 :location 95} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 125} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$" :location 134} :name <> :name_location -1 :location 134} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 123}) :on_error <> :alias {ALIAS :aliasname jt :colnames <>} :lateral false :location 67}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 53 :stmt_len 89} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("jt" {A_STAR}) :location 151} :location 151}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("js") :location 172} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$" :location 176} :name <> :name_location -1 :location 176} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name x :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 191} :pathspec <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 189}) :on_error <> :alias {ALIAS :aliasname jt :colnames ("y")} :lateral false :location 161}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 144 :stmt_len 62} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 215} :location 215}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 222} {JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("t" "j") :location 244} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$[*]" :location 249} :name <> :name_location -1 :location 249} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 267} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.a" :location 276} :name <> :name_location -1 :location 276} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 265}) :on_error <> :alias {ALIAS :aliasname jt :colnames <>} :lateral true :location 233}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 208 :stmt_len 78} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 295} :location 295}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {COLUMNREF :fields ("doc") :location 313} :formatted_expr <> :format {JSONFORMAT :format_type 1 :encoding 0 :location 317}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$" :location 330} :name <> :name_location -1 :location 330} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 345} :pathspec <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 343}) :on_error <> :alias <> :lateral false :location 302}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 288 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 7} :location 7}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {A_CONST :val "[]" :location 25} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$[*]" :location 31} :name <> :name_location -1 :location 31} :passing <> :columns ({JSONTABLECOLUMN :coltype 0 :name id :typeName <> :pathspec <> :format <> :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 47} {JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 68} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.a" :location 77} :name <> :name_location -1 :location 77} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 66} {JSONTABLECOLUMN :coltype 1 :name b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 86} :pathspec <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error <> :location 84} {JSONTABLECOLUMN :coltype 3 :name c :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 94} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.c" :location 117} :name <> :name_location -1 :location 117} :format {JSONFORMAT :format_type 1 :encoding 0 :location 100} :wrapper 3 :quotes 0 :columns <> :on_empty <> :on_error <> :location 92} {JSONTABLECOLUMN :coltype 3 :name d :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 139} :pathspec <> :format {JSONFORMAT :format_type 1 :encoding 0 :location 144} :wrapper 0 :quotes 2 :columns <> :on_empty <> :on_error <> :location 137} {JSONTABLECOLUMN :coltype 2 :name e :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 171} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.e" :location 187} :name <> :name_location -1 :location 187} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 1 :quotes 0 :columns <> :on_empty <> :on_error <> :location 169} {JSONTABLECOLUMN :coltype 2 :name f :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 196} :pathspec <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 1 :quotes 0 :columns <> :on_empty <> :on_error <> :location 194} {JSONTABLECOLUMN :coltype 1 :name g :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 210} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.g" :location 220} :name <> :name_location -1 :location 220} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 1 :columns <> :on_empty <> :on_error <> :location 208}) :on_error <> :alias <> :lateral false :location 14}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 256} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ({A_STAR}) :location 265} :location 265}) :fromClause ({JSONTABLE :context_item {JSONVALUEEXPR :raw_expr {A_CONST :val "[]" :location 283} :formatted_expr <> :format {JSONFORMAT :format_type 0 :encoding 0 :location -1}} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$" :location 289} :name <> :name_location -1 :location 289} :passing <> :columns ({JSONTABLECOLUMN :coltype 1 :name a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 304} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.a" :location 313} :name <> :name_location -1 :location 313} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty {JSONBEHAVIOR :btype 8 :expr {A_CONST :val 1 :location 327} :coerce false :location 319} :on_error {JSONBEHAVIOR :btype 8 :expr {A_CONST :val 2 :location 346} :coerce false :location 338} :location 302} {JSONTABLECOLUMN :coltype 1 :name b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 360} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.b" :location 370} :name <> :name_location -1 :location 370} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty {JSONBEHAVIOR :btype 0 :expr <> :coerce false :location 376} :on_error {JSONBEHAVIOR :btype 1 :expr <> :coerce false :location 390} :location 358} {JSONTABLECOLUMN :coltype 1 :name c :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 408} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.c" :location 419} :name <> :name_location -1 :location 419} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty <> :on_error {JSONBEHAVIOR :btype 6 :expr <> :coerce false :location 425} :location 406} {JSONTABLECOLUMN :coltype 1 :name d :typeName {TYPENAME :names ("jsonb") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 449} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.d" :location 460} :name <> :name_location -1 :location 460} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 0 :quotes 0 :columns <> :on_empty {JSONBEHAVIOR :btype 7 :expr <> :coerce false :location 466} :on_error <> :location 447} {JSONTABLECOLUMN :coltype 2 :name e :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 491} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.e" :location 507} :name <> :name_location -1 :location 507} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 1 :quotes 0 :columns <> :on_empty <> :on_error {JSONBEHAVIOR :btype 3 :expr <> :coerce false :location 513} :location 489} {JSONTABLECOLUMN :coltype 2 :name f :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 530} :pathspec {JSONTABLEPATHSPEC :string {A_CONST :val "$.f" :location 546} :name <> :name_location -1 :location 546} :format {JSONFORMAT :format_type 0 :encoding 0 :location -1} :wrapper 1 :quotes 0 :columns <> :on_empty <> :on_error {JSONBEHAVIOR :btype 5 :expr <> :coerce false :location 552} :location 528}) :on_error <> :alias <> :lateral false :location 272}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 258 :stmt_len 0}) ERR 600 only string constants are supported in JSON_TABLE path specification OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST :val 1 :location 12} :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds (4) :location 17} :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 30} {RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {TYPECAST :arg {A_CONST NULL :location 44} :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds (-1) :location 52} :location 39} :location 39}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 32 :stmt_len 31} {RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 78} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds (3) :location 93} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 91} {COLUMNDEF :colname b :typeName {TYPENAME :names ("text") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds (-1) :location 109} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 107} {COLUMNDEF :colname c :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds (2 3) :location 123} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 121}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 65 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure false :replace false :funcname ("gramblk_f1") :parameters <> :returnType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof true :pct_type false :typmods <> :typemod -1 :arrayBounds (3) :location 43} :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 56} {DEFELEM :defnamespace <> :defname as :arg ("SELECT\ 1") :defaction 0 :location 69}) :sql_body <>} :stmt_location 0 :stmt_len 82} {RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure false :replace false :funcname ("gramblk_f2") :parameters <> :returnType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof true :pct_type false :typmods <> :typemod -1 :arrayBounds (-1) :location 127} :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 137} {DEFELEM :defnamespace <> :defname as :arg ("SELECT\ 1") :defaction 0 :location 150}) :sql_body <>} :stmt_location 84 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_ca :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 27} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 42} :fk_attrs <> :pk_attrs ("a") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 31} {CONSTRAINT :contype 10 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 58} {CONSTRAINT :contype 12 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 69}) :fdwoptions <> :location 25} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 91} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 9 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 106} :fk_attrs <> :pk_attrs ("a") :fk_with_period false :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 95} {CONSTRAINT :contype 11 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 122} {CONSTRAINT :contype 13 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 137}) :fdwoptions <> :location 89}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_ca2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("a") :location 39} :rexpr {A_CONST :val 0 :location 43} :rexpr_list_start 0 :rexpr_list_end 0 :location 41} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 32} {CONSTRAINT :contype 14 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 46}) :fdwoptions <> :location 26} {COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 58} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints ({CONSTRAINT :contype 5 :conname <> :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr {A_EXPR :name (">") :lexpr {COLUMNREF :fields ("b") :location 69} :rexpr {A_CONST :val 0 :location 73} :rexpr_list_start 0 :rexpr_list_end 0 :location 71} :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 62} {CONSTRAINT :contype 15 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 76}) :fdwoptions <> :location 56}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure false :replace false :funcname ("gramblk_f3") :parameters ({FUNCTIONPARAMETER :name x :argType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 29} :mode 100 :defexpr <> :location 27}) :returnType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 46}) :sql_body {RETURNSTMT :returnval {A_EXPR :name ("+") :lexpr {COLUMNREF :fields ("x") :location 66} :rexpr {A_CONST :val 1 :location 70} :rexpr_list_start 0 :rexpr_list_end 0 :location 68}}} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure false :replace false :funcname ("gramblk_f4") :parameters <> :returnType {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 37} :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 41}) :sql_body (({SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 74} :location 74}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}))} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure true :replace false :funcname ("gramblk_p1") :parameters <> :returnType <> :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 30}) :sql_body (<>)} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATEFUNCTIONSTMT :is_procedure true :replace false :funcname ("gramblk_p2") :parameters <> :returnType <> :options ({DEFELEM :defnamespace <> :defname language :arg "sql" :defaction 0 :location 30}) :sql_body (({SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 63} :location 63}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 73} :location 73}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>}))} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESCHEMASTMT :schemaname <> :authrole {ROLESPEC :roletype 0 :rolename gramblk_role :location 28} :schemaElts <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESCHEMASTMT :schemaname gramblk_s1 :authrole {ROLESPEC :roletype 0 :rolename gramblk_role :location 39} :schemaElts ({CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 65} :tableElts ({COLUMNDEF :colname a :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 71} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 69}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false}) :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESCHEMASTMT :schemaname gramblk_s2 :authrole <> :schemaElts ({CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 38} :tableElts ({COLUMNDEF :colname b :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 42}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname v2 :inh true :relpersistence p :alias <> :location 61} :aliases <> :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location 74} :location 74}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 81}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 0} {INDEXSTMT :idxname i2 :relation {RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 103} :accessMethod btree :tableSpace <> :indexParams ({INDEXELEM :name b :expr <> :indexcolname <> :collation <> :opclass <> :opclassopts <> :ordering 0 :nulls_ordering 0}) :indexIncludingParams <> :options <> :whereClause <> :excludeOpNames <> :idxcomment <> :indexOid 0 :oldNumber 0 :oldCreateSubid 0 :oldFirstRelfilelocatorSubid 0 :unique false :nulls_not_distinct false :primary false :isconstraint false :iswithoutoverlaps false :deferrable false :initdeferred false :transformed false :concurrent false :if_not_exists false :reset_default_tblspc false} {CREATESEQSTMT :sequence {RANGEVAR :catalogname <> :schemaname <> :relname sq2 :inh true :relpersistence p :alias <> :location 126} :options <> :ownerId 0 :for_identity false :if_not_exists false} {GRANTSTMT :is_grant true :targtype 0 :objtype 41 :objects ({RANGEVAR :catalogname <> :schemaname <> :relname t2 :inh true :relpersistence p :alias <> :location 146}) :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 4 :rolename <> :location 152}) :grant_option false :grantor <> :behavior 0}) :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESCHEMASTMT :schemaname gramblk_s3 :authrole {ROLESPEC :roletype 0 :rolename gramblk_role :location 53} :schemaElts <> :if_not_exists true} :stmt_location 0 :stmt_len 65} {RAWSTMT :stmt {CREATESCHEMASTMT :schemaname gramblk_s4 :authrole <> :schemaElts <> :if_not_exists true} :stmt_location 67 :stmt_len 0}) OK ({RAWSTMT :stmt {UPDATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 7} :targetList ({RESTARGET :name a :indirection <> :val {A_CONST :val 1 :location 27} :location 23}) :whereClause <> :fromClause <> :returningClause {RETURNINGCLAUSE :options ({RETURNINGOPTION :option 0 :value o :location 45} {RETURNINGOPTION :option 1 :value n :location 55}) :exprs ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("o" "a") :location 65} :location 65} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("n" "a") :location 70} :location 70})} :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DELETESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 12} :usingClause <> :whereClause {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("a") :location 30} :rexpr {A_CONST :val 1 :location 34} :rexpr_list_start 0 :rexpr_list_end 0 :location 32} :returningClause {RETURNINGCLAUSE :options ({RETURNINGOPTION :option 0 :value o :location 52}) :exprs ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("o" "a") :location 62} :location 62})} :withClause <>} :stmt_location 0 :stmt_len 65} {RAWSTMT :stmt {INSERTSTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_arr :inh true :relpersistence p :alias <> :location 79} :cols <> :selectStmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists (({A_CONST :val 1 :location 99})) :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :onConflictClause <> :returningClause {RETURNINGCLAUSE :options ({RETURNINGOPTION :option 1 :value n :location 118}) :exprs ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("n" "a") :location 128} :location 128})} :withClause <> :override 0} :stmt_location 67 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects (({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 11} {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 18})) :removeType 5 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 25} {RAWSTMT :stmt {DROPSTMT :objects (({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} {TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 55})) :removeType 5 :behavior 1 :missing_ok true :concurrent false} :stmt_location 27 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects (({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 19} "plpgsql")) :removeType 43 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 39} {RAWSTMT :stmt {DROPSTMT :objects (({TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 70} "plpgsql")) :removeType 43 :behavior 0 :missing_ok true :concurrent false} :stmt_location 41 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects (("gramblk_i1")) :removeType 20 :behavior 0 :missing_ok false :concurrent true} :stmt_location 0 :stmt_len 34} {RAWSTMT :stmt {DROPSTMT :objects (("gramblk_i1") ("gramblk_i2")) :removeType 20 :behavior 1 :missing_ok true :concurrent true} :stmt_location 36 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_t3 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname id :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 25} {COLUMNDEF :colname valid_at :typeName {TYPENAME :names ("daterange") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 33} {CONSTRAINT :contype 6 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("id" "valid_at") :without_overlaps true :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 53}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname gramblk_t4 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname id :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 28} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 25} {COLUMNDEF :colname valid_at :typeName {TYPENAME :names ("daterange") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 42} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 33} {CONSTRAINT :contype 7 :conname <> :deferrable false :initdeferred false :is_enforced false :skip_validation false :initially_valid false :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys ("id" "valid_at") :without_overlaps true :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable <> :fk_attrs <> :pk_attrs <> :fk_with_period false :pk_with_period false :fk_matchtype <> :fk_upd_action <> :fk_del_action <> :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 53}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTYPESTMT :typeName ("mytype") :options ({DEFELEM :defnamespace <> :defname receive :arg {TYPENAME :names ("myrecv") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :defaction 0 :location 23} {DEFELEM :defnamespace <> :defname send :arg {TYPENAME :names ("mysend") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 48} :defaction 0 :location 41})} :stmt_location 0 :stmt_len 55} {RAWSTMT :stmt {ALTERTYPESTMT :typeName ("sch" "mytype") :options ({DEFELEM :defnamespace <> :defname typmod_in :arg {TYPENAME :names ("tmi") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 96} :defaction 0 :location 84} {DEFELEM :defnamespace <> :defname typmod_out :arg {TYPENAME :names ("tmo") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 114} :defaction 0 :location 101} {DEFELEM :defnamespace <> :defname analyze :arg {TYPENAME :names ("anlz") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 129} :defaction 0 :location 119} {DEFELEM :defnamespace <> :defname subscript :arg {TYPENAME :names ("subs") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 147} :defaction 0 :location 135})} :stmt_location 57 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTYPESTMT :typeName ("mytype") :options ({DEFELEM :defnamespace <> :defname storage :arg {TYPENAME :names ("extended") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :defaction 0 :location 23})} :stmt_location 0 :stmt_len 42} {RAWSTMT :stmt {ALTERTYPESTMT :typeName ("mytype") :options ({DEFELEM :defnamespace <> :defname receive :arg <> :defaction 0 :location 67} {DEFELEM :defnamespace <> :defname send :arg <> :defaction 0 :location 83} {DEFELEM :defnamespace <> :defname analyze :arg <> :defaction 0 :location 96})} :stmt_location 44 :stmt_len 67} {RAWSTMT :stmt {ALTERTYPESTMT :typeName ("pg_catalog" "mytype") :options ({DEFELEM :defnamespace <> :defname typmod_in :arg <> :defaction 0 :location 147} {DEFELEM :defnamespace <> :defname typmod_out :arg <> :defaction 0 :location 165} {DEFELEM :defnamespace <> :defname subscript :arg <> :defaction 0 :location 184})} :stmt_location 113 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTYPESTMT :typeName ("mytype") :options ({DEFELEM :defnamespace <> :defname storage :arg {TYPENAME :names ("plain") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 33} :defaction 0 :location 23} {DEFELEM :defnamespace <> :defname storage :arg {TYPENAME :names ("main") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 50} :defaction 0 :location 40})} :stmt_location 0 :stmt_len 0}) ERR 16 syntax error at or near "(" ERR 24 syntax error at or near ")" OK ({RAWSTMT :stmt {ALTERCOLLATIONSTMT :collname ("c1")} :stmt_location 0 :stmt_len 34} {RAWSTMT :stmt {ALTERCOLLATIONSTMT :collname ("sch" "c2")} :stmt_location 36 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability false :is_enforced true :alterDeferrability true :deferrable true :initdeferred true :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability false :is_enforced true :alterDeferrability true :deferrable false :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh false :relpersistence p :alias <> :location 17} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability false :is_enforced true :alterDeferrability true :deferrable true :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability true :is_enforced true :alterDeferrability false :deferrable false :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability true :is_enforced false :alterDeferrability false :deferrable false :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability true :is_enforced false :alterDeferrability true :deferrable false :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability false :is_enforced true :alterDeferrability false :deferrable false :initdeferred false :alterInheritability true :noinherit true} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) ERR 36 constraints cannot be altered to be NOT VALID OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c1 :alterEnforceability false :is_enforced false :alterDeferrability false :deferrable false :initdeferred false :alterInheritability true :noinherit false} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname sch :relname t2 :inh true :relpersistence p :alias <> :location 22} :cmds ({ALTERTABLECMD :subtype 19 :name <> :num 0 :newowner <> :def {ATALTERCONSTRAINT :conname c2 :alterEnforceability false :is_enforced true :alterDeferrability true :deferrable true :initdeferred false :alterInheritability false :noinherit false} :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 20 :name c3 :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname seq1 :inh true :relpersistence p :alias <> :location 15} :cmds ({ALTERTABLECMD :subtype 29 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 37 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname sch :relname seq2 :inh true :relpersistence p :alias <> :location 25} :cmds ({ALTERTABLECMD :subtype 30 :name <> :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 37 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft1 :inh true :relpersistence p :alias <> :location 20} :cmds ({ALTERTABLECMD :subtype 0 :name <> :num 0 :newowner <> :def {COLUMNDEF :colname c4 :typeName {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 38} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 35} :behavior 0 :missing_ok false :recurse false}) :objtype 18 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname sch :relname ft2 :inh true :relpersistence p :alias <> :location 30} :cmds ({ALTERTABLECMD :subtype 13 :name c1 :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 18 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft1 :inh true :relpersistence p :alias <> :location 20} :cmds ({ALTERTABLECMD :subtype 58 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname delimiter :arg "," :defaction 2 :location 37} {DEFELEM :defnamespace <> :defname quote :arg "~" :defaction 1 :location 56} {DEFELEM :defnamespace <> :defname escape :arg <> :defaction 3 :location 72}) :behavior 0 :missing_ok false :recurse false}) :objtype 18 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft1 :inh true :relpersistence p :alias <> :location 20} :cmds ({ALTERTABLECMD :subtype 25 :name c1 :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname param1 :arg "val1" :defaction 2 :location 53}) :behavior 0 :missing_ok false :recurse false}) :objtype 18 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname ft1 :inh true :relpersistence p :alias <> :location 20} :cmds ({ALTERTABLECMD :subtype 5 :name c2 :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 18 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 16 :objects ("foo") :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename regress_test_role :location 43}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 16 :objects ("foo" "bar") :privileges <> :grantees ({ROLESPEC :roletype 4 :rolename <> :location 46}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 0 :objtype 17 :objects ("s1") :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename regress_test_role :location 39}) :grant_option false :grantor <> :behavior 1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 0 :objtype 17 :objects ("s1" "s2") :privileges ({ACCESSPRIV :priv_name usage :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename regress_test_role2 :location 40}) :grant_option true :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname wo_fk1 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname id :typeName {TYPENAME :names ("int4range") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 21} {COLUMNDEF :colname valid_at :typeName {TYPENAME :names ("daterange") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 35} {CONSTRAINT :contype 9 :conname wo_fk1_fk :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname wo_pk1 :inh true :relpersistence p :alias <> :location 121} :fk_attrs ("id" "valid_at") :pk_attrs ("id" "valid_at") :fk_with_period true :pk_with_period true :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 55}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {CREATESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname wo_fk2 :inh true :relpersistence p :alias <> :location 13} :tableElts ({COLUMNDEF :colname id :typeName {TYPENAME :names ("int4range") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 24} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 21} {COLUMNDEF :colname valid_at :typeName {TYPENAME :names ("daterange") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 44} :compression <> :inhcount 0 :is_local true :is_not_null false :is_from_type false :storage <> :storage_name <> :raw_default <> :cooked_default <> :identity <> :identitySequence <> :generated <> :collClause <> :collOid 0 :constraints <> :fdwoptions <> :location 35} {CONSTRAINT :contype 9 :conname wo_fk2_fk :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname wo_pk1 :inh true :relpersistence p :alias <> :location 121} :fk_attrs ("id" "valid_at") :pk_attrs <> :fk_with_period true :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 55}) :inhRelations <> :partbound <> :partspec <> :ofTypename <> :constraints <> :nnconstraints <> :options <> :oncommit 0 :tablespacename <> :accessMethod <> :if_not_exists false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname wo_fk1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 9 :conname wo_fk3_fk :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname wo_pk1 :inh true :relpersistence p :alias <> :location 89} :fk_attrs ("id" "valid_at") :pk_attrs ("id" "valid_at") :fk_with_period true :pk_with_period true :fk_matchtype s :fk_upd_action r :fk_del_action r :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 23} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname wo_fk1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 9 :conname wo_fk4_fk :deferrable false :initdeferred false :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname wo_pk1 :inh true :relpersistence p :alias <> :location 72} :fk_attrs ("id") :pk_attrs ("id" "valid_at") :fk_with_period false :pk_with_period true :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 23} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname wo_fk1 :inh true :relpersistence p :alias <> :location 12} :cmds ({ALTERTABLECMD :subtype 16 :name <> :num 0 :newowner <> :def {CONSTRAINT :contype 9 :conname wo_fk5_fk :deferrable true :initdeferred true :is_enforced true :skip_validation false :initially_valid true :is_no_inherit false :raw_expr <> :cooked_expr <> :generated_when <> :generated_kind <> :nulls_not_distinct false :keys <> :without_overlaps false :including <> :exclusions <> :options <> :indexname <> :indexspace <> :reset_default_tblspc false :access_method <> :where_clause <> :pktable {RANGEVAR :catalogname <> :schemaname <> :relname wo_pk1 :inh true :relpersistence p :alias <> :location 89} :fk_attrs ("id" "valid_at") :pk_attrs ("id") :fk_with_period true :pk_with_period false :fk_matchtype s :fk_upd_action a :fk_del_action a :fk_del_set_cols <> :old_conpfeqop <> :old_pktable_oid 0 :location 23} :behavior 0 :missing_ok false :recurse false}) :objtype 41 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 7} :location 7}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 7} :location 7} {RESTARGET :name act :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 23} :location 23}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tgt :inh true :relpersistence p :alias {ALIAS :aliasname t :colnames <>} :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname src :inh true :relpersistence p :alias {ALIAS :aliasname s :colnames <>} :location 23} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("t" "id") :location 32} :rexpr {COLUMNREF :fields ("s" "id") :location 39} :rexpr_list_start 0 :rexpr_list_end 0 :location 37} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 2 :override 0 :condition <> :targetList ({RESTARGET :name val :indirection <> :val {COLUMNREF :fields ("s" "val") :location 79} :location 73}) :values <>} {MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 0 :condition <> :targetList ({RESTARGET :name id :indirection <> :val <> :location 115} {RESTARGET :name val :indirection <> :val <> :location 119}) :values ({COLUMNREF :fields ("s" "id") :location 132} {COLUMNREF :fields ("s" "val") :location 138})}) :returningClause {RETURNINGCLAUSE :options <> :exprs ({RESTARGET :name <> :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 155} :location 155} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("t" {A_STAR}) :location 171} :location 171})} :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tgt :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname src :inh true :relpersistence p :alias <> :location 21} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("tgt" "id") :location 28} :rexpr {COLUMNREF :fields ("src" "id") :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 0 :commandType 4 :override 0 :condition {A_EXPR :name ("=") :lexpr {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 61} :rexpr {A_CONST :val "UPDATE" :location 78} :rexpr_list_start 0 :rexpr_list_end 0 :location 76} :targetList <> :values <>}) :returningClause {RETURNINGCLAUSE :options <> :exprs ({RESTARGET :name act :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 109} :location 109} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("old" "id") :location 132} :location 132} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("new" "id") :location 140} :location 140})} :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {INSERTSTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname t :inh true :relpersistence p :alias <> :location 12} :cols <> :selectStmt {SELECTSTMT :distinctClause <> :intoClause <> :targetList <> :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists (({A_CONST :val 1 :location 22})) :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :onConflictClause <> :returningClause {RETURNINGCLAUSE :options <> :exprs ({RESTARGET :name <> :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 35} :location 35})} :withClause <> :override 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {MERGESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname tgt :inh true :relpersistence p :alias <> :location 11} :sourceRelation {RANGEVAR :catalogname <> :schemaname <> :relname src :inh true :relpersistence p :alias <> :location 21} :joinCondition {A_EXPR :name ("=") :lexpr {COLUMNREF :fields ("tgt" "id") :location 28} :rexpr {COLUMNREF :fields ("src" "id") :location 37} :rexpr_list_start 0 :rexpr_list_end 0 :location 35} :mergeWhenClauses ({MERGEWHENCLAUSE :matchKind 2 :commandType 3 :override 0 :condition <> :targetList <> :values ({COLUMNREF :fields ("src" "id") :location 81})}) :returningClause {RETURNINGCLAUSE :options <> :exprs ({RESTARGET :name <> :indirection <> :val {SUBLINK :subLinkType 4 :subLinkId 0 :testexpr <> :operName <> :subselect {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {MERGESUPPORTFUNC :msftype 25 :msfcollid 0 :location 107} :location 107}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :location 99} :location 99})} :withClause <>} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname <> :relname vr :inh true :relpersistence p :alias <> :location 22} :aliases ("n") :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("n") :location -1} :location -1}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname vr :inh true :relpersistence p :alias <> :location -1}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename vr :aliascolnames ("n") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 39} :location 39}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location -1 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location -1} :op 0 :all false :larg <> :rarg <>} :replace false :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {VIEWSTMT :view {RANGEVAR :catalogname <> :schemaname s :relname vr :inh true :relpersistence t :alias <> :location 38} :aliases ("a" "b") :query {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("a") :location -1} :location -1} {RESTARGET :name <> :indirection <> :val {COLUMNREF :fields ("b") :location -1} :location -1}) :fromClause ({RANGEVAR :catalogname <> :schemaname <> :relname vr :inh true :relpersistence p :alias <> :location -1}) :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause {WITHCLAUSE :ctes ({COMMONTABLEEXPR :ctename vr :aliascolnames ("a" "b") :ctematerialized 0 :ctequery {SELECTSTMT :distinctClause <> :intoClause <> :targetList ({RESTARGET :name <> :indirection <> :val {A_CONST :val 1 :location 60} :location 60} {RESTARGET :name <> :indirection <> :val {A_CONST :val 2 :location 63} :location 63}) :fromClause <> :whereClause <> :groupClause <> :groupDistinct false :havingClause <> :windowClause <> :valuesLists <> :sortClause <> :limitOffset <> :limitCount <> :limitOption 0 :lockingClause <> :withClause <> :op 0 :all false :larg <> :rarg <>} :search_clause <> :cycle_clause <> :location -1 :cterecursive false :cterefcount 0 :ctecolnames <> :ctecoltypes <> :ctecoltypmods <> :ctecolcollations <>}) :recursive true :location -1} :op 0 :all false :larg <> :rarg <>} :replace true :options <> :withCheckOption 0} :stmt_location 0 :stmt_len 0}) ERR 42 WITH CHECK OPTION not supported on recursive views OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("!!!") :objargs (<> {TYPENAME :names ("pg_catalog" "int4") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 25}) :objfuncargs <> :args_unspecified false}) :removeType 25 :behavior 0 :missing_ok false :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {DROPSTMT :objects ({OBJECTWITHARGS :objname ("s" "@#@") :objargs ({TYPENAME :names ("pg_catalog" "int8") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 31} <>) :objfuncargs <> :args_unspecified false}) :removeType 25 :behavior 1 :missing_ok true :concurrent false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {COMMENTSTMT :objtype 25 :object {OBJECTWITHARGS :objname ("!!!") :objargs (<> {TYPENAME :names ("pg_catalog" "bool") :typeOid 0 :setof false :pct_type false :typmods <> :typemod -1 :arrayBounds <> :location 31}) :objfuncargs <> :args_unspecified false} :comment prefix} :stmt_location 0 :stmt_len 0}) ERR 27 missing argument OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname <> :relname mv :inh true :relpersistence p :alias <> :location 24} :cmds ({ALTERTABLECMD :subtype 26 :name <> :num 0 :newowner {ROLESPEC :roletype 0 :rolename r :location 36} :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 23 :missing_ok false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLESTMT :relation {RANGEVAR :catalogname <> :schemaname s :relname mv :inh true :relpersistence p :alias <> :location 34} :cmds ({ALTERTABLECMD :subtype 34 :name <> :num 0 :newowner <> :def ({DEFELEM :defnamespace <> :defname fillfactor :arg 70 :defaction 0 :location 44}) :behavior 0 :missing_ok false :recurse false} {ALTERTABLECMD :subtype 27 :name idx :num 0 :newowner <> :def <> :behavior 0 :missing_ok false :recurse false}) :objtype 23 :missing_ok true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant true :targtype 1 :objtype 41 :objects ("s" "s2") :privileges ({ACCESSPRIV :priv_name select :cols <>}) :grantees ({ROLESPEC :roletype 0 :rolename u :location 46}) :grant_option false :grantor <> :behavior 0} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {GRANTSTMT :is_grant false :targtype 1 :objtype 37 :objects ("s") :privileges <> :grantees ({ROLESPEC :roletype 0 :rolename u :location 45}) :grant_option false :grantor <> :behavior 1} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 41 :roles <> :new_tablespacename ts2 :nowait false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 41 :roles ({ROLESPEC :roletype 0 :rolename r1 :location 42} {ROLESPEC :roletype 0 :rolename r2 :location 46}) :new_tablespacename ts2 :nowait true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 20 :roles <> :new_tablespacename ts2 :nowait true} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 20 :roles ({ROLESPEC :roletype 2 :rolename <> :location 42}) :new_tablespacename ts2 :nowait false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 23 :roles <> :new_tablespacename ts2 :nowait false} :stmt_location 0 :stmt_len 0}) OK ({RAWSTMT :stmt {ALTERTABLEMOVEALLSTMT :orig_tablespacename ts :objtype 23 :roles ({ROLESPEC :roletype 0 :rolename r :location 54}) :new_tablespacename ts2 :nowait true} :stmt_location 0 :stmt_len 0})