package NYql.NProto; option java_package = "ru.yandex.yql.proto"; import "yql/essentials/protos/pg_ext.proto"; message TPgType { optional uint32 TypeId = 1; optional string Name = 2; optional uint32 ExtensionIndex = 3; optional uint32 ArrayTypeId = 4; optional uint32 Category = 5; optional int32 TypeLen = 6; optional bool PassByValue = 7; optional uint32 TypeAlign = 8; optional uint32 ElementTypeId = 9; optional uint32 InFuncId = 10; optional uint32 OutFuncId = 11; optional uint32 SendFuncId = 12; optional uint32 ReceiveFuncId = 13; optional uint32 TypeModInFuncId = 14; optional uint32 TypeModOutFuncId = 15; optional uint32 TypeSubscriptFuncId = 16; optional uint32 LessProcId = 17; optional uint32 EqualProcId = 18; optional uint32 CompareProcId = 19; optional uint32 HashProcId = 20; } message TPgProc { optional uint32 ProcId = 1; optional string Name = 2; optional uint32 ExtensionIndex = 3; optional string Src = 4; repeated uint32 ArgType = 5; repeated uint32 OutputArgType = 6; optional uint32 VariadicType = 7; optional uint32 VariadicArgType = 8; repeated bool DefaultArgNull = 9; repeated string DefaultArgValue = 10; repeated string InputArgName = 11; repeated string OutputArgName = 12; optional string VariadicArgName = 13; optional bool IsStrict = 14; optional uint32 Lang = 15; optional uint32 ResultType = 16; optional bool ReturnSet = 17; optional uint32 Kind = 18; } message TPgTable { optional uint32 Oid = 1; optional string Schema = 2; optional string Name = 3; optional uint32 ExtensionIndex = 4; repeated string Column = 5; repeated string UdtType = 6; repeated string DataValue = 7; repeated bool DataNull = 8; } message TPgCast { optional uint32 Id = 1; optional uint32 SourceId = 2; optional uint32 TargetId = 3; optional uint32 ExtensionIndex = 4; optional uint32 Method = 5; optional uint32 FunctionId = 6; optional uint32 CoercionCode = 7; } message TPgOper { optional uint32 OperId = 1; optional string Name = 2; optional uint32 ExtensionIndex = 3; optional uint32 LeftType = 4; optional uint32 RightType = 5; optional uint32 Kind = 6; optional uint32 ProcId = 7; optional uint32 ResultType = 8; optional uint32 ComId = 9; optional uint32 NegateId = 10; } message TPgAggregation { optional uint32 AggId = 1; optional string Name = 2; optional uint32 ExtensionIndex = 3; repeated uint32 ArgType = 4; optional uint32 Kind = 5; optional uint32 TransTypeId = 6; optional uint32 TransFuncId = 7; optional uint32 FinalFuncId = 8; optional uint32 CombineFuncId = 9; optional uint32 SerializeFuncId = 10; optional uint32 DeserializeFuncId = 11; optional string InitValue = 12; optional bool FinalExtra = 13; optional uint32 NumDirectArgs = 14; } message TPgOpClassFamily { optional uint32 FamilyId = 1; optional string Name = 2; optional uint32 ExtensionIndex = 3; } message TPgOpClass { optional uint32 Method = 1; optional uint32 TypeId = 2; optional uint32 ExtensionIndex = 3; optional string Name = 4; optional uint32 FamilyId = 5; } message TPgAmOp { optional uint32 FamilyId = 1; optional uint32 Strategy = 2; optional uint32 LeftType = 3; optional uint32 RightType = 4; optional uint32 OperId = 5; optional uint32 ExtensionIndex = 6; } message TPgAmProc { optional uint32 FamilyId = 1; optional uint32 ProcNum = 2; optional uint32 LeftType = 3; optional uint32 RightType = 4; optional uint32 ProcId = 5; optional uint32 ExtensionIndex = 6; } message TPgCatalog { repeated TPgExtension Extension = 1; repeated TPgType Type = 2; repeated TPgProc Proc = 3; repeated TPgTable Table = 4; repeated TPgCast Cast = 5; repeated TPgOper Oper = 6; repeated TPgAggregation Aggregation = 7; repeated TPgOpClassFamily OpClassFamily = 8; repeated TPgOpClass OpClass = 9; repeated TPgAmOp AmOp = 10; repeated TPgAmProc AmProc = 11; }