objects.sql 937 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784
  1. -- Generated by BladeSmith 4.20.FC1 DO NOT MODIFY. --
  2. execute procedure ifx_allow_newline('t');
  3. insert into sysbldobjects
  4. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5. create_can_fail, drop_sql, drop_can_fail)
  6. values
  7. (
  8. "%SYSBLDNAME%", 0, "downgrade check",
  9. "%SYSBLDUSER%", 0,
  10. " ",
  11. "f",
  12. "
  13. CREATE PROCEDURE downgrade_check()
  14. DEFINE nmajor integer;
  15. DEFINE nminor integer;
  16. DEFINE slevel integer;
  17. DEFINE packed_id integer;
  18. DEFINE Ch2nd char(1);
  19. SELECT dbinfo('version','major') INTO nmajor
  20. FROM systables WHERE tabid = 1;
  21. SELECT dbinfo('version','minor') INTO nminor
  22. FROM systables WHERE tabid = 1;
  23. IF ( nmajor < 12 or (nmajor = 12 and nminor = 10) ) THEN
  24. IF ( nmajor = 12 ) THEN
  25. SELECT substr(dbinfo('version','level'), 3,1) INTO Ch2nd
  26. FROM systables WHERE tabid = 1;
  27. IF ( Ch2nd >= '0' and Ch2nd <= '9') THEN
  28. SELECT substr(dbinfo('version','level'), 2,2)::int INTO slevel
  29. FROM systables WHERE tabid = 1;
  30. ELSE
  31. SELECT substr(dbinfo('version','level'), 2,1)::int INTO slevel
  32. FROM systables WHERE tabid = 1;
  33. END IF
  34. IF ( slevel > 2 or slevel is null) THEN
  35. return;
  36. END IF
  37. END IF
  38. SELECT first 1 id INTO packed_id FROM tsinstancetable WHERE bitand(flags, '16') = 16;
  39. IF (packed_id is not null) THEN
  40. RAISE EXCEPTION -746, 0, 'Can not downgrade from database with TimeSeries packed data.';
  41. END IF
  42. END IF
  43. END PROCEDURE;
  44. EXECUTE PROCEDURE downgrade_check();
  45. DROP PROCEDURE downgrade_check;
  46. ",
  47. "f"
  48. );
  49. insert into sysbldobjects
  50. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  51. create_can_fail, drop_sql, drop_can_fail)
  52. values
  53. (
  54. "%SYSBLDNAME%", 7, "CalendarPattern",
  55. "%SYSBLDUSER%", 0,
  56. "create opaque type CalendarPattern(
  57. internallength = variable,
  58. maxlen = 8192,
  59. alignment = 4
  60. );
  61. ",
  62. "f",
  63. "drop type CalendarPattern restrict;
  64. ",
  65. "f"
  66. );
  67. insert into sysbldobjects
  68. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  69. create_can_fail, drop_sql, drop_can_fail)
  70. values
  71. (
  72. "%SYSBLDNAME%", 71, "CalendarPattern",
  73. "%SYSBLDUSER%", 0,
  74. "grant usage on type CalendarPattern to public;
  75. ",
  76. "f",
  77. "",
  78. "f"
  79. );
  80. insert into sysbldobjdepends
  81. (
  82. bld_id,
  83. obj_kind,
  84. obj_signature,
  85. obj_owner,
  86. need_obj_kind,
  87. need_obj_signature,
  88. need_obj_owner)
  89. values
  90. (
  91. "%SYSBLDNAME%",
  92. 71, "CalendarPattern",
  93. "%SYSBLDUSER%",
  94. 7, "CalendarPattern",
  95. "%SYSBLDUSER%"
  96. );
  97. insert into sysbldobjects
  98. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  99. create_can_fail, drop_sql, drop_can_fail)
  100. values
  101. (
  102. "%SYSBLDNAME%", 5, "CalendarPatternIn (lvarchar)",
  103. "%SYSBLDUSER%", 0,
  104. "create function CalendarPatternIn (lvarchar)
  105. returns CalendarPattern with (not variant)
  106. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_input)"" language c;
  107. ",
  108. "f",
  109. "drop function CalendarPatternIn (lvarchar);
  110. ",
  111. "f"
  112. );
  113. insert into sysbldobjdepends
  114. (
  115. bld_id,
  116. obj_kind,
  117. obj_signature,
  118. obj_owner,
  119. need_obj_kind,
  120. need_obj_signature,
  121. need_obj_owner)
  122. values
  123. (
  124. "%SYSBLDNAME%",
  125. 5, "CalendarPatternIn (lvarchar)",
  126. "%SYSBLDUSER%",
  127. 7, "CalendarPattern",
  128. "%SYSBLDUSER%"
  129. );
  130. insert into sysbldobjects
  131. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  132. create_can_fail, drop_sql, drop_can_fail)
  133. values
  134. (
  135. "%SYSBLDNAME%", 69, "CalendarPatternIn (lvarchar)",
  136. "%SYSBLDUSER%", 0,
  137. "grant execute on function CalendarPatternIn (lvarchar) to public;
  138. ",
  139. "f",
  140. "",
  141. "f"
  142. );
  143. insert into sysbldobjdepends
  144. (
  145. bld_id,
  146. obj_kind,
  147. obj_signature,
  148. obj_owner,
  149. need_obj_kind,
  150. need_obj_signature,
  151. need_obj_owner)
  152. values
  153. (
  154. "%SYSBLDNAME%",
  155. 69, "CalendarPatternIn (lvarchar)",
  156. "%SYSBLDUSER%",
  157. 5, "CalendarPatternIn (lvarchar)",
  158. "%SYSBLDUSER%"
  159. );
  160. insert into sysbldobjects
  161. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  162. create_can_fail, drop_sql, drop_can_fail)
  163. values
  164. (
  165. "%SYSBLDNAME%", 3, "lvarchar->CalendarPattern",
  166. "%SYSBLDUSER%", 0,
  167. "create implicit cast
  168. (
  169. lvarchar as CalendarPattern
  170. with CalendarPatternIn
  171. );
  172. ",
  173. "f",
  174. "drop cast (lvarchar as CalendarPattern);
  175. ",
  176. "f"
  177. );
  178. insert into sysbldobjdepends
  179. (
  180. bld_id,
  181. obj_kind,
  182. obj_signature,
  183. obj_owner,
  184. need_obj_kind,
  185. need_obj_signature,
  186. need_obj_owner)
  187. values
  188. (
  189. "%SYSBLDNAME%",
  190. 3, "lvarchar->CalendarPattern",
  191. "%SYSBLDUSER%",
  192. 7, "CalendarPattern",
  193. "%SYSBLDUSER%"
  194. );
  195. insert into sysbldobjects
  196. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  197. create_can_fail, drop_sql, drop_can_fail)
  198. values
  199. (
  200. "%SYSBLDNAME%", 5, "CalendarPatternOut (CalendarPattern)",
  201. "%SYSBLDUSER%", 0,
  202. "create function CalendarPatternOut (CalendarPattern)
  203. returns lvarchar with (not variant)
  204. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_output)"" language c;
  205. ",
  206. "f",
  207. "drop function CalendarPatternOut (CalendarPattern);
  208. ",
  209. "f"
  210. );
  211. insert into sysbldobjdepends
  212. (
  213. bld_id,
  214. obj_kind,
  215. obj_signature,
  216. obj_owner,
  217. need_obj_kind,
  218. need_obj_signature,
  219. need_obj_owner)
  220. values
  221. (
  222. "%SYSBLDNAME%",
  223. 5, "CalendarPatternOut (CalendarPattern)",
  224. "%SYSBLDUSER%",
  225. 7, "CalendarPattern",
  226. "%SYSBLDUSER%"
  227. );
  228. insert into sysbldobjects
  229. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  230. create_can_fail, drop_sql, drop_can_fail)
  231. values
  232. (
  233. "%SYSBLDNAME%", 69, "CalendarPatternOut (CalendarPattern)",
  234. "%SYSBLDUSER%", 0,
  235. "grant execute on function CalendarPatternOut (CalendarPattern) to public;
  236. ",
  237. "f",
  238. "",
  239. "f"
  240. );
  241. insert into sysbldobjdepends
  242. (
  243. bld_id,
  244. obj_kind,
  245. obj_signature,
  246. obj_owner,
  247. need_obj_kind,
  248. need_obj_signature,
  249. need_obj_owner)
  250. values
  251. (
  252. "%SYSBLDNAME%",
  253. 69, "CalendarPatternOut (CalendarPattern)",
  254. "%SYSBLDUSER%",
  255. 5, "CalendarPatternOut (CalendarPattern)",
  256. "%SYSBLDUSER%"
  257. );
  258. insert into sysbldobjects
  259. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  260. create_can_fail, drop_sql, drop_can_fail)
  261. values
  262. (
  263. "%SYSBLDNAME%", 3, "CalendarPattern->lvarchar",
  264. "%SYSBLDUSER%", 0,
  265. "create cast
  266. (
  267. CalendarPattern as lvarchar
  268. with CalendarPatternOut
  269. );
  270. ",
  271. "f",
  272. "drop cast (CalendarPattern as lvarchar);
  273. ",
  274. "f"
  275. );
  276. insert into sysbldobjdepends
  277. (
  278. bld_id,
  279. obj_kind,
  280. obj_signature,
  281. obj_owner,
  282. need_obj_kind,
  283. need_obj_signature,
  284. need_obj_owner)
  285. values
  286. (
  287. "%SYSBLDNAME%",
  288. 3, "CalendarPattern->lvarchar",
  289. "%SYSBLDUSER%",
  290. 7, "CalendarPattern",
  291. "%SYSBLDUSER%"
  292. );
  293. insert into sysbldobjects
  294. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  295. create_can_fail, drop_sql, drop_can_fail)
  296. values
  297. (
  298. "%SYSBLDNAME%", 5, "CalendarPatternSend (CalendarPattern)",
  299. "%SYSBLDUSER%", 0,
  300. "create function CalendarPatternSend (CalendarPattern)
  301. returns sendrecv with (not variant)
  302. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_swap)"" language c;
  303. ",
  304. "f",
  305. "drop function CalendarPatternSend (CalendarPattern);
  306. ",
  307. "f"
  308. );
  309. insert into sysbldobjdepends
  310. (
  311. bld_id,
  312. obj_kind,
  313. obj_signature,
  314. obj_owner,
  315. need_obj_kind,
  316. need_obj_signature,
  317. need_obj_owner)
  318. values
  319. (
  320. "%SYSBLDNAME%",
  321. 5, "CalendarPatternSend (CalendarPattern)",
  322. "%SYSBLDUSER%",
  323. 7, "CalendarPattern",
  324. "%SYSBLDUSER%"
  325. );
  326. insert into sysbldobjects
  327. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  328. create_can_fail, drop_sql, drop_can_fail)
  329. values
  330. (
  331. "%SYSBLDNAME%", 69, "CalendarPatternSend (CalendarPattern)",
  332. "%SYSBLDUSER%", 0,
  333. "grant execute on function CalendarPatternSend (CalendarPattern) to public;
  334. ",
  335. "f",
  336. "",
  337. "f"
  338. );
  339. insert into sysbldobjdepends
  340. (
  341. bld_id,
  342. obj_kind,
  343. obj_signature,
  344. obj_owner,
  345. need_obj_kind,
  346. need_obj_signature,
  347. need_obj_owner)
  348. values
  349. (
  350. "%SYSBLDNAME%",
  351. 69, "CalendarPatternSend (CalendarPattern)",
  352. "%SYSBLDUSER%",
  353. 5, "CalendarPatternSend (CalendarPattern)",
  354. "%SYSBLDUSER%"
  355. );
  356. insert into sysbldobjects
  357. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  358. create_can_fail, drop_sql, drop_can_fail)
  359. values
  360. (
  361. "%SYSBLDNAME%", 3, "CalendarPattern->sendrecv",
  362. "%SYSBLDUSER%", 0,
  363. "create cast
  364. (
  365. CalendarPattern as sendrecv
  366. with CalendarPatternSend
  367. );
  368. ",
  369. "f",
  370. "drop cast (CalendarPattern as sendrecv);
  371. ",
  372. "f"
  373. );
  374. insert into sysbldobjdepends
  375. (
  376. bld_id,
  377. obj_kind,
  378. obj_signature,
  379. obj_owner,
  380. need_obj_kind,
  381. need_obj_signature,
  382. need_obj_owner)
  383. values
  384. (
  385. "%SYSBLDNAME%",
  386. 3, "CalendarPattern->sendrecv",
  387. "%SYSBLDUSER%",
  388. 7, "CalendarPattern",
  389. "%SYSBLDUSER%"
  390. );
  391. insert into sysbldobjects
  392. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  393. create_can_fail, drop_sql, drop_can_fail)
  394. values
  395. (
  396. "%SYSBLDNAME%", 5, "CalendarPatternRecv (sendrecv)",
  397. "%SYSBLDUSER%", 0,
  398. "create function CalendarPatternRecv (sendrecv)
  399. returns CalendarPattern with (not variant)
  400. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_swap)"" language c;
  401. ",
  402. "f",
  403. "drop function CalendarPatternRecv (sendrecv);
  404. ",
  405. "f"
  406. );
  407. insert into sysbldobjdepends
  408. (
  409. bld_id,
  410. obj_kind,
  411. obj_signature,
  412. obj_owner,
  413. need_obj_kind,
  414. need_obj_signature,
  415. need_obj_owner)
  416. values
  417. (
  418. "%SYSBLDNAME%",
  419. 5, "CalendarPatternRecv (sendrecv)",
  420. "%SYSBLDUSER%",
  421. 7, "CalendarPattern",
  422. "%SYSBLDUSER%"
  423. );
  424. insert into sysbldobjects
  425. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  426. create_can_fail, drop_sql, drop_can_fail)
  427. values
  428. (
  429. "%SYSBLDNAME%", 69, "CalendarPatternRecv (sendrecv)",
  430. "%SYSBLDUSER%", 0,
  431. "grant execute on function CalendarPatternRecv (sendrecv) to public;
  432. ",
  433. "f",
  434. "",
  435. "f"
  436. );
  437. insert into sysbldobjdepends
  438. (
  439. bld_id,
  440. obj_kind,
  441. obj_signature,
  442. obj_owner,
  443. need_obj_kind,
  444. need_obj_signature,
  445. need_obj_owner)
  446. values
  447. (
  448. "%SYSBLDNAME%",
  449. 69, "CalendarPatternRecv (sendrecv)",
  450. "%SYSBLDUSER%",
  451. 5, "CalendarPatternRecv (sendrecv)",
  452. "%SYSBLDUSER%"
  453. );
  454. insert into sysbldobjects
  455. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  456. create_can_fail, drop_sql, drop_can_fail)
  457. values
  458. (
  459. "%SYSBLDNAME%", 3, "sendrecv->CalendarPattern",
  460. "%SYSBLDUSER%", 0,
  461. "create implicit cast
  462. (
  463. sendrecv as CalendarPattern
  464. with CalendarPatternRecv
  465. );
  466. ",
  467. "f",
  468. "drop cast (sendrecv as CalendarPattern);
  469. ",
  470. "f"
  471. );
  472. insert into sysbldobjdepends
  473. (
  474. bld_id,
  475. obj_kind,
  476. obj_signature,
  477. obj_owner,
  478. need_obj_kind,
  479. need_obj_signature,
  480. need_obj_owner)
  481. values
  482. (
  483. "%SYSBLDNAME%",
  484. 3, "sendrecv->CalendarPattern",
  485. "%SYSBLDUSER%",
  486. 7, "CalendarPattern",
  487. "%SYSBLDUSER%"
  488. );
  489. insert into sysbldobjects
  490. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  491. create_can_fail, drop_sql, drop_can_fail)
  492. values
  493. (
  494. "%SYSBLDNAME%", 0, "CalendarPattern Table",
  495. "%SYSBLDUSER%", 0,
  496. "create table CalendarPatterns
  497. (
  498. cp_name varchar(255) not null unique,
  499. cp_pattern CalendarPattern not null
  500. ) lock mode row;
  501. ",
  502. "f",
  503. "drop table CalendarPatterns;
  504. ",
  505. "f"
  506. );
  507. insert into sysbldobjdepends
  508. (
  509. bld_id,
  510. obj_kind,
  511. obj_signature,
  512. obj_owner,
  513. need_obj_kind,
  514. need_obj_signature,
  515. need_obj_owner)
  516. values
  517. (
  518. "%SYSBLDNAME%",
  519. 0, "CalendarPattern Table",
  520. "%SYSBLDUSER%",
  521. 7, "CalendarPattern",
  522. "%SYSBLDUSER%"
  523. );
  524. insert into sysbldobjects
  525. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  526. create_can_fail, drop_sql, drop_can_fail)
  527. values
  528. (
  529. "%SYSBLDNAME%", 7, "Calendar",
  530. "%SYSBLDUSER%", 0,
  531. "create opaque type Calendar(
  532. internallength = variable,
  533. maxlen = 8192,
  534. alignment = 4
  535. );
  536. ",
  537. "f",
  538. "drop type Calendar restrict;
  539. ",
  540. "f"
  541. );
  542. insert into sysbldobjects
  543. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  544. create_can_fail, drop_sql, drop_can_fail)
  545. values
  546. (
  547. "%SYSBLDNAME%", 71, "Calendar",
  548. "%SYSBLDUSER%", 0,
  549. "grant usage on type Calendar to public;
  550. ",
  551. "f",
  552. "",
  553. "f"
  554. );
  555. insert into sysbldobjdepends
  556. (
  557. bld_id,
  558. obj_kind,
  559. obj_signature,
  560. obj_owner,
  561. need_obj_kind,
  562. need_obj_signature,
  563. need_obj_owner)
  564. values
  565. (
  566. "%SYSBLDNAME%",
  567. 71, "Calendar",
  568. "%SYSBLDUSER%",
  569. 7, "Calendar",
  570. "%SYSBLDUSER%"
  571. );
  572. insert into sysbldobjects
  573. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  574. create_can_fail, drop_sql, drop_can_fail)
  575. values
  576. (
  577. "%SYSBLDNAME%", 5, "CalendarIn (lvarchar)",
  578. "%SYSBLDUSER%", 0,
  579. "create function CalendarIn (lvarchar)
  580. returns Calendar with (not variant)
  581. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_input)"" language c;
  582. ",
  583. "f",
  584. "drop function CalendarIn (lvarchar);
  585. ",
  586. "f"
  587. );
  588. insert into sysbldobjdepends
  589. (
  590. bld_id,
  591. obj_kind,
  592. obj_signature,
  593. obj_owner,
  594. need_obj_kind,
  595. need_obj_signature,
  596. need_obj_owner)
  597. values
  598. (
  599. "%SYSBLDNAME%",
  600. 5, "CalendarIn (lvarchar)",
  601. "%SYSBLDUSER%",
  602. 7, "Calendar",
  603. "%SYSBLDUSER%"
  604. );
  605. insert into sysbldobjects
  606. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  607. create_can_fail, drop_sql, drop_can_fail)
  608. values
  609. (
  610. "%SYSBLDNAME%", 69, "CalendarIn (lvarchar)",
  611. "%SYSBLDUSER%", 0,
  612. "grant execute on function CalendarIn (lvarchar) to public;
  613. ",
  614. "f",
  615. "",
  616. "f"
  617. );
  618. insert into sysbldobjdepends
  619. (
  620. bld_id,
  621. obj_kind,
  622. obj_signature,
  623. obj_owner,
  624. need_obj_kind,
  625. need_obj_signature,
  626. need_obj_owner)
  627. values
  628. (
  629. "%SYSBLDNAME%",
  630. 69, "CalendarIn (lvarchar)",
  631. "%SYSBLDUSER%",
  632. 5, "CalendarIn (lvarchar)",
  633. "%SYSBLDUSER%"
  634. );
  635. insert into sysbldobjects
  636. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  637. create_can_fail, drop_sql, drop_can_fail)
  638. values
  639. (
  640. "%SYSBLDNAME%", 3, "lvarchar->Calendar",
  641. "%SYSBLDUSER%", 0,
  642. "create implicit cast
  643. (
  644. lvarchar as Calendar
  645. with CalendarIn
  646. );
  647. ",
  648. "f",
  649. "drop cast (lvarchar as Calendar);
  650. ",
  651. "f"
  652. );
  653. insert into sysbldobjdepends
  654. (
  655. bld_id,
  656. obj_kind,
  657. obj_signature,
  658. obj_owner,
  659. need_obj_kind,
  660. need_obj_signature,
  661. need_obj_owner)
  662. values
  663. (
  664. "%SYSBLDNAME%",
  665. 3, "lvarchar->Calendar",
  666. "%SYSBLDUSER%",
  667. 7, "Calendar",
  668. "%SYSBLDUSER%"
  669. );
  670. insert into sysbldobjects
  671. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  672. create_can_fail, drop_sql, drop_can_fail)
  673. values
  674. (
  675. "%SYSBLDNAME%", 5, "CalendarOut (Calendar)",
  676. "%SYSBLDUSER%", 0,
  677. "create function CalendarOut (Calendar)
  678. returns lvarchar with (not variant)
  679. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_output)"" language c;
  680. ",
  681. "f",
  682. "drop function CalendarOut (Calendar);
  683. ",
  684. "f"
  685. );
  686. insert into sysbldobjdepends
  687. (
  688. bld_id,
  689. obj_kind,
  690. obj_signature,
  691. obj_owner,
  692. need_obj_kind,
  693. need_obj_signature,
  694. need_obj_owner)
  695. values
  696. (
  697. "%SYSBLDNAME%",
  698. 5, "CalendarOut (Calendar)",
  699. "%SYSBLDUSER%",
  700. 7, "Calendar",
  701. "%SYSBLDUSER%"
  702. );
  703. insert into sysbldobjects
  704. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  705. create_can_fail, drop_sql, drop_can_fail)
  706. values
  707. (
  708. "%SYSBLDNAME%", 69, "CalendarOut (Calendar)",
  709. "%SYSBLDUSER%", 0,
  710. "grant execute on function CalendarOut (Calendar) to public;
  711. ",
  712. "f",
  713. "",
  714. "f"
  715. );
  716. insert into sysbldobjdepends
  717. (
  718. bld_id,
  719. obj_kind,
  720. obj_signature,
  721. obj_owner,
  722. need_obj_kind,
  723. need_obj_signature,
  724. need_obj_owner)
  725. values
  726. (
  727. "%SYSBLDNAME%",
  728. 69, "CalendarOut (Calendar)",
  729. "%SYSBLDUSER%",
  730. 5, "CalendarOut (Calendar)",
  731. "%SYSBLDUSER%"
  732. );
  733. insert into sysbldobjects
  734. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  735. create_can_fail, drop_sql, drop_can_fail)
  736. values
  737. (
  738. "%SYSBLDNAME%", 3, "Calendar->lvarchar",
  739. "%SYSBLDUSER%", 0,
  740. "create cast
  741. (
  742. Calendar as lvarchar
  743. with CalendarOut
  744. );
  745. ",
  746. "f",
  747. "drop cast (Calendar as lvarchar);
  748. ",
  749. "f"
  750. );
  751. insert into sysbldobjdepends
  752. (
  753. bld_id,
  754. obj_kind,
  755. obj_signature,
  756. obj_owner,
  757. need_obj_kind,
  758. need_obj_signature,
  759. need_obj_owner)
  760. values
  761. (
  762. "%SYSBLDNAME%",
  763. 3, "Calendar->lvarchar",
  764. "%SYSBLDUSER%",
  765. 7, "Calendar",
  766. "%SYSBLDUSER%"
  767. );
  768. insert into sysbldobjects
  769. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  770. create_can_fail, drop_sql, drop_can_fail)
  771. values
  772. (
  773. "%SYSBLDNAME%", 5, "CalendarSend (Calendar)",
  774. "%SYSBLDUSER%", 0,
  775. "create function CalendarSend (Calendar)
  776. returns sendrecv with (not variant)
  777. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_swap)"" language c;
  778. ",
  779. "f",
  780. "drop function CalendarSend (Calendar);
  781. ",
  782. "f"
  783. );
  784. insert into sysbldobjdepends
  785. (
  786. bld_id,
  787. obj_kind,
  788. obj_signature,
  789. obj_owner,
  790. need_obj_kind,
  791. need_obj_signature,
  792. need_obj_owner)
  793. values
  794. (
  795. "%SYSBLDNAME%",
  796. 5, "CalendarSend (Calendar)",
  797. "%SYSBLDUSER%",
  798. 7, "Calendar",
  799. "%SYSBLDUSER%"
  800. );
  801. insert into sysbldobjects
  802. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  803. create_can_fail, drop_sql, drop_can_fail)
  804. values
  805. (
  806. "%SYSBLDNAME%", 69, "CalendarSend (Calendar)",
  807. "%SYSBLDUSER%", 0,
  808. "grant execute on function CalendarSend (Calendar) to public;
  809. ",
  810. "f",
  811. "",
  812. "f"
  813. );
  814. insert into sysbldobjdepends
  815. (
  816. bld_id,
  817. obj_kind,
  818. obj_signature,
  819. obj_owner,
  820. need_obj_kind,
  821. need_obj_signature,
  822. need_obj_owner)
  823. values
  824. (
  825. "%SYSBLDNAME%",
  826. 69, "CalendarSend (Calendar)",
  827. "%SYSBLDUSER%",
  828. 5, "CalendarSend (Calendar)",
  829. "%SYSBLDUSER%"
  830. );
  831. insert into sysbldobjects
  832. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  833. create_can_fail, drop_sql, drop_can_fail)
  834. values
  835. (
  836. "%SYSBLDNAME%", 3, "Calendar->sendrecv",
  837. "%SYSBLDUSER%", 0,
  838. "create cast
  839. (
  840. Calendar as sendrecv
  841. with CalendarSend
  842. );
  843. ",
  844. "f",
  845. "drop cast (Calendar as sendrecv);
  846. ",
  847. "f"
  848. );
  849. insert into sysbldobjdepends
  850. (
  851. bld_id,
  852. obj_kind,
  853. obj_signature,
  854. obj_owner,
  855. need_obj_kind,
  856. need_obj_signature,
  857. need_obj_owner)
  858. values
  859. (
  860. "%SYSBLDNAME%",
  861. 3, "Calendar->sendrecv",
  862. "%SYSBLDUSER%",
  863. 7, "Calendar",
  864. "%SYSBLDUSER%"
  865. );
  866. insert into sysbldobjects
  867. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  868. create_can_fail, drop_sql, drop_can_fail)
  869. values
  870. (
  871. "%SYSBLDNAME%", 5, "CalendarRecv (sendrecv)",
  872. "%SYSBLDUSER%", 0,
  873. "create function CalendarRecv (sendrecv)
  874. returns Calendar with (not variant)
  875. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_swap)"" language c;
  876. ",
  877. "f",
  878. "drop function CalendarRecv (sendrecv);
  879. ",
  880. "f"
  881. );
  882. insert into sysbldobjdepends
  883. (
  884. bld_id,
  885. obj_kind,
  886. obj_signature,
  887. obj_owner,
  888. need_obj_kind,
  889. need_obj_signature,
  890. need_obj_owner)
  891. values
  892. (
  893. "%SYSBLDNAME%",
  894. 5, "CalendarRecv (sendrecv)",
  895. "%SYSBLDUSER%",
  896. 7, "Calendar",
  897. "%SYSBLDUSER%"
  898. );
  899. insert into sysbldobjects
  900. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  901. create_can_fail, drop_sql, drop_can_fail)
  902. values
  903. (
  904. "%SYSBLDNAME%", 69, "CalendarRecv (sendrecv)",
  905. "%SYSBLDUSER%", 0,
  906. "grant execute on function CalendarRecv (sendrecv) to public;
  907. ",
  908. "f",
  909. "",
  910. "f"
  911. );
  912. insert into sysbldobjdepends
  913. (
  914. bld_id,
  915. obj_kind,
  916. obj_signature,
  917. obj_owner,
  918. need_obj_kind,
  919. need_obj_signature,
  920. need_obj_owner)
  921. values
  922. (
  923. "%SYSBLDNAME%",
  924. 69, "CalendarRecv (sendrecv)",
  925. "%SYSBLDUSER%",
  926. 5, "CalendarRecv (sendrecv)",
  927. "%SYSBLDUSER%"
  928. );
  929. insert into sysbldobjects
  930. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  931. create_can_fail, drop_sql, drop_can_fail)
  932. values
  933. (
  934. "%SYSBLDNAME%", 3, "sendrecv->Calendar",
  935. "%SYSBLDUSER%", 0,
  936. "create implicit cast
  937. (
  938. sendrecv as Calendar
  939. with CalendarRecv
  940. );
  941. ",
  942. "f",
  943. "drop cast (sendrecv as Calendar);
  944. ",
  945. "f"
  946. );
  947. insert into sysbldobjdepends
  948. (
  949. bld_id,
  950. obj_kind,
  951. obj_signature,
  952. obj_owner,
  953. need_obj_kind,
  954. need_obj_signature,
  955. need_obj_owner)
  956. values
  957. (
  958. "%SYSBLDNAME%",
  959. 3, "sendrecv->Calendar",
  960. "%SYSBLDUSER%",
  961. 7, "Calendar",
  962. "%SYSBLDUSER%"
  963. );
  964. insert into sysbldobjects
  965. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  966. create_can_fail, drop_sql, drop_can_fail)
  967. values
  968. (
  969. "%SYSBLDNAME%", 6, "Destroy (Calendar)",
  970. "%SYSBLDUSER%", 0,
  971. "create procedure Destroy (Calendar)
  972. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_destroy)"" language c;
  973. ",
  974. "f",
  975. "drop procedure Destroy (Calendar);
  976. ",
  977. "f"
  978. );
  979. insert into sysbldobjdepends
  980. (
  981. bld_id,
  982. obj_kind,
  983. obj_signature,
  984. obj_owner,
  985. need_obj_kind,
  986. need_obj_signature,
  987. need_obj_owner)
  988. values
  989. (
  990. "%SYSBLDNAME%",
  991. 6, "Destroy (Calendar)",
  992. "%SYSBLDUSER%",
  993. 7, "Calendar",
  994. "%SYSBLDUSER%"
  995. );
  996. insert into sysbldobjects
  997. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  998. create_can_fail, drop_sql, drop_can_fail)
  999. values
  1000. (
  1001. "%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (Calendar)",
  1002. "%SYSBLDUSER%", 0,
  1003. "alter procedure Destroy (Calendar)
  1004. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_destroy)"");
  1005. ",
  1006. "f",
  1007. "alter procedure Destroy (Calendar)
  1008. with (Modify External Name = ""ts_cal_destroy"");
  1009. ",
  1010. "f"
  1011. );
  1012. insert into sysbldobjdepends
  1013. (
  1014. bld_id,
  1015. obj_kind,
  1016. obj_signature,
  1017. obj_owner,
  1018. need_obj_kind,
  1019. need_obj_signature,
  1020. need_obj_owner)
  1021. values
  1022. (
  1023. "%SYSBLDNAME%",
  1024. 182, "Alter-ExternalName-Destroy (Calendar)",
  1025. "%SYSBLDUSER%",
  1026. 6, "Destroy (Calendar)",
  1027. "%SYSBLDUSER%"
  1028. );
  1029. insert into sysbldobjects
  1030. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1031. create_can_fail, drop_sql, drop_can_fail)
  1032. values
  1033. (
  1034. "%SYSBLDNAME%", 86, "Alter-Variant-Destroy (Calendar)",
  1035. "%SYSBLDUSER%", 0,
  1036. "alter procedure Destroy (Calendar)
  1037. with (add not variant);
  1038. ",
  1039. "f",
  1040. "alter procedure Destroy (Calendar)
  1041. with (drop not variant);
  1042. ",
  1043. "f"
  1044. );
  1045. insert into sysbldobjdepends
  1046. (
  1047. bld_id,
  1048. obj_kind,
  1049. obj_signature,
  1050. obj_owner,
  1051. need_obj_kind,
  1052. need_obj_signature,
  1053. need_obj_owner)
  1054. values
  1055. (
  1056. "%SYSBLDNAME%",
  1057. 86, "Alter-Variant-Destroy (Calendar)",
  1058. "%SYSBLDUSER%",
  1059. 6, "Destroy (Calendar)",
  1060. "%SYSBLDUSER%"
  1061. );
  1062. insert into sysbldobjects
  1063. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1064. create_can_fail, drop_sql, drop_can_fail)
  1065. values
  1066. (
  1067. "%SYSBLDNAME%", 70, "Destroy (Calendar)",
  1068. "%SYSBLDUSER%", 0,
  1069. "grant execute on procedure Destroy (Calendar) to public;
  1070. ",
  1071. "f",
  1072. "",
  1073. "f"
  1074. );
  1075. insert into sysbldobjdepends
  1076. (
  1077. bld_id,
  1078. obj_kind,
  1079. obj_signature,
  1080. obj_owner,
  1081. need_obj_kind,
  1082. need_obj_signature,
  1083. need_obj_owner)
  1084. values
  1085. (
  1086. "%SYSBLDNAME%",
  1087. 70, "Destroy (Calendar)",
  1088. "%SYSBLDUSER%",
  1089. 6, "Destroy (Calendar)",
  1090. "%SYSBLDUSER%"
  1091. );
  1092. insert into sysbldobjects
  1093. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1094. create_can_fail, drop_sql, drop_can_fail)
  1095. values
  1096. (
  1097. "%SYSBLDNAME%", 0, "CalendarTable",
  1098. "%SYSBLDUSER%", 0,
  1099. "create table CalendarTable
  1100. (
  1101. c_id serial not null unique,
  1102. c_version integer default 0 not null,
  1103. c_refcount integer default 0 not null,
  1104. c_name varchar(255) not null unique,
  1105. c_calendar Calendar not null,
  1106. unique(c_name, c_version)
  1107. ) lock mode row;
  1108. ",
  1109. "f",
  1110. "drop table CalendarTable;
  1111. ",
  1112. "f"
  1113. );
  1114. insert into sysbldobjdepends
  1115. (
  1116. bld_id,
  1117. obj_kind,
  1118. obj_signature,
  1119. obj_owner,
  1120. need_obj_kind,
  1121. need_obj_signature,
  1122. need_obj_owner)
  1123. values
  1124. (
  1125. "%SYSBLDNAME%",
  1126. 0, "CalendarTable",
  1127. "%SYSBLDUSER%",
  1128. 7, "Calendar",
  1129. "%SYSBLDUSER%"
  1130. );
  1131. insert into sysbldobjdepends
  1132. (
  1133. bld_id,
  1134. obj_kind,
  1135. obj_signature,
  1136. obj_owner,
  1137. need_obj_kind,
  1138. need_obj_signature,
  1139. need_obj_owner)
  1140. values
  1141. (
  1142. "%SYSBLDNAME%",
  1143. 0, "CalendarTable",
  1144. "%SYSBLDUSER%",
  1145. 0, "CalendarPattern Table",
  1146. "%SYSBLDUSER%"
  1147. );
  1148. insert into sysbldobjdepends
  1149. (
  1150. bld_id,
  1151. obj_kind,
  1152. obj_signature,
  1153. obj_owner,
  1154. need_obj_kind,
  1155. need_obj_signature,
  1156. need_obj_owner)
  1157. values
  1158. (
  1159. "%SYSBLDNAME%",
  1160. 0, "CalendarTable",
  1161. "%SYSBLDUSER%",
  1162. 6, "Destroy (Calendar)",
  1163. "%SYSBLDUSER%"
  1164. );
  1165. insert into sysbldobjects
  1166. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1167. create_can_fail, drop_sql, drop_can_fail)
  1168. values
  1169. (
  1170. "%SYSBLDNAME%", 7, "tsPartitionDesc_t",
  1171. "%SYSBLDUSER%", 0,
  1172. "create distinct type tsPartitionDesc_t as lvarchar;
  1173. ",
  1174. "f",
  1175. "drop type tsPartitionDesc_t restrict;
  1176. ",
  1177. "f"
  1178. );
  1179. insert into sysbldobjects
  1180. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1181. create_can_fail, drop_sql, drop_can_fail)
  1182. values
  1183. (
  1184. "%SYSBLDNAME%", 71, "tsPartitionDesc_t",
  1185. "%SYSBLDUSER%", 0,
  1186. "grant usage on type tsPartitionDesc_t to public;
  1187. ",
  1188. "f",
  1189. "",
  1190. "f"
  1191. );
  1192. insert into sysbldobjdepends
  1193. (
  1194. bld_id,
  1195. obj_kind,
  1196. obj_signature,
  1197. obj_owner,
  1198. need_obj_kind,
  1199. need_obj_signature,
  1200. need_obj_owner)
  1201. values
  1202. (
  1203. "%SYSBLDNAME%",
  1204. 71, "tsPartitionDesc_t",
  1205. "%SYSBLDUSER%",
  1206. 7, "tsPartitionDesc_t",
  1207. "%SYSBLDUSER%"
  1208. );
  1209. insert into sysbldobjects
  1210. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1211. create_can_fail, drop_sql, drop_can_fail)
  1212. values
  1213. (
  1214. "%SYSBLDNAME%", 0, "tscontainertable",
  1215. "%SYSBLDUSER%", 0,
  1216. "create table tscontainertable(
  1217. name varchar( 18,1) not null primary key,
  1218. subtype varchar( 18,1) not null,
  1219. partitionDesc tsPartitionDesc_t not null,
  1220. flags integer not null) lock mode row;
  1221. ",
  1222. "f",
  1223. "
  1224. drop table tscontainertable;
  1225. ",
  1226. "f"
  1227. );
  1228. insert into sysbldobjdepends
  1229. (
  1230. bld_id,
  1231. obj_kind,
  1232. obj_signature,
  1233. obj_owner,
  1234. need_obj_kind,
  1235. need_obj_signature,
  1236. need_obj_owner)
  1237. values
  1238. (
  1239. "%SYSBLDNAME%",
  1240. 0, "tscontainertable",
  1241. "%SYSBLDUSER%",
  1242. 7, "tsPartitionDesc_t",
  1243. "%SYSBLDUSER%"
  1244. );
  1245. insert into sysbldobjects
  1246. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1247. create_can_fail, drop_sql, drop_can_fail)
  1248. values
  1249. (
  1250. "%SYSBLDNAME%", 0, "tsinstancetable",
  1251. "%SYSBLDUSER%", 0,
  1252. "create table tsinstancetable (
  1253. id SERIAL not null primary key,
  1254. cal_id INTEGER,
  1255. flags SMALLINT,
  1256. vers SMALLINT,
  1257. container_name VARCHAR(18,1),
  1258. ref_count integer) lock mode row;
  1259. ",
  1260. "f",
  1261. "
  1262. drop table tsinstancetable;
  1263. ",
  1264. "f"
  1265. );
  1266. insert into sysbldobjdepends
  1267. (
  1268. bld_id,
  1269. obj_kind,
  1270. obj_signature,
  1271. obj_owner,
  1272. need_obj_kind,
  1273. need_obj_signature,
  1274. need_obj_owner)
  1275. values
  1276. (
  1277. "%SYSBLDNAME%",
  1278. 0, "tsinstancetable",
  1279. "%SYSBLDUSER%",
  1280. 0, "tscontainertable",
  1281. "%SYSBLDUSER%"
  1282. );
  1283. insert into sysbldobjects
  1284. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1285. create_can_fail, drop_sql, drop_can_fail)
  1286. values
  1287. (
  1288. "%SYSBLDNAME%", 7, "TimeSeries",
  1289. "%SYSBLDUSER%", 0,
  1290. "create constructor type TimeSeries(
  1291. internallength = variable,
  1292. maxlen = 2048,
  1293. alignment = 8
  1294. );
  1295. ",
  1296. "f",
  1297. "drop type TimeSeries restrict;
  1298. ",
  1299. "f"
  1300. );
  1301. insert into sysbldobjects
  1302. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1303. create_can_fail, drop_sql, drop_can_fail)
  1304. values
  1305. (
  1306. "%SYSBLDNAME%", 71, "TimeSeries",
  1307. "%SYSBLDUSER%", 0,
  1308. "grant usage on type TimeSeries to public;
  1309. ",
  1310. "f",
  1311. "",
  1312. "f"
  1313. );
  1314. insert into sysbldobjdepends
  1315. (
  1316. bld_id,
  1317. obj_kind,
  1318. obj_signature,
  1319. obj_owner,
  1320. need_obj_kind,
  1321. need_obj_signature,
  1322. need_obj_owner)
  1323. values
  1324. (
  1325. "%SYSBLDNAME%",
  1326. 71, "TimeSeries",
  1327. "%SYSBLDUSER%",
  1328. 7, "TimeSeries",
  1329. "%SYSBLDUSER%"
  1330. );
  1331. insert into sysbldobjects
  1332. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1333. create_can_fail, drop_sql, drop_can_fail)
  1334. values
  1335. (
  1336. "%SYSBLDNAME%", 5, "TimeSeriesIn (lvarchar)",
  1337. "%SYSBLDUSER%", 0,
  1338. "create function TimeSeriesIn (lvarchar)
  1339. returns TimeSeries with (not variant)
  1340. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_datain)"" language c;
  1341. ",
  1342. "f",
  1343. "drop function TimeSeriesIn (lvarchar);
  1344. ",
  1345. "f"
  1346. );
  1347. insert into sysbldobjdepends
  1348. (
  1349. bld_id,
  1350. obj_kind,
  1351. obj_signature,
  1352. obj_owner,
  1353. need_obj_kind,
  1354. need_obj_signature,
  1355. need_obj_owner)
  1356. values
  1357. (
  1358. "%SYSBLDNAME%",
  1359. 5, "TimeSeriesIn (lvarchar)",
  1360. "%SYSBLDUSER%",
  1361. 7, "TimeSeries",
  1362. "%SYSBLDUSER%"
  1363. );
  1364. insert into sysbldobjects
  1365. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1366. create_can_fail, drop_sql, drop_can_fail)
  1367. values
  1368. (
  1369. "%SYSBLDNAME%", 69, "TimeSeriesIn (lvarchar)",
  1370. "%SYSBLDUSER%", 0,
  1371. "grant execute on function TimeSeriesIn (lvarchar) to public;
  1372. ",
  1373. "f",
  1374. "",
  1375. "f"
  1376. );
  1377. insert into sysbldobjdepends
  1378. (
  1379. bld_id,
  1380. obj_kind,
  1381. obj_signature,
  1382. obj_owner,
  1383. need_obj_kind,
  1384. need_obj_signature,
  1385. need_obj_owner)
  1386. values
  1387. (
  1388. "%SYSBLDNAME%",
  1389. 69, "TimeSeriesIn (lvarchar)",
  1390. "%SYSBLDUSER%",
  1391. 5, "TimeSeriesIn (lvarchar)",
  1392. "%SYSBLDUSER%"
  1393. );
  1394. insert into sysbldobjects
  1395. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1396. create_can_fail, drop_sql, drop_can_fail)
  1397. values
  1398. (
  1399. "%SYSBLDNAME%", 3, "lvarchar->TimeSeries",
  1400. "%SYSBLDUSER%", 0,
  1401. "create implicit cast
  1402. (
  1403. lvarchar as TimeSeries
  1404. with TimeSeriesIn
  1405. );
  1406. ",
  1407. "f",
  1408. "drop cast (lvarchar as TimeSeries);
  1409. ",
  1410. "f"
  1411. );
  1412. insert into sysbldobjdepends
  1413. (
  1414. bld_id,
  1415. obj_kind,
  1416. obj_signature,
  1417. obj_owner,
  1418. need_obj_kind,
  1419. need_obj_signature,
  1420. need_obj_owner)
  1421. values
  1422. (
  1423. "%SYSBLDNAME%",
  1424. 3, "lvarchar->TimeSeries",
  1425. "%SYSBLDUSER%",
  1426. 7, "TimeSeries",
  1427. "%SYSBLDUSER%"
  1428. );
  1429. insert into sysbldobjects
  1430. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1431. create_can_fail, drop_sql, drop_can_fail)
  1432. values
  1433. (
  1434. "%SYSBLDNAME%", 5, "TimeSeriesOut (TimeSeries)",
  1435. "%SYSBLDUSER%", 0,
  1436. "create function TimeSeriesOut (TimeSeries)
  1437. returns lvarchar with (not variant)
  1438. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_out)"" language c;
  1439. ",
  1440. "f",
  1441. "drop function TimeSeriesOut (TimeSeries);
  1442. ",
  1443. "f"
  1444. );
  1445. insert into sysbldobjdepends
  1446. (
  1447. bld_id,
  1448. obj_kind,
  1449. obj_signature,
  1450. obj_owner,
  1451. need_obj_kind,
  1452. need_obj_signature,
  1453. need_obj_owner)
  1454. values
  1455. (
  1456. "%SYSBLDNAME%",
  1457. 5, "TimeSeriesOut (TimeSeries)",
  1458. "%SYSBLDUSER%",
  1459. 7, "TimeSeries",
  1460. "%SYSBLDUSER%"
  1461. );
  1462. insert into sysbldobjects
  1463. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1464. create_can_fail, drop_sql, drop_can_fail)
  1465. values
  1466. (
  1467. "%SYSBLDNAME%", 69, "TimeSeriesOut (TimeSeries)",
  1468. "%SYSBLDUSER%", 0,
  1469. "grant execute on function TimeSeriesOut (TimeSeries) to public;
  1470. ",
  1471. "f",
  1472. "",
  1473. "f"
  1474. );
  1475. insert into sysbldobjdepends
  1476. (
  1477. bld_id,
  1478. obj_kind,
  1479. obj_signature,
  1480. obj_owner,
  1481. need_obj_kind,
  1482. need_obj_signature,
  1483. need_obj_owner)
  1484. values
  1485. (
  1486. "%SYSBLDNAME%",
  1487. 69, "TimeSeriesOut (TimeSeries)",
  1488. "%SYSBLDUSER%",
  1489. 5, "TimeSeriesOut (TimeSeries)",
  1490. "%SYSBLDUSER%"
  1491. );
  1492. insert into sysbldobjects
  1493. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1494. create_can_fail, drop_sql, drop_can_fail)
  1495. values
  1496. (
  1497. "%SYSBLDNAME%", 3, "TimeSeries->lvarchar",
  1498. "%SYSBLDUSER%", 0,
  1499. "create cast
  1500. (
  1501. TimeSeries as lvarchar
  1502. with TimeSeriesOut
  1503. );
  1504. ",
  1505. "f",
  1506. "drop cast (TimeSeries as lvarchar);
  1507. ",
  1508. "f"
  1509. );
  1510. insert into sysbldobjdepends
  1511. (
  1512. bld_id,
  1513. obj_kind,
  1514. obj_signature,
  1515. obj_owner,
  1516. need_obj_kind,
  1517. need_obj_signature,
  1518. need_obj_owner)
  1519. values
  1520. (
  1521. "%SYSBLDNAME%",
  1522. 3, "TimeSeries->lvarchar",
  1523. "%SYSBLDUSER%",
  1524. 7, "TimeSeries",
  1525. "%SYSBLDUSER%"
  1526. );
  1527. insert into sysbldobjects
  1528. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1529. create_can_fail, drop_sql, drop_can_fail)
  1530. values
  1531. (
  1532. "%SYSBLDNAME%", 5, "TimeSeriesSend (TimeSeries)",
  1533. "%SYSBLDUSER%", 0,
  1534. "create function TimeSeriesSend (TimeSeries)
  1535. returns sendrecv with (not variant)
  1536. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_send)"" language c;
  1537. ",
  1538. "f",
  1539. "drop function TimeSeriesSend (TimeSeries);
  1540. ",
  1541. "f"
  1542. );
  1543. insert into sysbldobjdepends
  1544. (
  1545. bld_id,
  1546. obj_kind,
  1547. obj_signature,
  1548. obj_owner,
  1549. need_obj_kind,
  1550. need_obj_signature,
  1551. need_obj_owner)
  1552. values
  1553. (
  1554. "%SYSBLDNAME%",
  1555. 5, "TimeSeriesSend (TimeSeries)",
  1556. "%SYSBLDUSER%",
  1557. 7, "TimeSeries",
  1558. "%SYSBLDUSER%"
  1559. );
  1560. insert into sysbldobjects
  1561. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1562. create_can_fail, drop_sql, drop_can_fail)
  1563. values
  1564. (
  1565. "%SYSBLDNAME%", 69, "TimeSeriesSend (TimeSeries)",
  1566. "%SYSBLDUSER%", 0,
  1567. "grant execute on function TimeSeriesSend (TimeSeries) to public;
  1568. ",
  1569. "f",
  1570. "",
  1571. "f"
  1572. );
  1573. insert into sysbldobjdepends
  1574. (
  1575. bld_id,
  1576. obj_kind,
  1577. obj_signature,
  1578. obj_owner,
  1579. need_obj_kind,
  1580. need_obj_signature,
  1581. need_obj_owner)
  1582. values
  1583. (
  1584. "%SYSBLDNAME%",
  1585. 69, "TimeSeriesSend (TimeSeries)",
  1586. "%SYSBLDUSER%",
  1587. 5, "TimeSeriesSend (TimeSeries)",
  1588. "%SYSBLDUSER%"
  1589. );
  1590. insert into sysbldobjects
  1591. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1592. create_can_fail, drop_sql, drop_can_fail)
  1593. values
  1594. (
  1595. "%SYSBLDNAME%", 3, "TimeSeries->sendrecv",
  1596. "%SYSBLDUSER%", 0,
  1597. "create cast
  1598. (
  1599. TimeSeries as sendrecv
  1600. with TimeSeriesSend
  1601. );
  1602. ",
  1603. "f",
  1604. "drop cast (TimeSeries as sendrecv);
  1605. ",
  1606. "f"
  1607. );
  1608. insert into sysbldobjdepends
  1609. (
  1610. bld_id,
  1611. obj_kind,
  1612. obj_signature,
  1613. obj_owner,
  1614. need_obj_kind,
  1615. need_obj_signature,
  1616. need_obj_owner)
  1617. values
  1618. (
  1619. "%SYSBLDNAME%",
  1620. 3, "TimeSeries->sendrecv",
  1621. "%SYSBLDUSER%",
  1622. 7, "TimeSeries",
  1623. "%SYSBLDUSER%"
  1624. );
  1625. insert into sysbldobjects
  1626. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1627. create_can_fail, drop_sql, drop_can_fail)
  1628. values
  1629. (
  1630. "%SYSBLDNAME%", 5, "TimeSeriesRecv (sendrecv)",
  1631. "%SYSBLDUSER%", 0,
  1632. "create function TimeSeriesRecv (sendrecv)
  1633. returns TimeSeries with (not variant)
  1634. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_receive)"" language c;
  1635. ",
  1636. "f",
  1637. "drop function TimeSeriesRecv (sendrecv);
  1638. ",
  1639. "f"
  1640. );
  1641. insert into sysbldobjdepends
  1642. (
  1643. bld_id,
  1644. obj_kind,
  1645. obj_signature,
  1646. obj_owner,
  1647. need_obj_kind,
  1648. need_obj_signature,
  1649. need_obj_owner)
  1650. values
  1651. (
  1652. "%SYSBLDNAME%",
  1653. 5, "TimeSeriesRecv (sendrecv)",
  1654. "%SYSBLDUSER%",
  1655. 7, "TimeSeries",
  1656. "%SYSBLDUSER%"
  1657. );
  1658. insert into sysbldobjects
  1659. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1660. create_can_fail, drop_sql, drop_can_fail)
  1661. values
  1662. (
  1663. "%SYSBLDNAME%", 69, "TimeSeriesRecv (sendrecv)",
  1664. "%SYSBLDUSER%", 0,
  1665. "grant execute on function TimeSeriesRecv (sendrecv) to public;
  1666. ",
  1667. "f",
  1668. "",
  1669. "f"
  1670. );
  1671. insert into sysbldobjdepends
  1672. (
  1673. bld_id,
  1674. obj_kind,
  1675. obj_signature,
  1676. obj_owner,
  1677. need_obj_kind,
  1678. need_obj_signature,
  1679. need_obj_owner)
  1680. values
  1681. (
  1682. "%SYSBLDNAME%",
  1683. 69, "TimeSeriesRecv (sendrecv)",
  1684. "%SYSBLDUSER%",
  1685. 5, "TimeSeriesRecv (sendrecv)",
  1686. "%SYSBLDUSER%"
  1687. );
  1688. insert into sysbldobjects
  1689. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1690. create_can_fail, drop_sql, drop_can_fail)
  1691. values
  1692. (
  1693. "%SYSBLDNAME%", 3, "sendrecv->TimeSeries",
  1694. "%SYSBLDUSER%", 0,
  1695. "create implicit cast
  1696. (
  1697. sendrecv as TimeSeries
  1698. with TimeSeriesRecv
  1699. );
  1700. ",
  1701. "f",
  1702. "drop cast (sendrecv as TimeSeries);
  1703. ",
  1704. "f"
  1705. );
  1706. insert into sysbldobjdepends
  1707. (
  1708. bld_id,
  1709. obj_kind,
  1710. obj_signature,
  1711. obj_owner,
  1712. need_obj_kind,
  1713. need_obj_signature,
  1714. need_obj_owner)
  1715. values
  1716. (
  1717. "%SYSBLDNAME%",
  1718. 3, "sendrecv->TimeSeries",
  1719. "%SYSBLDUSER%",
  1720. 7, "TimeSeries",
  1721. "%SYSBLDUSER%"
  1722. );
  1723. insert into sysbldobjects
  1724. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1725. create_can_fail, drop_sql, drop_can_fail)
  1726. values
  1727. (
  1728. "%SYSBLDNAME%", 5, "ts_vtam_beginscan (pointer)",
  1729. "%SYSBLDUSER%", 0,
  1730. "create function ts_vtam_beginscan (pointer)
  1731. returns int
  1732. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_beginscan)"" language c;
  1733. ",
  1734. "f",
  1735. "drop function ts_vtam_beginscan (pointer);
  1736. ",
  1737. "f"
  1738. );
  1739. insert into sysbldobjects
  1740. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1741. create_can_fail, drop_sql, drop_can_fail)
  1742. values
  1743. (
  1744. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_beginscan (pointer)",
  1745. "%SYSBLDUSER%", 0,
  1746. "alter function ts_vtam_beginscan (pointer)
  1747. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_beginscan)"");
  1748. ",
  1749. "f",
  1750. "alter function ts_vtam_beginscan (pointer)
  1751. with (Modify External Name = ""ts_vtam_beginscan"");
  1752. ",
  1753. "f"
  1754. );
  1755. insert into sysbldobjdepends
  1756. (
  1757. bld_id,
  1758. obj_kind,
  1759. obj_signature,
  1760. obj_owner,
  1761. need_obj_kind,
  1762. need_obj_signature,
  1763. need_obj_owner)
  1764. values
  1765. (
  1766. "%SYSBLDNAME%",
  1767. 181, "Alter-ExternalName-ts_vtam_beginscan (pointer)",
  1768. "%SYSBLDUSER%",
  1769. 5, "ts_vtam_beginscan (pointer)",
  1770. "%SYSBLDUSER%"
  1771. );
  1772. insert into sysbldobjects
  1773. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1774. create_can_fail, drop_sql, drop_can_fail)
  1775. values
  1776. (
  1777. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
  1778. "%SYSBLDUSER%", 0,
  1779. "alter function ts_vtam_beginscan (pointer)
  1780. with (add parallelizable);
  1781. ",
  1782. "f",
  1783. "alter function ts_vtam_beginscan (pointer)
  1784. with (drop parallelizable);
  1785. ",
  1786. "f"
  1787. );
  1788. insert into sysbldobjdepends
  1789. (
  1790. bld_id,
  1791. obj_kind,
  1792. obj_signature,
  1793. obj_owner,
  1794. need_obj_kind,
  1795. need_obj_signature,
  1796. need_obj_owner)
  1797. values
  1798. (
  1799. "%SYSBLDNAME%",
  1800. 37, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
  1801. "%SYSBLDUSER%",
  1802. 5, "ts_vtam_beginscan (pointer)",
  1803. "%SYSBLDUSER%"
  1804. );
  1805. insert into sysbldobjects
  1806. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1807. create_can_fail, drop_sql, drop_can_fail)
  1808. values
  1809. (
  1810. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_beginscan (pointer)",
  1811. "%SYSBLDUSER%", 0,
  1812. "alter function ts_vtam_beginscan (pointer)
  1813. with (add not variant);
  1814. ",
  1815. "f",
  1816. "alter function ts_vtam_beginscan (pointer)
  1817. with (drop not variant);
  1818. ",
  1819. "f"
  1820. );
  1821. insert into sysbldobjdepends
  1822. (
  1823. bld_id,
  1824. obj_kind,
  1825. obj_signature,
  1826. obj_owner,
  1827. need_obj_kind,
  1828. need_obj_signature,
  1829. need_obj_owner)
  1830. values
  1831. (
  1832. "%SYSBLDNAME%",
  1833. 85, "Alter-Variant-ts_vtam_beginscan (pointer)",
  1834. "%SYSBLDUSER%",
  1835. 5, "ts_vtam_beginscan (pointer)",
  1836. "%SYSBLDUSER%"
  1837. );
  1838. insert into sysbldobjects
  1839. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1840. create_can_fail, drop_sql, drop_can_fail)
  1841. values
  1842. (
  1843. "%SYSBLDNAME%", 69, "ts_vtam_beginscan (pointer)",
  1844. "%SYSBLDUSER%", 0,
  1845. "grant execute on function ts_vtam_beginscan (pointer) to public;
  1846. ",
  1847. "f",
  1848. "",
  1849. "f"
  1850. );
  1851. insert into sysbldobjdepends
  1852. (
  1853. bld_id,
  1854. obj_kind,
  1855. obj_signature,
  1856. obj_owner,
  1857. need_obj_kind,
  1858. need_obj_signature,
  1859. need_obj_owner)
  1860. values
  1861. (
  1862. "%SYSBLDNAME%",
  1863. 69, "ts_vtam_beginscan (pointer)",
  1864. "%SYSBLDUSER%",
  1865. 5, "ts_vtam_beginscan (pointer)",
  1866. "%SYSBLDUSER%"
  1867. );
  1868. insert into sysbldobjects
  1869. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1870. create_can_fail, drop_sql, drop_can_fail)
  1871. values
  1872. (
  1873. "%SYSBLDNAME%", 5, "ts_vtam_check (pointer,int)",
  1874. "%SYSBLDUSER%", 0,
  1875. "create function ts_vtam_check (pointer,int)
  1876. returns int
  1877. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_check)"" language c;
  1878. ",
  1879. "f",
  1880. "drop function ts_vtam_check (pointer,int);
  1881. ",
  1882. "f"
  1883. );
  1884. insert into sysbldobjects
  1885. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1886. create_can_fail, drop_sql, drop_can_fail)
  1887. values
  1888. (
  1889. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_check (pointer,int)",
  1890. "%SYSBLDUSER%", 0,
  1891. "alter function ts_vtam_check (pointer,int)
  1892. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_check)"");
  1893. ",
  1894. "f",
  1895. "alter function ts_vtam_check (pointer,int)
  1896. with (Modify External Name = ""ts_vtam_check"");
  1897. ",
  1898. "f"
  1899. );
  1900. insert into sysbldobjdepends
  1901. (
  1902. bld_id,
  1903. obj_kind,
  1904. obj_signature,
  1905. obj_owner,
  1906. need_obj_kind,
  1907. need_obj_signature,
  1908. need_obj_owner)
  1909. values
  1910. (
  1911. "%SYSBLDNAME%",
  1912. 181, "Alter-ExternalName-ts_vtam_check (pointer,int)",
  1913. "%SYSBLDUSER%",
  1914. 5, "ts_vtam_check (pointer,int)",
  1915. "%SYSBLDUSER%"
  1916. );
  1917. insert into sysbldobjects
  1918. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1919. create_can_fail, drop_sql, drop_can_fail)
  1920. values
  1921. (
  1922. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_check (pointer,int)",
  1923. "%SYSBLDUSER%", 0,
  1924. "alter function ts_vtam_check (pointer,int)
  1925. with (add not variant);
  1926. ",
  1927. "f",
  1928. "alter function ts_vtam_check (pointer,int)
  1929. with (drop not variant);
  1930. ",
  1931. "f"
  1932. );
  1933. insert into sysbldobjdepends
  1934. (
  1935. bld_id,
  1936. obj_kind,
  1937. obj_signature,
  1938. obj_owner,
  1939. need_obj_kind,
  1940. need_obj_signature,
  1941. need_obj_owner)
  1942. values
  1943. (
  1944. "%SYSBLDNAME%",
  1945. 85, "Alter-Variant-ts_vtam_check (pointer,int)",
  1946. "%SYSBLDUSER%",
  1947. 5, "ts_vtam_check (pointer,int)",
  1948. "%SYSBLDUSER%"
  1949. );
  1950. insert into sysbldobjects
  1951. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1952. create_can_fail, drop_sql, drop_can_fail)
  1953. values
  1954. (
  1955. "%SYSBLDNAME%", 69, "ts_vtam_check (pointer,int)",
  1956. "%SYSBLDUSER%", 0,
  1957. "grant execute on function ts_vtam_check (pointer,int) to public;
  1958. ",
  1959. "f",
  1960. "",
  1961. "f"
  1962. );
  1963. insert into sysbldobjdepends
  1964. (
  1965. bld_id,
  1966. obj_kind,
  1967. obj_signature,
  1968. obj_owner,
  1969. need_obj_kind,
  1970. need_obj_signature,
  1971. need_obj_owner)
  1972. values
  1973. (
  1974. "%SYSBLDNAME%",
  1975. 69, "ts_vtam_check (pointer,int)",
  1976. "%SYSBLDUSER%",
  1977. 5, "ts_vtam_check (pointer,int)",
  1978. "%SYSBLDUSER%"
  1979. );
  1980. insert into sysbldobjects
  1981. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1982. create_can_fail, drop_sql, drop_can_fail)
  1983. values
  1984. (
  1985. "%SYSBLDNAME%", 5, "ts_vtam_close (pointer)",
  1986. "%SYSBLDUSER%", 0,
  1987. "create function ts_vtam_close (pointer)
  1988. returns int
  1989. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_close)"" language c;
  1990. ",
  1991. "f",
  1992. "drop function ts_vtam_close (pointer);
  1993. ",
  1994. "f"
  1995. );
  1996. insert into sysbldobjects
  1997. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1998. create_can_fail, drop_sql, drop_can_fail)
  1999. values
  2000. (
  2001. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_close (pointer)",
  2002. "%SYSBLDUSER%", 0,
  2003. "alter function ts_vtam_close (pointer)
  2004. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_close)"");
  2005. ",
  2006. "f",
  2007. "alter function ts_vtam_close (pointer)
  2008. with (Modify External Name = ""ts_vtam_close"");
  2009. ",
  2010. "f"
  2011. );
  2012. insert into sysbldobjdepends
  2013. (
  2014. bld_id,
  2015. obj_kind,
  2016. obj_signature,
  2017. obj_owner,
  2018. need_obj_kind,
  2019. need_obj_signature,
  2020. need_obj_owner)
  2021. values
  2022. (
  2023. "%SYSBLDNAME%",
  2024. 181, "Alter-ExternalName-ts_vtam_close (pointer)",
  2025. "%SYSBLDUSER%",
  2026. 5, "ts_vtam_close (pointer)",
  2027. "%SYSBLDUSER%"
  2028. );
  2029. insert into sysbldobjects
  2030. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2031. create_can_fail, drop_sql, drop_can_fail)
  2032. values
  2033. (
  2034. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_close (pointer)",
  2035. "%SYSBLDUSER%", 0,
  2036. "alter function ts_vtam_close (pointer)
  2037. with (add parallelizable);
  2038. ",
  2039. "f",
  2040. "alter function ts_vtam_close (pointer)
  2041. with (drop parallelizable);
  2042. ",
  2043. "f"
  2044. );
  2045. insert into sysbldobjdepends
  2046. (
  2047. bld_id,
  2048. obj_kind,
  2049. obj_signature,
  2050. obj_owner,
  2051. need_obj_kind,
  2052. need_obj_signature,
  2053. need_obj_owner)
  2054. values
  2055. (
  2056. "%SYSBLDNAME%",
  2057. 37, "Alter-Parallelize-ts_vtam_close (pointer)",
  2058. "%SYSBLDUSER%",
  2059. 5, "ts_vtam_close (pointer)",
  2060. "%SYSBLDUSER%"
  2061. );
  2062. insert into sysbldobjects
  2063. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2064. create_can_fail, drop_sql, drop_can_fail)
  2065. values
  2066. (
  2067. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_close (pointer)",
  2068. "%SYSBLDUSER%", 0,
  2069. "alter function ts_vtam_close (pointer)
  2070. with (add not variant);
  2071. ",
  2072. "f",
  2073. "alter function ts_vtam_close (pointer)
  2074. with (drop not variant);
  2075. ",
  2076. "f"
  2077. );
  2078. insert into sysbldobjdepends
  2079. (
  2080. bld_id,
  2081. obj_kind,
  2082. obj_signature,
  2083. obj_owner,
  2084. need_obj_kind,
  2085. need_obj_signature,
  2086. need_obj_owner)
  2087. values
  2088. (
  2089. "%SYSBLDNAME%",
  2090. 85, "Alter-Variant-ts_vtam_close (pointer)",
  2091. "%SYSBLDUSER%",
  2092. 5, "ts_vtam_close (pointer)",
  2093. "%SYSBLDUSER%"
  2094. );
  2095. insert into sysbldobjects
  2096. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2097. create_can_fail, drop_sql, drop_can_fail)
  2098. values
  2099. (
  2100. "%SYSBLDNAME%", 69, "ts_vtam_close (pointer)",
  2101. "%SYSBLDUSER%", 0,
  2102. "grant execute on function ts_vtam_close (pointer) to public;
  2103. ",
  2104. "f",
  2105. "",
  2106. "f"
  2107. );
  2108. insert into sysbldobjdepends
  2109. (
  2110. bld_id,
  2111. obj_kind,
  2112. obj_signature,
  2113. obj_owner,
  2114. need_obj_kind,
  2115. need_obj_signature,
  2116. need_obj_owner)
  2117. values
  2118. (
  2119. "%SYSBLDNAME%",
  2120. 69, "ts_vtam_close (pointer)",
  2121. "%SYSBLDUSER%",
  2122. 5, "ts_vtam_close (pointer)",
  2123. "%SYSBLDUSER%"
  2124. );
  2125. insert into sysbldobjects
  2126. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2127. create_can_fail, drop_sql, drop_can_fail)
  2128. values
  2129. (
  2130. "%SYSBLDNAME%", 5, "ts_vtam_create (pointer)",
  2131. "%SYSBLDUSER%", 0,
  2132. "create function ts_vtam_create (pointer)
  2133. returns int
  2134. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"" language c;
  2135. ",
  2136. "f",
  2137. "drop function ts_vtam_create (pointer);
  2138. ",
  2139. "f"
  2140. );
  2141. insert into sysbldobjects
  2142. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2143. create_can_fail, drop_sql, drop_can_fail)
  2144. values
  2145. (
  2146. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_create (pointer)",
  2147. "%SYSBLDUSER%", 0,
  2148. "alter function ts_vtam_create (pointer)
  2149. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");
  2150. ",
  2151. "f",
  2152. "alter function ts_vtam_create (pointer)
  2153. with (Modify External Name = ""ts_vtam_create"");
  2154. ",
  2155. "f"
  2156. );
  2157. insert into sysbldobjdepends
  2158. (
  2159. bld_id,
  2160. obj_kind,
  2161. obj_signature,
  2162. obj_owner,
  2163. need_obj_kind,
  2164. need_obj_signature,
  2165. need_obj_owner)
  2166. values
  2167. (
  2168. "%SYSBLDNAME%",
  2169. 181, "Alter-ExternalName-ts_vtam_create (pointer)",
  2170. "%SYSBLDUSER%",
  2171. 5, "ts_vtam_create (pointer)",
  2172. "%SYSBLDUSER%"
  2173. );
  2174. insert into sysbldobjects
  2175. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2176. create_can_fail, drop_sql, drop_can_fail)
  2177. values
  2178. (
  2179. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_create (pointer)",
  2180. "%SYSBLDUSER%", 0,
  2181. "alter function ts_vtam_create (pointer)
  2182. with (add not variant);
  2183. ",
  2184. "f",
  2185. "alter function ts_vtam_create (pointer)
  2186. with (drop not variant);
  2187. ",
  2188. "f"
  2189. );
  2190. insert into sysbldobjdepends
  2191. (
  2192. bld_id,
  2193. obj_kind,
  2194. obj_signature,
  2195. obj_owner,
  2196. need_obj_kind,
  2197. need_obj_signature,
  2198. need_obj_owner)
  2199. values
  2200. (
  2201. "%SYSBLDNAME%",
  2202. 85, "Alter-Variant-ts_vtam_create (pointer)",
  2203. "%SYSBLDUSER%",
  2204. 5, "ts_vtam_create (pointer)",
  2205. "%SYSBLDUSER%"
  2206. );
  2207. insert into sysbldobjects
  2208. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2209. create_can_fail, drop_sql, drop_can_fail)
  2210. values
  2211. (
  2212. "%SYSBLDNAME%", 69, "ts_vtam_create (pointer)",
  2213. "%SYSBLDUSER%", 0,
  2214. "grant execute on function ts_vtam_create (pointer) to public;
  2215. ",
  2216. "f",
  2217. "",
  2218. "f"
  2219. );
  2220. insert into sysbldobjdepends
  2221. (
  2222. bld_id,
  2223. obj_kind,
  2224. obj_signature,
  2225. obj_owner,
  2226. need_obj_kind,
  2227. need_obj_signature,
  2228. need_obj_owner)
  2229. values
  2230. (
  2231. "%SYSBLDNAME%",
  2232. 69, "ts_vtam_create (pointer)",
  2233. "%SYSBLDUSER%",
  2234. 5, "ts_vtam_create (pointer)",
  2235. "%SYSBLDUSER%"
  2236. );
  2237. insert into sysbldobjects
  2238. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2239. create_can_fail, drop_sql, drop_can_fail)
  2240. values
  2241. (
  2242. "%SYSBLDNAME%", 5, "ts_vtam_delete (pointer,int)",
  2243. "%SYSBLDUSER%", 0,
  2244. "create function ts_vtam_delete (pointer,int)
  2245. returns int
  2246. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_delete)"" language c;
  2247. ",
  2248. "f",
  2249. "drop function ts_vtam_delete (pointer,int);
  2250. ",
  2251. "f"
  2252. );
  2253. insert into sysbldobjects
  2254. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2255. create_can_fail, drop_sql, drop_can_fail)
  2256. values
  2257. (
  2258. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_delete (pointer,int)",
  2259. "%SYSBLDUSER%", 0,
  2260. "alter function ts_vtam_delete (pointer,int)
  2261. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_delete)"");
  2262. ",
  2263. "f",
  2264. "alter function ts_vtam_delete (pointer,int)
  2265. with (Modify External Name = ""ts_vtam_delete"");
  2266. ",
  2267. "f"
  2268. );
  2269. insert into sysbldobjdepends
  2270. (
  2271. bld_id,
  2272. obj_kind,
  2273. obj_signature,
  2274. obj_owner,
  2275. need_obj_kind,
  2276. need_obj_signature,
  2277. need_obj_owner)
  2278. values
  2279. (
  2280. "%SYSBLDNAME%",
  2281. 181, "Alter-ExternalName-ts_vtam_delete (pointer,int)",
  2282. "%SYSBLDUSER%",
  2283. 5, "ts_vtam_delete (pointer,int)",
  2284. "%SYSBLDUSER%"
  2285. );
  2286. insert into sysbldobjects
  2287. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2288. create_can_fail, drop_sql, drop_can_fail)
  2289. values
  2290. (
  2291. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_delete (pointer,int)",
  2292. "%SYSBLDUSER%", 0,
  2293. "alter function ts_vtam_delete (pointer,int)
  2294. with (add not variant);
  2295. ",
  2296. "f",
  2297. "alter function ts_vtam_delete (pointer,int)
  2298. with (drop not variant);
  2299. ",
  2300. "f"
  2301. );
  2302. insert into sysbldobjdepends
  2303. (
  2304. bld_id,
  2305. obj_kind,
  2306. obj_signature,
  2307. obj_owner,
  2308. need_obj_kind,
  2309. need_obj_signature,
  2310. need_obj_owner)
  2311. values
  2312. (
  2313. "%SYSBLDNAME%",
  2314. 85, "Alter-Variant-ts_vtam_delete (pointer,int)",
  2315. "%SYSBLDUSER%",
  2316. 5, "ts_vtam_delete (pointer,int)",
  2317. "%SYSBLDUSER%"
  2318. );
  2319. insert into sysbldobjects
  2320. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2321. create_can_fail, drop_sql, drop_can_fail)
  2322. values
  2323. (
  2324. "%SYSBLDNAME%", 69, "ts_vtam_delete (pointer,int)",
  2325. "%SYSBLDUSER%", 0,
  2326. "grant execute on function ts_vtam_delete (pointer,int) to public;
  2327. ",
  2328. "f",
  2329. "",
  2330. "f"
  2331. );
  2332. insert into sysbldobjdepends
  2333. (
  2334. bld_id,
  2335. obj_kind,
  2336. obj_signature,
  2337. obj_owner,
  2338. need_obj_kind,
  2339. need_obj_signature,
  2340. need_obj_owner)
  2341. values
  2342. (
  2343. "%SYSBLDNAME%",
  2344. 69, "ts_vtam_delete (pointer,int)",
  2345. "%SYSBLDUSER%",
  2346. 5, "ts_vtam_delete (pointer,int)",
  2347. "%SYSBLDUSER%"
  2348. );
  2349. insert into sysbldobjects
  2350. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2351. create_can_fail, drop_sql, drop_can_fail)
  2352. values
  2353. (
  2354. "%SYSBLDNAME%", 5, "ts_vtam_drop (pointer)",
  2355. "%SYSBLDUSER%", 0,
  2356. "create function ts_vtam_drop (pointer)
  2357. returns int
  2358. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_drop)"" language c;
  2359. ",
  2360. "f",
  2361. "drop function ts_vtam_drop (pointer);
  2362. ",
  2363. "f"
  2364. );
  2365. insert into sysbldobjects
  2366. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2367. create_can_fail, drop_sql, drop_can_fail)
  2368. values
  2369. (
  2370. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_drop (pointer)",
  2371. "%SYSBLDUSER%", 0,
  2372. "alter function ts_vtam_drop (pointer)
  2373. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_drop)"");
  2374. ",
  2375. "f",
  2376. "alter function ts_vtam_drop (pointer)
  2377. with (Modify External Name = ""ts_vtam_drop"");
  2378. ",
  2379. "f"
  2380. );
  2381. insert into sysbldobjdepends
  2382. (
  2383. bld_id,
  2384. obj_kind,
  2385. obj_signature,
  2386. obj_owner,
  2387. need_obj_kind,
  2388. need_obj_signature,
  2389. need_obj_owner)
  2390. values
  2391. (
  2392. "%SYSBLDNAME%",
  2393. 181, "Alter-ExternalName-ts_vtam_drop (pointer)",
  2394. "%SYSBLDUSER%",
  2395. 5, "ts_vtam_drop (pointer)",
  2396. "%SYSBLDUSER%"
  2397. );
  2398. insert into sysbldobjects
  2399. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2400. create_can_fail, drop_sql, drop_can_fail)
  2401. values
  2402. (
  2403. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_drop (pointer)",
  2404. "%SYSBLDUSER%", 0,
  2405. "alter function ts_vtam_drop (pointer)
  2406. with (add not variant);
  2407. ",
  2408. "f",
  2409. "alter function ts_vtam_drop (pointer)
  2410. with (drop not variant);
  2411. ",
  2412. "f"
  2413. );
  2414. insert into sysbldobjdepends
  2415. (
  2416. bld_id,
  2417. obj_kind,
  2418. obj_signature,
  2419. obj_owner,
  2420. need_obj_kind,
  2421. need_obj_signature,
  2422. need_obj_owner)
  2423. values
  2424. (
  2425. "%SYSBLDNAME%",
  2426. 85, "Alter-Variant-ts_vtam_drop (pointer)",
  2427. "%SYSBLDUSER%",
  2428. 5, "ts_vtam_drop (pointer)",
  2429. "%SYSBLDUSER%"
  2430. );
  2431. insert into sysbldobjects
  2432. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2433. create_can_fail, drop_sql, drop_can_fail)
  2434. values
  2435. (
  2436. "%SYSBLDNAME%", 69, "ts_vtam_drop (pointer)",
  2437. "%SYSBLDUSER%", 0,
  2438. "grant execute on function ts_vtam_drop (pointer) to public;
  2439. ",
  2440. "f",
  2441. "",
  2442. "f"
  2443. );
  2444. insert into sysbldobjdepends
  2445. (
  2446. bld_id,
  2447. obj_kind,
  2448. obj_signature,
  2449. obj_owner,
  2450. need_obj_kind,
  2451. need_obj_signature,
  2452. need_obj_owner)
  2453. values
  2454. (
  2455. "%SYSBLDNAME%",
  2456. 69, "ts_vtam_drop (pointer)",
  2457. "%SYSBLDUSER%",
  2458. 5, "ts_vtam_drop (pointer)",
  2459. "%SYSBLDUSER%"
  2460. );
  2461. insert into sysbldobjects
  2462. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2463. create_can_fail, drop_sql, drop_can_fail)
  2464. values
  2465. (
  2466. "%SYSBLDNAME%", 5, "ts_vtam_endscan (pointer)",
  2467. "%SYSBLDUSER%", 0,
  2468. "create function ts_vtam_endscan (pointer)
  2469. returns int
  2470. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_endscan)"" language c;
  2471. ",
  2472. "f",
  2473. "drop function ts_vtam_endscan (pointer);
  2474. ",
  2475. "f"
  2476. );
  2477. insert into sysbldobjects
  2478. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2479. create_can_fail, drop_sql, drop_can_fail)
  2480. values
  2481. (
  2482. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_endscan (pointer)",
  2483. "%SYSBLDUSER%", 0,
  2484. "alter function ts_vtam_endscan (pointer)
  2485. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_endscan)"");
  2486. ",
  2487. "f",
  2488. "alter function ts_vtam_endscan (pointer)
  2489. with (Modify External Name = ""ts_vtam_endscan"");
  2490. ",
  2491. "f"
  2492. );
  2493. insert into sysbldobjdepends
  2494. (
  2495. bld_id,
  2496. obj_kind,
  2497. obj_signature,
  2498. obj_owner,
  2499. need_obj_kind,
  2500. need_obj_signature,
  2501. need_obj_owner)
  2502. values
  2503. (
  2504. "%SYSBLDNAME%",
  2505. 181, "Alter-ExternalName-ts_vtam_endscan (pointer)",
  2506. "%SYSBLDUSER%",
  2507. 5, "ts_vtam_endscan (pointer)",
  2508. "%SYSBLDUSER%"
  2509. );
  2510. insert into sysbldobjects
  2511. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2512. create_can_fail, drop_sql, drop_can_fail)
  2513. values
  2514. (
  2515. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_endscan (pointer)",
  2516. "%SYSBLDUSER%", 0,
  2517. "alter function ts_vtam_endscan (pointer)
  2518. with (add parallelizable);
  2519. ",
  2520. "f",
  2521. "alter function ts_vtam_endscan (pointer)
  2522. with (drop parallelizable);
  2523. ",
  2524. "f"
  2525. );
  2526. insert into sysbldobjdepends
  2527. (
  2528. bld_id,
  2529. obj_kind,
  2530. obj_signature,
  2531. obj_owner,
  2532. need_obj_kind,
  2533. need_obj_signature,
  2534. need_obj_owner)
  2535. values
  2536. (
  2537. "%SYSBLDNAME%",
  2538. 37, "Alter-Parallelize-ts_vtam_endscan (pointer)",
  2539. "%SYSBLDUSER%",
  2540. 5, "ts_vtam_endscan (pointer)",
  2541. "%SYSBLDUSER%"
  2542. );
  2543. insert into sysbldobjects
  2544. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2545. create_can_fail, drop_sql, drop_can_fail)
  2546. values
  2547. (
  2548. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_endscan (pointer)",
  2549. "%SYSBLDUSER%", 0,
  2550. "alter function ts_vtam_endscan (pointer)
  2551. with (add not variant);
  2552. ",
  2553. "f",
  2554. "alter function ts_vtam_endscan (pointer)
  2555. with (drop not variant);
  2556. ",
  2557. "f"
  2558. );
  2559. insert into sysbldobjdepends
  2560. (
  2561. bld_id,
  2562. obj_kind,
  2563. obj_signature,
  2564. obj_owner,
  2565. need_obj_kind,
  2566. need_obj_signature,
  2567. need_obj_owner)
  2568. values
  2569. (
  2570. "%SYSBLDNAME%",
  2571. 85, "Alter-Variant-ts_vtam_endscan (pointer)",
  2572. "%SYSBLDUSER%",
  2573. 5, "ts_vtam_endscan (pointer)",
  2574. "%SYSBLDUSER%"
  2575. );
  2576. insert into sysbldobjects
  2577. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2578. create_can_fail, drop_sql, drop_can_fail)
  2579. values
  2580. (
  2581. "%SYSBLDNAME%", 69, "ts_vtam_endscan (pointer)",
  2582. "%SYSBLDUSER%", 0,
  2583. "grant execute on function ts_vtam_endscan (pointer) to public;
  2584. ",
  2585. "f",
  2586. "",
  2587. "f"
  2588. );
  2589. insert into sysbldobjdepends
  2590. (
  2591. bld_id,
  2592. obj_kind,
  2593. obj_signature,
  2594. obj_owner,
  2595. need_obj_kind,
  2596. need_obj_signature,
  2597. need_obj_owner)
  2598. values
  2599. (
  2600. "%SYSBLDNAME%",
  2601. 69, "ts_vtam_endscan (pointer)",
  2602. "%SYSBLDUSER%",
  2603. 5, "ts_vtam_endscan (pointer)",
  2604. "%SYSBLDUSER%"
  2605. );
  2606. insert into sysbldobjects
  2607. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2608. create_can_fail, drop_sql, drop_can_fail)
  2609. values
  2610. (
  2611. "%SYSBLDNAME%", 5, "ts_vtam_getbyid (pointer,pointer,int)",
  2612. "%SYSBLDUSER%", 0,
  2613. "create function ts_vtam_getbyid (pointer,pointer,int)
  2614. returns int
  2615. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getbyid)"" language c;
  2616. ",
  2617. "f",
  2618. "drop function ts_vtam_getbyid (pointer,pointer,int);
  2619. ",
  2620. "f"
  2621. );
  2622. insert into sysbldobjects
  2623. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2624. create_can_fail, drop_sql, drop_can_fail)
  2625. values
  2626. (
  2627. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_getbyid (pointer,pointer,int)",
  2628. "%SYSBLDUSER%", 0,
  2629. "alter function ts_vtam_getbyid (pointer,pointer,int)
  2630. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getbyid)"");
  2631. ",
  2632. "f",
  2633. "alter function ts_vtam_getbyid (pointer,pointer,int)
  2634. with (Modify External Name = ""ts_vtam_getbyid"");
  2635. ",
  2636. "f"
  2637. );
  2638. insert into sysbldobjdepends
  2639. (
  2640. bld_id,
  2641. obj_kind,
  2642. obj_signature,
  2643. obj_owner,
  2644. need_obj_kind,
  2645. need_obj_signature,
  2646. need_obj_owner)
  2647. values
  2648. (
  2649. "%SYSBLDNAME%",
  2650. 181, "Alter-ExternalName-ts_vtam_getbyid (pointer,pointer,int)",
  2651. "%SYSBLDUSER%",
  2652. 5, "ts_vtam_getbyid (pointer,pointer,int)",
  2653. "%SYSBLDUSER%"
  2654. );
  2655. insert into sysbldobjects
  2656. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2657. create_can_fail, drop_sql, drop_can_fail)
  2658. values
  2659. (
  2660. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_getbyid (pointer,pointer,int)",
  2661. "%SYSBLDUSER%", 0,
  2662. "alter function ts_vtam_getbyid (pointer,pointer,int)
  2663. with (add not variant);
  2664. ",
  2665. "f",
  2666. "alter function ts_vtam_getbyid (pointer,pointer,int)
  2667. with (drop not variant);
  2668. ",
  2669. "f"
  2670. );
  2671. insert into sysbldobjdepends
  2672. (
  2673. bld_id,
  2674. obj_kind,
  2675. obj_signature,
  2676. obj_owner,
  2677. need_obj_kind,
  2678. need_obj_signature,
  2679. need_obj_owner)
  2680. values
  2681. (
  2682. "%SYSBLDNAME%",
  2683. 85, "Alter-Variant-ts_vtam_getbyid (pointer,pointer,int)",
  2684. "%SYSBLDUSER%",
  2685. 5, "ts_vtam_getbyid (pointer,pointer,int)",
  2686. "%SYSBLDUSER%"
  2687. );
  2688. insert into sysbldobjects
  2689. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2690. create_can_fail, drop_sql, drop_can_fail)
  2691. values
  2692. (
  2693. "%SYSBLDNAME%", 69, "ts_vtam_getbyid (pointer,pointer,int)",
  2694. "%SYSBLDUSER%", 0,
  2695. "grant execute on function ts_vtam_getbyid (pointer,pointer,int) to public;
  2696. ",
  2697. "f",
  2698. "",
  2699. "f"
  2700. );
  2701. insert into sysbldobjdepends
  2702. (
  2703. bld_id,
  2704. obj_kind,
  2705. obj_signature,
  2706. obj_owner,
  2707. need_obj_kind,
  2708. need_obj_signature,
  2709. need_obj_owner)
  2710. values
  2711. (
  2712. "%SYSBLDNAME%",
  2713. 69, "ts_vtam_getbyid (pointer,pointer,int)",
  2714. "%SYSBLDUSER%",
  2715. 5, "ts_vtam_getbyid (pointer,pointer,int)",
  2716. "%SYSBLDUSER%"
  2717. );
  2718. insert into sysbldobjects
  2719. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2720. create_can_fail, drop_sql, drop_can_fail)
  2721. values
  2722. (
  2723. "%SYSBLDNAME%", 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  2724. "%SYSBLDUSER%", 0,
  2725. "create function ts_vtam_getnext (pointer,pointer,pointer)
  2726. returns int
  2727. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext)"" language c;
  2728. ",
  2729. "f",
  2730. "drop function ts_vtam_getnext (pointer,pointer,pointer);
  2731. ",
  2732. "f"
  2733. );
  2734. insert into sysbldobjects
  2735. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2736. create_can_fail, drop_sql, drop_can_fail)
  2737. values
  2738. (
  2739. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_getnext (pointer,pointer,pointer)",
  2740. "%SYSBLDUSER%", 0,
  2741. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2742. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext)"");
  2743. ",
  2744. "f",
  2745. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2746. with (Modify External Name = ""ts_vtam_getnext"");
  2747. ",
  2748. "f"
  2749. );
  2750. insert into sysbldobjdepends
  2751. (
  2752. bld_id,
  2753. obj_kind,
  2754. obj_signature,
  2755. obj_owner,
  2756. need_obj_kind,
  2757. need_obj_signature,
  2758. need_obj_owner)
  2759. values
  2760. (
  2761. "%SYSBLDNAME%",
  2762. 181, "Alter-ExternalName-ts_vtam_getnext (pointer,pointer,pointer)",
  2763. "%SYSBLDUSER%",
  2764. 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  2765. "%SYSBLDUSER%"
  2766. );
  2767. insert into sysbldobjects
  2768. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2769. create_can_fail, drop_sql, drop_can_fail)
  2770. values
  2771. (
  2772. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
  2773. "%SYSBLDUSER%", 0,
  2774. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2775. with (add parallelizable);
  2776. ",
  2777. "f",
  2778. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2779. with (drop parallelizable);
  2780. ",
  2781. "f"
  2782. );
  2783. insert into sysbldobjdepends
  2784. (
  2785. bld_id,
  2786. obj_kind,
  2787. obj_signature,
  2788. obj_owner,
  2789. need_obj_kind,
  2790. need_obj_signature,
  2791. need_obj_owner)
  2792. values
  2793. (
  2794. "%SYSBLDNAME%",
  2795. 37, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
  2796. "%SYSBLDUSER%",
  2797. 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  2798. "%SYSBLDUSER%"
  2799. );
  2800. insert into sysbldobjects
  2801. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2802. create_can_fail, drop_sql, drop_can_fail)
  2803. values
  2804. (
  2805. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_getnext (pointer,pointer,pointer)",
  2806. "%SYSBLDUSER%", 0,
  2807. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2808. with (add not variant);
  2809. ",
  2810. "f",
  2811. "alter function ts_vtam_getnext (pointer,pointer,pointer)
  2812. with (drop not variant);
  2813. ",
  2814. "f"
  2815. );
  2816. insert into sysbldobjdepends
  2817. (
  2818. bld_id,
  2819. obj_kind,
  2820. obj_signature,
  2821. obj_owner,
  2822. need_obj_kind,
  2823. need_obj_signature,
  2824. need_obj_owner)
  2825. values
  2826. (
  2827. "%SYSBLDNAME%",
  2828. 85, "Alter-Variant-ts_vtam_getnext (pointer,pointer,pointer)",
  2829. "%SYSBLDUSER%",
  2830. 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  2831. "%SYSBLDUSER%"
  2832. );
  2833. insert into sysbldobjects
  2834. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2835. create_can_fail, drop_sql, drop_can_fail)
  2836. values
  2837. (
  2838. "%SYSBLDNAME%", 69, "ts_vtam_getnext (pointer,pointer,pointer)",
  2839. "%SYSBLDUSER%", 0,
  2840. "grant execute on function ts_vtam_getnext (pointer,pointer,pointer) to public;
  2841. ",
  2842. "f",
  2843. "",
  2844. "f"
  2845. );
  2846. insert into sysbldobjdepends
  2847. (
  2848. bld_id,
  2849. obj_kind,
  2850. obj_signature,
  2851. obj_owner,
  2852. need_obj_kind,
  2853. need_obj_signature,
  2854. need_obj_owner)
  2855. values
  2856. (
  2857. "%SYSBLDNAME%",
  2858. 69, "ts_vtam_getnext (pointer,pointer,pointer)",
  2859. "%SYSBLDUSER%",
  2860. 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  2861. "%SYSBLDUSER%"
  2862. );
  2863. insert into sysbldobjects
  2864. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2865. create_can_fail, drop_sql, drop_can_fail)
  2866. values
  2867. (
  2868. "%SYSBLDNAME%", 5, "ts_vtam_insert (pointer,pointer,pointer)",
  2869. "%SYSBLDUSER%", 0,
  2870. "create function ts_vtam_insert (pointer,pointer,pointer)
  2871. returns int
  2872. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_insert)"" language c;
  2873. ",
  2874. "f",
  2875. "drop function ts_vtam_insert (pointer,pointer,pointer);
  2876. ",
  2877. "f"
  2878. );
  2879. insert into sysbldobjects
  2880. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2881. create_can_fail, drop_sql, drop_can_fail)
  2882. values
  2883. (
  2884. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_insert (pointer,pointer,pointer)",
  2885. "%SYSBLDUSER%", 0,
  2886. "alter function ts_vtam_insert (pointer,pointer,pointer)
  2887. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_insert)"");
  2888. ",
  2889. "f",
  2890. "alter function ts_vtam_insert (pointer,pointer,pointer)
  2891. with (Modify External Name = ""ts_vtam_insert"");
  2892. ",
  2893. "f"
  2894. );
  2895. insert into sysbldobjdepends
  2896. (
  2897. bld_id,
  2898. obj_kind,
  2899. obj_signature,
  2900. obj_owner,
  2901. need_obj_kind,
  2902. need_obj_signature,
  2903. need_obj_owner)
  2904. values
  2905. (
  2906. "%SYSBLDNAME%",
  2907. 181, "Alter-ExternalName-ts_vtam_insert (pointer,pointer,pointer)",
  2908. "%SYSBLDUSER%",
  2909. 5, "ts_vtam_insert (pointer,pointer,pointer)",
  2910. "%SYSBLDUSER%"
  2911. );
  2912. insert into sysbldobjects
  2913. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2914. create_can_fail, drop_sql, drop_can_fail)
  2915. values
  2916. (
  2917. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_insert (pointer,pointer,pointer)",
  2918. "%SYSBLDUSER%", 0,
  2919. "alter function ts_vtam_insert (pointer,pointer,pointer)
  2920. with (add not variant);
  2921. ",
  2922. "f",
  2923. "alter function ts_vtam_insert (pointer,pointer,pointer)
  2924. with (drop not variant);
  2925. ",
  2926. "f"
  2927. );
  2928. insert into sysbldobjdepends
  2929. (
  2930. bld_id,
  2931. obj_kind,
  2932. obj_signature,
  2933. obj_owner,
  2934. need_obj_kind,
  2935. need_obj_signature,
  2936. need_obj_owner)
  2937. values
  2938. (
  2939. "%SYSBLDNAME%",
  2940. 85, "Alter-Variant-ts_vtam_insert (pointer,pointer,pointer)",
  2941. "%SYSBLDUSER%",
  2942. 5, "ts_vtam_insert (pointer,pointer,pointer)",
  2943. "%SYSBLDUSER%"
  2944. );
  2945. insert into sysbldobjects
  2946. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2947. create_can_fail, drop_sql, drop_can_fail)
  2948. values
  2949. (
  2950. "%SYSBLDNAME%", 69, "ts_vtam_insert (pointer,pointer,pointer)",
  2951. "%SYSBLDUSER%", 0,
  2952. "grant execute on function ts_vtam_insert (pointer,pointer,pointer) to public;
  2953. ",
  2954. "f",
  2955. "",
  2956. "f"
  2957. );
  2958. insert into sysbldobjdepends
  2959. (
  2960. bld_id,
  2961. obj_kind,
  2962. obj_signature,
  2963. obj_owner,
  2964. need_obj_kind,
  2965. need_obj_signature,
  2966. need_obj_owner)
  2967. values
  2968. (
  2969. "%SYSBLDNAME%",
  2970. 69, "ts_vtam_insert (pointer,pointer,pointer)",
  2971. "%SYSBLDUSER%",
  2972. 5, "ts_vtam_insert (pointer,pointer,pointer)",
  2973. "%SYSBLDUSER%"
  2974. );
  2975. insert into sysbldobjects
  2976. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2977. create_can_fail, drop_sql, drop_can_fail)
  2978. values
  2979. (
  2980. "%SYSBLDNAME%", 5, "ts_vtam_open (pointer)",
  2981. "%SYSBLDUSER%", 0,
  2982. "create function ts_vtam_open (pointer)
  2983. returns int
  2984. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"" language c;
  2985. ",
  2986. "f",
  2987. "drop function ts_vtam_open (pointer);
  2988. ",
  2989. "f"
  2990. );
  2991. insert into sysbldobjects
  2992. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2993. create_can_fail, drop_sql, drop_can_fail)
  2994. values
  2995. (
  2996. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_open (pointer)",
  2997. "%SYSBLDUSER%", 0,
  2998. "alter function ts_vtam_open (pointer)
  2999. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"");
  3000. ",
  3001. "f",
  3002. "alter function ts_vtam_open (pointer)
  3003. with (Modify External Name = ""ts_vtam_open"");
  3004. ",
  3005. "f"
  3006. );
  3007. insert into sysbldobjdepends
  3008. (
  3009. bld_id,
  3010. obj_kind,
  3011. obj_signature,
  3012. obj_owner,
  3013. need_obj_kind,
  3014. need_obj_signature,
  3015. need_obj_owner)
  3016. values
  3017. (
  3018. "%SYSBLDNAME%",
  3019. 181, "Alter-ExternalName-ts_vtam_open (pointer)",
  3020. "%SYSBLDUSER%",
  3021. 5, "ts_vtam_open (pointer)",
  3022. "%SYSBLDUSER%"
  3023. );
  3024. insert into sysbldobjects
  3025. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3026. create_can_fail, drop_sql, drop_can_fail)
  3027. values
  3028. (
  3029. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_open (pointer)",
  3030. "%SYSBLDUSER%", 0,
  3031. "alter function ts_vtam_open (pointer)
  3032. with (add parallelizable);
  3033. ",
  3034. "f",
  3035. "alter function ts_vtam_open (pointer)
  3036. with (drop parallelizable);
  3037. ",
  3038. "f"
  3039. );
  3040. insert into sysbldobjdepends
  3041. (
  3042. bld_id,
  3043. obj_kind,
  3044. obj_signature,
  3045. obj_owner,
  3046. need_obj_kind,
  3047. need_obj_signature,
  3048. need_obj_owner)
  3049. values
  3050. (
  3051. "%SYSBLDNAME%",
  3052. 37, "Alter-Parallelize-ts_vtam_open (pointer)",
  3053. "%SYSBLDUSER%",
  3054. 5, "ts_vtam_open (pointer)",
  3055. "%SYSBLDUSER%"
  3056. );
  3057. insert into sysbldobjects
  3058. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3059. create_can_fail, drop_sql, drop_can_fail)
  3060. values
  3061. (
  3062. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_open (pointer)",
  3063. "%SYSBLDUSER%", 0,
  3064. "alter function ts_vtam_open (pointer)
  3065. with (add not variant);
  3066. ",
  3067. "f",
  3068. "alter function ts_vtam_open (pointer)
  3069. with (drop not variant);
  3070. ",
  3071. "f"
  3072. );
  3073. insert into sysbldobjdepends
  3074. (
  3075. bld_id,
  3076. obj_kind,
  3077. obj_signature,
  3078. obj_owner,
  3079. need_obj_kind,
  3080. need_obj_signature,
  3081. need_obj_owner)
  3082. values
  3083. (
  3084. "%SYSBLDNAME%",
  3085. 85, "Alter-Variant-ts_vtam_open (pointer)",
  3086. "%SYSBLDUSER%",
  3087. 5, "ts_vtam_open (pointer)",
  3088. "%SYSBLDUSER%"
  3089. );
  3090. insert into sysbldobjects
  3091. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3092. create_can_fail, drop_sql, drop_can_fail)
  3093. values
  3094. (
  3095. "%SYSBLDNAME%", 69, "ts_vtam_open (pointer)",
  3096. "%SYSBLDUSER%", 0,
  3097. "grant execute on function ts_vtam_open (pointer) to public;
  3098. ",
  3099. "f",
  3100. "",
  3101. "f"
  3102. );
  3103. insert into sysbldobjdepends
  3104. (
  3105. bld_id,
  3106. obj_kind,
  3107. obj_signature,
  3108. obj_owner,
  3109. need_obj_kind,
  3110. need_obj_signature,
  3111. need_obj_owner)
  3112. values
  3113. (
  3114. "%SYSBLDNAME%",
  3115. 69, "ts_vtam_open (pointer)",
  3116. "%SYSBLDUSER%",
  3117. 5, "ts_vtam_open (pointer)",
  3118. "%SYSBLDUSER%"
  3119. );
  3120. insert into sysbldobjects
  3121. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3122. create_can_fail, drop_sql, drop_can_fail)
  3123. values
  3124. (
  3125. "%SYSBLDNAME%", 5, "ts_vtam_rescan (pointer)",
  3126. "%SYSBLDUSER%", 0,
  3127. "create function ts_vtam_rescan (pointer)
  3128. returns int
  3129. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_rescan)"" language c;
  3130. ",
  3131. "f",
  3132. "drop function ts_vtam_rescan (pointer);
  3133. ",
  3134. "f"
  3135. );
  3136. insert into sysbldobjects
  3137. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3138. create_can_fail, drop_sql, drop_can_fail)
  3139. values
  3140. (
  3141. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_rescan (pointer)",
  3142. "%SYSBLDUSER%", 0,
  3143. "alter function ts_vtam_rescan (pointer)
  3144. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_rescan)"");
  3145. ",
  3146. "f",
  3147. "alter function ts_vtam_rescan (pointer)
  3148. with (Modify External Name = ""ts_vtam_rescan"");
  3149. ",
  3150. "f"
  3151. );
  3152. insert into sysbldobjdepends
  3153. (
  3154. bld_id,
  3155. obj_kind,
  3156. obj_signature,
  3157. obj_owner,
  3158. need_obj_kind,
  3159. need_obj_signature,
  3160. need_obj_owner)
  3161. values
  3162. (
  3163. "%SYSBLDNAME%",
  3164. 181, "Alter-ExternalName-ts_vtam_rescan (pointer)",
  3165. "%SYSBLDUSER%",
  3166. 5, "ts_vtam_rescan (pointer)",
  3167. "%SYSBLDUSER%"
  3168. );
  3169. insert into sysbldobjects
  3170. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3171. create_can_fail, drop_sql, drop_can_fail)
  3172. values
  3173. (
  3174. "%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_rescan (pointer)",
  3175. "%SYSBLDUSER%", 0,
  3176. "alter function ts_vtam_rescan (pointer)
  3177. with (add parallelizable);
  3178. ",
  3179. "f",
  3180. "alter function ts_vtam_rescan (pointer)
  3181. with (drop parallelizable);
  3182. ",
  3183. "f"
  3184. );
  3185. insert into sysbldobjdepends
  3186. (
  3187. bld_id,
  3188. obj_kind,
  3189. obj_signature,
  3190. obj_owner,
  3191. need_obj_kind,
  3192. need_obj_signature,
  3193. need_obj_owner)
  3194. values
  3195. (
  3196. "%SYSBLDNAME%",
  3197. 37, "Alter-Parallelize-ts_vtam_rescan (pointer)",
  3198. "%SYSBLDUSER%",
  3199. 5, "ts_vtam_rescan (pointer)",
  3200. "%SYSBLDUSER%"
  3201. );
  3202. insert into sysbldobjects
  3203. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3204. create_can_fail, drop_sql, drop_can_fail)
  3205. values
  3206. (
  3207. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_rescan (pointer)",
  3208. "%SYSBLDUSER%", 0,
  3209. "alter function ts_vtam_rescan (pointer)
  3210. with (add not variant);
  3211. ",
  3212. "f",
  3213. "alter function ts_vtam_rescan (pointer)
  3214. with (drop not variant);
  3215. ",
  3216. "f"
  3217. );
  3218. insert into sysbldobjdepends
  3219. (
  3220. bld_id,
  3221. obj_kind,
  3222. obj_signature,
  3223. obj_owner,
  3224. need_obj_kind,
  3225. need_obj_signature,
  3226. need_obj_owner)
  3227. values
  3228. (
  3229. "%SYSBLDNAME%",
  3230. 85, "Alter-Variant-ts_vtam_rescan (pointer)",
  3231. "%SYSBLDUSER%",
  3232. 5, "ts_vtam_rescan (pointer)",
  3233. "%SYSBLDUSER%"
  3234. );
  3235. insert into sysbldobjects
  3236. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3237. create_can_fail, drop_sql, drop_can_fail)
  3238. values
  3239. (
  3240. "%SYSBLDNAME%", 69, "ts_vtam_rescan (pointer)",
  3241. "%SYSBLDUSER%", 0,
  3242. "grant execute on function ts_vtam_rescan (pointer) to public;
  3243. ",
  3244. "f",
  3245. "",
  3246. "f"
  3247. );
  3248. insert into sysbldobjdepends
  3249. (
  3250. bld_id,
  3251. obj_kind,
  3252. obj_signature,
  3253. obj_owner,
  3254. need_obj_kind,
  3255. need_obj_signature,
  3256. need_obj_owner)
  3257. values
  3258. (
  3259. "%SYSBLDNAME%",
  3260. 69, "ts_vtam_rescan (pointer)",
  3261. "%SYSBLDUSER%",
  3262. 5, "ts_vtam_rescan (pointer)",
  3263. "%SYSBLDUSER%"
  3264. );
  3265. insert into sysbldobjects
  3266. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3267. create_can_fail, drop_sql, drop_can_fail)
  3268. values
  3269. (
  3270. "%SYSBLDNAME%", 5, "ts_vtam_scancost (pointer,pointer)",
  3271. "%SYSBLDUSER%", 0,
  3272. "create function ts_vtam_scancost (pointer,pointer)
  3273. returns int
  3274. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_scancost)"" language c;
  3275. ",
  3276. "f",
  3277. "drop function ts_vtam_scancost (pointer,pointer);
  3278. ",
  3279. "f"
  3280. );
  3281. insert into sysbldobjects
  3282. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3283. create_can_fail, drop_sql, drop_can_fail)
  3284. values
  3285. (
  3286. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_scancost (pointer,pointer)",
  3287. "%SYSBLDUSER%", 0,
  3288. "alter function ts_vtam_scancost (pointer,pointer)
  3289. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_scancost)"");
  3290. ",
  3291. "f",
  3292. "alter function ts_vtam_scancost (pointer,pointer)
  3293. with (Modify External Name = ""ts_vtam_scancost"");
  3294. ",
  3295. "f"
  3296. );
  3297. insert into sysbldobjdepends
  3298. (
  3299. bld_id,
  3300. obj_kind,
  3301. obj_signature,
  3302. obj_owner,
  3303. need_obj_kind,
  3304. need_obj_signature,
  3305. need_obj_owner)
  3306. values
  3307. (
  3308. "%SYSBLDNAME%",
  3309. 181, "Alter-ExternalName-ts_vtam_scancost (pointer,pointer)",
  3310. "%SYSBLDUSER%",
  3311. 5, "ts_vtam_scancost (pointer,pointer)",
  3312. "%SYSBLDUSER%"
  3313. );
  3314. insert into sysbldobjects
  3315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3316. create_can_fail, drop_sql, drop_can_fail)
  3317. values
  3318. (
  3319. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_scancost (pointer,pointer)",
  3320. "%SYSBLDUSER%", 0,
  3321. "alter function ts_vtam_scancost (pointer,pointer)
  3322. with (add not variant);
  3323. ",
  3324. "f",
  3325. "alter function ts_vtam_scancost (pointer,pointer)
  3326. with (drop not variant);
  3327. ",
  3328. "f"
  3329. );
  3330. insert into sysbldobjdepends
  3331. (
  3332. bld_id,
  3333. obj_kind,
  3334. obj_signature,
  3335. obj_owner,
  3336. need_obj_kind,
  3337. need_obj_signature,
  3338. need_obj_owner)
  3339. values
  3340. (
  3341. "%SYSBLDNAME%",
  3342. 85, "Alter-Variant-ts_vtam_scancost (pointer,pointer)",
  3343. "%SYSBLDUSER%",
  3344. 5, "ts_vtam_scancost (pointer,pointer)",
  3345. "%SYSBLDUSER%"
  3346. );
  3347. insert into sysbldobjects
  3348. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3349. create_can_fail, drop_sql, drop_can_fail)
  3350. values
  3351. (
  3352. "%SYSBLDNAME%", 69, "ts_vtam_scancost (pointer,pointer)",
  3353. "%SYSBLDUSER%", 0,
  3354. "grant execute on function ts_vtam_scancost (pointer,pointer) to public;
  3355. ",
  3356. "f",
  3357. "",
  3358. "f"
  3359. );
  3360. insert into sysbldobjdepends
  3361. (
  3362. bld_id,
  3363. obj_kind,
  3364. obj_signature,
  3365. obj_owner,
  3366. need_obj_kind,
  3367. need_obj_signature,
  3368. need_obj_owner)
  3369. values
  3370. (
  3371. "%SYSBLDNAME%",
  3372. 69, "ts_vtam_scancost (pointer,pointer)",
  3373. "%SYSBLDUSER%",
  3374. 5, "ts_vtam_scancost (pointer,pointer)",
  3375. "%SYSBLDUSER%"
  3376. );
  3377. insert into sysbldobjects
  3378. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3379. create_can_fail, drop_sql, drop_can_fail)
  3380. values
  3381. (
  3382. "%SYSBLDNAME%", 5, "ts_vtam_stats (pointer,pointer)",
  3383. "%SYSBLDUSER%", 0,
  3384. "create function ts_vtam_stats (pointer,pointer)
  3385. returns int
  3386. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_stats)"" language c;
  3387. ",
  3388. "f",
  3389. "drop function ts_vtam_stats (pointer,pointer);
  3390. ",
  3391. "f"
  3392. );
  3393. insert into sysbldobjects
  3394. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3395. create_can_fail, drop_sql, drop_can_fail)
  3396. values
  3397. (
  3398. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_stats (pointer,pointer)",
  3399. "%SYSBLDUSER%", 0,
  3400. "alter function ts_vtam_stats (pointer,pointer)
  3401. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_stats)"");
  3402. ",
  3403. "f",
  3404. "alter function ts_vtam_stats (pointer,pointer)
  3405. with (Modify External Name = ""ts_vtam_stats"");
  3406. ",
  3407. "f"
  3408. );
  3409. insert into sysbldobjdepends
  3410. (
  3411. bld_id,
  3412. obj_kind,
  3413. obj_signature,
  3414. obj_owner,
  3415. need_obj_kind,
  3416. need_obj_signature,
  3417. need_obj_owner)
  3418. values
  3419. (
  3420. "%SYSBLDNAME%",
  3421. 181, "Alter-ExternalName-ts_vtam_stats (pointer,pointer)",
  3422. "%SYSBLDUSER%",
  3423. 5, "ts_vtam_stats (pointer,pointer)",
  3424. "%SYSBLDUSER%"
  3425. );
  3426. insert into sysbldobjects
  3427. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3428. create_can_fail, drop_sql, drop_can_fail)
  3429. values
  3430. (
  3431. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_stats (pointer,pointer)",
  3432. "%SYSBLDUSER%", 0,
  3433. "alter function ts_vtam_stats (pointer,pointer)
  3434. with (add not variant);
  3435. ",
  3436. "f",
  3437. "alter function ts_vtam_stats (pointer,pointer)
  3438. with (drop not variant);
  3439. ",
  3440. "f"
  3441. );
  3442. insert into sysbldobjdepends
  3443. (
  3444. bld_id,
  3445. obj_kind,
  3446. obj_signature,
  3447. obj_owner,
  3448. need_obj_kind,
  3449. need_obj_signature,
  3450. need_obj_owner)
  3451. values
  3452. (
  3453. "%SYSBLDNAME%",
  3454. 85, "Alter-Variant-ts_vtam_stats (pointer,pointer)",
  3455. "%SYSBLDUSER%",
  3456. 5, "ts_vtam_stats (pointer,pointer)",
  3457. "%SYSBLDUSER%"
  3458. );
  3459. insert into sysbldobjects
  3460. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3461. create_can_fail, drop_sql, drop_can_fail)
  3462. values
  3463. (
  3464. "%SYSBLDNAME%", 69, "ts_vtam_stats (pointer,pointer)",
  3465. "%SYSBLDUSER%", 0,
  3466. "grant execute on function ts_vtam_stats (pointer,pointer) to public;
  3467. ",
  3468. "f",
  3469. "",
  3470. "f"
  3471. );
  3472. insert into sysbldobjdepends
  3473. (
  3474. bld_id,
  3475. obj_kind,
  3476. obj_signature,
  3477. obj_owner,
  3478. need_obj_kind,
  3479. need_obj_signature,
  3480. need_obj_owner)
  3481. values
  3482. (
  3483. "%SYSBLDNAME%",
  3484. 69, "ts_vtam_stats (pointer,pointer)",
  3485. "%SYSBLDUSER%",
  3486. 5, "ts_vtam_stats (pointer,pointer)",
  3487. "%SYSBLDUSER%"
  3488. );
  3489. insert into sysbldobjects
  3490. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3491. create_can_fail, drop_sql, drop_can_fail)
  3492. values
  3493. (
  3494. "%SYSBLDNAME%", 5, "ts_vtam_update (pointer,pointer,int)",
  3495. "%SYSBLDUSER%", 0,
  3496. "create function ts_vtam_update (pointer,pointer,int)
  3497. returns int
  3498. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_update)"" language c;
  3499. ",
  3500. "f",
  3501. "drop function ts_vtam_update (pointer,pointer,int);
  3502. ",
  3503. "f"
  3504. );
  3505. insert into sysbldobjects
  3506. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3507. create_can_fail, drop_sql, drop_can_fail)
  3508. values
  3509. (
  3510. "%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_update (pointer,pointer,int)",
  3511. "%SYSBLDUSER%", 0,
  3512. "alter function ts_vtam_update (pointer,pointer,int)
  3513. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_update)"");
  3514. ",
  3515. "f",
  3516. "alter function ts_vtam_update (pointer,pointer,int)
  3517. with (Modify External Name = ""ts_vtam_update"");
  3518. ",
  3519. "f"
  3520. );
  3521. insert into sysbldobjdepends
  3522. (
  3523. bld_id,
  3524. obj_kind,
  3525. obj_signature,
  3526. obj_owner,
  3527. need_obj_kind,
  3528. need_obj_signature,
  3529. need_obj_owner)
  3530. values
  3531. (
  3532. "%SYSBLDNAME%",
  3533. 181, "Alter-ExternalName-ts_vtam_update (pointer,pointer,int)",
  3534. "%SYSBLDUSER%",
  3535. 5, "ts_vtam_update (pointer,pointer,int)",
  3536. "%SYSBLDUSER%"
  3537. );
  3538. insert into sysbldobjects
  3539. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3540. create_can_fail, drop_sql, drop_can_fail)
  3541. values
  3542. (
  3543. "%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_update (pointer,pointer,int)",
  3544. "%SYSBLDUSER%", 0,
  3545. "alter function ts_vtam_update (pointer,pointer,int)
  3546. with (add not variant);
  3547. ",
  3548. "f",
  3549. "alter function ts_vtam_update (pointer,pointer,int)
  3550. with (drop not variant);
  3551. ",
  3552. "f"
  3553. );
  3554. insert into sysbldobjdepends
  3555. (
  3556. bld_id,
  3557. obj_kind,
  3558. obj_signature,
  3559. obj_owner,
  3560. need_obj_kind,
  3561. need_obj_signature,
  3562. need_obj_owner)
  3563. values
  3564. (
  3565. "%SYSBLDNAME%",
  3566. 85, "Alter-Variant-ts_vtam_update (pointer,pointer,int)",
  3567. "%SYSBLDUSER%",
  3568. 5, "ts_vtam_update (pointer,pointer,int)",
  3569. "%SYSBLDUSER%"
  3570. );
  3571. insert into sysbldobjects
  3572. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3573. create_can_fail, drop_sql, drop_can_fail)
  3574. values
  3575. (
  3576. "%SYSBLDNAME%", 69, "ts_vtam_update (pointer,pointer,int)",
  3577. "%SYSBLDUSER%", 0,
  3578. "grant execute on function ts_vtam_update (pointer,pointer,int) to public;
  3579. ",
  3580. "f",
  3581. "",
  3582. "f"
  3583. );
  3584. insert into sysbldobjdepends
  3585. (
  3586. bld_id,
  3587. obj_kind,
  3588. obj_signature,
  3589. obj_owner,
  3590. need_obj_kind,
  3591. need_obj_signature,
  3592. need_obj_owner)
  3593. values
  3594. (
  3595. "%SYSBLDNAME%",
  3596. 69, "ts_vtam_update (pointer,pointer,int)",
  3597. "%SYSBLDUSER%",
  3598. 5, "ts_vtam_update (pointer,pointer,int)",
  3599. "%SYSBLDUSER%"
  3600. );
  3601. insert into sysbldobjects
  3602. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3603. create_can_fail, drop_sql, drop_can_fail)
  3604. values
  3605. (
  3606. "%SYSBLDNAME%", 0, "ts_vtam",
  3607. "%SYSBLDUSER%", 0,
  3608. "CREATE PRIMARY ACCESS_METHOD ts_vtam (
  3609. AM_SPTYPE = 'A' ,
  3610. AM_READWRITE ,
  3611. AM_PARALLEL ,
  3612. AM_CREATE = ts_vtam_create ,
  3613. AM_DROP = ts_vtam_drop ,
  3614. AM_INSERT = ts_vtam_insert ,
  3615. AM_STATS = ts_vtam_stats ,
  3616. AM_SCANCOST = ts_vtam_scancost ,
  3617. AM_CHECK = ts_vtam_check ,
  3618. AM_RESCAN = ts_vtam_rescan ,
  3619. AM_BEGINSCAN = ts_vtam_beginscan ,
  3620. AM_GETNEXT = ts_vtam_getnext ,
  3621. AM_ENDSCAN = ts_vtam_endscan ,
  3622. AM_OPEN = ts_vtam_open ,
  3623. AM_CLOSE = ts_vtam_close
  3624. );
  3625. ",
  3626. "f",
  3627. "drop access_method ts_vtam restrict;
  3628. ",
  3629. "f"
  3630. );
  3631. insert into sysbldobjdepends
  3632. (
  3633. bld_id,
  3634. obj_kind,
  3635. obj_signature,
  3636. obj_owner,
  3637. need_obj_kind,
  3638. need_obj_signature,
  3639. need_obj_owner)
  3640. values
  3641. (
  3642. "%SYSBLDNAME%",
  3643. 0, "ts_vtam",
  3644. "%SYSBLDUSER%",
  3645. 7, "TimeSeries",
  3646. "%SYSBLDUSER%"
  3647. );
  3648. insert into sysbldobjdepends
  3649. (
  3650. bld_id,
  3651. obj_kind,
  3652. obj_signature,
  3653. obj_owner,
  3654. need_obj_kind,
  3655. need_obj_signature,
  3656. need_obj_owner)
  3657. values
  3658. (
  3659. "%SYSBLDNAME%",
  3660. 0, "ts_vtam",
  3661. "%SYSBLDUSER%",
  3662. 5, "ts_vtam_beginscan (pointer)",
  3663. "%SYSBLDUSER%"
  3664. );
  3665. insert into sysbldobjdepends
  3666. (
  3667. bld_id,
  3668. obj_kind,
  3669. obj_signature,
  3670. obj_owner,
  3671. need_obj_kind,
  3672. need_obj_signature,
  3673. need_obj_owner)
  3674. values
  3675. (
  3676. "%SYSBLDNAME%",
  3677. 0, "ts_vtam",
  3678. "%SYSBLDUSER%",
  3679. 5, "ts_vtam_check (pointer,int)",
  3680. "%SYSBLDUSER%"
  3681. );
  3682. insert into sysbldobjdepends
  3683. (
  3684. bld_id,
  3685. obj_kind,
  3686. obj_signature,
  3687. obj_owner,
  3688. need_obj_kind,
  3689. need_obj_signature,
  3690. need_obj_owner)
  3691. values
  3692. (
  3693. "%SYSBLDNAME%",
  3694. 0, "ts_vtam",
  3695. "%SYSBLDUSER%",
  3696. 5, "ts_vtam_close (pointer)",
  3697. "%SYSBLDUSER%"
  3698. );
  3699. insert into sysbldobjdepends
  3700. (
  3701. bld_id,
  3702. obj_kind,
  3703. obj_signature,
  3704. obj_owner,
  3705. need_obj_kind,
  3706. need_obj_signature,
  3707. need_obj_owner)
  3708. values
  3709. (
  3710. "%SYSBLDNAME%",
  3711. 0, "ts_vtam",
  3712. "%SYSBLDUSER%",
  3713. 5, "ts_vtam_create (pointer)",
  3714. "%SYSBLDUSER%"
  3715. );
  3716. insert into sysbldobjdepends
  3717. (
  3718. bld_id,
  3719. obj_kind,
  3720. obj_signature,
  3721. obj_owner,
  3722. need_obj_kind,
  3723. need_obj_signature,
  3724. need_obj_owner)
  3725. values
  3726. (
  3727. "%SYSBLDNAME%",
  3728. 0, "ts_vtam",
  3729. "%SYSBLDUSER%",
  3730. 5, "ts_vtam_delete (pointer,int)",
  3731. "%SYSBLDUSER%"
  3732. );
  3733. insert into sysbldobjdepends
  3734. (
  3735. bld_id,
  3736. obj_kind,
  3737. obj_signature,
  3738. obj_owner,
  3739. need_obj_kind,
  3740. need_obj_signature,
  3741. need_obj_owner)
  3742. values
  3743. (
  3744. "%SYSBLDNAME%",
  3745. 0, "ts_vtam",
  3746. "%SYSBLDUSER%",
  3747. 5, "ts_vtam_drop (pointer)",
  3748. "%SYSBLDUSER%"
  3749. );
  3750. insert into sysbldobjdepends
  3751. (
  3752. bld_id,
  3753. obj_kind,
  3754. obj_signature,
  3755. obj_owner,
  3756. need_obj_kind,
  3757. need_obj_signature,
  3758. need_obj_owner)
  3759. values
  3760. (
  3761. "%SYSBLDNAME%",
  3762. 0, "ts_vtam",
  3763. "%SYSBLDUSER%",
  3764. 5, "ts_vtam_endscan (pointer)",
  3765. "%SYSBLDUSER%"
  3766. );
  3767. insert into sysbldobjdepends
  3768. (
  3769. bld_id,
  3770. obj_kind,
  3771. obj_signature,
  3772. obj_owner,
  3773. need_obj_kind,
  3774. need_obj_signature,
  3775. need_obj_owner)
  3776. values
  3777. (
  3778. "%SYSBLDNAME%",
  3779. 0, "ts_vtam",
  3780. "%SYSBLDUSER%",
  3781. 5, "ts_vtam_getbyid (pointer,pointer,int)",
  3782. "%SYSBLDUSER%"
  3783. );
  3784. insert into sysbldobjdepends
  3785. (
  3786. bld_id,
  3787. obj_kind,
  3788. obj_signature,
  3789. obj_owner,
  3790. need_obj_kind,
  3791. need_obj_signature,
  3792. need_obj_owner)
  3793. values
  3794. (
  3795. "%SYSBLDNAME%",
  3796. 0, "ts_vtam",
  3797. "%SYSBLDUSER%",
  3798. 5, "ts_vtam_getnext (pointer,pointer,pointer)",
  3799. "%SYSBLDUSER%"
  3800. );
  3801. insert into sysbldobjdepends
  3802. (
  3803. bld_id,
  3804. obj_kind,
  3805. obj_signature,
  3806. obj_owner,
  3807. need_obj_kind,
  3808. need_obj_signature,
  3809. need_obj_owner)
  3810. values
  3811. (
  3812. "%SYSBLDNAME%",
  3813. 0, "ts_vtam",
  3814. "%SYSBLDUSER%",
  3815. 5, "ts_vtam_insert (pointer,pointer,pointer)",
  3816. "%SYSBLDUSER%"
  3817. );
  3818. insert into sysbldobjdepends
  3819. (
  3820. bld_id,
  3821. obj_kind,
  3822. obj_signature,
  3823. obj_owner,
  3824. need_obj_kind,
  3825. need_obj_signature,
  3826. need_obj_owner)
  3827. values
  3828. (
  3829. "%SYSBLDNAME%",
  3830. 0, "ts_vtam",
  3831. "%SYSBLDUSER%",
  3832. 5, "ts_vtam_open (pointer)",
  3833. "%SYSBLDUSER%"
  3834. );
  3835. insert into sysbldobjdepends
  3836. (
  3837. bld_id,
  3838. obj_kind,
  3839. obj_signature,
  3840. obj_owner,
  3841. need_obj_kind,
  3842. need_obj_signature,
  3843. need_obj_owner)
  3844. values
  3845. (
  3846. "%SYSBLDNAME%",
  3847. 0, "ts_vtam",
  3848. "%SYSBLDUSER%",
  3849. 5, "ts_vtam_rescan (pointer)",
  3850. "%SYSBLDUSER%"
  3851. );
  3852. insert into sysbldobjdepends
  3853. (
  3854. bld_id,
  3855. obj_kind,
  3856. obj_signature,
  3857. obj_owner,
  3858. need_obj_kind,
  3859. need_obj_signature,
  3860. need_obj_owner)
  3861. values
  3862. (
  3863. "%SYSBLDNAME%",
  3864. 0, "ts_vtam",
  3865. "%SYSBLDUSER%",
  3866. 5, "ts_vtam_scancost (pointer,pointer)",
  3867. "%SYSBLDUSER%"
  3868. );
  3869. insert into sysbldobjdepends
  3870. (
  3871. bld_id,
  3872. obj_kind,
  3873. obj_signature,
  3874. obj_owner,
  3875. need_obj_kind,
  3876. need_obj_signature,
  3877. need_obj_owner)
  3878. values
  3879. (
  3880. "%SYSBLDNAME%",
  3881. 0, "ts_vtam",
  3882. "%SYSBLDUSER%",
  3883. 5, "ts_vtam_stats (pointer,pointer)",
  3884. "%SYSBLDUSER%"
  3885. );
  3886. insert into sysbldobjdepends
  3887. (
  3888. bld_id,
  3889. obj_kind,
  3890. obj_signature,
  3891. obj_owner,
  3892. need_obj_kind,
  3893. need_obj_signature,
  3894. need_obj_owner)
  3895. values
  3896. (
  3897. "%SYSBLDNAME%",
  3898. 0, "ts_vtam",
  3899. "%SYSBLDUSER%",
  3900. 5, "ts_vtam_update (pointer,pointer,int)",
  3901. "%SYSBLDUSER%"
  3902. );
  3903. insert into sysbldobjdepends
  3904. (
  3905. bld_id,
  3906. obj_kind,
  3907. obj_signature,
  3908. obj_owner,
  3909. need_obj_kind,
  3910. need_obj_signature,
  3911. need_obj_owner)
  3912. values
  3913. (
  3914. "%SYSBLDNAME%",
  3915. 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  3916. "%SYSBLDUSER%",
  3917. 0, "ts_vtam",
  3918. "%SYSBLDUSER%"
  3919. );
  3920. insert into sysbldobjdepends
  3921. (
  3922. bld_id,
  3923. obj_kind,
  3924. obj_signature,
  3925. obj_owner,
  3926. need_obj_kind,
  3927. need_obj_signature,
  3928. need_obj_owner)
  3929. values
  3930. (
  3931. "%SYSBLDNAME%",
  3932. 0, "ts_vtam",
  3933. "%SYSBLDUSER%",
  3934. 32, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
  3935. "%SYSBLDUSER%"
  3936. );
  3937. insert into sysbldobjdepends
  3938. (
  3939. bld_id,
  3940. obj_kind,
  3941. obj_signature,
  3942. obj_owner,
  3943. need_obj_kind,
  3944. need_obj_signature,
  3945. need_obj_owner)
  3946. values
  3947. (
  3948. "%SYSBLDNAME%",
  3949. 0, "ts_vtam",
  3950. "%SYSBLDUSER%",
  3951. 140, "Alter-PerCallStack-ts_vtam_beginscan (pointer)",
  3952. "%SYSBLDUSER%"
  3953. );
  3954. insert into sysbldobjdepends
  3955. (
  3956. bld_id,
  3957. obj_kind,
  3958. obj_signature,
  3959. obj_owner,
  3960. need_obj_kind,
  3961. need_obj_signature,
  3962. need_obj_owner)
  3963. values
  3964. (
  3965. "%SYSBLDNAME%",
  3966. 0, "ts_vtam",
  3967. "%SYSBLDUSER%",
  3968. 140, "Alter-PerCallStack-ts_vtam_check (pointer,int)",
  3969. "%SYSBLDUSER%"
  3970. );
  3971. insert into sysbldobjdepends
  3972. (
  3973. bld_id,
  3974. obj_kind,
  3975. obj_signature,
  3976. obj_owner,
  3977. need_obj_kind,
  3978. need_obj_signature,
  3979. need_obj_owner)
  3980. values
  3981. (
  3982. "%SYSBLDNAME%",
  3983. 0, "ts_vtam",
  3984. "%SYSBLDUSER%",
  3985. 32, "Alter-Parallelize-ts_vtam_close (pointer)",
  3986. "%SYSBLDUSER%"
  3987. );
  3988. insert into sysbldobjdepends
  3989. (
  3990. bld_id,
  3991. obj_kind,
  3992. obj_signature,
  3993. obj_owner,
  3994. need_obj_kind,
  3995. need_obj_signature,
  3996. need_obj_owner)
  3997. values
  3998. (
  3999. "%SYSBLDNAME%",
  4000. 0, "ts_vtam",
  4001. "%SYSBLDUSER%",
  4002. 32, "Alter-Parallelize-ts_vtam_endscan (pointer)",
  4003. "%SYSBLDUSER%"
  4004. );
  4005. insert into sysbldobjdepends
  4006. (
  4007. bld_id,
  4008. obj_kind,
  4009. obj_signature,
  4010. obj_owner,
  4011. need_obj_kind,
  4012. need_obj_signature,
  4013. need_obj_owner)
  4014. values
  4015. (
  4016. "%SYSBLDNAME%",
  4017. 0, "ts_vtam",
  4018. "%SYSBLDUSER%",
  4019. 140, "Alter-PerCallStack-ts_vtam_close (pointer)",
  4020. "%SYSBLDUSER%"
  4021. );
  4022. insert into sysbldobjdepends
  4023. (
  4024. bld_id,
  4025. obj_kind,
  4026. obj_signature,
  4027. obj_owner,
  4028. need_obj_kind,
  4029. need_obj_signature,
  4030. need_obj_owner)
  4031. values
  4032. (
  4033. "%SYSBLDNAME%",
  4034. 0, "ts_vtam",
  4035. "%SYSBLDUSER%",
  4036. 140, "Alter-PerCallStack-ts_vtam_create (pointer)",
  4037. "%SYSBLDUSER%"
  4038. );
  4039. insert into sysbldobjdepends
  4040. (
  4041. bld_id,
  4042. obj_kind,
  4043. obj_signature,
  4044. obj_owner,
  4045. need_obj_kind,
  4046. need_obj_signature,
  4047. need_obj_owner)
  4048. values
  4049. (
  4050. "%SYSBLDNAME%",
  4051. 0, "ts_vtam",
  4052. "%SYSBLDUSER%",
  4053. 140, "Alter-PerCallStack-ts_vtam_delete (pointer,int)",
  4054. "%SYSBLDUSER%"
  4055. );
  4056. insert into sysbldobjdepends
  4057. (
  4058. bld_id,
  4059. obj_kind,
  4060. obj_signature,
  4061. obj_owner,
  4062. need_obj_kind,
  4063. need_obj_signature,
  4064. need_obj_owner)
  4065. values
  4066. (
  4067. "%SYSBLDNAME%",
  4068. 0, "ts_vtam",
  4069. "%SYSBLDUSER%",
  4070. 140, "Alter-PerCallStack-ts_vtam_drop (pointer)",
  4071. "%SYSBLDUSER%"
  4072. );
  4073. insert into sysbldobjdepends
  4074. (
  4075. bld_id,
  4076. obj_kind,
  4077. obj_signature,
  4078. obj_owner,
  4079. need_obj_kind,
  4080. need_obj_signature,
  4081. need_obj_owner)
  4082. values
  4083. (
  4084. "%SYSBLDNAME%",
  4085. 0, "ts_vtam",
  4086. "%SYSBLDUSER%",
  4087. 140, "Alter-PerCallStack-ts_vtam_endscan (pointer)",
  4088. "%SYSBLDUSER%"
  4089. );
  4090. insert into sysbldobjdepends
  4091. (
  4092. bld_id,
  4093. obj_kind,
  4094. obj_signature,
  4095. obj_owner,
  4096. need_obj_kind,
  4097. need_obj_signature,
  4098. need_obj_owner)
  4099. values
  4100. (
  4101. "%SYSBLDNAME%",
  4102. 0, "ts_vtam",
  4103. "%SYSBLDUSER%",
  4104. 140, "Alter-PerCallStack-ts_vtam_getbyid (pointer,pointer,int)",
  4105. "%SYSBLDUSER%"
  4106. );
  4107. insert into sysbldobjdepends
  4108. (
  4109. bld_id,
  4110. obj_kind,
  4111. obj_signature,
  4112. obj_owner,
  4113. need_obj_kind,
  4114. need_obj_signature,
  4115. need_obj_owner)
  4116. values
  4117. (
  4118. "%SYSBLDNAME%",
  4119. 0, "ts_vtam",
  4120. "%SYSBLDUSER%",
  4121. 32, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
  4122. "%SYSBLDUSER%"
  4123. );
  4124. insert into sysbldobjdepends
  4125. (
  4126. bld_id,
  4127. obj_kind,
  4128. obj_signature,
  4129. obj_owner,
  4130. need_obj_kind,
  4131. need_obj_signature,
  4132. need_obj_owner)
  4133. values
  4134. (
  4135. "%SYSBLDNAME%",
  4136. 0, "ts_vtam",
  4137. "%SYSBLDUSER%",
  4138. 140, "Alter-PerCallStack-ts_vtam_getnext (pointer,pointer,pointer)",
  4139. "%SYSBLDUSER%"
  4140. );
  4141. insert into sysbldobjdepends
  4142. (
  4143. bld_id,
  4144. obj_kind,
  4145. obj_signature,
  4146. obj_owner,
  4147. need_obj_kind,
  4148. need_obj_signature,
  4149. need_obj_owner)
  4150. values
  4151. (
  4152. "%SYSBLDNAME%",
  4153. 0, "ts_vtam",
  4154. "%SYSBLDUSER%",
  4155. 140, "Alter-PerCallStack-ts_vtam_insert (pointer,pointer,pointer)",
  4156. "%SYSBLDUSER%"
  4157. );
  4158. insert into sysbldobjdepends
  4159. (
  4160. bld_id,
  4161. obj_kind,
  4162. obj_signature,
  4163. obj_owner,
  4164. need_obj_kind,
  4165. need_obj_signature,
  4166. need_obj_owner)
  4167. values
  4168. (
  4169. "%SYSBLDNAME%",
  4170. 0, "ts_vtam",
  4171. "%SYSBLDUSER%",
  4172. 32, "Alter-Parallelize-ts_vtam_open (pointer)",
  4173. "%SYSBLDUSER%"
  4174. );
  4175. insert into sysbldobjdepends
  4176. (
  4177. bld_id,
  4178. obj_kind,
  4179. obj_signature,
  4180. obj_owner,
  4181. need_obj_kind,
  4182. need_obj_signature,
  4183. need_obj_owner)
  4184. values
  4185. (
  4186. "%SYSBLDNAME%",
  4187. 0, "ts_vtam",
  4188. "%SYSBLDUSER%",
  4189. 140, "Alter-PerCallStack-ts_vtam_open (pointer)",
  4190. "%SYSBLDUSER%"
  4191. );
  4192. insert into sysbldobjdepends
  4193. (
  4194. bld_id,
  4195. obj_kind,
  4196. obj_signature,
  4197. obj_owner,
  4198. need_obj_kind,
  4199. need_obj_signature,
  4200. need_obj_owner)
  4201. values
  4202. (
  4203. "%SYSBLDNAME%",
  4204. 0, "ts_vtam",
  4205. "%SYSBLDUSER%",
  4206. 140, "Alter-PerCallStack-ts_vtam_rescan (pointer)",
  4207. "%SYSBLDUSER%"
  4208. );
  4209. insert into sysbldobjdepends
  4210. (
  4211. bld_id,
  4212. obj_kind,
  4213. obj_signature,
  4214. obj_owner,
  4215. need_obj_kind,
  4216. need_obj_signature,
  4217. need_obj_owner)
  4218. values
  4219. (
  4220. "%SYSBLDNAME%",
  4221. 0, "ts_vtam",
  4222. "%SYSBLDUSER%",
  4223. 32, "Alter-Parallelize-ts_vtam_rescan (pointer)",
  4224. "%SYSBLDUSER%"
  4225. );
  4226. insert into sysbldobjdepends
  4227. (
  4228. bld_id,
  4229. obj_kind,
  4230. obj_signature,
  4231. obj_owner,
  4232. need_obj_kind,
  4233. need_obj_signature,
  4234. need_obj_owner)
  4235. values
  4236. (
  4237. "%SYSBLDNAME%",
  4238. 0, "ts_vtam",
  4239. "%SYSBLDUSER%",
  4240. 140, "Alter-PerCallStack-ts_vtam_scancost (pointer,pointer)",
  4241. "%SYSBLDUSER%"
  4242. );
  4243. insert into sysbldobjdepends
  4244. (
  4245. bld_id,
  4246. obj_kind,
  4247. obj_signature,
  4248. obj_owner,
  4249. need_obj_kind,
  4250. need_obj_signature,
  4251. need_obj_owner)
  4252. values
  4253. (
  4254. "%SYSBLDNAME%",
  4255. 0, "ts_vtam",
  4256. "%SYSBLDUSER%",
  4257. 140, "Alter-PerCallStack-ts_vtam_stats (pointer,pointer)",
  4258. "%SYSBLDUSER%"
  4259. );
  4260. insert into sysbldobjdepends
  4261. (
  4262. bld_id,
  4263. obj_kind,
  4264. obj_signature,
  4265. obj_owner,
  4266. need_obj_kind,
  4267. need_obj_signature,
  4268. need_obj_owner)
  4269. values
  4270. (
  4271. "%SYSBLDNAME%",
  4272. 0, "ts_vtam",
  4273. "%SYSBLDUSER%",
  4274. 140, "Alter-PerCallStack-ts_vtam_update (pointer,pointer,int)",
  4275. "%SYSBLDUSER%"
  4276. );
  4277. insert into sysbldobjects
  4278. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4279. create_can_fail, drop_sql, drop_can_fail)
  4280. values
  4281. (
  4282. "%SYSBLDNAME%", 0, "vtitrace",
  4283. "%SYSBLDUSER%", 0,
  4284. "insert into informix.systraceclasses(name) values('TS_VTI_DEBUG');
  4285. ",
  4286. "f",
  4287. "delete from informix.systraceclasses where name='TS_VTI_DEBUG';
  4288. ",
  4289. "f"
  4290. );
  4291. insert into sysbldobjects
  4292. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4293. create_can_fail, drop_sql, drop_can_fail)
  4294. values
  4295. (
  4296. "%SYSBLDNAME%", 6, "CalendarCacheDel ()",
  4297. "%SYSBLDUSER%", 0,
  4298. "create procedure CalendarCacheDel ()
  4299. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_del_all_entries)"" language c;
  4300. ",
  4301. "f",
  4302. "drop procedure CalendarCacheDel ();
  4303. ",
  4304. "f"
  4305. );
  4306. insert into sysbldobjects
  4307. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4308. create_can_fail, drop_sql, drop_can_fail)
  4309. values
  4310. (
  4311. "%SYSBLDNAME%", 182, "Alter-ExternalName-CalendarCacheDel ()",
  4312. "%SYSBLDUSER%", 0,
  4313. "alter procedure CalendarCacheDel ()
  4314. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_del_all_entries)"");
  4315. ",
  4316. "f",
  4317. "alter procedure CalendarCacheDel ()
  4318. with (Modify External Name = ""ts_cal_del_all_entries"");
  4319. ",
  4320. "f"
  4321. );
  4322. insert into sysbldobjdepends
  4323. (
  4324. bld_id,
  4325. obj_kind,
  4326. obj_signature,
  4327. obj_owner,
  4328. need_obj_kind,
  4329. need_obj_signature,
  4330. need_obj_owner)
  4331. values
  4332. (
  4333. "%SYSBLDNAME%",
  4334. 182, "Alter-ExternalName-CalendarCacheDel ()",
  4335. "%SYSBLDUSER%",
  4336. 6, "CalendarCacheDel ()",
  4337. "%SYSBLDUSER%"
  4338. );
  4339. insert into sysbldobjects
  4340. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4341. create_can_fail, drop_sql, drop_can_fail)
  4342. values
  4343. (
  4344. "%SYSBLDNAME%", 70, "CalendarCacheDel ()",
  4345. "%SYSBLDUSER%", 0,
  4346. "grant execute on procedure CalendarCacheDel () to public;
  4347. ",
  4348. "f",
  4349. "",
  4350. "f"
  4351. );
  4352. insert into sysbldobjdepends
  4353. (
  4354. bld_id,
  4355. obj_kind,
  4356. obj_signature,
  4357. obj_owner,
  4358. need_obj_kind,
  4359. need_obj_signature,
  4360. need_obj_owner)
  4361. values
  4362. (
  4363. "%SYSBLDNAME%",
  4364. 70, "CalendarCacheDel ()",
  4365. "%SYSBLDUSER%",
  4366. 6, "CalendarCacheDel ()",
  4367. "%SYSBLDUSER%"
  4368. );
  4369. insert into sysbldobjects
  4370. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4371. create_can_fail, drop_sql, drop_can_fail)
  4372. values
  4373. (
  4374. "%SYSBLDNAME%", 6, "CalendarError (lvarchar,lvarchar)",
  4375. "%SYSBLDUSER%", 0,
  4376. "create procedure CalendarError (lvarchar,lvarchar)
  4377. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_error_raise)"" language c;
  4378. ",
  4379. "f",
  4380. "drop procedure CalendarError (lvarchar,lvarchar);
  4381. ",
  4382. "f"
  4383. );
  4384. insert into sysbldobjects
  4385. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4386. create_can_fail, drop_sql, drop_can_fail)
  4387. values
  4388. (
  4389. "%SYSBLDNAME%", 182, "Alter-ExternalName-CalendarError (lvarchar,lvarchar)",
  4390. "%SYSBLDUSER%", 0,
  4391. "alter procedure CalendarError (lvarchar,lvarchar)
  4392. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_error_raise)"");
  4393. ",
  4394. "f",
  4395. "alter procedure CalendarError (lvarchar,lvarchar)
  4396. with (Modify External Name = ""ts_error_raise"");
  4397. ",
  4398. "f"
  4399. );
  4400. insert into sysbldobjdepends
  4401. (
  4402. bld_id,
  4403. obj_kind,
  4404. obj_signature,
  4405. obj_owner,
  4406. need_obj_kind,
  4407. need_obj_signature,
  4408. need_obj_owner)
  4409. values
  4410. (
  4411. "%SYSBLDNAME%",
  4412. 182, "Alter-ExternalName-CalendarError (lvarchar,lvarchar)",
  4413. "%SYSBLDUSER%",
  4414. 6, "CalendarError (lvarchar,lvarchar)",
  4415. "%SYSBLDUSER%"
  4416. );
  4417. insert into sysbldobjects
  4418. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4419. create_can_fail, drop_sql, drop_can_fail)
  4420. values
  4421. (
  4422. "%SYSBLDNAME%", 86, "Alter-Variant-CalendarError (lvarchar,lvarchar)",
  4423. "%SYSBLDUSER%", 0,
  4424. "alter procedure CalendarError (lvarchar,lvarchar)
  4425. with (add not variant);
  4426. ",
  4427. "f",
  4428. "alter procedure CalendarError (lvarchar,lvarchar)
  4429. with (drop not variant);
  4430. ",
  4431. "f"
  4432. );
  4433. insert into sysbldobjdepends
  4434. (
  4435. bld_id,
  4436. obj_kind,
  4437. obj_signature,
  4438. obj_owner,
  4439. need_obj_kind,
  4440. need_obj_signature,
  4441. need_obj_owner)
  4442. values
  4443. (
  4444. "%SYSBLDNAME%",
  4445. 86, "Alter-Variant-CalendarError (lvarchar,lvarchar)",
  4446. "%SYSBLDUSER%",
  4447. 6, "CalendarError (lvarchar,lvarchar)",
  4448. "%SYSBLDUSER%"
  4449. );
  4450. insert into sysbldobjects
  4451. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4452. create_can_fail, drop_sql, drop_can_fail)
  4453. values
  4454. (
  4455. "%SYSBLDNAME%", 70, "CalendarError (lvarchar,lvarchar)",
  4456. "%SYSBLDUSER%", 0,
  4457. "grant execute on procedure CalendarError (lvarchar,lvarchar) to public;
  4458. ",
  4459. "f",
  4460. "",
  4461. "f"
  4462. );
  4463. insert into sysbldobjdepends
  4464. (
  4465. bld_id,
  4466. obj_kind,
  4467. obj_signature,
  4468. obj_owner,
  4469. need_obj_kind,
  4470. need_obj_signature,
  4471. need_obj_owner)
  4472. values
  4473. (
  4474. "%SYSBLDNAME%",
  4475. 70, "CalendarError (lvarchar,lvarchar)",
  4476. "%SYSBLDUSER%",
  4477. 6, "CalendarError (lvarchar,lvarchar)",
  4478. "%SYSBLDUSER%"
  4479. );
  4480. insert into sysbldobjects
  4481. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4482. create_can_fail, drop_sql, drop_can_fail)
  4483. values
  4484. (
  4485. "%SYSBLDNAME%", 6, "CalNameCheck (lvarchar)",
  4486. "%SYSBLDUSER%", 0,
  4487. "create procedure CalNameCheck (lvarchar)
  4488. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_name_sql)"" language c;
  4489. ",
  4490. "f",
  4491. "drop procedure CalNameCheck (lvarchar);
  4492. ",
  4493. "f"
  4494. );
  4495. insert into sysbldobjects
  4496. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4497. create_can_fail, drop_sql, drop_can_fail)
  4498. values
  4499. (
  4500. "%SYSBLDNAME%", 182, "Alter-ExternalName-CalNameCheck (lvarchar)",
  4501. "%SYSBLDUSER%", 0,
  4502. "alter procedure CalNameCheck (lvarchar)
  4503. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_name_sql)"");
  4504. ",
  4505. "f",
  4506. "alter procedure CalNameCheck (lvarchar)
  4507. with (Modify External Name = ""ts_check_name_sql"");
  4508. ",
  4509. "f"
  4510. );
  4511. insert into sysbldobjdepends
  4512. (
  4513. bld_id,
  4514. obj_kind,
  4515. obj_signature,
  4516. obj_owner,
  4517. need_obj_kind,
  4518. need_obj_signature,
  4519. need_obj_owner)
  4520. values
  4521. (
  4522. "%SYSBLDNAME%",
  4523. 182, "Alter-ExternalName-CalNameCheck (lvarchar)",
  4524. "%SYSBLDUSER%",
  4525. 6, "CalNameCheck (lvarchar)",
  4526. "%SYSBLDUSER%"
  4527. );
  4528. insert into sysbldobjects
  4529. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4530. create_can_fail, drop_sql, drop_can_fail)
  4531. values
  4532. (
  4533. "%SYSBLDNAME%", 86, "Alter-Variant-CalNameCheck (lvarchar)",
  4534. "%SYSBLDUSER%", 0,
  4535. "alter procedure CalNameCheck (lvarchar)
  4536. with (add not variant);
  4537. ",
  4538. "f",
  4539. "alter procedure CalNameCheck (lvarchar)
  4540. with (drop not variant);
  4541. ",
  4542. "f"
  4543. );
  4544. insert into sysbldobjdepends
  4545. (
  4546. bld_id,
  4547. obj_kind,
  4548. obj_signature,
  4549. obj_owner,
  4550. need_obj_kind,
  4551. need_obj_signature,
  4552. need_obj_owner)
  4553. values
  4554. (
  4555. "%SYSBLDNAME%",
  4556. 86, "Alter-Variant-CalNameCheck (lvarchar)",
  4557. "%SYSBLDUSER%",
  4558. 6, "CalNameCheck (lvarchar)",
  4559. "%SYSBLDUSER%"
  4560. );
  4561. insert into sysbldobjects
  4562. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4563. create_can_fail, drop_sql, drop_can_fail)
  4564. values
  4565. (
  4566. "%SYSBLDNAME%", 70, "CalNameCheck (lvarchar)",
  4567. "%SYSBLDUSER%", 0,
  4568. "grant execute on procedure CalNameCheck (lvarchar) to public;
  4569. ",
  4570. "f",
  4571. "",
  4572. "f"
  4573. );
  4574. insert into sysbldobjdepends
  4575. (
  4576. bld_id,
  4577. obj_kind,
  4578. obj_signature,
  4579. obj_owner,
  4580. need_obj_kind,
  4581. need_obj_signature,
  4582. need_obj_owner)
  4583. values
  4584. (
  4585. "%SYSBLDNAME%",
  4586. 70, "CalNameCheck (lvarchar)",
  4587. "%SYSBLDUSER%",
  4588. 6, "CalNameCheck (lvarchar)",
  4589. "%SYSBLDUSER%"
  4590. );
  4591. insert into sysbldobjects
  4592. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4593. create_can_fail, drop_sql, drop_can_fail)
  4594. values
  4595. (
  4596. "%SYSBLDNAME%", 0, "CalendarTableTriggers",
  4597. "%SYSBLDUSER%", 0,
  4598. "create trigger CalendarIns
  4599. insert on CalendarTable
  4600. referencing new as calendar
  4601. for each row
  4602. (execute procedure CalNameCheck( calendar.c_name));
  4603. create trigger CalendarDelete
  4604. delete on CalendarTable
  4605. referencing old as calendar
  4606. for each row when (calendar.c_refcount > 0
  4607. or exists( select id from tsinstancetable
  4608. where cal_id = calendar.c_id))
  4609. (execute procedure CalendarError('UTSA6', calendar.c_name))
  4610. after (execute procedure CalendarCacheDel());
  4611. create trigger CalendarNameUpd
  4612. update of c_name, c_calendar on CalendarTable
  4613. referencing old as old_calendar
  4614. new as new_calendar
  4615. for each row
  4616. when (old_calendar.c_refcount > 0
  4617. or exists( select id from tsinstancetable
  4618. where cal_id = old_calendar.c_id))
  4619. (execute procedure CalendarError('UTSA7', old_calendar.c_name)),
  4620. (execute procedure CalNameCheck( new_calendar.c_name))
  4621. after (execute procedure CalendarCacheDel());
  4622. create trigger CalendarRefUpd
  4623. update of c_refcount on CalendarTable
  4624. referencing old as origcalendar
  4625. new as newcalendar
  4626. for each row when (origcalendar.c_refcount > 0 and
  4627. origcalendar.c_refcount <> newcalendar.c_refcount + 1 and
  4628. origcalendar.c_refcount <> newcalendar.c_refcount - 1)
  4629. (execute procedure CalendarError('UTSA7', origcalendar.c_name));
  4630. ",
  4631. "f",
  4632. "drop trigger CalendarDelete;
  4633. drop trigger CalendarNameUpd;
  4634. drop trigger CalendarRefUpd;
  4635. drop trigger CalendarIns;
  4636. ",
  4637. "f"
  4638. );
  4639. insert into sysbldobjdepends
  4640. (
  4641. bld_id,
  4642. obj_kind,
  4643. obj_signature,
  4644. obj_owner,
  4645. need_obj_kind,
  4646. need_obj_signature,
  4647. need_obj_owner)
  4648. values
  4649. (
  4650. "%SYSBLDNAME%",
  4651. 0, "CalendarTableTriggers",
  4652. "%SYSBLDUSER%",
  4653. 6, "CalendarCacheDel ()",
  4654. "%SYSBLDUSER%"
  4655. );
  4656. insert into sysbldobjdepends
  4657. (
  4658. bld_id,
  4659. obj_kind,
  4660. obj_signature,
  4661. obj_owner,
  4662. need_obj_kind,
  4663. need_obj_signature,
  4664. need_obj_owner)
  4665. values
  4666. (
  4667. "%SYSBLDNAME%",
  4668. 0, "CalendarTableTriggers",
  4669. "%SYSBLDUSER%",
  4670. 6, "CalendarError (lvarchar,lvarchar)",
  4671. "%SYSBLDUSER%"
  4672. );
  4673. insert into sysbldobjdepends
  4674. (
  4675. bld_id,
  4676. obj_kind,
  4677. obj_signature,
  4678. obj_owner,
  4679. need_obj_kind,
  4680. need_obj_signature,
  4681. need_obj_owner)
  4682. values
  4683. (
  4684. "%SYSBLDNAME%",
  4685. 0, "CalendarTableTriggers",
  4686. "%SYSBLDUSER%",
  4687. 0, "CalendarTable",
  4688. "%SYSBLDUSER%"
  4689. );
  4690. insert into sysbldobjdepends
  4691. (
  4692. bld_id,
  4693. obj_kind,
  4694. obj_signature,
  4695. obj_owner,
  4696. need_obj_kind,
  4697. need_obj_signature,
  4698. need_obj_owner)
  4699. values
  4700. (
  4701. "%SYSBLDNAME%",
  4702. 0, "CalendarTableTriggers",
  4703. "%SYSBLDUSER%",
  4704. 6, "CalNameCheck (lvarchar)",
  4705. "%SYSBLDUSER%"
  4706. );
  4707. insert into sysbldobjdepends
  4708. (
  4709. bld_id,
  4710. obj_kind,
  4711. obj_signature,
  4712. obj_owner,
  4713. need_obj_kind,
  4714. need_obj_signature,
  4715. need_obj_owner)
  4716. values
  4717. (
  4718. "%SYSBLDNAME%",
  4719. 0, "CalendarTableTriggers",
  4720. "%SYSBLDUSER%",
  4721. 80, "Alter-Variant-CalendarCacheDel ()",
  4722. "%SYSBLDUSER%"
  4723. );
  4724. insert into sysbldobjdepends
  4725. (
  4726. bld_id,
  4727. obj_kind,
  4728. obj_signature,
  4729. obj_owner,
  4730. need_obj_kind,
  4731. need_obj_signature,
  4732. need_obj_owner)
  4733. values
  4734. (
  4735. "%SYSBLDNAME%",
  4736. 0, "CalendarTableTriggers",
  4737. "%SYSBLDUSER%",
  4738. 140, "Alter-PerCallStack-CalendarCacheDel ()",
  4739. "%SYSBLDUSER%"
  4740. );
  4741. insert into sysbldobjdepends
  4742. (
  4743. bld_id,
  4744. obj_kind,
  4745. obj_signature,
  4746. obj_owner,
  4747. need_obj_kind,
  4748. need_obj_signature,
  4749. need_obj_owner)
  4750. values
  4751. (
  4752. "%SYSBLDNAME%",
  4753. 0, "CalendarTableTriggers",
  4754. "%SYSBLDUSER%",
  4755. 140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
  4756. "%SYSBLDUSER%"
  4757. );
  4758. insert into sysbldobjdepends
  4759. (
  4760. bld_id,
  4761. obj_kind,
  4762. obj_signature,
  4763. obj_owner,
  4764. need_obj_kind,
  4765. need_obj_signature,
  4766. need_obj_owner)
  4767. values
  4768. (
  4769. "%SYSBLDNAME%",
  4770. 0, "CalendarTableTriggers",
  4771. "%SYSBLDUSER%",
  4772. 140, "Alter-PerCallStack-CalNameCheck (lvarchar)",
  4773. "%SYSBLDUSER%"
  4774. );
  4775. insert into sysbldobjects
  4776. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4777. create_can_fail, drop_sql, drop_can_fail)
  4778. values
  4779. (
  4780. "%SYSBLDNAME%", 5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4781. "%SYSBLDUSER%", 0,
  4782. "create function Update (tsPartitionDesc_t,tsPartitionDesc_t)
  4783. returns tsPartitionDesc_t
  4784. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_update)"" language c;
  4785. ",
  4786. "f",
  4787. "drop function Update (tsPartitionDesc_t,tsPartitionDesc_t);
  4788. ",
  4789. "f"
  4790. );
  4791. insert into sysbldobjdepends
  4792. (
  4793. bld_id,
  4794. obj_kind,
  4795. obj_signature,
  4796. obj_owner,
  4797. need_obj_kind,
  4798. need_obj_signature,
  4799. need_obj_owner)
  4800. values
  4801. (
  4802. "%SYSBLDNAME%",
  4803. 5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4804. "%SYSBLDUSER%",
  4805. 7, "tsPartitionDesc_t",
  4806. "%SYSBLDUSER%"
  4807. );
  4808. insert into sysbldobjects
  4809. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4810. create_can_fail, drop_sql, drop_can_fail)
  4811. values
  4812. (
  4813. "%SYSBLDNAME%", 69, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4814. "%SYSBLDUSER%", 0,
  4815. "grant execute on function Update (tsPartitionDesc_t,tsPartitionDesc_t) to public;
  4816. ",
  4817. "f",
  4818. "",
  4819. "f"
  4820. );
  4821. insert into sysbldobjdepends
  4822. (
  4823. bld_id,
  4824. obj_kind,
  4825. obj_signature,
  4826. obj_owner,
  4827. need_obj_kind,
  4828. need_obj_signature,
  4829. need_obj_owner)
  4830. values
  4831. (
  4832. "%SYSBLDNAME%",
  4833. 69, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4834. "%SYSBLDUSER%",
  4835. 5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4836. "%SYSBLDUSER%"
  4837. );
  4838. insert into sysbldobjects
  4839. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4840. create_can_fail, drop_sql, drop_can_fail)
  4841. values
  4842. (
  4843. "%SYSBLDNAME%", 0, "tscontainertable_triggers",
  4844. "%SYSBLDUSER%", 0,
  4845. "create trigger TsContainerUpd
  4846. update of name, subtype on tscontainertable
  4847. referencing old as container
  4848. for each row
  4849. (execute procedure CalendarError('UTSD0', container.name::lvarchar));
  4850. create trigger TsContainerDel
  4851. delete on tscontainertable
  4852. referencing old as container
  4853. for each row when (exists (select id from tsinstancetable
  4854. where container_name = container.name ))
  4855. (execute procedure CalendarError('UTSDA', container.name::lvarchar));
  4856. ",
  4857. "f",
  4858. "drop trigger TsContainerUpd;
  4859. drop trigger TsContainerDel;
  4860. ",
  4861. "f"
  4862. );
  4863. insert into sysbldobjdepends
  4864. (
  4865. bld_id,
  4866. obj_kind,
  4867. obj_signature,
  4868. obj_owner,
  4869. need_obj_kind,
  4870. need_obj_signature,
  4871. need_obj_owner)
  4872. values
  4873. (
  4874. "%SYSBLDNAME%",
  4875. 0, "tscontainertable_triggers",
  4876. "%SYSBLDUSER%",
  4877. 6, "CalendarError (lvarchar,lvarchar)",
  4878. "%SYSBLDUSER%"
  4879. );
  4880. insert into sysbldobjdepends
  4881. (
  4882. bld_id,
  4883. obj_kind,
  4884. obj_signature,
  4885. obj_owner,
  4886. need_obj_kind,
  4887. need_obj_signature,
  4888. need_obj_owner)
  4889. values
  4890. (
  4891. "%SYSBLDNAME%",
  4892. 0, "tscontainertable_triggers",
  4893. "%SYSBLDUSER%",
  4894. 0, "tscontainertable",
  4895. "%SYSBLDUSER%"
  4896. );
  4897. insert into sysbldobjdepends
  4898. (
  4899. bld_id,
  4900. obj_kind,
  4901. obj_signature,
  4902. obj_owner,
  4903. need_obj_kind,
  4904. need_obj_signature,
  4905. need_obj_owner)
  4906. values
  4907. (
  4908. "%SYSBLDNAME%",
  4909. 0, "tscontainertable_triggers",
  4910. "%SYSBLDUSER%",
  4911. 5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4912. "%SYSBLDUSER%"
  4913. );
  4914. insert into sysbldobjdepends
  4915. (
  4916. bld_id,
  4917. obj_kind,
  4918. obj_signature,
  4919. obj_owner,
  4920. need_obj_kind,
  4921. need_obj_signature,
  4922. need_obj_owner)
  4923. values
  4924. (
  4925. "%SYSBLDNAME%",
  4926. 0, "tscontainertable_triggers",
  4927. "%SYSBLDUSER%",
  4928. 140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
  4929. "%SYSBLDUSER%"
  4930. );
  4931. insert into sysbldobjdepends
  4932. (
  4933. bld_id,
  4934. obj_kind,
  4935. obj_signature,
  4936. obj_owner,
  4937. need_obj_kind,
  4938. need_obj_signature,
  4939. need_obj_owner)
  4940. values
  4941. (
  4942. "%SYSBLDNAME%",
  4943. 0, "tscontainertable_triggers",
  4944. "%SYSBLDUSER%",
  4945. 80, "Alter-Variant-Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4946. "%SYSBLDUSER%"
  4947. );
  4948. insert into sysbldobjdepends
  4949. (
  4950. bld_id,
  4951. obj_kind,
  4952. obj_signature,
  4953. obj_owner,
  4954. need_obj_kind,
  4955. need_obj_signature,
  4956. need_obj_owner)
  4957. values
  4958. (
  4959. "%SYSBLDNAME%",
  4960. 0, "tscontainertable_triggers",
  4961. "%SYSBLDUSER%",
  4962. 140, "Alter-PerCallStack-Update (tsPartitionDesc_t,tsPartitionDesc_t)",
  4963. "%SYSBLDUSER%"
  4964. );
  4965. insert into sysbldobjects
  4966. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4967. create_can_fail, drop_sql, drop_can_fail)
  4968. values
  4969. (
  4970. "%SYSBLDNAME%", 0, "tsinstancetable_triggers",
  4971. "%SYSBLDUSER%", 0,
  4972. "create trigger TsInstanceDelete
  4973. delete on tsinstancetable
  4974. referencing old as instance
  4975. for each row when (instance.ref_count > 0)
  4976. (execute procedure CalendarError('UTSDA', instance.container_name));
  4977. create trigger TsInstanceNameUpd
  4978. update of container_name on tsinstancetable
  4979. referencing old as instance
  4980. for each row
  4981. (execute procedure CalendarError('UTSDB', instance.container_name));
  4982. create trigger TsInstanceRefUpd
  4983. update of ref_count on tsinstancetable
  4984. referencing old as originstance
  4985. new as newinstance
  4986. for each row when (originstance.ref_count > 0 and
  4987. originstance.ref_count <> newinstance.ref_count + 1 and
  4988. originstance.ref_count <> newinstance.ref_count - 1)
  4989. (execute procedure CalendarError('UTSDC', originstance.container_name));
  4990. ",
  4991. "f",
  4992. "drop trigger TsInstanceDelete;
  4993. drop trigger TsInstanceNameUpd;
  4994. drop trigger TsInstanceRefUpd;
  4995. ",
  4996. "f"
  4997. );
  4998. insert into sysbldobjdepends
  4999. (
  5000. bld_id,
  5001. obj_kind,
  5002. obj_signature,
  5003. obj_owner,
  5004. need_obj_kind,
  5005. need_obj_signature,
  5006. need_obj_owner)
  5007. values
  5008. (
  5009. "%SYSBLDNAME%",
  5010. 0, "tsinstancetable_triggers",
  5011. "%SYSBLDUSER%",
  5012. 6, "CalendarError (lvarchar,lvarchar)",
  5013. "%SYSBLDUSER%"
  5014. );
  5015. insert into sysbldobjdepends
  5016. (
  5017. bld_id,
  5018. obj_kind,
  5019. obj_signature,
  5020. obj_owner,
  5021. need_obj_kind,
  5022. need_obj_signature,
  5023. need_obj_owner)
  5024. values
  5025. (
  5026. "%SYSBLDNAME%",
  5027. 0, "tsinstancetable_triggers",
  5028. "%SYSBLDUSER%",
  5029. 0, "tsinstancetable",
  5030. "%SYSBLDUSER%"
  5031. );
  5032. insert into sysbldobjdepends
  5033. (
  5034. bld_id,
  5035. obj_kind,
  5036. obj_signature,
  5037. obj_owner,
  5038. need_obj_kind,
  5039. need_obj_signature,
  5040. need_obj_owner)
  5041. values
  5042. (
  5043. "%SYSBLDNAME%",
  5044. 0, "tsinstancetable_triggers",
  5045. "%SYSBLDUSER%",
  5046. 140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
  5047. "%SYSBLDUSER%"
  5048. );
  5049. insert into sysbldobjects
  5050. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5051. create_can_fail, drop_sql, drop_can_fail)
  5052. values
  5053. (
  5054. "%SYSBLDNAME%", 0, "CalendarPattTriggers",
  5055. "%SYSBLDUSER%", 0,
  5056. "create trigger CalPattIns
  5057. insert on CalendarPatterns
  5058. referencing new as pattern
  5059. for each row
  5060. (execute procedure CalNameCheck( pattern.cp_name));
  5061. create trigger CalPattNameUpd
  5062. update of cp_name on CalendarPatterns
  5063. referencing new as new_pattern
  5064. for each row
  5065. (execute procedure CalNameCheck( new_pattern.cp_name));
  5066. ",
  5067. "f",
  5068. "drop trigger CalPattIns;
  5069. drop trigger CalPattNameUpd;
  5070. ",
  5071. "f"
  5072. );
  5073. insert into sysbldobjdepends
  5074. (
  5075. bld_id,
  5076. obj_kind,
  5077. obj_signature,
  5078. obj_owner,
  5079. need_obj_kind,
  5080. need_obj_signature,
  5081. need_obj_owner)
  5082. values
  5083. (
  5084. "%SYSBLDNAME%",
  5085. 0, "CalendarPattTriggers",
  5086. "%SYSBLDUSER%",
  5087. 0, "CalendarPattern Table",
  5088. "%SYSBLDUSER%"
  5089. );
  5090. insert into sysbldobjdepends
  5091. (
  5092. bld_id,
  5093. obj_kind,
  5094. obj_signature,
  5095. obj_owner,
  5096. need_obj_kind,
  5097. need_obj_signature,
  5098. need_obj_owner)
  5099. values
  5100. (
  5101. "%SYSBLDNAME%",
  5102. 0, "CalendarPattTriggers",
  5103. "%SYSBLDUSER%",
  5104. 6, "CalNameCheck (lvarchar)",
  5105. "%SYSBLDUSER%"
  5106. );
  5107. insert into sysbldobjdepends
  5108. (
  5109. bld_id,
  5110. obj_kind,
  5111. obj_signature,
  5112. obj_owner,
  5113. need_obj_kind,
  5114. need_obj_signature,
  5115. need_obj_owner)
  5116. values
  5117. (
  5118. "%SYSBLDNAME%",
  5119. 0, "CalendarPattTriggers",
  5120. "%SYSBLDUSER%",
  5121. 140, "Alter-PerCallStack-CalNameCheck (lvarchar)",
  5122. "%SYSBLDUSER%"
  5123. );
  5124. insert into sysbldobjects
  5125. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5126. create_can_fail, drop_sql, drop_can_fail)
  5127. values
  5128. (
  5129. "%SYSBLDNAME%", 5, "GetPartitionDesc (tsPartitionDesc_t)",
  5130. "%SYSBLDUSER%", 0,
  5131. "create function GetPartitionDesc (tsPartitionDesc_t)
  5132. returns integer with (not variant)
  5133. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_partition_sql)"" language c;
  5134. ",
  5135. "f",
  5136. "drop function GetPartitionDesc (tsPartitionDesc_t);
  5137. ",
  5138. "f"
  5139. );
  5140. insert into sysbldobjdepends
  5141. (
  5142. bld_id,
  5143. obj_kind,
  5144. obj_signature,
  5145. obj_owner,
  5146. need_obj_kind,
  5147. need_obj_signature,
  5148. need_obj_owner)
  5149. values
  5150. (
  5151. "%SYSBLDNAME%",
  5152. 5, "GetPartitionDesc (tsPartitionDesc_t)",
  5153. "%SYSBLDUSER%",
  5154. 7, "tsPartitionDesc_t",
  5155. "%SYSBLDUSER%"
  5156. );
  5157. insert into sysbldobjects
  5158. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5159. create_can_fail, drop_sql, drop_can_fail)
  5160. values
  5161. (
  5162. "%SYSBLDNAME%", 69, "GetPartitionDesc (tsPartitionDesc_t)",
  5163. "%SYSBLDUSER%", 0,
  5164. "grant execute on function GetPartitionDesc (tsPartitionDesc_t) to public;
  5165. ",
  5166. "f",
  5167. "",
  5168. "f"
  5169. );
  5170. insert into sysbldobjdepends
  5171. (
  5172. bld_id,
  5173. obj_kind,
  5174. obj_signature,
  5175. obj_owner,
  5176. need_obj_kind,
  5177. need_obj_signature,
  5178. need_obj_owner)
  5179. values
  5180. (
  5181. "%SYSBLDNAME%",
  5182. 69, "GetPartitionDesc (tsPartitionDesc_t)",
  5183. "%SYSBLDUSER%",
  5184. 5, "GetPartitionDesc (tsPartitionDesc_t)",
  5185. "%SYSBLDUSER%"
  5186. );
  5187. insert into sysbldobjects
  5188. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5189. create_can_fail, drop_sql, drop_can_fail)
  5190. values
  5191. (
  5192. "%SYSBLDNAME%", 0, "tscontainertable_128",
  5193. "%SYSBLDUSER%", 0,
  5194. "ALTER TABLE tscontainertable
  5195. MODIFY (name VARCHAR(128, 1) NOT NULL PRIMARY KEY,
  5196. subtype VARCHAR(128,1) NOT NULL);
  5197. ",
  5198. "f",
  5199. "ALTER TABLE TSContainerTable
  5200. MODIFY (name VARCHAR(128, 1) NOT NULL PRIMARY KEY,
  5201. subtype VARCHAR(128,1) NOT NULL);
  5202. ",
  5203. "f"
  5204. );
  5205. insert into sysbldobjdepends
  5206. (
  5207. bld_id,
  5208. obj_kind,
  5209. obj_signature,
  5210. obj_owner,
  5211. need_obj_kind,
  5212. need_obj_signature,
  5213. need_obj_owner)
  5214. values
  5215. (
  5216. "%SYSBLDNAME%",
  5217. 0, "tscontainertable_128",
  5218. "%SYSBLDUSER%",
  5219. 5, "GetPartitionDesc (tsPartitionDesc_t)",
  5220. "%SYSBLDUSER%"
  5221. );
  5222. insert into sysbldobjdepends
  5223. (
  5224. bld_id,
  5225. obj_kind,
  5226. obj_signature,
  5227. obj_owner,
  5228. need_obj_kind,
  5229. need_obj_signature,
  5230. need_obj_owner)
  5231. values
  5232. (
  5233. "%SYSBLDNAME%",
  5234. 0, "tscontainertable_128",
  5235. "%SYSBLDUSER%",
  5236. 0, "tscontainertable",
  5237. "%SYSBLDUSER%"
  5238. );
  5239. insert into sysbldobjdepends
  5240. (
  5241. bld_id,
  5242. obj_kind,
  5243. obj_signature,
  5244. obj_owner,
  5245. need_obj_kind,
  5246. need_obj_signature,
  5247. need_obj_owner)
  5248. values
  5249. (
  5250. "%SYSBLDNAME%",
  5251. 0, "tscontainertable_128",
  5252. "%SYSBLDUSER%",
  5253. 0, "tscontainertable_triggers",
  5254. "%SYSBLDUSER%"
  5255. );
  5256. insert into sysbldobjdepends
  5257. (
  5258. bld_id,
  5259. obj_kind,
  5260. obj_signature,
  5261. obj_owner,
  5262. need_obj_kind,
  5263. need_obj_signature,
  5264. need_obj_owner)
  5265. values
  5266. (
  5267. "%SYSBLDNAME%",
  5268. 0, "tscontainertable_128",
  5269. "%SYSBLDUSER%",
  5270. 140, "Alter-PerCallStack-GetPartitionDesc (tsPartitionDesc_t)",
  5271. "%SYSBLDUSER%"
  5272. );
  5273. insert into sysbldobjects
  5274. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5275. create_can_fail, drop_sql, drop_can_fail)
  5276. values
  5277. (
  5278. "%SYSBLDNAME%", 0, "tsinstancetable_128",
  5279. "%SYSBLDUSER%", 0,
  5280. "ALTER TABLE tsinstancetable
  5281. MODIFY (container_name VARCHAR(128, 1));
  5282. ",
  5283. "f",
  5284. "ALTER TABLE tsinstancetable
  5285. MODIFY (container_name VARCHAR(128, 1));
  5286. ",
  5287. "f"
  5288. );
  5289. insert into sysbldobjdepends
  5290. (
  5291. bld_id,
  5292. obj_kind,
  5293. obj_signature,
  5294. obj_owner,
  5295. need_obj_kind,
  5296. need_obj_signature,
  5297. need_obj_owner)
  5298. values
  5299. (
  5300. "%SYSBLDNAME%",
  5301. 0, "tsinstancetable_128",
  5302. "%SYSBLDUSER%",
  5303. 0, "tsinstancetable",
  5304. "%SYSBLDUSER%"
  5305. );
  5306. insert into sysbldobjdepends
  5307. (
  5308. bld_id,
  5309. obj_kind,
  5310. obj_signature,
  5311. obj_owner,
  5312. need_obj_kind,
  5313. need_obj_signature,
  5314. need_obj_owner)
  5315. values
  5316. (
  5317. "%SYSBLDNAME%",
  5318. 0, "tsinstancetable_128",
  5319. "%SYSBLDUSER%",
  5320. 0, "tsinstancetable_triggers",
  5321. "%SYSBLDUSER%"
  5322. );
  5323. insert into sysbldobjects
  5324. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5325. create_can_fail, drop_sql, drop_can_fail)
  5326. values
  5327. (
  5328. "%SYSBLDNAME%", 0, "tscontainertable_pool",
  5329. "%SYSBLDUSER%", 0,
  5330. "ALTER TABLE tscontainertable ADD pool VARCHAR(128,1);
  5331. ",
  5332. "f",
  5333. "ALTER TABLE tscontainertable DROP pool;
  5334. ",
  5335. "f"
  5336. );
  5337. insert into sysbldobjdepends
  5338. (
  5339. bld_id,
  5340. obj_kind,
  5341. obj_signature,
  5342. obj_owner,
  5343. need_obj_kind,
  5344. need_obj_signature,
  5345. need_obj_owner)
  5346. values
  5347. (
  5348. "%SYSBLDNAME%",
  5349. 0, "tscontainertable_pool",
  5350. "%SYSBLDUSER%",
  5351. 0, "tscontainertable",
  5352. "%SYSBLDUSER%"
  5353. );
  5354. insert into sysbldobjects
  5355. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5356. create_can_fail, drop_sql, drop_can_fail)
  5357. values
  5358. (
  5359. "%SYSBLDNAME%", 5, "Assign (Calendar)",
  5360. "%SYSBLDUSER%", 0,
  5361. "create function Assign (Calendar)
  5362. returns Calendar with (not variant)
  5363. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_assign)"" language c;
  5364. ",
  5365. "f",
  5366. "drop function Assign (Calendar);
  5367. ",
  5368. "f"
  5369. );
  5370. insert into sysbldobjdepends
  5371. (
  5372. bld_id,
  5373. obj_kind,
  5374. obj_signature,
  5375. obj_owner,
  5376. need_obj_kind,
  5377. need_obj_signature,
  5378. need_obj_owner)
  5379. values
  5380. (
  5381. "%SYSBLDNAME%",
  5382. 5, "Assign (Calendar)",
  5383. "%SYSBLDUSER%",
  5384. 7, "Calendar",
  5385. "%SYSBLDUSER%"
  5386. );
  5387. insert into sysbldobjects
  5388. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5389. create_can_fail, drop_sql, drop_can_fail)
  5390. values
  5391. (
  5392. "%SYSBLDNAME%", 181, "Alter-ExternalName-Assign (Calendar)",
  5393. "%SYSBLDUSER%", 0,
  5394. "alter function Assign (Calendar)
  5395. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_assign)"");
  5396. ",
  5397. "f",
  5398. "alter function Assign (Calendar)
  5399. with (Modify External Name = ""ts_cal_assign"");
  5400. ",
  5401. "f"
  5402. );
  5403. insert into sysbldobjdepends
  5404. (
  5405. bld_id,
  5406. obj_kind,
  5407. obj_signature,
  5408. obj_owner,
  5409. need_obj_kind,
  5410. need_obj_signature,
  5411. need_obj_owner)
  5412. values
  5413. (
  5414. "%SYSBLDNAME%",
  5415. 181, "Alter-ExternalName-Assign (Calendar)",
  5416. "%SYSBLDUSER%",
  5417. 5, "Assign (Calendar)",
  5418. "%SYSBLDUSER%"
  5419. );
  5420. insert into sysbldobjects
  5421. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5422. create_can_fail, drop_sql, drop_can_fail)
  5423. values
  5424. (
  5425. "%SYSBLDNAME%", 69, "Assign (Calendar)",
  5426. "%SYSBLDUSER%", 0,
  5427. "grant execute on function Assign (Calendar) to public;
  5428. ",
  5429. "f",
  5430. "",
  5431. "f"
  5432. );
  5433. insert into sysbldobjdepends
  5434. (
  5435. bld_id,
  5436. obj_kind,
  5437. obj_signature,
  5438. obj_owner,
  5439. need_obj_kind,
  5440. need_obj_signature,
  5441. need_obj_owner)
  5442. values
  5443. (
  5444. "%SYSBLDNAME%",
  5445. 69, "Assign (Calendar)",
  5446. "%SYSBLDUSER%",
  5447. 5, "Assign (Calendar)",
  5448. "%SYSBLDUSER%"
  5449. );
  5450. insert into sysbldobjects
  5451. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5452. create_can_fail, drop_sql, drop_can_fail)
  5453. values
  5454. (
  5455. "%SYSBLDNAME%", 0, "CalendarTable_predefined",
  5456. "%SYSBLDUSER%", 0,
  5457. "CREATE TEMP TABLE __TSTempCalendarTable (
  5458. c_name varchar(255) not null unique,
  5459. c_calendar Calendar not null
  5460. ) WITH NO LOG;
  5461. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5462. VALUES(""ts_1min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} minute)');
  5463. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5464. VALUES(""ts_15min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on, 14 off} minute)');
  5465. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5466. VALUES(""ts_30min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on, 29 off} minute)');
  5467. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5468. VALUES(""ts_1hour"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} hour)');
  5469. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5470. VALUES(""ts_1day"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} day)');
  5471. -- Week starts on Sunday
  5472. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5473. VALUES(""ts_1week"", 'pattstart(2011-01-02 00:00:00.00000), pattern({1 on} week)');
  5474. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5475. VALUES(""ts_1month"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} month)');
  5476. INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
  5477. VALUES(""ts_1year"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} year)');
  5478. MERGE INTO CalendarTable AS old USING __TSTempCalendarTable AS new
  5479. ON old.c_name = new.c_name
  5480. WHEN NOT MATCHED THEN INSERT (c_name, c_calendar)
  5481. VALUES (new.c_name, new.c_calendar);
  5482. DROP TABLE __TSTempCalendarTable;
  5483. ",
  5484. "f",
  5485. "-- No Drop Code
  5486. ",
  5487. "f"
  5488. );
  5489. insert into sysbldobjdepends
  5490. (
  5491. bld_id,
  5492. obj_kind,
  5493. obj_signature,
  5494. obj_owner,
  5495. need_obj_kind,
  5496. need_obj_signature,
  5497. need_obj_owner)
  5498. values
  5499. (
  5500. "%SYSBLDNAME%",
  5501. 0, "CalendarTable_predefined",
  5502. "%SYSBLDUSER%",
  5503. 5, "Assign (Calendar)",
  5504. "%SYSBLDUSER%"
  5505. );
  5506. insert into sysbldobjdepends
  5507. (
  5508. bld_id,
  5509. obj_kind,
  5510. obj_signature,
  5511. obj_owner,
  5512. need_obj_kind,
  5513. need_obj_signature,
  5514. need_obj_owner)
  5515. values
  5516. (
  5517. "%SYSBLDNAME%",
  5518. 0, "CalendarTable_predefined",
  5519. "%SYSBLDUSER%",
  5520. 7, "Calendar",
  5521. "%SYSBLDUSER%"
  5522. );
  5523. insert into sysbldobjdepends
  5524. (
  5525. bld_id,
  5526. obj_kind,
  5527. obj_signature,
  5528. obj_owner,
  5529. need_obj_kind,
  5530. need_obj_signature,
  5531. need_obj_owner)
  5532. values
  5533. (
  5534. "%SYSBLDNAME%",
  5535. 0, "CalendarTable_predefined",
  5536. "%SYSBLDUSER%",
  5537. 0, "CalendarTable",
  5538. "%SYSBLDUSER%"
  5539. );
  5540. insert into sysbldobjdepends
  5541. (
  5542. bld_id,
  5543. obj_kind,
  5544. obj_signature,
  5545. obj_owner,
  5546. need_obj_kind,
  5547. need_obj_signature,
  5548. need_obj_owner)
  5549. values
  5550. (
  5551. "%SYSBLDNAME%",
  5552. 0, "CalendarTable_predefined",
  5553. "%SYSBLDUSER%",
  5554. 0, "CalendarTableTriggers",
  5555. "%SYSBLDUSER%"
  5556. );
  5557. insert into sysbldobjdepends
  5558. (
  5559. bld_id,
  5560. obj_kind,
  5561. obj_signature,
  5562. obj_owner,
  5563. need_obj_kind,
  5564. need_obj_signature,
  5565. need_obj_owner)
  5566. values
  5567. (
  5568. "%SYSBLDNAME%",
  5569. 0, "CalendarTable_predefined",
  5570. "%SYSBLDUSER%",
  5571. 6, "Destroy (Calendar)",
  5572. "%SYSBLDUSER%"
  5573. );
  5574. insert into sysbldobjdepends
  5575. (
  5576. bld_id,
  5577. obj_kind,
  5578. obj_signature,
  5579. obj_owner,
  5580. need_obj_kind,
  5581. need_obj_signature,
  5582. need_obj_owner)
  5583. values
  5584. (
  5585. "%SYSBLDNAME%",
  5586. 0, "CalendarTable_predefined",
  5587. "%SYSBLDUSER%",
  5588. 140, "Alter-PerCallStack-Assign (Calendar)",
  5589. "%SYSBLDUSER%"
  5590. );
  5591. insert into sysbldobjdepends
  5592. (
  5593. bld_id,
  5594. obj_kind,
  5595. obj_signature,
  5596. obj_owner,
  5597. need_obj_kind,
  5598. need_obj_signature,
  5599. need_obj_owner)
  5600. values
  5601. (
  5602. "%SYSBLDNAME%",
  5603. 0, "CalendarTable_predefined",
  5604. "%SYSBLDUSER%",
  5605. 140, "Alter-PerCallStack-Destroy (Calendar)",
  5606. "%SYSBLDUSER%"
  5607. );
  5608. insert into sysbldobjects
  5609. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5610. create_can_fail, drop_sql, drop_can_fail)
  5611. values
  5612. (
  5613. "%SYSBLDNAME%", 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5614. "%SYSBLDUSER%", 0,
  5615. "create procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
  5616. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscontcache)"" language c;
  5617. ",
  5618. "f",
  5619. "drop procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int);
  5620. ",
  5621. "f"
  5622. );
  5623. insert into sysbldobjects
  5624. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5625. create_can_fail, drop_sql, drop_can_fail)
  5626. values
  5627. (
  5628. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
  5629. "%SYSBLDUSER%", 0,
  5630. "alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
  5631. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscontcache)"");
  5632. ",
  5633. "f",
  5634. "alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
  5635. with (Modify External Name = ""tsl_inscontcache"");
  5636. ",
  5637. "f"
  5638. );
  5639. insert into sysbldobjdepends
  5640. (
  5641. bld_id,
  5642. obj_kind,
  5643. obj_signature,
  5644. obj_owner,
  5645. need_obj_kind,
  5646. need_obj_signature,
  5647. need_obj_owner)
  5648. values
  5649. (
  5650. "%SYSBLDNAME%",
  5651. 182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
  5652. "%SYSBLDUSER%",
  5653. 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5654. "%SYSBLDUSER%"
  5655. );
  5656. insert into sysbldobjects
  5657. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5658. create_can_fail, drop_sql, drop_can_fail)
  5659. values
  5660. (
  5661. "%SYSBLDNAME%", 86, "Alter-Variant-TSL_InsContainerCache (varchar,varchar,int,int)",
  5662. "%SYSBLDUSER%", 0,
  5663. "alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
  5664. with (add not variant);
  5665. ",
  5666. "f",
  5667. "alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
  5668. with (drop not variant);
  5669. ",
  5670. "f"
  5671. );
  5672. insert into sysbldobjdepends
  5673. (
  5674. bld_id,
  5675. obj_kind,
  5676. obj_signature,
  5677. obj_owner,
  5678. need_obj_kind,
  5679. need_obj_signature,
  5680. need_obj_owner)
  5681. values
  5682. (
  5683. "%SYSBLDNAME%",
  5684. 86, "Alter-Variant-TSL_InsContainerCache (varchar,varchar,int,int)",
  5685. "%SYSBLDUSER%",
  5686. 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5687. "%SYSBLDUSER%"
  5688. );
  5689. insert into sysbldobjects
  5690. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5691. create_can_fail, drop_sql, drop_can_fail)
  5692. values
  5693. (
  5694. "%SYSBLDNAME%", 70, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5695. "%SYSBLDUSER%", 0,
  5696. "grant execute on procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int) to public;
  5697. ",
  5698. "f",
  5699. "",
  5700. "f"
  5701. );
  5702. insert into sysbldobjdepends
  5703. (
  5704. bld_id,
  5705. obj_kind,
  5706. obj_signature,
  5707. obj_owner,
  5708. need_obj_kind,
  5709. need_obj_signature,
  5710. need_obj_owner)
  5711. values
  5712. (
  5713. "%SYSBLDNAME%",
  5714. 70, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5715. "%SYSBLDUSER%",
  5716. 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5717. "%SYSBLDUSER%"
  5718. );
  5719. insert into sysbldobjects
  5720. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5721. create_can_fail, drop_sql, drop_can_fail)
  5722. values
  5723. (
  5724. "%SYSBLDNAME%", 0, "tscontainertable_instriggers_tsl",
  5725. "%SYSBLDUSER%", 0,
  5726. "-- force the new path
  5727. alter function GetPartitionDesc (tsPartitionDesc_t)
  5728. with (Modify External Name = '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_partition_sql)');
  5729. CREATE TRIGGER TSContainerIns INSERT ON tscontainertable
  5730. REFERENCING NEW as new
  5731. FOR EACH ROW (EXECUTE PROCEDURE TSL_InsContainerCache(new.subtype, new.name, new.flags, getpartitiondesc(new.partitiondesc)));
  5732. CREATE TRIGGER TSContainerUpdPF UPDATE OF partitiondesc,flags ON tscontainertable
  5733. REFERENCING NEW as new
  5734. FOR EACH ROW (EXECUTE PROCEDURE TSL_InsContainerCache(new.subtype, new.name, new.flags, getpartitiondesc(new.partitiondesc)));
  5735. ",
  5736. "f",
  5737. "CREATE PROCEDURE ts_temp_drop_trigger()
  5738. DEFINE cnt integer;
  5739. SELECT count(*) INTO cnt FROM SYSTRIGGERS WHERE
  5740. trim(trigname) = 'tscontainerins';
  5741. IF (cnt != 0) THEN
  5742. DROP TRIGGER tscontainerins;
  5743. END IF
  5744. SELECT count(*) INTO cnt FROM SYSTRIGGERS WHERE
  5745. trim(trigname) = 'tscontainerupdpf';
  5746. IF (cnt != 0) THEN
  5747. DROP TRIGGER tscontainerupdpf;
  5748. END IF
  5749. END PROCEDURE;
  5750. EXECUTE PROCEDURE ts_temp_drop_trigger();
  5751. DROP PROCEDURE ts_temp_drop_trigger();
  5752. ",
  5753. "f"
  5754. );
  5755. insert into sysbldobjdepends
  5756. (
  5757. bld_id,
  5758. obj_kind,
  5759. obj_signature,
  5760. obj_owner,
  5761. need_obj_kind,
  5762. need_obj_signature,
  5763. need_obj_owner)
  5764. values
  5765. (
  5766. "%SYSBLDNAME%",
  5767. 0, "tscontainertable_instriggers_tsl",
  5768. "%SYSBLDUSER%",
  5769. 5, "GetPartitionDesc (tsPartitionDesc_t)",
  5770. "%SYSBLDUSER%"
  5771. );
  5772. insert into sysbldobjdepends
  5773. (
  5774. bld_id,
  5775. obj_kind,
  5776. obj_signature,
  5777. obj_owner,
  5778. need_obj_kind,
  5779. need_obj_signature,
  5780. need_obj_owner)
  5781. values
  5782. (
  5783. "%SYSBLDNAME%",
  5784. 0, "tscontainertable_instriggers_tsl",
  5785. "%SYSBLDUSER%",
  5786. 0, "tscontainertable_pool",
  5787. "%SYSBLDUSER%"
  5788. );
  5789. insert into sysbldobjdepends
  5790. (
  5791. bld_id,
  5792. obj_kind,
  5793. obj_signature,
  5794. obj_owner,
  5795. need_obj_kind,
  5796. need_obj_signature,
  5797. need_obj_owner)
  5798. values
  5799. (
  5800. "%SYSBLDNAME%",
  5801. 0, "tscontainertable_instriggers_tsl",
  5802. "%SYSBLDUSER%",
  5803. 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
  5804. "%SYSBLDUSER%"
  5805. );
  5806. insert into sysbldobjdepends
  5807. (
  5808. bld_id,
  5809. obj_kind,
  5810. obj_signature,
  5811. obj_owner,
  5812. need_obj_kind,
  5813. need_obj_signature,
  5814. need_obj_owner)
  5815. values
  5816. (
  5817. "%SYSBLDNAME%",
  5818. 0, "tscontainertable_instriggers_tsl",
  5819. "%SYSBLDUSER%",
  5820. 140, "Alter-PerCallStack-GetPartitionDesc (tsPartitionDesc_t)",
  5821. "%SYSBLDUSER%"
  5822. );
  5823. insert into sysbldobjdepends
  5824. (
  5825. bld_id,
  5826. obj_kind,
  5827. obj_signature,
  5828. obj_owner,
  5829. need_obj_kind,
  5830. need_obj_signature,
  5831. need_obj_owner)
  5832. values
  5833. (
  5834. "%SYSBLDNAME%",
  5835. 0, "tscontainertable_instriggers_tsl",
  5836. "%SYSBLDUSER%",
  5837. 140, "Alter-PerCallStack-TSL_InsContainerCache (varchar,varchar,int,int)",
  5838. "%SYSBLDUSER%"
  5839. );
  5840. insert into sysbldobjdepends
  5841. (
  5842. bld_id,
  5843. obj_kind,
  5844. obj_signature,
  5845. obj_owner,
  5846. need_obj_kind,
  5847. need_obj_signature,
  5848. need_obj_owner)
  5849. values
  5850. (
  5851. "%SYSBLDNAME%",
  5852. 0, "tscontainertable_instriggers_tsl",
  5853. "%SYSBLDUSER%",
  5854. 182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
  5855. "%SYSBLDUSER%"
  5856. );
  5857. insert into sysbldobjects
  5858. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5859. create_can_fail, drop_sql, drop_can_fail)
  5860. values
  5861. (
  5862. "%SYSBLDNAME%", 5, "TSUpgradeContainers.%SYSBLDDIR%",
  5863. "%SYSBLDUSER%", 0,
  5864. "create function TSUpgradeContainers ()
  5865. returns integer with (not variant)
  5866. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upgrade_containers_sql)"" language c;
  5867. ",
  5868. "f",
  5869. "drop function TSUpgradeContainers ();
  5870. ",
  5871. "f"
  5872. );
  5873. insert into sysbldobjects
  5874. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5875. create_can_fail, drop_sql, drop_can_fail)
  5876. values
  5877. (
  5878. "%SYSBLDNAME%", 69, "TSUpgradeContainers ()",
  5879. "%SYSBLDUSER%", 0,
  5880. "grant execute on function TSUpgradeContainers () to public;
  5881. ",
  5882. "f",
  5883. "",
  5884. "f"
  5885. );
  5886. insert into sysbldobjdepends
  5887. (
  5888. bld_id,
  5889. obj_kind,
  5890. obj_signature,
  5891. obj_owner,
  5892. need_obj_kind,
  5893. need_obj_signature,
  5894. need_obj_owner)
  5895. values
  5896. (
  5897. "%SYSBLDNAME%",
  5898. 69, "TSUpgradeContainers ()",
  5899. "%SYSBLDUSER%",
  5900. 5, "TSUpgradeContainers.%SYSBLDDIR%",
  5901. "%SYSBLDUSER%"
  5902. );
  5903. insert into sysbldobjects
  5904. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5905. create_can_fail, drop_sql, drop_can_fail)
  5906. values
  5907. (
  5908. "%SYSBLDNAME%", 0, "tscontainerupgrade",
  5909. "%SYSBLDUSER%", 0,
  5910. "execute function TSUpgradeContainers();
  5911. ",
  5912. "f",
  5913. "
  5914. ",
  5915. "f"
  5916. );
  5917. insert into sysbldobjdepends
  5918. (
  5919. bld_id,
  5920. obj_kind,
  5921. obj_signature,
  5922. obj_owner,
  5923. need_obj_kind,
  5924. need_obj_signature,
  5925. need_obj_owner)
  5926. values
  5927. (
  5928. "%SYSBLDNAME%",
  5929. 0, "tscontainerupgrade",
  5930. "%SYSBLDUSER%",
  5931. 0, "tscontainertable_instriggers_tsl",
  5932. "%SYSBLDUSER%"
  5933. );
  5934. insert into sysbldobjdepends
  5935. (
  5936. bld_id,
  5937. obj_kind,
  5938. obj_signature,
  5939. obj_owner,
  5940. need_obj_kind,
  5941. need_obj_signature,
  5942. need_obj_owner)
  5943. values
  5944. (
  5945. "%SYSBLDNAME%",
  5946. 0, "tscontainerupgrade",
  5947. "%SYSBLDUSER%",
  5948. 0, "tscontainertable_pool",
  5949. "%SYSBLDUSER%"
  5950. );
  5951. insert into sysbldobjdepends
  5952. (
  5953. bld_id,
  5954. obj_kind,
  5955. obj_signature,
  5956. obj_owner,
  5957. need_obj_kind,
  5958. need_obj_signature,
  5959. need_obj_owner)
  5960. values
  5961. (
  5962. "%SYSBLDNAME%",
  5963. 0, "tscontainerupgrade",
  5964. "%SYSBLDUSER%",
  5965. 5, "TSUpgradeContainers.%SYSBLDDIR%",
  5966. "%SYSBLDUSER%"
  5967. );
  5968. insert into sysbldobjects
  5969. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5970. create_can_fail, drop_sql, drop_can_fail)
  5971. values
  5972. (
  5973. "%SYSBLDNAME%", 7, "TSContainerWindow_r",
  5974. "%SYSBLDUSER%", 0,
  5975. "create row type TSContainerWindow_r
  5976. (
  5977. tstamp datetime year to fraction(5),
  5978. partition tsPartitionDesc_t
  5979. );
  5980. ",
  5981. "f",
  5982. "drop row type TSContainerWindow_r restrict;
  5983. ",
  5984. "f"
  5985. );
  5986. insert into sysbldobjdepends
  5987. (
  5988. bld_id,
  5989. obj_kind,
  5990. obj_signature,
  5991. obj_owner,
  5992. need_obj_kind,
  5993. need_obj_signature,
  5994. need_obj_owner)
  5995. values
  5996. (
  5997. "%SYSBLDNAME%",
  5998. 7, "TSContainerWindow_r",
  5999. "%SYSBLDUSER%",
  6000. 7, "tsPartitionDesc_t",
  6001. "%SYSBLDUSER%"
  6002. );
  6003. insert into sysbldobjects
  6004. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6005. create_can_fail, drop_sql, drop_can_fail)
  6006. values
  6007. (
  6008. "%SYSBLDNAME%", 71, "TSContainerWindow_r",
  6009. "%SYSBLDUSER%", 0,
  6010. "grant usage on type TSContainerWindow_r to public;
  6011. ",
  6012. "f",
  6013. "",
  6014. "f"
  6015. );
  6016. insert into sysbldobjdepends
  6017. (
  6018. bld_id,
  6019. obj_kind,
  6020. obj_signature,
  6021. obj_owner,
  6022. need_obj_kind,
  6023. need_obj_signature,
  6024. need_obj_owner)
  6025. values
  6026. (
  6027. "%SYSBLDNAME%",
  6028. 71, "TSContainerWindow_r",
  6029. "%SYSBLDUSER%",
  6030. 7, "TSContainerWindow_r",
  6031. "%SYSBLDUSER%"
  6032. );
  6033. insert into sysbldobjects
  6034. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6035. create_can_fail, drop_sql, drop_can_fail)
  6036. values
  6037. (
  6038. "%SYSBLDNAME%", 0, "tsinstancetable_bigint",
  6039. "%SYSBLDUSER%", 0,
  6040. "ALTER TABLE tsinstancetable
  6041. MODIFY (id bigserial not null primary key);
  6042. ",
  6043. "f",
  6044. "ALTER TABLE tsinstancetable
  6045. MODIFY (id serial not null primary key);
  6046. ",
  6047. "f"
  6048. );
  6049. insert into sysbldobjdepends
  6050. (
  6051. bld_id,
  6052. obj_kind,
  6053. obj_signature,
  6054. obj_owner,
  6055. need_obj_kind,
  6056. need_obj_signature,
  6057. need_obj_owner)
  6058. values
  6059. (
  6060. "%SYSBLDNAME%",
  6061. 0, "tsinstancetable_bigint",
  6062. "%SYSBLDUSER%",
  6063. 0, "tsinstancetable",
  6064. "%SYSBLDUSER%"
  6065. );
  6066. insert into sysbldobjdepends
  6067. (
  6068. bld_id,
  6069. obj_kind,
  6070. obj_signature,
  6071. obj_owner,
  6072. need_obj_kind,
  6073. need_obj_signature,
  6074. need_obj_owner)
  6075. values
  6076. (
  6077. "%SYSBLDNAME%",
  6078. 0, "tsinstancetable_bigint",
  6079. "%SYSBLDUSER%",
  6080. 0, "tsinstancetable_128",
  6081. "%SYSBLDUSER%"
  6082. );
  6083. insert into sysbldobjdepends
  6084. (
  6085. bld_id,
  6086. obj_kind,
  6087. obj_signature,
  6088. obj_owner,
  6089. need_obj_kind,
  6090. need_obj_signature,
  6091. need_obj_owner)
  6092. values
  6093. (
  6094. "%SYSBLDNAME%",
  6095. 0, "tsinstancetable_bigint",
  6096. "%SYSBLDUSER%",
  6097. 0, "tsinstancetable_triggers",
  6098. "%SYSBLDUSER%"
  6099. );
  6100. insert into sysbldobjects
  6101. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6102. create_can_fail, drop_sql, drop_can_fail)
  6103. values
  6104. (
  6105. "%SYSBLDNAME%", 0, "tscontainerwindowtable",
  6106. "%SYSBLDUSER%", 0,
  6107. "
  6108. CREATE PROCEDURE tsdropcwt();
  6109. define drop_wt integer;
  6110. let drop_wt = 0;
  6111. select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';
  6112. if (drop_wt = 0) then
  6113. create table tscontainerwindowtable
  6114. (
  6115. name varchar(128,1) not null primary key
  6116. references tscontainertable(name) on delete cascade,
  6117. windowinterval varchar(8)
  6118. default 'month',
  6119. activewindowsize integer default 0,
  6120. dormantwindowsize integer default 0,
  6121. windowspaces lvarchar(4096),
  6122. activewindow TimeSeries(TSContainerWindow_r),
  6123. dormantwindow TimeSeries(TSContainerWindow_r),
  6124. container_size integer default 16,
  6125. container_grow integer default 16,
  6126. windowcontrol integer default 0
  6127. );
  6128. end if;
  6129. END PROCEDURE;
  6130. EXECUTE PROCEDURE tsdropcwt();
  6131. DROP PROCEDURE tsdropcwt();
  6132. ",
  6133. "f",
  6134. " ",
  6135. "f"
  6136. );
  6137. insert into sysbldobjdepends
  6138. (
  6139. bld_id,
  6140. obj_kind,
  6141. obj_signature,
  6142. obj_owner,
  6143. need_obj_kind,
  6144. need_obj_signature,
  6145. need_obj_owner)
  6146. values
  6147. (
  6148. "%SYSBLDNAME%",
  6149. 0, "tscontainerwindowtable",
  6150. "%SYSBLDUSER%",
  6151. 7, "TimeSeries",
  6152. "%SYSBLDUSER%"
  6153. );
  6154. insert into sysbldobjdepends
  6155. (
  6156. bld_id,
  6157. obj_kind,
  6158. obj_signature,
  6159. obj_owner,
  6160. need_obj_kind,
  6161. need_obj_signature,
  6162. need_obj_owner)
  6163. values
  6164. (
  6165. "%SYSBLDNAME%",
  6166. 0, "tscontainerwindowtable",
  6167. "%SYSBLDUSER%",
  6168. 0, "tscontainerupgrade",
  6169. "%SYSBLDUSER%"
  6170. );
  6171. insert into sysbldobjdepends
  6172. (
  6173. bld_id,
  6174. obj_kind,
  6175. obj_signature,
  6176. obj_owner,
  6177. need_obj_kind,
  6178. need_obj_signature,
  6179. need_obj_owner)
  6180. values
  6181. (
  6182. "%SYSBLDNAME%",
  6183. 0, "tscontainerwindowtable",
  6184. "%SYSBLDUSER%",
  6185. 6, "Destroy (TimeSeries)",
  6186. "%SYSBLDUSER%"
  6187. );
  6188. insert into sysbldobjdepends
  6189. (
  6190. bld_id,
  6191. obj_kind,
  6192. obj_signature,
  6193. obj_owner,
  6194. need_obj_kind,
  6195. need_obj_signature,
  6196. need_obj_owner)
  6197. values
  6198. (
  6199. "%SYSBLDNAME%",
  6200. 0, "tscontainerwindowtable",
  6201. "%SYSBLDUSER%",
  6202. 182, "Alter-ExternalName-Destroy (TimeSeries)",
  6203. "%SYSBLDUSER%"
  6204. );
  6205. insert into sysbldobjdepends
  6206. (
  6207. bld_id,
  6208. obj_kind,
  6209. obj_signature,
  6210. obj_owner,
  6211. need_obj_kind,
  6212. need_obj_signature,
  6213. need_obj_owner)
  6214. values
  6215. (
  6216. "%SYSBLDNAME%",
  6217. 0, "tscontainerwindowtable",
  6218. "%SYSBLDUSER%",
  6219. 7, "TSContainerWindow_r",
  6220. "%SYSBLDUSER%"
  6221. );
  6222. insert into sysbldobjdepends
  6223. (
  6224. bld_id,
  6225. obj_kind,
  6226. obj_signature,
  6227. obj_owner,
  6228. need_obj_kind,
  6229. need_obj_signature,
  6230. need_obj_owner)
  6231. values
  6232. (
  6233. "%SYSBLDNAME%",
  6234. 0, "tscontainerwindowtable",
  6235. "%SYSBLDUSER%",
  6236. 0, "tsinstancetable",
  6237. "%SYSBLDUSER%"
  6238. );
  6239. insert into sysbldobjdepends
  6240. (
  6241. bld_id,
  6242. obj_kind,
  6243. obj_signature,
  6244. obj_owner,
  6245. need_obj_kind,
  6246. need_obj_signature,
  6247. need_obj_owner)
  6248. values
  6249. (
  6250. "%SYSBLDNAME%",
  6251. 0, "tscontainerwindowtable",
  6252. "%SYSBLDUSER%",
  6253. 0, "tsinstancetable_128",
  6254. "%SYSBLDUSER%"
  6255. );
  6256. insert into sysbldobjdepends
  6257. (
  6258. bld_id,
  6259. obj_kind,
  6260. obj_signature,
  6261. obj_owner,
  6262. need_obj_kind,
  6263. need_obj_signature,
  6264. need_obj_owner)
  6265. values
  6266. (
  6267. "%SYSBLDNAME%",
  6268. 0, "tscontainerwindowtable",
  6269. "%SYSBLDUSER%",
  6270. 0, "tsinstancetable_bigint",
  6271. "%SYSBLDUSER%"
  6272. );
  6273. insert into sysbldobjdepends
  6274. (
  6275. bld_id,
  6276. obj_kind,
  6277. obj_signature,
  6278. obj_owner,
  6279. need_obj_kind,
  6280. need_obj_signature,
  6281. need_obj_owner)
  6282. values
  6283. (
  6284. "%SYSBLDNAME%",
  6285. 0, "tscontainerwindowtable",
  6286. "%SYSBLDUSER%",
  6287. 0, "tsinstancetable_triggers",
  6288. "%SYSBLDUSER%"
  6289. );
  6290. insert into sysbldobjects
  6291. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6292. create_can_fail, drop_sql, drop_can_fail)
  6293. values
  6294. (
  6295. "%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6296. "%SYSBLDUSER%", 0,
  6297. "create procedure TSCreateVirtualTab (lvarchar,lvarchar,int default NULL,lvarchar default NULL)
  6298. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"" language c;
  6299. ",
  6300. "f",
  6301. "drop procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar);
  6302. ",
  6303. "f"
  6304. );
  6305. insert into sysbldobjects
  6306. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6307. create_can_fail, drop_sql, drop_can_fail)
  6308. values
  6309. (
  6310. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6311. "%SYSBLDUSER%", 0,
  6312. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
  6313. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"");
  6314. ",
  6315. "f",
  6316. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
  6317. with (Modify External Name = ""ts_create_vti"");
  6318. ",
  6319. "f"
  6320. );
  6321. insert into sysbldobjdepends
  6322. (
  6323. bld_id,
  6324. obj_kind,
  6325. obj_signature,
  6326. obj_owner,
  6327. need_obj_kind,
  6328. need_obj_signature,
  6329. need_obj_owner)
  6330. values
  6331. (
  6332. "%SYSBLDNAME%",
  6333. 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6334. "%SYSBLDUSER%",
  6335. 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6336. "%SYSBLDUSER%"
  6337. );
  6338. insert into sysbldobjects
  6339. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6340. create_can_fail, drop_sql, drop_can_fail)
  6341. values
  6342. (
  6343. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6344. "%SYSBLDUSER%", 0,
  6345. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
  6346. with (add handlesnulls);
  6347. ",
  6348. "f",
  6349. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
  6350. with (drop handlesnulls);
  6351. ",
  6352. "f"
  6353. );
  6354. insert into sysbldobjdepends
  6355. (
  6356. bld_id,
  6357. obj_kind,
  6358. obj_signature,
  6359. obj_owner,
  6360. need_obj_kind,
  6361. need_obj_signature,
  6362. need_obj_owner)
  6363. values
  6364. (
  6365. "%SYSBLDNAME%",
  6366. 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6367. "%SYSBLDUSER%",
  6368. 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6369. "%SYSBLDUSER%"
  6370. );
  6371. insert into sysbldobjects
  6372. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6373. create_can_fail, drop_sql, drop_can_fail)
  6374. values
  6375. (
  6376. "%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6377. "%SYSBLDUSER%", 0,
  6378. "grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar) to public;
  6379. ",
  6380. "f",
  6381. "",
  6382. "f"
  6383. );
  6384. insert into sysbldobjdepends
  6385. (
  6386. bld_id,
  6387. obj_kind,
  6388. obj_signature,
  6389. obj_owner,
  6390. need_obj_kind,
  6391. need_obj_signature,
  6392. need_obj_owner)
  6393. values
  6394. (
  6395. "%SYSBLDNAME%",
  6396. 70, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6397. "%SYSBLDUSER%",
  6398. 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6399. "%SYSBLDUSER%"
  6400. );
  6401. insert into sysbldobjects
  6402. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6403. create_can_fail, drop_sql, drop_can_fail)
  6404. values
  6405. (
  6406. "%SYSBLDNAME%", 0, "ContainerUsage",
  6407. "%SYSBLDUSER%", 0,
  6408. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
  6409. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"");
  6410. alter function ts_vtam_create (pointer)
  6411. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");
  6412. alter function ts_vtam_create (pointer)
  6413. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");
  6414. alter function ts_vtam_open (pointer)
  6415. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"");
  6416. CREATE PROCEDURE tsdropcontainerusagevti();
  6417. define drop_aw integer;
  6418. define drop_dw integer;
  6419. let drop_aw = 0;
  6420. let drop_dw = 0;
  6421. select count(*) into drop_aw from systables where tabname =
  6422. 'tscontainerusageactivewindowvti';
  6423. select count(*) into drop_dw from systables where tabname =
  6424. 'tscontainerusagedormantwindowvti';
  6425. if (drop_aw != 0) then
  6426. DROP TABLE TSContainerUsageActiveWindowVTI;
  6427. end if;
  6428. if (drop_dw != 0) then
  6429. DROP TABLE TSContainerUsageDormantWindowVTI;
  6430. end if;
  6431. END PROCEDURE;
  6432. EXECUTE PROCEDURE tsdropcontainerusagevti();
  6433. DROP PROCEDURE tsdropcontainerusagevti();
  6434. EXECUTE PROCEDURE TSCreateVirtualTab(
  6435. 'tscontainerusageactivewindowvti',
  6436. 'tscontainerwindowtable',
  6437. 0,
  6438. 'activewindow');
  6439. EXECUTE PROCEDURE TSCreateVirtualTab(
  6440. 'tscontainerusagedormantwindowvti',
  6441. 'tscontainerwindowtable',
  6442. 0,
  6443. 'dormantwindow');
  6444. CREATE FUNCTION TSContainerUsage (
  6445. cname VARCHAR(128),
  6446. rw_flag integer default 0)
  6447. RETURNING BIGINT AS pages, BIGINT AS slots, BIGINT AS total;
  6448. DEFINE n, nused, npages BIGINT;
  6449. DEFINE nslots BIGINT;
  6450. DEFINE err_msg VARCHAR(255);
  6451. DEFINE wild_cname VARCHAR(128);
  6452. DEFINE do_wild INTEGER;
  6453. LET n, npages, nslots, nused = 0, NULL, NULL, NULL;
  6454. IF ((rw_flag IS NOT NULL) AND ((rw_flag < 0) OR (rw_flag > 3))) THEN
  6455. -- verify with ID
  6456. RAISE EXCEPTION -746, 0, 'Invalid rw_flag parameter';
  6457. END IF;
  6458. LET do_wild = 0;
  6459. IF (cname IS NOT NULL) THEN
  6460. LET wild_cname = substring_index(cname,'*',1);
  6461. IF (cname != wild_cname) THEN
  6462. LET do_wild = 1;
  6463. ELSE
  6464. LET wild_cname = substring_index(cname,'?',1);
  6465. IF (cname != wild_cname) THEN
  6466. LET do_wild = 1;
  6467. ELSE
  6468. LET wild_cname = substring_index(cname,'[',1);
  6469. IF (cname != wild_cname) THEN
  6470. LET do_wild = 1;
  6471. END IF;
  6472. END IF;
  6473. END IF;
  6474. END IF;
  6475. IF (cname IS NULL) THEN
  6476. LET err_msg = 'No containers found';
  6477. IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
  6478. -- only active elements, either in a regular container or in the active window partitions
  6479. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6480. INTO n, nused, nslots, npages
  6481. FROM (
  6482. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6483. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6484. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6485. AND BITAND(nc.flags, 8) = 0
  6486. UNION ALL
  6487. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6488. FROM (
  6489. SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6490. FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
  6491. WHERE getpartitiondesc (rwcv.partition) = p.partnum
  6492. UNION ALL
  6493. -- ensure a row is returned even if the TS is empty
  6494. SELECT rwct.name, 0, 0, 0
  6495. FROM tscontainerwindowtable rwct
  6496. ) rwcp(name, npdata, nrows, nptotal)
  6497. GROUP BY rwcp.name
  6498. ) un(name, npdata, nrows, nptotal);
  6499. ELIF (rw_flag = 1) THEN
  6500. -- only dormant window partitions
  6501. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6502. INTO n, nused, nslots, npages
  6503. FROM (
  6504. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6505. FROM (
  6506. SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6507. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
  6508. WHERE getpartitiondesc (rwdc.partition) = p.partnum
  6509. UNION ALL
  6510. -- ensure a row is returned even if the TS is empty
  6511. SELECT rwct.name, 0, 0, 0
  6512. FROM tscontainerwindowtable rwct
  6513. ) rwcp(name, npdata, nrows, nptotal)
  6514. GROUP BY rwcp.name
  6515. ) un(name, npdata, nrows, nptotal);
  6516. ELIF (rw_flag = 2) THEN
  6517. -- only container partition (not active and dormant window partitions
  6518. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6519. INTO n, nused, nslots, npages
  6520. FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6521. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6522. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6523. ) un(name, npdata, nrows, nptotal);
  6524. ELSE
  6525. -- all data in all partitions
  6526. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6527. INTO n, nused, nslots, npages
  6528. FROM (
  6529. SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
  6530. FROM (
  6531. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6532. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6533. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6534. AND BITAND(nc.flags, 8) = 0
  6535. ) pt1(name, npdata, nrows, nptotal)
  6536. UNION ALL
  6537. SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
  6538. FROM (
  6539. SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
  6540. FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
  6541. WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
  6542. AND BITAND(rwnc.flags, 8) != 0
  6543. UNION ALL
  6544. SELECT rwac.name, sum(NVL(prwac.npdata,0)),
  6545. sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
  6546. FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
  6547. WHERE getpartitiondesc (rwac.partition) = prwac.partnum
  6548. GROUP BY rwac.name
  6549. UNION ALL
  6550. SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
  6551. sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
  6552. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
  6553. WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
  6554. GROUP BY rwdc.name
  6555. ) pt2(name, npdata, nrows, nptotal)
  6556. GROUP BY name
  6557. ) un(name, npdata, nrows, nptotal);
  6558. END IF;
  6559. ELIF (do_wild = 1) THEN
  6560. LET err_msg = 'No containers found';
  6561. IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
  6562. -- only active elements, either in a regular container or in the active window partitions
  6563. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6564. INTO n, nused, nslots, npages
  6565. FROM (
  6566. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6567. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6568. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6569. AND BITAND(nc.flags, 8) = 0
  6570. AND nc.name MATCHES cname
  6571. UNION ALL
  6572. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6573. FROM (
  6574. SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6575. FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
  6576. WHERE getpartitiondesc (rwcv.partition) = p.partnum
  6577. AND rwcv.name MATCHES cname
  6578. UNION ALL
  6579. -- ensure a row is returned even if the TS is empty
  6580. SELECT rwct.name, 0, 0, 0
  6581. FROM tscontainerwindowtable rwct
  6582. WHERE rwct.name MATCHES cname
  6583. ) rwcp(name, npdata, nrows, nptotal)
  6584. GROUP BY rwcp.name
  6585. ) un(name, npdata, nrows, nptotal);
  6586. ELIF (rw_flag = 1) THEN
  6587. -- only dormant window partitions
  6588. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6589. INTO n, nused, nslots, npages
  6590. FROM (
  6591. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6592. FROM (
  6593. SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6594. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
  6595. WHERE getpartitiondesc (rwdc.partition) = p.partnum
  6596. AND rwdc.name MATCHES cname
  6597. UNION ALL
  6598. -- ensure a row is returned even if the TS is empty
  6599. SELECT rwct.name, 0, 0, 0
  6600. FROM tscontainerwindowtable rwct
  6601. WHERE rwct.name MATCHES cname
  6602. ) rwcp(name, npdata, nrows, nptotal)
  6603. GROUP BY rwcp.name
  6604. ) un(name, npdata, nrows, nptotal);
  6605. ELIF (rw_flag = 2) THEN
  6606. -- only container partition (not active and dormant window partitions
  6607. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6608. INTO n, nused, nslots, npages
  6609. FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6610. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6611. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6612. AND nc.name MATCHES cname
  6613. ) un(name, npdata, nrows, nptotal);
  6614. ELSE
  6615. -- all data in all partitions
  6616. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6617. INTO n, nused, nslots, npages
  6618. FROM (
  6619. SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
  6620. FROM (
  6621. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6622. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6623. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6624. AND BITAND(nc.flags, 8) = 0
  6625. AND nc.name MATCHES cname
  6626. ) pt1(name, npdata, nrows, nptotal)
  6627. UNION ALL
  6628. SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
  6629. FROM (
  6630. SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
  6631. FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
  6632. WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
  6633. AND BITAND(rwnc.flags, 8) != 0
  6634. AND rwnc.name MATCHES cname
  6635. UNION ALL
  6636. SELECT rwac.name, sum(NVL(prwac.npdata,0)),
  6637. sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
  6638. FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
  6639. WHERE getpartitiondesc (rwac.partition) = prwac.partnum
  6640. AND rwac.name MATCHES cname
  6641. GROUP BY rwac.name
  6642. UNION ALL
  6643. SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
  6644. sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
  6645. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
  6646. WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
  6647. AND rwdc.name MATCHES cname
  6648. GROUP BY rwdc.name
  6649. ) pt2(name, npdata, nrows, nptotal)
  6650. GROUP BY name
  6651. ) un(name, npdata, nrows, nptotal);
  6652. END IF;
  6653. ELSE
  6654. IF ((rw_flag IS NOT NULL) AND (rw_flag != 0)) THEN
  6655. LET err_msg = 'Rolling Window Container <'||cname||'> not found';
  6656. ELSE
  6657. LET err_msg = 'Container <'||cname||'> not found';
  6658. END IF;
  6659. IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
  6660. -- only active elements, either in a regular container or in the active window partitions
  6661. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6662. INTO n, nused, nslots, npages
  6663. FROM (
  6664. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6665. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6666. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6667. AND nc.name = cname
  6668. AND BITAND(nc.flags, 8) = 0
  6669. UNION ALL
  6670. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6671. FROM (
  6672. SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6673. FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
  6674. WHERE getpartitiondesc (rwcv.partition) = p.partnum
  6675. AND rwcv.name = cname
  6676. UNION ALL
  6677. -- ensure a row is returned even if the TS is empty
  6678. SELECT rwct.name, 0, 0, 0
  6679. FROM tscontainerwindowtable rwct
  6680. WHERE rwct.name = cname
  6681. ) rwcp(name, npdata, nrows, nptotal)
  6682. GROUP BY rwcp.name
  6683. ) un(name, npdata, nrows, nptotal);
  6684. ELIF (rw_flag = 1) THEN
  6685. -- only dormant window partitions
  6686. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6687. INTO n, nused, nslots, npages
  6688. FROM (
  6689. SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
  6690. FROM (
  6691. SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6692. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
  6693. WHERE getpartitiondesc (rwdc.partition) = p.partnum
  6694. AND rwdc.name = cname
  6695. UNION ALL
  6696. -- ensure a row is returned even if the TS is empty
  6697. SELECT rwct.name, 0, 0, 0
  6698. FROM tscontainerwindowtable rwct
  6699. WHERE rwct.name = cname
  6700. ) rwcp(name, npdata, nrows, nptotal)
  6701. GROUP BY rwcp.name
  6702. ) un(name, npdata, nrows, nptotal);
  6703. ELIF (rw_flag = 2) THEN
  6704. -- only container partition (not active and dormant window partitions
  6705. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6706. INTO n, nused, nslots, npages
  6707. FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6708. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6709. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6710. AND nc.name = cname
  6711. ) un(name, npdata, nrows, nptotal);
  6712. ELSE
  6713. -- all data in all partitions
  6714. SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
  6715. INTO n, nused, nslots, npages
  6716. FROM (
  6717. SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
  6718. FROM (
  6719. SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
  6720. FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
  6721. WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
  6722. AND nc.name = cname
  6723. AND BITAND(nc.flags, 8) = 0
  6724. ) pt1(name, npdata, nrows, nptotal)
  6725. UNION ALL
  6726. SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
  6727. FROM (
  6728. SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
  6729. FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
  6730. WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
  6731. AND rwnc.name = cname
  6732. AND BITAND(rwnc.flags, 8) != 0
  6733. UNION ALL
  6734. SELECT rwac.name, sum(NVL(prwac.npdata,0)),
  6735. sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
  6736. FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
  6737. WHERE getpartitiondesc (rwac.partition) = prwac.partnum
  6738. AND rwac.name = cname
  6739. GROUP BY rwac.name
  6740. UNION ALL
  6741. SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
  6742. sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
  6743. FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
  6744. WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
  6745. AND rwdc.name = cname
  6746. GROUP BY rwdc.name
  6747. ) pt2(name, npdata, nrows, nptotal)
  6748. GROUP BY name
  6749. ) un(name, npdata, nrows, nptotal);
  6750. END IF;
  6751. END IF
  6752. IF (n = 0) THEN
  6753. RAISE EXCEPTION -746, 0, err_msg;
  6754. END IF;
  6755. LET nslots = nslots - nused;
  6756. RETURN nused, nslots, npages;
  6757. END FUNCTION;
  6758. CREATE FUNCTION TSContainerTotalUsed (
  6759. cname VARCHAR(128),
  6760. rw_flag integer default 0)
  6761. RETURNING BIGINT AS pages;
  6762. DEFINE nused, npages BIGINT;
  6763. DEFINE nslots BIGINT;
  6764. LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
  6765. RETURN nused;
  6766. END FUNCTION;
  6767. CREATE FUNCTION TSContainerTotalPages (
  6768. cname VARCHAR(128),
  6769. rw_flag integer default 0)
  6770. RETURNING BIGINT AS total;
  6771. DEFINE nused, npages BIGINT;
  6772. DEFINE nslots BIGINT;
  6773. LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
  6774. RETURN npages;
  6775. END FUNCTION;
  6776. CREATE FUNCTION TSContainerNElems (
  6777. cname VARCHAR(128),
  6778. rw_flag integer default 0)
  6779. RETURNING BIGINT AS elements;
  6780. DEFINE nused, npages BIGINT;
  6781. DEFINE nslots BIGINT;
  6782. LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
  6783. RETURN nslots;
  6784. END FUNCTION;
  6785. CREATE FUNCTION TSContainerPctUsed (
  6786. cname VARCHAR(128),
  6787. rw_flag integer default 0)
  6788. RETURNING DECIMAL(6,3) AS percent;
  6789. DEFINE nused, npages DECIMAL(16,3);
  6790. DEFINE nslots BIGINT;
  6791. LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
  6792. IF (npages = 0.0) THEN
  6793. RETURN NULL;
  6794. END IF;
  6795. RETURN (100.0 * nused) / npages;
  6796. END FUNCTION;
  6797. ",
  6798. "f",
  6799. "DROP FUNCTION TSContainerPctUsed(VARCHAR(128), integer);
  6800. DROP FUNCTION TSContainerNElems(VARCHAR(128), integer);
  6801. DROP FUNCTION TSContainerTotalPages(VARCHAR(128), integer);
  6802. DROP FUNCTION TSContainerTotalUsed(VARCHAR(128), integer);
  6803. DROP FUNCTION TSContainerUsage(VARCHAR(128), integer);
  6804. ",
  6805. "f"
  6806. );
  6807. insert into sysbldobjdepends
  6808. (
  6809. bld_id,
  6810. obj_kind,
  6811. obj_signature,
  6812. obj_owner,
  6813. need_obj_kind,
  6814. need_obj_signature,
  6815. need_obj_owner)
  6816. values
  6817. (
  6818. "%SYSBLDNAME%",
  6819. 0, "ContainerUsage",
  6820. "%SYSBLDUSER%",
  6821. 0, "ts_vtam",
  6822. "%SYSBLDUSER%"
  6823. );
  6824. insert into sysbldobjdepends
  6825. (
  6826. bld_id,
  6827. obj_kind,
  6828. obj_signature,
  6829. obj_owner,
  6830. need_obj_kind,
  6831. need_obj_signature,
  6832. need_obj_owner)
  6833. values
  6834. (
  6835. "%SYSBLDNAME%",
  6836. 0, "ContainerUsage",
  6837. "%SYSBLDUSER%",
  6838. 0, "tscontainertable",
  6839. "%SYSBLDUSER%"
  6840. );
  6841. insert into sysbldobjdepends
  6842. (
  6843. bld_id,
  6844. obj_kind,
  6845. obj_signature,
  6846. obj_owner,
  6847. need_obj_kind,
  6848. need_obj_signature,
  6849. need_obj_owner)
  6850. values
  6851. (
  6852. "%SYSBLDNAME%",
  6853. 0, "ContainerUsage",
  6854. "%SYSBLDUSER%",
  6855. 0, "tscontainertable_128",
  6856. "%SYSBLDUSER%"
  6857. );
  6858. insert into sysbldobjdepends
  6859. (
  6860. bld_id,
  6861. obj_kind,
  6862. obj_signature,
  6863. obj_owner,
  6864. need_obj_kind,
  6865. need_obj_signature,
  6866. need_obj_owner)
  6867. values
  6868. (
  6869. "%SYSBLDNAME%",
  6870. 0, "ContainerUsage",
  6871. "%SYSBLDUSER%",
  6872. 0, "tscontainertable_pool",
  6873. "%SYSBLDUSER%"
  6874. );
  6875. insert into sysbldobjdepends
  6876. (
  6877. bld_id,
  6878. obj_kind,
  6879. obj_signature,
  6880. obj_owner,
  6881. need_obj_kind,
  6882. need_obj_signature,
  6883. need_obj_owner)
  6884. values
  6885. (
  6886. "%SYSBLDNAME%",
  6887. 0, "ContainerUsage",
  6888. "%SYSBLDUSER%",
  6889. 0, "tscontainertable_triggers",
  6890. "%SYSBLDUSER%"
  6891. );
  6892. insert into sysbldobjdepends
  6893. (
  6894. bld_id,
  6895. obj_kind,
  6896. obj_signature,
  6897. obj_owner,
  6898. need_obj_kind,
  6899. need_obj_signature,
  6900. need_obj_owner)
  6901. values
  6902. (
  6903. "%SYSBLDNAME%",
  6904. 0, "ContainerUsage",
  6905. "%SYSBLDUSER%",
  6906. 0, "tscontainerwindowtable",
  6907. "%SYSBLDUSER%"
  6908. );
  6909. insert into sysbldobjdepends
  6910. (
  6911. bld_id,
  6912. obj_kind,
  6913. obj_signature,
  6914. obj_owner,
  6915. need_obj_kind,
  6916. need_obj_signature,
  6917. need_obj_owner)
  6918. values
  6919. (
  6920. "%SYSBLDNAME%",
  6921. 0, "ContainerUsage",
  6922. "%SYSBLDUSER%",
  6923. 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6924. "%SYSBLDUSER%"
  6925. );
  6926. insert into sysbldobjdepends
  6927. (
  6928. bld_id,
  6929. obj_kind,
  6930. obj_signature,
  6931. obj_owner,
  6932. need_obj_kind,
  6933. need_obj_signature,
  6934. need_obj_owner)
  6935. values
  6936. (
  6937. "%SYSBLDNAME%",
  6938. 0, "ContainerUsage",
  6939. "%SYSBLDUSER%",
  6940. 50, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6941. "%SYSBLDUSER%"
  6942. );
  6943. insert into sysbldobjdepends
  6944. (
  6945. bld_id,
  6946. obj_kind,
  6947. obj_signature,
  6948. obj_owner,
  6949. need_obj_kind,
  6950. need_obj_signature,
  6951. need_obj_owner)
  6952. values
  6953. (
  6954. "%SYSBLDNAME%",
  6955. 0, "ContainerUsage",
  6956. "%SYSBLDUSER%",
  6957. 80, "Alter-Variant-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6958. "%SYSBLDUSER%"
  6959. );
  6960. insert into sysbldobjdepends
  6961. (
  6962. bld_id,
  6963. obj_kind,
  6964. obj_signature,
  6965. obj_owner,
  6966. need_obj_kind,
  6967. need_obj_signature,
  6968. need_obj_owner)
  6969. values
  6970. (
  6971. "%SYSBLDNAME%",
  6972. 0, "ContainerUsage",
  6973. "%SYSBLDUSER%",
  6974. 140, "Alter-PerCallStack-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
  6975. "%SYSBLDUSER%"
  6976. );
  6977. insert into sysbldobjects
  6978. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  6979. create_can_fail, drop_sql, drop_can_fail)
  6980. values
  6981. (
  6982. "%SYSBLDNAME%", 0, "tsl_trigdrop",
  6983. "%SYSBLDUSER%", 0,
  6984. "CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
  6985. define tn char(128);
  6986. define ls char(2048);
  6987. define dt char(2048);
  6988. define rtn lvarchar;
  6989. execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
  6990. let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
  6991. "" (SELECT b.col1,"" ||
  6992. "" DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
  6993. "" FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
  6994. "" b(col1, col2) UNION SELECT"" ||
  6995. "" 'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
  6996. "" systables t, syscolumns c, sysxtddesc x WHERE"" ||
  6997. "" t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
  6998. "" 'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
  6999. "" trignames.name = st.trigname"";
  7000. execute immediate ls;
  7001. let rtn = """";
  7002. FOREACH trigger_name FOR SELECT trigname INTO tn FROM __TSTempTrigTable
  7003. let dt = ""drop trigger "" || tn;
  7004. execute immediate dt;
  7005. LET rtn = rtn || trim(tn) || "" "";
  7006. END FOREACH;
  7007. execute immediate ""DROP TABLE __TSTempTrigTable;"";
  7008. return rtn;
  7009. END FUNCTION;
  7010. execute function __TSTempDropTriggers();
  7011. drop function __TSTempDropTriggers () ;
  7012. ",
  7013. "t",
  7014. "
  7015. ",
  7016. "f"
  7017. );
  7018. insert into sysbldobjects
  7019. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7020. create_can_fail, drop_sql, drop_can_fail)
  7021. values
  7022. (
  7023. "%SYSBLDNAME%", 6, "TSL_DelCache (varchar,varchar,lvarchar)",
  7024. "%SYSBLDUSER%", 0,
  7025. "create procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
  7026. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_delcache)"" language c;
  7027. ",
  7028. "f",
  7029. "drop procedure TSL_DelCache (varchar (128),varchar (128),lvarchar);
  7030. ",
  7031. "f"
  7032. );
  7033. insert into sysbldobjects
  7034. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7035. create_can_fail, drop_sql, drop_can_fail)
  7036. values
  7037. (
  7038. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_DelCache (varchar,varchar,lvarchar)",
  7039. "%SYSBLDUSER%", 0,
  7040. "alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
  7041. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_delcache)"");
  7042. ",
  7043. "f",
  7044. "alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
  7045. with (Modify External Name = ""tsl_delcache"");
  7046. ",
  7047. "f"
  7048. );
  7049. insert into sysbldobjdepends
  7050. (
  7051. bld_id,
  7052. obj_kind,
  7053. obj_signature,
  7054. obj_owner,
  7055. need_obj_kind,
  7056. need_obj_signature,
  7057. need_obj_owner)
  7058. values
  7059. (
  7060. "%SYSBLDNAME%",
  7061. 182, "Alter-ExternalName-TSL_DelCache (varchar,varchar,lvarchar)",
  7062. "%SYSBLDUSER%",
  7063. 6, "TSL_DelCache (varchar,varchar,lvarchar)",
  7064. "%SYSBLDUSER%"
  7065. );
  7066. insert into sysbldobjects
  7067. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7068. create_can_fail, drop_sql, drop_can_fail)
  7069. values
  7070. (
  7071. "%SYSBLDNAME%", 86, "Alter-Variant-TSL_DelCache (varchar,varchar,lvarchar)",
  7072. "%SYSBLDUSER%", 0,
  7073. "alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
  7074. with (add not variant);
  7075. ",
  7076. "f",
  7077. "alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
  7078. with (drop not variant);
  7079. ",
  7080. "f"
  7081. );
  7082. insert into sysbldobjdepends
  7083. (
  7084. bld_id,
  7085. obj_kind,
  7086. obj_signature,
  7087. obj_owner,
  7088. need_obj_kind,
  7089. need_obj_signature,
  7090. need_obj_owner)
  7091. values
  7092. (
  7093. "%SYSBLDNAME%",
  7094. 86, "Alter-Variant-TSL_DelCache (varchar,varchar,lvarchar)",
  7095. "%SYSBLDUSER%",
  7096. 6, "TSL_DelCache (varchar,varchar,lvarchar)",
  7097. "%SYSBLDUSER%"
  7098. );
  7099. insert into sysbldobjects
  7100. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7101. create_can_fail, drop_sql, drop_can_fail)
  7102. values
  7103. (
  7104. "%SYSBLDNAME%", 70, "TSL_DelCache (varchar,varchar,lvarchar)",
  7105. "%SYSBLDUSER%", 0,
  7106. "grant execute on procedure TSL_DelCache (varchar (128),varchar (128),lvarchar) to public;
  7107. ",
  7108. "f",
  7109. "",
  7110. "f"
  7111. );
  7112. insert into sysbldobjdepends
  7113. (
  7114. bld_id,
  7115. obj_kind,
  7116. obj_signature,
  7117. obj_owner,
  7118. need_obj_kind,
  7119. need_obj_signature,
  7120. need_obj_owner)
  7121. values
  7122. (
  7123. "%SYSBLDNAME%",
  7124. 70, "TSL_DelCache (varchar,varchar,lvarchar)",
  7125. "%SYSBLDUSER%",
  7126. 6, "TSL_DelCache (varchar,varchar,lvarchar)",
  7127. "%SYSBLDUSER%"
  7128. );
  7129. insert into sysbldobjects
  7130. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7131. create_can_fail, drop_sql, drop_can_fail)
  7132. values
  7133. (
  7134. "%SYSBLDNAME%", 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7135. "%SYSBLDUSER%", 0,
  7136. "create procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
  7137. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscache)"" language c;
  7138. ",
  7139. "f",
  7140. "drop procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries);
  7141. ",
  7142. "f"
  7143. );
  7144. insert into sysbldobjdepends
  7145. (
  7146. bld_id,
  7147. obj_kind,
  7148. obj_signature,
  7149. obj_owner,
  7150. need_obj_kind,
  7151. need_obj_signature,
  7152. need_obj_owner)
  7153. values
  7154. (
  7155. "%SYSBLDNAME%",
  7156. 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7157. "%SYSBLDUSER%",
  7158. 0, "tsl_trigdrop",
  7159. "%SYSBLDUSER%"
  7160. );
  7161. insert into sysbldobjdepends
  7162. (
  7163. bld_id,
  7164. obj_kind,
  7165. obj_signature,
  7166. obj_owner,
  7167. need_obj_kind,
  7168. need_obj_signature,
  7169. need_obj_owner)
  7170. values
  7171. (
  7172. "%SYSBLDNAME%",
  7173. 0, "tsbinload_triggers",
  7174. "%SYSBLDUSER%",
  7175. 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7176. "%SYSBLDUSER%"
  7177. );
  7178. insert into sysbldobjects
  7179. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7180. create_can_fail, drop_sql, drop_can_fail)
  7181. values
  7182. (
  7183. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7184. "%SYSBLDUSER%", 0,
  7185. "alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
  7186. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscache)"");
  7187. ",
  7188. "f",
  7189. "alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
  7190. with (Modify External Name = ""tsl_inscache"");
  7191. ",
  7192. "f"
  7193. );
  7194. insert into sysbldobjdepends
  7195. (
  7196. bld_id,
  7197. obj_kind,
  7198. obj_signature,
  7199. obj_owner,
  7200. need_obj_kind,
  7201. need_obj_signature,
  7202. need_obj_owner)
  7203. values
  7204. (
  7205. "%SYSBLDNAME%",
  7206. 182, "Alter-ExternalName-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7207. "%SYSBLDUSER%",
  7208. 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7209. "%SYSBLDUSER%"
  7210. );
  7211. insert into sysbldobjects
  7212. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7213. create_can_fail, drop_sql, drop_can_fail)
  7214. values
  7215. (
  7216. "%SYSBLDNAME%", 86, "Alter-Variant-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7217. "%SYSBLDUSER%", 0,
  7218. "alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
  7219. with (add not variant);
  7220. ",
  7221. "f",
  7222. "alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
  7223. with (drop not variant);
  7224. ",
  7225. "f"
  7226. );
  7227. insert into sysbldobjdepends
  7228. (
  7229. bld_id,
  7230. obj_kind,
  7231. obj_signature,
  7232. obj_owner,
  7233. need_obj_kind,
  7234. need_obj_signature,
  7235. need_obj_owner)
  7236. values
  7237. (
  7238. "%SYSBLDNAME%",
  7239. 86, "Alter-Variant-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7240. "%SYSBLDUSER%",
  7241. 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7242. "%SYSBLDUSER%"
  7243. );
  7244. insert into sysbldobjects
  7245. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7246. create_can_fail, drop_sql, drop_can_fail)
  7247. values
  7248. (
  7249. "%SYSBLDNAME%", 70, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7250. "%SYSBLDUSER%", 0,
  7251. "grant execute on procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries) to public;
  7252. ",
  7253. "f",
  7254. "",
  7255. "f"
  7256. );
  7257. insert into sysbldobjdepends
  7258. (
  7259. bld_id,
  7260. obj_kind,
  7261. obj_signature,
  7262. obj_owner,
  7263. need_obj_kind,
  7264. need_obj_signature,
  7265. need_obj_owner)
  7266. values
  7267. (
  7268. "%SYSBLDNAME%",
  7269. 70, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7270. "%SYSBLDUSER%",
  7271. 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
  7272. "%SYSBLDUSER%"
  7273. );
  7274. insert into sysbldobjects
  7275. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7276. create_can_fail, drop_sql, drop_can_fail)
  7277. values
  7278. (
  7279. "%SYSBLDNAME%", 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7280. "%SYSBLDUSER%", 0,
  7281. "create procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
  7282. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_updcache)"" language c;
  7283. ",
  7284. "f",
  7285. "drop procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries);
  7286. ",
  7287. "f"
  7288. );
  7289. insert into sysbldobjdepends
  7290. (
  7291. bld_id,
  7292. obj_kind,
  7293. obj_signature,
  7294. obj_owner,
  7295. need_obj_kind,
  7296. need_obj_signature,
  7297. need_obj_owner)
  7298. values
  7299. (
  7300. "%SYSBLDNAME%",
  7301. 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7302. "%SYSBLDUSER%",
  7303. 0, "tsl_trigdrop",
  7304. "%SYSBLDUSER%"
  7305. );
  7306. insert into sysbldobjdepends
  7307. (
  7308. bld_id,
  7309. obj_kind,
  7310. obj_signature,
  7311. obj_owner,
  7312. need_obj_kind,
  7313. need_obj_signature,
  7314. need_obj_owner)
  7315. values
  7316. (
  7317. "%SYSBLDNAME%",
  7318. 0, "tsbinload_triggers",
  7319. "%SYSBLDUSER%",
  7320. 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7321. "%SYSBLDUSER%"
  7322. );
  7323. insert into sysbldobjects
  7324. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7325. create_can_fail, drop_sql, drop_can_fail)
  7326. values
  7327. (
  7328. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7329. "%SYSBLDUSER%", 0,
  7330. "alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
  7331. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_updcache)"");
  7332. ",
  7333. "f",
  7334. "alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
  7335. with (Modify External Name = ""tsl_updcache"");
  7336. ",
  7337. "f"
  7338. );
  7339. insert into sysbldobjdepends
  7340. (
  7341. bld_id,
  7342. obj_kind,
  7343. obj_signature,
  7344. obj_owner,
  7345. need_obj_kind,
  7346. need_obj_signature,
  7347. need_obj_owner)
  7348. values
  7349. (
  7350. "%SYSBLDNAME%",
  7351. 182, "Alter-ExternalName-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7352. "%SYSBLDUSER%",
  7353. 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7354. "%SYSBLDUSER%"
  7355. );
  7356. insert into sysbldobjects
  7357. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7358. create_can_fail, drop_sql, drop_can_fail)
  7359. values
  7360. (
  7361. "%SYSBLDNAME%", 86, "Alter-Variant-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7362. "%SYSBLDUSER%", 0,
  7363. "alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
  7364. with (add not variant);
  7365. ",
  7366. "f",
  7367. "alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
  7368. with (drop not variant);
  7369. ",
  7370. "f"
  7371. );
  7372. insert into sysbldobjdepends
  7373. (
  7374. bld_id,
  7375. obj_kind,
  7376. obj_signature,
  7377. obj_owner,
  7378. need_obj_kind,
  7379. need_obj_signature,
  7380. need_obj_owner)
  7381. values
  7382. (
  7383. "%SYSBLDNAME%",
  7384. 86, "Alter-Variant-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7385. "%SYSBLDUSER%",
  7386. 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7387. "%SYSBLDUSER%"
  7388. );
  7389. insert into sysbldobjects
  7390. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7391. create_can_fail, drop_sql, drop_can_fail)
  7392. values
  7393. (
  7394. "%SYSBLDNAME%", 70, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7395. "%SYSBLDUSER%", 0,
  7396. "grant execute on procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries) to public;
  7397. ",
  7398. "f",
  7399. "",
  7400. "f"
  7401. );
  7402. insert into sysbldobjdepends
  7403. (
  7404. bld_id,
  7405. obj_kind,
  7406. obj_signature,
  7407. obj_owner,
  7408. need_obj_kind,
  7409. need_obj_signature,
  7410. need_obj_owner)
  7411. values
  7412. (
  7413. "%SYSBLDNAME%",
  7414. 70, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7415. "%SYSBLDUSER%",
  7416. 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
  7417. "%SYSBLDUSER%"
  7418. );
  7419. insert into sysbldobjects
  7420. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7421. create_can_fail, drop_sql, drop_can_fail)
  7422. values
  7423. (
  7424. "%SYSBLDNAME%", 0, "tsbinload_triggers",
  7425. "%SYSBLDUSER%", 0,
  7426. "
  7427. ",
  7428. "f",
  7429. "CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
  7430. define tn char(128);
  7431. define ls char(2048);
  7432. define dt char(2048);
  7433. define rtn lvarchar;
  7434. execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
  7435. let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
  7436. "" (SELECT b.col1,"" ||
  7437. "" DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
  7438. "" FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
  7439. "" b(col1, col2) UNION SELECT"" ||
  7440. "" 'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
  7441. "" systables t, syscolumns c, sysxtddesc x WHERE"" ||
  7442. "" t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
  7443. "" 'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
  7444. "" trignames.name = st.trigname"";
  7445. execute immediate ls;
  7446. let rtn = """";
  7447. FOREACH trigger_name FOR SELECT trigname INTO tn FROM __TSTempTrigTable
  7448. let dt = ""drop trigger "" || tn;
  7449. execute immediate dt;
  7450. LET rtn = rtn || trim(tn) || "" "";
  7451. END FOREACH;
  7452. execute immediate ""DROP TABLE __TSTempTrigTable;"";
  7453. return rtn;
  7454. END FUNCTION;
  7455. execute function __TSTempDropTriggers();
  7456. drop function __TSTempDropTriggers () ;
  7457. ",
  7458. "t"
  7459. );
  7460. insert into sysbldobjdepends
  7461. (
  7462. bld_id,
  7463. obj_kind,
  7464. obj_signature,
  7465. obj_owner,
  7466. need_obj_kind,
  7467. need_obj_signature,
  7468. need_obj_owner)
  7469. values
  7470. (
  7471. "%SYSBLDNAME%",
  7472. 0, "tsbinload_triggers",
  7473. "%SYSBLDUSER%",
  7474. 6, "TSL_DelCache (varchar,varchar,lvarchar)",
  7475. "%SYSBLDUSER%"
  7476. );
  7477. insert into sysbldobjdepends
  7478. (
  7479. bld_id,
  7480. obj_kind,
  7481. obj_signature,
  7482. obj_owner,
  7483. need_obj_kind,
  7484. need_obj_signature,
  7485. need_obj_owner)
  7486. values
  7487. (
  7488. "%SYSBLDNAME%",
  7489. 0, "tsbinload_triggers",
  7490. "%SYSBLDUSER%",
  7491. 6, "TSL_InsCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
  7492. "%SYSBLDUSER%"
  7493. );
  7494. insert into sysbldobjdepends
  7495. (
  7496. bld_id,
  7497. obj_kind,
  7498. obj_signature,
  7499. obj_owner,
  7500. need_obj_kind,
  7501. need_obj_signature,
  7502. need_obj_owner)
  7503. values
  7504. (
  7505. "%SYSBLDNAME%",
  7506. 0, "tsbinload_triggers",
  7507. "%SYSBLDUSER%",
  7508. 6, "TSL_UpdCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
  7509. "%SYSBLDUSER%"
  7510. );
  7511. insert into sysbldobjdepends
  7512. (
  7513. bld_id,
  7514. obj_kind,
  7515. obj_signature,
  7516. obj_owner,
  7517. need_obj_kind,
  7518. need_obj_signature,
  7519. need_obj_owner)
  7520. values
  7521. (
  7522. "%SYSBLDNAME%",
  7523. 0, "tsbinload_triggers",
  7524. "%SYSBLDUSER%",
  7525. 140, "Alter-PerCallStack-TSL_DelCache (varchar,varchar,lvarchar)",
  7526. "%SYSBLDUSER%"
  7527. );
  7528. insert into sysbldobjdepends
  7529. (
  7530. bld_id,
  7531. obj_kind,
  7532. obj_signature,
  7533. obj_owner,
  7534. need_obj_kind,
  7535. need_obj_signature,
  7536. need_obj_owner)
  7537. values
  7538. (
  7539. "%SYSBLDNAME%",
  7540. 0, "tsbinload_triggers",
  7541. "%SYSBLDUSER%",
  7542. 140, "Alter-PerCallStack-TSL_InsCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
  7543. "%SYSBLDUSER%"
  7544. );
  7545. insert into sysbldobjdepends
  7546. (
  7547. bld_id,
  7548. obj_kind,
  7549. obj_signature,
  7550. obj_owner,
  7551. need_obj_kind,
  7552. need_obj_signature,
  7553. need_obj_owner)
  7554. values
  7555. (
  7556. "%SYSBLDNAME%",
  7557. 0, "tsbinload_triggers",
  7558. "%SYSBLDUSER%",
  7559. 140, "Alter-PerCallStack-TSL_UpdCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
  7560. "%SYSBLDUSER%"
  7561. );
  7562. insert into sysbldobjects
  7563. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7564. create_can_fail, drop_sql, drop_can_fail)
  7565. values
  7566. (
  7567. "%SYSBLDNAME%", 6, "TSL_Shutdown (lvarchar,integer)",
  7568. "%SYSBLDUSER%", 0,
  7569. "create procedure TSL_Shutdown (lvarchar,integer default NULL)
  7570. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_grelease)"" language c;
  7571. ",
  7572. "f",
  7573. "drop procedure TSL_Shutdown (lvarchar,integer);
  7574. ",
  7575. "f"
  7576. );
  7577. insert into sysbldobjects
  7578. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7579. create_can_fail, drop_sql, drop_can_fail)
  7580. values
  7581. (
  7582. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_Shutdown (lvarchar,integer)",
  7583. "%SYSBLDUSER%", 0,
  7584. "alter procedure TSL_Shutdown (lvarchar,integer)
  7585. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_grelease)"");
  7586. ",
  7587. "f",
  7588. "alter procedure TSL_Shutdown (lvarchar,integer)
  7589. with (Modify External Name = ""tsl_grelease"");
  7590. ",
  7591. "f"
  7592. );
  7593. insert into sysbldobjdepends
  7594. (
  7595. bld_id,
  7596. obj_kind,
  7597. obj_signature,
  7598. obj_owner,
  7599. need_obj_kind,
  7600. need_obj_signature,
  7601. need_obj_owner)
  7602. values
  7603. (
  7604. "%SYSBLDNAME%",
  7605. 182, "Alter-ExternalName-TSL_Shutdown (lvarchar,integer)",
  7606. "%SYSBLDUSER%",
  7607. 6, "TSL_Shutdown (lvarchar,integer)",
  7608. "%SYSBLDUSER%"
  7609. );
  7610. insert into sysbldobjects
  7611. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7612. create_can_fail, drop_sql, drop_can_fail)
  7613. values
  7614. (
  7615. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSL_Shutdown (lvarchar,integer)",
  7616. "%SYSBLDUSER%", 0,
  7617. "alter procedure TSL_Shutdown (lvarchar,integer)
  7618. with (add handlesnulls);
  7619. ",
  7620. "f",
  7621. "alter procedure TSL_Shutdown (lvarchar,integer)
  7622. with (drop handlesnulls);
  7623. ",
  7624. "f"
  7625. );
  7626. insert into sysbldobjdepends
  7627. (
  7628. bld_id,
  7629. obj_kind,
  7630. obj_signature,
  7631. obj_owner,
  7632. need_obj_kind,
  7633. need_obj_signature,
  7634. need_obj_owner)
  7635. values
  7636. (
  7637. "%SYSBLDNAME%",
  7638. 54, "Alter-HandleNul-TSL_Shutdown (lvarchar,integer)",
  7639. "%SYSBLDUSER%",
  7640. 6, "TSL_Shutdown (lvarchar,integer)",
  7641. "%SYSBLDUSER%"
  7642. );
  7643. insert into sysbldobjects
  7644. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7645. create_can_fail, drop_sql, drop_can_fail)
  7646. values
  7647. (
  7648. "%SYSBLDNAME%", 70, "TSL_Shutdown (lvarchar,integer)",
  7649. "%SYSBLDUSER%", 0,
  7650. "grant execute on procedure TSL_Shutdown (lvarchar,integer) to public;
  7651. ",
  7652. "f",
  7653. "",
  7654. "f"
  7655. );
  7656. insert into sysbldobjdepends
  7657. (
  7658. bld_id,
  7659. obj_kind,
  7660. obj_signature,
  7661. obj_owner,
  7662. need_obj_kind,
  7663. need_obj_signature,
  7664. need_obj_owner)
  7665. values
  7666. (
  7667. "%SYSBLDNAME%",
  7668. 70, "TSL_Shutdown (lvarchar,integer)",
  7669. "%SYSBLDUSER%",
  7670. 6, "TSL_Shutdown (lvarchar,integer)",
  7671. "%SYSBLDUSER%"
  7672. );
  7673. insert into sysbldobjects
  7674. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7675. create_can_fail, drop_sql, drop_can_fail)
  7676. values
  7677. (
  7678. "%SYSBLDNAME%", 0, "tsbinload_shutdown",
  7679. "%SYSBLDUSER%", 0,
  7680. "CREATE FUNCTION __TSTempLDRshutdown (tabname varchar(128),colname varchar(128)) RETURNING lvarchar;
  7681. DEFINE ls LVARCHAR(2048);
  7682. LET ls = ""EXECUTE PROCEDURE TSL_Shutdown('""||trim(tabname)||""|""||trim(colname)||""');"";
  7683. EXECUTE IMMEDIATE ls;
  7684. RETURN trim(ls);
  7685. END FUNCTION;
  7686. SELECT __TSTempLDRshutdown(trim(tabname),trim(colname))
  7687. FROM
  7688. (SELECT 'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',t.tabname,c.colname
  7689. FROM systables t, syscolumns c, sysxtddesc x
  7690. WHERE t.tabid=c.tabid
  7691. AND c.extended_id = x.extended_id
  7692. AND x.description LIKE 'timeseries%') AS trignames(event,name,tabname,colname),
  7693. systriggers st
  7694. WHERE
  7695. trignames.name = st.trigname;
  7696. DROP FUNCTION __TSTempLDRshutdown (varchar(128),varchar(128));
  7697. CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
  7698. define tn char(128);
  7699. define ls char(2048);
  7700. define dt char(2048);
  7701. define rtn lvarchar;
  7702. execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
  7703. let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
  7704. "" (SELECT b.col1,"" ||
  7705. "" DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
  7706. "" FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
  7707. "" b(col1, col2) UNION SELECT"" ||
  7708. "" 'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
  7709. "" systables t, syscolumns c, sysxtddesc x WHERE"" ||
  7710. "" t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
  7711. "" 'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
  7712. "" trignames.name = st.trigname"";
  7713. execute immediate ls;
  7714. let rtn = """";
  7715. FOREACH trigger_name FOR SELECT trigname INTO tn FROM __TSTempTrigTable
  7716. let dt = ""drop trigger "" || tn;
  7717. execute immediate dt;
  7718. LET rtn = rtn || trim(tn) || "" "";
  7719. END FOREACH;
  7720. execute immediate ""DROP TABLE __TSTempTrigTable;"";
  7721. return rtn;
  7722. END FUNCTION;
  7723. execute function __TSTempDropTriggers();
  7724. drop function __TSTempDropTriggers () ;
  7725. ",
  7726. "t",
  7727. "
  7728. ",
  7729. "f"
  7730. );
  7731. insert into sysbldobjdepends
  7732. (
  7733. bld_id,
  7734. obj_kind,
  7735. obj_signature,
  7736. obj_owner,
  7737. need_obj_kind,
  7738. need_obj_signature,
  7739. need_obj_owner)
  7740. values
  7741. (
  7742. "%SYSBLDNAME%",
  7743. 0, "tsbinload_shutdown",
  7744. "%SYSBLDUSER%",
  7745. 6, "TSL_Shutdown (lvarchar,integer)",
  7746. "%SYSBLDUSER%"
  7747. );
  7748. insert into sysbldobjdepends
  7749. (
  7750. bld_id,
  7751. obj_kind,
  7752. obj_signature,
  7753. obj_owner,
  7754. need_obj_kind,
  7755. need_obj_signature,
  7756. need_obj_owner)
  7757. values
  7758. (
  7759. "%SYSBLDNAME%",
  7760. 0, "tsbinload_shutdown",
  7761. "%SYSBLDUSER%",
  7762. 140, "Alter-PerCallStack-TSL_Shutdown (lvarchar,integer)",
  7763. "%SYSBLDUSER%"
  7764. );
  7765. insert into sysbldobjects
  7766. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7767. create_can_fail, drop_sql, drop_can_fail)
  7768. values
  7769. (
  7770. "%SYSBLDNAME%", 0, "stream",
  7771. "%SYSBLDUSER%", 0,
  7772. "-- bladesmith does not support stream data type
  7773. CREATE FUNCTION streamwrite (stream, timeseries)
  7774. returning integer
  7775. external name '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_streamwrite)'
  7776. language c;
  7777. grant execute on function streamwrite(stream,timeseries ) to public;
  7778. CREATE FUNCTION streamread (stream, OUT timeseries)
  7779. returning integer
  7780. external name '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_streamread)'
  7781. language c;
  7782. grant execute on function streamread(stream,timeseries ) to public;
  7783. ",
  7784. "f",
  7785. "drop function if exists streamread (stream, timeseries);
  7786. drop function if exists streamwrite (stream, timeseries);
  7787. ",
  7788. "f"
  7789. );
  7790. insert into sysbldobjdepends
  7791. (
  7792. bld_id,
  7793. obj_kind,
  7794. obj_signature,
  7795. obj_owner,
  7796. need_obj_kind,
  7797. need_obj_signature,
  7798. need_obj_owner)
  7799. values
  7800. (
  7801. "%SYSBLDNAME%",
  7802. 0, "stream",
  7803. "%SYSBLDUSER%",
  7804. 7, "TimeSeries",
  7805. "%SYSBLDUSER%"
  7806. );
  7807. insert into sysbldobjects
  7808. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7809. create_can_fail, drop_sql, drop_can_fail)
  7810. values
  7811. (
  7812. "%SYSBLDNAME%", 5, "InstanceId (TimeSeries)",
  7813. "%SYSBLDUSER%", 0,
  7814. "create function InstanceId (TimeSeries)
  7815. returns bigint with (not variant, parallelizable)
  7816. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_instid)"" language c;
  7817. ",
  7818. "f",
  7819. "drop function InstanceId (TimeSeries);
  7820. ",
  7821. "f"
  7822. );
  7823. insert into sysbldobjdepends
  7824. (
  7825. bld_id,
  7826. obj_kind,
  7827. obj_signature,
  7828. obj_owner,
  7829. need_obj_kind,
  7830. need_obj_signature,
  7831. need_obj_owner)
  7832. values
  7833. (
  7834. "%SYSBLDNAME%",
  7835. 5, "InstanceId (TimeSeries)",
  7836. "%SYSBLDUSER%",
  7837. 7, "TimeSeries",
  7838. "%SYSBLDUSER%"
  7839. );
  7840. insert into sysbldobjects
  7841. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7842. create_can_fail, drop_sql, drop_can_fail)
  7843. values
  7844. (
  7845. "%SYSBLDNAME%", 69, "InstanceId (TimeSeries)",
  7846. "%SYSBLDUSER%", 0,
  7847. "grant execute on function InstanceId (TimeSeries) to public;
  7848. ",
  7849. "f",
  7850. "",
  7851. "f"
  7852. );
  7853. insert into sysbldobjdepends
  7854. (
  7855. bld_id,
  7856. obj_kind,
  7857. obj_signature,
  7858. obj_owner,
  7859. need_obj_kind,
  7860. need_obj_signature,
  7861. need_obj_owner)
  7862. values
  7863. (
  7864. "%SYSBLDNAME%",
  7865. 69, "InstanceId (TimeSeries)",
  7866. "%SYSBLDUSER%",
  7867. 5, "InstanceId (TimeSeries)",
  7868. "%SYSBLDUSER%"
  7869. );
  7870. insert into sysbldobjects
  7871. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7872. create_can_fail, drop_sql, drop_can_fail)
  7873. values
  7874. (
  7875. "%SYSBLDNAME%", 0, "ts_vtam_pushdown",
  7876. "%SYSBLDUSER%", 0,
  7877. "ALTER ACCESS_METHOD ts_vtam
  7878. ADD AM_EXPR_PUSHDOWN;
  7879. ",
  7880. "f",
  7881. "ALTER ACCESS_METHOD ts_vtam
  7882. DROP AM_EXPR_PUSHDOWN;
  7883. ",
  7884. "f"
  7885. );
  7886. insert into sysbldobjdepends
  7887. (
  7888. bld_id,
  7889. obj_kind,
  7890. obj_signature,
  7891. obj_owner,
  7892. need_obj_kind,
  7893. need_obj_signature,
  7894. need_obj_owner)
  7895. values
  7896. (
  7897. "%SYSBLDNAME%",
  7898. 0, "ts_vtam_pushdown",
  7899. "%SYSBLDUSER%",
  7900. 0, "ts_vtam",
  7901. "%SYSBLDUSER%"
  7902. );
  7903. insert into sysbldobjects
  7904. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7905. create_can_fail, drop_sql, drop_can_fail)
  7906. values
  7907. (
  7908. "%SYSBLDNAME%", 0, "ts_vtam_sbtype",
  7909. "%SYSBLDUSER%", 0,
  7910. "ALTER ACCESS_METHOD ts_vtam
  7911. modify AM_SPTYPE = 'D'
  7912. ",
  7913. "f",
  7914. "ALTER ACCESS_METHOD ts_vtam
  7915. modify AM_SPTYPE = 'A'
  7916. ",
  7917. "f"
  7918. );
  7919. insert into sysbldobjdepends
  7920. (
  7921. bld_id,
  7922. obj_kind,
  7923. obj_signature,
  7924. obj_owner,
  7925. need_obj_kind,
  7926. need_obj_signature,
  7927. need_obj_owner)
  7928. values
  7929. (
  7930. "%SYSBLDNAME%",
  7931. 0, "ts_vtam_sbtype",
  7932. "%SYSBLDUSER%",
  7933. 0, "ts_vtam_pushdown",
  7934. "%SYSBLDUSER%"
  7935. );
  7936. insert into sysbldobjects
  7937. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7938. create_can_fail, drop_sql, drop_can_fail)
  7939. values
  7940. (
  7941. "%SYSBLDNAME%", 0, "TSL_FlushStatus",
  7942. "%SYSBLDUSER%", 0,
  7943. "CREATE FUNCTION TSL_FlushStatus(val int)
  7944. RETURNS int as num_instance_id_changes, int as num_elements_modified
  7945. DEFINE v1, v2 integer;
  7946. LET v1 = val / 65536;
  7947. LET v2 = mod(val, 65536);
  7948. RETURN v1, v2;
  7949. END FUNCTION;
  7950. GRANT EXECUTE ON FUNCTION TSL_FlushStatus (int) to public;
  7951. ",
  7952. "f",
  7953. "DROP FUNCTION TSL_FlushStatus(int);
  7954. ",
  7955. "f"
  7956. );
  7957. insert into sysbldobjects
  7958. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7959. create_can_fail, drop_sql, drop_can_fail)
  7960. values
  7961. (
  7962. "%SYSBLDNAME%", 7, "TimeSeriesMeta",
  7963. "%SYSBLDUSER%", 0,
  7964. "create opaque type TimeSeriesMeta(
  7965. internallength = variable,
  7966. maxlen = 512,
  7967. alignment = 4
  7968. );
  7969. ",
  7970. "f",
  7971. "drop type TimeSeriesMeta restrict;
  7972. ",
  7973. "f"
  7974. );
  7975. insert into sysbldobjects
  7976. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  7977. create_can_fail, drop_sql, drop_can_fail)
  7978. values
  7979. (
  7980. "%SYSBLDNAME%", 71, "TimeSeriesMeta",
  7981. "%SYSBLDUSER%", 0,
  7982. "grant usage on type TimeSeriesMeta to public;
  7983. ",
  7984. "f",
  7985. "",
  7986. "f"
  7987. );
  7988. insert into sysbldobjdepends
  7989. (
  7990. bld_id,
  7991. obj_kind,
  7992. obj_signature,
  7993. obj_owner,
  7994. need_obj_kind,
  7995. need_obj_signature,
  7996. need_obj_owner)
  7997. values
  7998. (
  7999. "%SYSBLDNAME%",
  8000. 71, "TimeSeriesMeta",
  8001. "%SYSBLDUSER%",
  8002. 7, "TimeSeriesMeta",
  8003. "%SYSBLDUSER%"
  8004. );
  8005. insert into sysbldobjects
  8006. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8007. create_can_fail, drop_sql, drop_can_fail)
  8008. values
  8009. (
  8010. "%SYSBLDNAME%", 7, "TimeSeriesAggState",
  8011. "%SYSBLDUSER%", 0,
  8012. "create opaque type TimeSeriesAggState(
  8013. internallength = variable,
  8014. maxlen = 2048,
  8015. alignment = 8
  8016. );
  8017. ",
  8018. "f",
  8019. "drop type TimeSeriesAggState restrict;
  8020. ",
  8021. "f"
  8022. );
  8023. insert into sysbldobjects
  8024. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8025. create_can_fail, drop_sql, drop_can_fail)
  8026. values
  8027. (
  8028. "%SYSBLDNAME%", 71, "TimeSeriesAggState",
  8029. "%SYSBLDUSER%", 0,
  8030. "grant usage on type TimeSeriesAggState to public;
  8031. ",
  8032. "f",
  8033. "",
  8034. "f"
  8035. );
  8036. insert into sysbldobjdepends
  8037. (
  8038. bld_id,
  8039. obj_kind,
  8040. obj_signature,
  8041. obj_owner,
  8042. need_obj_kind,
  8043. need_obj_signature,
  8044. need_obj_owner)
  8045. values
  8046. (
  8047. "%SYSBLDNAME%",
  8048. 71, "TimeSeriesAggState",
  8049. "%SYSBLDUSER%",
  8050. 7, "TimeSeriesAggState",
  8051. "%SYSBLDUSER%"
  8052. );
  8053. insert into sysbldobjects
  8054. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8055. create_can_fail, drop_sql, drop_can_fail)
  8056. values
  8057. (
  8058. "%SYSBLDNAME%", 7, "TSRollup_t",
  8059. "%SYSBLDUSER%", 0,
  8060. "create opaque type TSRollup_t(
  8061. internallength = variable,
  8062. maxlen = 1024,
  8063. alignment = 8
  8064. );
  8065. ",
  8066. "f",
  8067. "drop type TSRollup_t restrict;
  8068. ",
  8069. "f"
  8070. );
  8071. insert into sysbldobjects
  8072. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8073. create_can_fail, drop_sql, drop_can_fail)
  8074. values
  8075. (
  8076. "%SYSBLDNAME%", 71, "TSRollup_t",
  8077. "%SYSBLDUSER%", 0,
  8078. "grant usage on type TSRollup_t to public;
  8079. ",
  8080. "f",
  8081. "",
  8082. "f"
  8083. );
  8084. insert into sysbldobjdepends
  8085. (
  8086. bld_id,
  8087. obj_kind,
  8088. obj_signature,
  8089. obj_owner,
  8090. need_obj_kind,
  8091. need_obj_signature,
  8092. need_obj_owner)
  8093. values
  8094. (
  8095. "%SYSBLDNAME%",
  8096. 71, "TSRollup_t",
  8097. "%SYSBLDUSER%",
  8098. 7, "TSRollup_t",
  8099. "%SYSBLDUSER%"
  8100. );
  8101. insert into sysbldobjects
  8102. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8103. create_can_fail, drop_sql, drop_can_fail)
  8104. values
  8105. (
  8106. "%SYSBLDNAME%", 7, "TSL_FlushInfo_r",
  8107. "%SYSBLDUSER%", 0,
  8108. "create row type TSL_FlushInfo_r
  8109. (
  8110. containers integer,
  8111. elements integer,
  8112. duplicates integer,
  8113. instance_ids integer,
  8114. commits integer,
  8115. rollbacks integer,
  8116. exceptions integer,
  8117. errors integer
  8118. );
  8119. ",
  8120. "f",
  8121. "drop row type TSL_FlushInfo_r restrict;
  8122. ",
  8123. "f"
  8124. );
  8125. insert into sysbldobjects
  8126. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8127. create_can_fail, drop_sql, drop_can_fail)
  8128. values
  8129. (
  8130. "%SYSBLDNAME%", 71, "TSL_FlushInfo_r",
  8131. "%SYSBLDUSER%", 0,
  8132. "grant usage on type TSL_FlushInfo_r to public;
  8133. ",
  8134. "f",
  8135. "",
  8136. "f"
  8137. );
  8138. insert into sysbldobjdepends
  8139. (
  8140. bld_id,
  8141. obj_kind,
  8142. obj_signature,
  8143. obj_owner,
  8144. need_obj_kind,
  8145. need_obj_signature,
  8146. need_obj_owner)
  8147. values
  8148. (
  8149. "%SYSBLDNAME%",
  8150. 71, "TSL_FlushInfo_r",
  8151. "%SYSBLDUSER%",
  8152. 7, "TSL_FlushInfo_r",
  8153. "%SYSBLDUSER%"
  8154. );
  8155. insert into sysbldobjects
  8156. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8157. create_can_fail, drop_sql, drop_can_fail)
  8158. values
  8159. (
  8160. "%SYSBLDNAME%", 7, "ts_packed_rowtype_t",
  8161. "%SYSBLDUSER%", 0,
  8162. "create row type ts_packed_rowtype_t
  8163. (
  8164. ts_pack_tstamp datetime year to fraction(5),
  8165. ts_pack_lvarchar lvarchar(32739)
  8166. );
  8167. ",
  8168. "f",
  8169. "drop row type ts_packed_rowtype_t restrict;
  8170. ",
  8171. "f"
  8172. );
  8173. insert into sysbldobjects
  8174. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8175. create_can_fail, drop_sql, drop_can_fail)
  8176. values
  8177. (
  8178. "%SYSBLDNAME%", 71, "ts_packed_rowtype_t",
  8179. "%SYSBLDUSER%", 0,
  8180. "grant usage on type ts_packed_rowtype_t to public;
  8181. ",
  8182. "f",
  8183. "",
  8184. "f"
  8185. );
  8186. insert into sysbldobjdepends
  8187. (
  8188. bld_id,
  8189. obj_kind,
  8190. obj_signature,
  8191. obj_owner,
  8192. need_obj_kind,
  8193. need_obj_signature,
  8194. need_obj_owner)
  8195. values
  8196. (
  8197. "%SYSBLDNAME%",
  8198. 71, "ts_packed_rowtype_t",
  8199. "%SYSBLDUSER%",
  8200. 7, "ts_packed_rowtype_t",
  8201. "%SYSBLDUSER%"
  8202. );
  8203. insert into sysbldobjects
  8204. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8205. create_can_fail, drop_sql, drop_can_fail)
  8206. values
  8207. (
  8208. "%SYSBLDNAME%", 5, "Expand (CalendarPattern,lvarchar)",
  8209. "%SYSBLDUSER%", 0,
  8210. "create function Expand (CalendarPattern,lvarchar)
  8211. returns CalendarPattern with (not variant)
  8212. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_expand_sql)"" language c;
  8213. ",
  8214. "f",
  8215. "drop function Expand (CalendarPattern,lvarchar);
  8216. ",
  8217. "f"
  8218. );
  8219. insert into sysbldobjdepends
  8220. (
  8221. bld_id,
  8222. obj_kind,
  8223. obj_signature,
  8224. obj_owner,
  8225. need_obj_kind,
  8226. need_obj_signature,
  8227. need_obj_owner)
  8228. values
  8229. (
  8230. "%SYSBLDNAME%",
  8231. 5, "Expand (CalendarPattern,lvarchar)",
  8232. "%SYSBLDUSER%",
  8233. 7, "CalendarPattern",
  8234. "%SYSBLDUSER%"
  8235. );
  8236. insert into sysbldobjects
  8237. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8238. create_can_fail, drop_sql, drop_can_fail)
  8239. values
  8240. (
  8241. "%SYSBLDNAME%", 69, "Expand (CalendarPattern,lvarchar)",
  8242. "%SYSBLDUSER%", 0,
  8243. "grant execute on function Expand (CalendarPattern,lvarchar) to public;
  8244. ",
  8245. "f",
  8246. "",
  8247. "f"
  8248. );
  8249. insert into sysbldobjdepends
  8250. (
  8251. bld_id,
  8252. obj_kind,
  8253. obj_signature,
  8254. obj_owner,
  8255. need_obj_kind,
  8256. need_obj_signature,
  8257. need_obj_owner)
  8258. values
  8259. (
  8260. "%SYSBLDNAME%",
  8261. 69, "Expand (CalendarPattern,lvarchar)",
  8262. "%SYSBLDUSER%",
  8263. 5, "Expand (CalendarPattern,lvarchar)",
  8264. "%SYSBLDUSER%"
  8265. );
  8266. insert into sysbldobjects
  8267. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8268. create_can_fail, drop_sql, drop_can_fail)
  8269. values
  8270. (
  8271. "%SYSBLDNAME%", 5, "Collapse (CalendarPattern,lvarchar)",
  8272. "%SYSBLDUSER%", 0,
  8273. "create function Collapse (CalendarPattern,lvarchar)
  8274. returns CalendarPattern with (not variant)
  8275. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_collapse_sql)"" language c;
  8276. ",
  8277. "f",
  8278. "drop function Collapse (CalendarPattern,lvarchar);
  8279. ",
  8280. "f"
  8281. );
  8282. insert into sysbldobjdepends
  8283. (
  8284. bld_id,
  8285. obj_kind,
  8286. obj_signature,
  8287. obj_owner,
  8288. need_obj_kind,
  8289. need_obj_signature,
  8290. need_obj_owner)
  8291. values
  8292. (
  8293. "%SYSBLDNAME%",
  8294. 5, "Collapse (CalendarPattern,lvarchar)",
  8295. "%SYSBLDUSER%",
  8296. 7, "CalendarPattern",
  8297. "%SYSBLDUSER%"
  8298. );
  8299. insert into sysbldobjects
  8300. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8301. create_can_fail, drop_sql, drop_can_fail)
  8302. values
  8303. (
  8304. "%SYSBLDNAME%", 69, "Collapse (CalendarPattern,lvarchar)",
  8305. "%SYSBLDUSER%", 0,
  8306. "grant execute on function Collapse (CalendarPattern,lvarchar) to public;
  8307. ",
  8308. "f",
  8309. "",
  8310. "f"
  8311. );
  8312. insert into sysbldobjdepends
  8313. (
  8314. bld_id,
  8315. obj_kind,
  8316. obj_signature,
  8317. obj_owner,
  8318. need_obj_kind,
  8319. need_obj_signature,
  8320. need_obj_owner)
  8321. values
  8322. (
  8323. "%SYSBLDNAME%",
  8324. 69, "Collapse (CalendarPattern,lvarchar)",
  8325. "%SYSBLDUSER%",
  8326. 5, "Collapse (CalendarPattern,lvarchar)",
  8327. "%SYSBLDUSER%"
  8328. );
  8329. insert into sysbldobjects
  8330. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8331. create_can_fail, drop_sql, drop_can_fail)
  8332. values
  8333. (
  8334. "%SYSBLDNAME%", 5, "NotOp (CalendarPattern)",
  8335. "%SYSBLDUSER%", 0,
  8336. "create function NotOp (CalendarPattern)
  8337. returns CalendarPattern with (not variant)
  8338. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_not)"" language c;
  8339. ",
  8340. "f",
  8341. "drop function NotOp (CalendarPattern);
  8342. ",
  8343. "f"
  8344. );
  8345. insert into sysbldobjdepends
  8346. (
  8347. bld_id,
  8348. obj_kind,
  8349. obj_signature,
  8350. obj_owner,
  8351. need_obj_kind,
  8352. need_obj_signature,
  8353. need_obj_owner)
  8354. values
  8355. (
  8356. "%SYSBLDNAME%",
  8357. 5, "NotOp (CalendarPattern)",
  8358. "%SYSBLDUSER%",
  8359. 7, "CalendarPattern",
  8360. "%SYSBLDUSER%"
  8361. );
  8362. insert into sysbldobjects
  8363. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8364. create_can_fail, drop_sql, drop_can_fail)
  8365. values
  8366. (
  8367. "%SYSBLDNAME%", 69, "NotOp (CalendarPattern)",
  8368. "%SYSBLDUSER%", 0,
  8369. "grant execute on function NotOp (CalendarPattern) to public;
  8370. ",
  8371. "f",
  8372. "",
  8373. "f"
  8374. );
  8375. insert into sysbldobjdepends
  8376. (
  8377. bld_id,
  8378. obj_kind,
  8379. obj_signature,
  8380. obj_owner,
  8381. need_obj_kind,
  8382. need_obj_signature,
  8383. need_obj_owner)
  8384. values
  8385. (
  8386. "%SYSBLDNAME%",
  8387. 69, "NotOp (CalendarPattern)",
  8388. "%SYSBLDUSER%",
  8389. 5, "NotOp (CalendarPattern)",
  8390. "%SYSBLDUSER%"
  8391. );
  8392. insert into sysbldobjects
  8393. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8394. create_can_fail, drop_sql, drop_can_fail)
  8395. values
  8396. (
  8397. "%SYSBLDNAME%", 5, "AndOp (CalendarPattern,CalendarPattern)",
  8398. "%SYSBLDUSER%", 0,
  8399. "create function AndOp (CalendarPattern,CalendarPattern)
  8400. returns CalendarPattern with (not variant)
  8401. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_and)"" language c;
  8402. ",
  8403. "f",
  8404. "drop function AndOp (CalendarPattern,CalendarPattern);
  8405. ",
  8406. "f"
  8407. );
  8408. insert into sysbldobjdepends
  8409. (
  8410. bld_id,
  8411. obj_kind,
  8412. obj_signature,
  8413. obj_owner,
  8414. need_obj_kind,
  8415. need_obj_signature,
  8416. need_obj_owner)
  8417. values
  8418. (
  8419. "%SYSBLDNAME%",
  8420. 5, "AndOp (CalendarPattern,CalendarPattern)",
  8421. "%SYSBLDUSER%",
  8422. 7, "CalendarPattern",
  8423. "%SYSBLDUSER%"
  8424. );
  8425. insert into sysbldobjects
  8426. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8427. create_can_fail, drop_sql, drop_can_fail)
  8428. values
  8429. (
  8430. "%SYSBLDNAME%", 69, "AndOp (CalendarPattern,CalendarPattern)",
  8431. "%SYSBLDUSER%", 0,
  8432. "grant execute on function AndOp (CalendarPattern,CalendarPattern) to public;
  8433. ",
  8434. "f",
  8435. "",
  8436. "f"
  8437. );
  8438. insert into sysbldobjdepends
  8439. (
  8440. bld_id,
  8441. obj_kind,
  8442. obj_signature,
  8443. obj_owner,
  8444. need_obj_kind,
  8445. need_obj_signature,
  8446. need_obj_owner)
  8447. values
  8448. (
  8449. "%SYSBLDNAME%",
  8450. 69, "AndOp (CalendarPattern,CalendarPattern)",
  8451. "%SYSBLDUSER%",
  8452. 5, "AndOp (CalendarPattern,CalendarPattern)",
  8453. "%SYSBLDUSER%"
  8454. );
  8455. insert into sysbldobjects
  8456. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8457. create_can_fail, drop_sql, drop_can_fail)
  8458. values
  8459. (
  8460. "%SYSBLDNAME%", 5, "OrOp (CalendarPattern,CalendarPattern)",
  8461. "%SYSBLDUSER%", 0,
  8462. "create function OrOp (CalendarPattern,CalendarPattern)
  8463. returns CalendarPattern with (not variant)
  8464. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_or)"" language c;
  8465. ",
  8466. "f",
  8467. "drop function OrOp (CalendarPattern,CalendarPattern);
  8468. ",
  8469. "f"
  8470. );
  8471. insert into sysbldobjdepends
  8472. (
  8473. bld_id,
  8474. obj_kind,
  8475. obj_signature,
  8476. obj_owner,
  8477. need_obj_kind,
  8478. need_obj_signature,
  8479. need_obj_owner)
  8480. values
  8481. (
  8482. "%SYSBLDNAME%",
  8483. 5, "OrOp (CalendarPattern,CalendarPattern)",
  8484. "%SYSBLDUSER%",
  8485. 7, "CalendarPattern",
  8486. "%SYSBLDUSER%"
  8487. );
  8488. insert into sysbldobjects
  8489. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8490. create_can_fail, drop_sql, drop_can_fail)
  8491. values
  8492. (
  8493. "%SYSBLDNAME%", 69, "OrOp (CalendarPattern,CalendarPattern)",
  8494. "%SYSBLDUSER%", 0,
  8495. "grant execute on function OrOp (CalendarPattern,CalendarPattern) to public;
  8496. ",
  8497. "f",
  8498. "",
  8499. "f"
  8500. );
  8501. insert into sysbldobjdepends
  8502. (
  8503. bld_id,
  8504. obj_kind,
  8505. obj_signature,
  8506. obj_owner,
  8507. need_obj_kind,
  8508. need_obj_signature,
  8509. need_obj_owner)
  8510. values
  8511. (
  8512. "%SYSBLDNAME%",
  8513. 69, "OrOp (CalendarPattern,CalendarPattern)",
  8514. "%SYSBLDUSER%",
  8515. 5, "OrOp (CalendarPattern,CalendarPattern)",
  8516. "%SYSBLDUSER%"
  8517. );
  8518. insert into sysbldobjects
  8519. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8520. create_can_fail, drop_sql, drop_can_fail)
  8521. values
  8522. (
  8523. "%SYSBLDNAME%", 5, "AndOp (Calendar,Calendar)",
  8524. "%SYSBLDUSER%", 0,
  8525. "create function AndOp (Calendar,Calendar)
  8526. returns Calendar with (not variant)
  8527. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_and)"" language c;
  8528. ",
  8529. "f",
  8530. "drop function AndOp (Calendar,Calendar);
  8531. ",
  8532. "f"
  8533. );
  8534. insert into sysbldobjdepends
  8535. (
  8536. bld_id,
  8537. obj_kind,
  8538. obj_signature,
  8539. obj_owner,
  8540. need_obj_kind,
  8541. need_obj_signature,
  8542. need_obj_owner)
  8543. values
  8544. (
  8545. "%SYSBLDNAME%",
  8546. 5, "AndOp (Calendar,Calendar)",
  8547. "%SYSBLDUSER%",
  8548. 7, "Calendar",
  8549. "%SYSBLDUSER%"
  8550. );
  8551. insert into sysbldobjects
  8552. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8553. create_can_fail, drop_sql, drop_can_fail)
  8554. values
  8555. (
  8556. "%SYSBLDNAME%", 69, "AndOp (Calendar,Calendar)",
  8557. "%SYSBLDUSER%", 0,
  8558. "grant execute on function AndOp (Calendar,Calendar) to public;
  8559. ",
  8560. "f",
  8561. "",
  8562. "f"
  8563. );
  8564. insert into sysbldobjdepends
  8565. (
  8566. bld_id,
  8567. obj_kind,
  8568. obj_signature,
  8569. obj_owner,
  8570. need_obj_kind,
  8571. need_obj_signature,
  8572. need_obj_owner)
  8573. values
  8574. (
  8575. "%SYSBLDNAME%",
  8576. 69, "AndOp (Calendar,Calendar)",
  8577. "%SYSBLDUSER%",
  8578. 5, "AndOp (Calendar,Calendar)",
  8579. "%SYSBLDUSER%"
  8580. );
  8581. insert into sysbldobjects
  8582. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8583. create_can_fail, drop_sql, drop_can_fail)
  8584. values
  8585. (
  8586. "%SYSBLDNAME%", 5, "OrOp (Calendar,Calendar)",
  8587. "%SYSBLDUSER%", 0,
  8588. "create function OrOp (Calendar,Calendar)
  8589. returns Calendar with (not variant)
  8590. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_or)"" language c;
  8591. ",
  8592. "f",
  8593. "drop function OrOp (Calendar,Calendar);
  8594. ",
  8595. "f"
  8596. );
  8597. insert into sysbldobjdepends
  8598. (
  8599. bld_id,
  8600. obj_kind,
  8601. obj_signature,
  8602. obj_owner,
  8603. need_obj_kind,
  8604. need_obj_signature,
  8605. need_obj_owner)
  8606. values
  8607. (
  8608. "%SYSBLDNAME%",
  8609. 5, "OrOp (Calendar,Calendar)",
  8610. "%SYSBLDUSER%",
  8611. 7, "Calendar",
  8612. "%SYSBLDUSER%"
  8613. );
  8614. insert into sysbldobjects
  8615. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8616. create_can_fail, drop_sql, drop_can_fail)
  8617. values
  8618. (
  8619. "%SYSBLDNAME%", 69, "OrOp (Calendar,Calendar)",
  8620. "%SYSBLDUSER%", 0,
  8621. "grant execute on function OrOp (Calendar,Calendar) to public;
  8622. ",
  8623. "f",
  8624. "",
  8625. "f"
  8626. );
  8627. insert into sysbldobjdepends
  8628. (
  8629. bld_id,
  8630. obj_kind,
  8631. obj_signature,
  8632. obj_owner,
  8633. need_obj_kind,
  8634. need_obj_signature,
  8635. need_obj_owner)
  8636. values
  8637. (
  8638. "%SYSBLDNAME%",
  8639. 69, "OrOp (Calendar,Calendar)",
  8640. "%SYSBLDUSER%",
  8641. 5, "OrOp (Calendar,Calendar)",
  8642. "%SYSBLDUSER%"
  8643. );
  8644. insert into sysbldobjects
  8645. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8646. create_can_fail, drop_sql, drop_can_fail)
  8647. values
  8648. (
  8649. "%SYSBLDNAME%", 5, "CalOrigin (lvarchar,datetime)",
  8650. "%SYSBLDUSER%", 0,
  8651. "create function CalOrigin (lvarchar,datetime year to fraction(5))
  8652. returns integer with (not variant)
  8653. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_origin_sql)"" language c;
  8654. ",
  8655. "f",
  8656. "drop function CalOrigin (lvarchar,datetime year to fraction(5));
  8657. ",
  8658. "f"
  8659. );
  8660. insert into sysbldobjects
  8661. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8662. create_can_fail, drop_sql, drop_can_fail)
  8663. values
  8664. (
  8665. "%SYSBLDNAME%", 69, "CalOrigin (lvarchar,datetime)",
  8666. "%SYSBLDUSER%", 0,
  8667. "grant execute on function CalOrigin (lvarchar,datetime year to fraction(5)) to public;
  8668. ",
  8669. "f",
  8670. "",
  8671. "f"
  8672. );
  8673. insert into sysbldobjdepends
  8674. (
  8675. bld_id,
  8676. obj_kind,
  8677. obj_signature,
  8678. obj_owner,
  8679. need_obj_kind,
  8680. need_obj_signature,
  8681. need_obj_owner)
  8682. values
  8683. (
  8684. "%SYSBLDNAME%",
  8685. 69, "CalOrigin (lvarchar,datetime)",
  8686. "%SYSBLDUSER%",
  8687. 5, "CalOrigin (lvarchar,datetime)",
  8688. "%SYSBLDUSER%"
  8689. );
  8690. insert into sysbldobjects
  8691. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8692. create_can_fail, drop_sql, drop_can_fail)
  8693. values
  8694. (
  8695. "%SYSBLDNAME%", 5, "CalIndex (lvarchar,datetime,datetime)",
  8696. "%SYSBLDUSER%", 0,
  8697. "create function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5))
  8698. returns int with (not variant)
  8699. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_intervals)"" language c;
  8700. ",
  8701. "f",
  8702. "drop function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5));
  8703. ",
  8704. "f"
  8705. );
  8706. insert into sysbldobjects
  8707. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8708. create_can_fail, drop_sql, drop_can_fail)
  8709. values
  8710. (
  8711. "%SYSBLDNAME%", 69, "CalIndex (lvarchar,datetime,datetime)",
  8712. "%SYSBLDUSER%", 0,
  8713. "grant execute on function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;
  8714. ",
  8715. "f",
  8716. "",
  8717. "f"
  8718. );
  8719. insert into sysbldobjdepends
  8720. (
  8721. bld_id,
  8722. obj_kind,
  8723. obj_signature,
  8724. obj_owner,
  8725. need_obj_kind,
  8726. need_obj_signature,
  8727. need_obj_owner)
  8728. values
  8729. (
  8730. "%SYSBLDNAME%",
  8731. 69, "CalIndex (lvarchar,datetime,datetime)",
  8732. "%SYSBLDUSER%",
  8733. 5, "CalIndex (lvarchar,datetime,datetime)",
  8734. "%SYSBLDUSER%"
  8735. );
  8736. insert into sysbldobjects
  8737. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8738. create_can_fail, drop_sql, drop_can_fail)
  8739. values
  8740. (
  8741. "%SYSBLDNAME%", 5, "CalRange (lvarchar,datetime,datetime)",
  8742. "%SYSBLDUSER%", 0,
  8743. "create function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5))
  8744. returns list (datetime year to fraction(5) not null) with (not variant)
  8745. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_sql)"" language c;
  8746. ",
  8747. "f",
  8748. "drop function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5));
  8749. ",
  8750. "f"
  8751. );
  8752. insert into sysbldobjdepends
  8753. (
  8754. bld_id,
  8755. obj_kind,
  8756. obj_signature,
  8757. obj_owner,
  8758. need_obj_kind,
  8759. need_obj_signature,
  8760. need_obj_owner)
  8761. values
  8762. (
  8763. "%SYSBLDNAME%",
  8764. 5, "CalRange (lvarchar,datetime,datetime)",
  8765. "%SYSBLDUSER%",
  8766. 7, "datetime year to fraction(5)",
  8767. "%SYSBLDUSER%"
  8768. );
  8769. insert into sysbldobjects
  8770. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8771. create_can_fail, drop_sql, drop_can_fail)
  8772. values
  8773. (
  8774. "%SYSBLDNAME%", 69, "CalRange (lvarchar,datetime,datetime)",
  8775. "%SYSBLDUSER%", 0,
  8776. "grant execute on function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;
  8777. ",
  8778. "f",
  8779. "",
  8780. "f"
  8781. );
  8782. insert into sysbldobjdepends
  8783. (
  8784. bld_id,
  8785. obj_kind,
  8786. obj_signature,
  8787. obj_owner,
  8788. need_obj_kind,
  8789. need_obj_signature,
  8790. need_obj_owner)
  8791. values
  8792. (
  8793. "%SYSBLDNAME%",
  8794. 69, "CalRange (lvarchar,datetime,datetime)",
  8795. "%SYSBLDUSER%",
  8796. 5, "CalRange (lvarchar,datetime,datetime)",
  8797. "%SYSBLDUSER%"
  8798. );
  8799. insert into sysbldobjects
  8800. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8801. create_can_fail, drop_sql, drop_can_fail)
  8802. values
  8803. (
  8804. "%SYSBLDNAME%", 5, "CalRange (lvarchar,datetime,int)",
  8805. "%SYSBLDUSER%", 0,
  8806. "create function CalRange (lvarchar,datetime year to fraction(5),int)
  8807. returns list (datetime year to fraction(5) not null) with (not variant)
  8808. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_num)"" language c;
  8809. ",
  8810. "f",
  8811. "drop function CalRange (lvarchar,datetime year to fraction(5),int);
  8812. ",
  8813. "f"
  8814. );
  8815. insert into sysbldobjdepends
  8816. (
  8817. bld_id,
  8818. obj_kind,
  8819. obj_signature,
  8820. obj_owner,
  8821. need_obj_kind,
  8822. need_obj_signature,
  8823. need_obj_owner)
  8824. values
  8825. (
  8826. "%SYSBLDNAME%",
  8827. 5, "CalRange (lvarchar,datetime,int)",
  8828. "%SYSBLDUSER%",
  8829. 7, "datetime year to fraction(5)",
  8830. "%SYSBLDUSER%"
  8831. );
  8832. insert into sysbldobjects
  8833. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8834. create_can_fail, drop_sql, drop_can_fail)
  8835. values
  8836. (
  8837. "%SYSBLDNAME%", 69, "CalRange (lvarchar,datetime,int)",
  8838. "%SYSBLDUSER%", 0,
  8839. "grant execute on function CalRange (lvarchar,datetime year to fraction(5),int) to public;
  8840. ",
  8841. "f",
  8842. "",
  8843. "f"
  8844. );
  8845. insert into sysbldobjdepends
  8846. (
  8847. bld_id,
  8848. obj_kind,
  8849. obj_signature,
  8850. obj_owner,
  8851. need_obj_kind,
  8852. need_obj_signature,
  8853. need_obj_owner)
  8854. values
  8855. (
  8856. "%SYSBLDNAME%",
  8857. 69, "CalRange (lvarchar,datetime,int)",
  8858. "%SYSBLDUSER%",
  8859. 5, "CalRange (lvarchar,datetime,int)",
  8860. "%SYSBLDUSER%"
  8861. );
  8862. insert into sysbldobjects
  8863. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8864. create_can_fail, drop_sql, drop_can_fail)
  8865. values
  8866. (
  8867. "%SYSBLDNAME%", 6, "Destroy (tsPartitionDesc_t)",
  8868. "%SYSBLDUSER%", 0,
  8869. "create procedure Destroy (tsPartitionDesc_t)
  8870. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_destroy)"" language c;
  8871. ",
  8872. "f",
  8873. "drop procedure Destroy (tsPartitionDesc_t);
  8874. ",
  8875. "f"
  8876. );
  8877. insert into sysbldobjdepends
  8878. (
  8879. bld_id,
  8880. obj_kind,
  8881. obj_signature,
  8882. obj_owner,
  8883. need_obj_kind,
  8884. need_obj_signature,
  8885. need_obj_owner)
  8886. values
  8887. (
  8888. "%SYSBLDNAME%",
  8889. 6, "Destroy (tsPartitionDesc_t)",
  8890. "%SYSBLDUSER%",
  8891. 7, "tsPartitionDesc_t",
  8892. "%SYSBLDUSER%"
  8893. );
  8894. insert into sysbldobjects
  8895. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8896. create_can_fail, drop_sql, drop_can_fail)
  8897. values
  8898. (
  8899. "%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (tsPartitionDesc_t)",
  8900. "%SYSBLDUSER%", 0,
  8901. "alter procedure Destroy (tsPartitionDesc_t)
  8902. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_destroy)"");
  8903. ",
  8904. "f",
  8905. "alter procedure Destroy (tsPartitionDesc_t)
  8906. with (Modify External Name = ""ts_partition_destroy"");
  8907. ",
  8908. "f"
  8909. );
  8910. insert into sysbldobjdepends
  8911. (
  8912. bld_id,
  8913. obj_kind,
  8914. obj_signature,
  8915. obj_owner,
  8916. need_obj_kind,
  8917. need_obj_signature,
  8918. need_obj_owner)
  8919. values
  8920. (
  8921. "%SYSBLDNAME%",
  8922. 182, "Alter-ExternalName-Destroy (tsPartitionDesc_t)",
  8923. "%SYSBLDUSER%",
  8924. 6, "Destroy (tsPartitionDesc_t)",
  8925. "%SYSBLDUSER%"
  8926. );
  8927. insert into sysbldobjects
  8928. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8929. create_can_fail, drop_sql, drop_can_fail)
  8930. values
  8931. (
  8932. "%SYSBLDNAME%", 70, "Destroy (tsPartitionDesc_t)",
  8933. "%SYSBLDUSER%", 0,
  8934. "grant execute on procedure Destroy (tsPartitionDesc_t) to public;
  8935. ",
  8936. "f",
  8937. "",
  8938. "f"
  8939. );
  8940. insert into sysbldobjdepends
  8941. (
  8942. bld_id,
  8943. obj_kind,
  8944. obj_signature,
  8945. obj_owner,
  8946. need_obj_kind,
  8947. need_obj_signature,
  8948. need_obj_owner)
  8949. values
  8950. (
  8951. "%SYSBLDNAME%",
  8952. 70, "Destroy (tsPartitionDesc_t)",
  8953. "%SYSBLDUSER%",
  8954. 6, "Destroy (tsPartitionDesc_t)",
  8955. "%SYSBLDUSER%"
  8956. );
  8957. insert into sysbldobjects
  8958. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8959. create_can_fail, drop_sql, drop_can_fail)
  8960. values
  8961. (
  8962. "%SYSBLDNAME%", 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  8963. "%SYSBLDUSER%", 0,
  8964. "create procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int default 1)
  8965. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_container)"" language c;
  8966. ",
  8967. "f",
  8968. "drop procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int);
  8969. ",
  8970. "f"
  8971. );
  8972. insert into sysbldobjects
  8973. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  8974. create_can_fail, drop_sql, drop_can_fail)
  8975. values
  8976. (
  8977. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  8978. "%SYSBLDUSER%", 0,
  8979. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
  8980. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_container)"");
  8981. ",
  8982. "f",
  8983. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
  8984. with (Modify External Name = ""ts_make_container"");
  8985. ",
  8986. "f"
  8987. );
  8988. insert into sysbldobjdepends
  8989. (
  8990. bld_id,
  8991. obj_kind,
  8992. obj_signature,
  8993. obj_owner,
  8994. need_obj_kind,
  8995. need_obj_signature,
  8996. need_obj_owner)
  8997. values
  8998. (
  8999. "%SYSBLDNAME%",
  9000. 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9001. "%SYSBLDUSER%",
  9002. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9003. "%SYSBLDUSER%"
  9004. );
  9005. insert into sysbldobjects
  9006. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9007. create_can_fail, drop_sql, drop_can_fail)
  9008. values
  9009. (
  9010. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9011. "%SYSBLDUSER%", 0,
  9012. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
  9013. with (add handlesnulls);
  9014. ",
  9015. "f",
  9016. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
  9017. with (drop handlesnulls);
  9018. ",
  9019. "f"
  9020. );
  9021. insert into sysbldobjdepends
  9022. (
  9023. bld_id,
  9024. obj_kind,
  9025. obj_signature,
  9026. obj_owner,
  9027. need_obj_kind,
  9028. need_obj_signature,
  9029. need_obj_owner)
  9030. values
  9031. (
  9032. "%SYSBLDNAME%",
  9033. 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9034. "%SYSBLDUSER%",
  9035. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9036. "%SYSBLDUSER%"
  9037. );
  9038. insert into sysbldobjects
  9039. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9040. create_can_fail, drop_sql, drop_can_fail)
  9041. values
  9042. (
  9043. "%SYSBLDNAME%", 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9044. "%SYSBLDUSER%", 0,
  9045. "grant execute on procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int) to public;
  9046. ",
  9047. "f",
  9048. "",
  9049. "f"
  9050. );
  9051. insert into sysbldobjdepends
  9052. (
  9053. bld_id,
  9054. obj_kind,
  9055. obj_signature,
  9056. obj_owner,
  9057. need_obj_kind,
  9058. need_obj_signature,
  9059. need_obj_owner)
  9060. values
  9061. (
  9062. "%SYSBLDNAME%",
  9063. 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9064. "%SYSBLDUSER%",
  9065. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
  9066. "%SYSBLDUSER%"
  9067. );
  9068. insert into sysbldobjects
  9069. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9070. create_can_fail, drop_sql, drop_can_fail)
  9071. values
  9072. (
  9073. "%SYSBLDNAME%", 6, "TSContainerDestroy (lvarchar)",
  9074. "%SYSBLDUSER%", 0,
  9075. "create procedure TSContainerDestroy (lvarchar)
  9076. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_destroy_container)"" language c;
  9077. ",
  9078. "f",
  9079. "drop procedure TSContainerDestroy (lvarchar);
  9080. ",
  9081. "f"
  9082. );
  9083. insert into sysbldobjects
  9084. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9085. create_can_fail, drop_sql, drop_can_fail)
  9086. values
  9087. (
  9088. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerDestroy (lvarchar)",
  9089. "%SYSBLDUSER%", 0,
  9090. "alter procedure TSContainerDestroy (lvarchar)
  9091. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_destroy_container)"");
  9092. ",
  9093. "f",
  9094. "alter procedure TSContainerDestroy (lvarchar)
  9095. with (Modify External Name = ""ts_destroy_container"");
  9096. ",
  9097. "f"
  9098. );
  9099. insert into sysbldobjdepends
  9100. (
  9101. bld_id,
  9102. obj_kind,
  9103. obj_signature,
  9104. obj_owner,
  9105. need_obj_kind,
  9106. need_obj_signature,
  9107. need_obj_owner)
  9108. values
  9109. (
  9110. "%SYSBLDNAME%",
  9111. 182, "Alter-ExternalName-TSContainerDestroy (lvarchar)",
  9112. "%SYSBLDUSER%",
  9113. 6, "TSContainerDestroy (lvarchar)",
  9114. "%SYSBLDUSER%"
  9115. );
  9116. insert into sysbldobjects
  9117. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9118. create_can_fail, drop_sql, drop_can_fail)
  9119. values
  9120. (
  9121. "%SYSBLDNAME%", 70, "TSContainerDestroy (lvarchar)",
  9122. "%SYSBLDUSER%", 0,
  9123. "grant execute on procedure TSContainerDestroy (lvarchar) to public;
  9124. ",
  9125. "f",
  9126. "",
  9127. "f"
  9128. );
  9129. insert into sysbldobjdepends
  9130. (
  9131. bld_id,
  9132. obj_kind,
  9133. obj_signature,
  9134. obj_owner,
  9135. need_obj_kind,
  9136. need_obj_signature,
  9137. need_obj_owner)
  9138. values
  9139. (
  9140. "%SYSBLDNAME%",
  9141. 70, "TSContainerDestroy (lvarchar)",
  9142. "%SYSBLDUSER%",
  9143. 6, "TSContainerDestroy (lvarchar)",
  9144. "%SYSBLDUSER%"
  9145. );
  9146. insert into sysbldobjects
  9147. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9148. create_can_fail, drop_sql, drop_can_fail)
  9149. values
  9150. (
  9151. "%SYSBLDNAME%", 5, "Assign (TimeSeries)",
  9152. "%SYSBLDUSER%", 0,
  9153. "create function Assign (TimeSeries)
  9154. returns TimeSeries
  9155. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_assign)"" language c;
  9156. ",
  9157. "f",
  9158. "drop function Assign (TimeSeries);
  9159. ",
  9160. "f"
  9161. );
  9162. insert into sysbldobjdepends
  9163. (
  9164. bld_id,
  9165. obj_kind,
  9166. obj_signature,
  9167. obj_owner,
  9168. need_obj_kind,
  9169. need_obj_signature,
  9170. need_obj_owner)
  9171. values
  9172. (
  9173. "%SYSBLDNAME%",
  9174. 5, "Assign (TimeSeries)",
  9175. "%SYSBLDUSER%",
  9176. 7, "TimeSeries",
  9177. "%SYSBLDUSER%"
  9178. );
  9179. insert into sysbldobjects
  9180. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9181. create_can_fail, drop_sql, drop_can_fail)
  9182. values
  9183. (
  9184. "%SYSBLDNAME%", 181, "Alter-ExternalName-Assign (TimeSeries)",
  9185. "%SYSBLDUSER%", 0,
  9186. "alter function Assign (TimeSeries)
  9187. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_assign)"");
  9188. ",
  9189. "f",
  9190. "alter function Assign (TimeSeries)
  9191. with (Modify External Name = ""timeseries_assign"");
  9192. ",
  9193. "f"
  9194. );
  9195. insert into sysbldobjdepends
  9196. (
  9197. bld_id,
  9198. obj_kind,
  9199. obj_signature,
  9200. obj_owner,
  9201. need_obj_kind,
  9202. need_obj_signature,
  9203. need_obj_owner)
  9204. values
  9205. (
  9206. "%SYSBLDNAME%",
  9207. 181, "Alter-ExternalName-Assign (TimeSeries)",
  9208. "%SYSBLDUSER%",
  9209. 5, "Assign (TimeSeries)",
  9210. "%SYSBLDUSER%"
  9211. );
  9212. insert into sysbldobjects
  9213. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9214. create_can_fail, drop_sql, drop_can_fail)
  9215. values
  9216. (
  9217. "%SYSBLDNAME%", 69, "Assign (TimeSeries)",
  9218. "%SYSBLDUSER%", 0,
  9219. "grant execute on function Assign (TimeSeries) to public;
  9220. ",
  9221. "f",
  9222. "",
  9223. "f"
  9224. );
  9225. insert into sysbldobjdepends
  9226. (
  9227. bld_id,
  9228. obj_kind,
  9229. obj_signature,
  9230. obj_owner,
  9231. need_obj_kind,
  9232. need_obj_signature,
  9233. need_obj_owner)
  9234. values
  9235. (
  9236. "%SYSBLDNAME%",
  9237. 69, "Assign (TimeSeries)",
  9238. "%SYSBLDUSER%",
  9239. 5, "Assign (TimeSeries)",
  9240. "%SYSBLDUSER%"
  9241. );
  9242. insert into sysbldobjects
  9243. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9244. create_can_fail, drop_sql, drop_can_fail)
  9245. values
  9246. (
  9247. "%SYSBLDNAME%", 6, "Destroy (TimeSeries)",
  9248. "%SYSBLDUSER%", 0,
  9249. "create procedure Destroy (TimeSeries)
  9250. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_destroy)"" language c;
  9251. ",
  9252. "f",
  9253. "drop procedure Destroy (TimeSeries);
  9254. ",
  9255. "f"
  9256. );
  9257. insert into sysbldobjdepends
  9258. (
  9259. bld_id,
  9260. obj_kind,
  9261. obj_signature,
  9262. obj_owner,
  9263. need_obj_kind,
  9264. need_obj_signature,
  9265. need_obj_owner)
  9266. values
  9267. (
  9268. "%SYSBLDNAME%",
  9269. 6, "Destroy (TimeSeries)",
  9270. "%SYSBLDUSER%",
  9271. 7, "TimeSeries",
  9272. "%SYSBLDUSER%"
  9273. );
  9274. insert into sysbldobjects
  9275. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9276. create_can_fail, drop_sql, drop_can_fail)
  9277. values
  9278. (
  9279. "%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (TimeSeries)",
  9280. "%SYSBLDUSER%", 0,
  9281. "alter procedure Destroy (TimeSeries)
  9282. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_destroy)"");
  9283. ",
  9284. "f",
  9285. "alter procedure Destroy (TimeSeries)
  9286. with (Modify External Name = ""timeseries_destroy"");
  9287. ",
  9288. "f"
  9289. );
  9290. insert into sysbldobjdepends
  9291. (
  9292. bld_id,
  9293. obj_kind,
  9294. obj_signature,
  9295. obj_owner,
  9296. need_obj_kind,
  9297. need_obj_signature,
  9298. need_obj_owner)
  9299. values
  9300. (
  9301. "%SYSBLDNAME%",
  9302. 182, "Alter-ExternalName-Destroy (TimeSeries)",
  9303. "%SYSBLDUSER%",
  9304. 6, "Destroy (TimeSeries)",
  9305. "%SYSBLDUSER%"
  9306. );
  9307. insert into sysbldobjects
  9308. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9309. create_can_fail, drop_sql, drop_can_fail)
  9310. values
  9311. (
  9312. "%SYSBLDNAME%", 70, "Destroy (TimeSeries)",
  9313. "%SYSBLDUSER%", 0,
  9314. "grant execute on procedure Destroy (TimeSeries) to public;
  9315. ",
  9316. "f",
  9317. "",
  9318. "f"
  9319. );
  9320. insert into sysbldobjdepends
  9321. (
  9322. bld_id,
  9323. obj_kind,
  9324. obj_signature,
  9325. obj_owner,
  9326. need_obj_kind,
  9327. need_obj_signature,
  9328. need_obj_owner)
  9329. values
  9330. (
  9331. "%SYSBLDNAME%",
  9332. 70, "Destroy (TimeSeries)",
  9333. "%SYSBLDUSER%",
  9334. 6, "Destroy (TimeSeries)",
  9335. "%SYSBLDUSER%"
  9336. );
  9337. insert into sysbldobjects
  9338. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9339. create_can_fail, drop_sql, drop_can_fail)
  9340. values
  9341. (
  9342. "%SYSBLDNAME%", 5, "Update (TimeSeries,TimeSeries)",
  9343. "%SYSBLDUSER%", 0,
  9344. "create function Update (TimeSeries,TimeSeries)
  9345. returns TimeSeries with (not variant, handlesnulls)
  9346. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_update)"" language c;
  9347. ",
  9348. "f",
  9349. "drop function Update (TimeSeries,TimeSeries);
  9350. ",
  9351. "f"
  9352. );
  9353. insert into sysbldobjdepends
  9354. (
  9355. bld_id,
  9356. obj_kind,
  9357. obj_signature,
  9358. obj_owner,
  9359. need_obj_kind,
  9360. need_obj_signature,
  9361. need_obj_owner)
  9362. values
  9363. (
  9364. "%SYSBLDNAME%",
  9365. 5, "Update (TimeSeries,TimeSeries)",
  9366. "%SYSBLDUSER%",
  9367. 7, "TimeSeries",
  9368. "%SYSBLDUSER%"
  9369. );
  9370. insert into sysbldobjects
  9371. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9372. create_can_fail, drop_sql, drop_can_fail)
  9373. values
  9374. (
  9375. "%SYSBLDNAME%", 182, "Alter-ExternalName-Update (TimeSeries,TimeSeries)",
  9376. "%SYSBLDUSER%", 0,
  9377. "alter function Update (TimeSeries,TimeSeries)
  9378. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_update)"");
  9379. ",
  9380. "f",
  9381. "alter function Update (TimeSeries,TimeSeries)
  9382. with (Modify External Name = ""timeseries_update"");
  9383. ",
  9384. "f"
  9385. );
  9386. insert into sysbldobjdepends
  9387. (
  9388. bld_id,
  9389. obj_kind,
  9390. obj_signature,
  9391. obj_owner,
  9392. need_obj_kind,
  9393. need_obj_signature,
  9394. need_obj_owner)
  9395. values
  9396. (
  9397. "%SYSBLDNAME%",
  9398. 182, "Alter-ExternalName-Update (TimeSeries,TimeSeries)",
  9399. "%SYSBLDUSER%",
  9400. 5, "Update (TimeSeries,TimeSeries)",
  9401. "%SYSBLDUSER%"
  9402. );
  9403. insert into sysbldobjects
  9404. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9405. create_can_fail, drop_sql, drop_can_fail)
  9406. values
  9407. (
  9408. "%SYSBLDNAME%", 69, "Update (TimeSeries,TimeSeries)",
  9409. "%SYSBLDUSER%", 0,
  9410. "grant execute on function Update (TimeSeries,TimeSeries) to public;
  9411. ",
  9412. "f",
  9413. "",
  9414. "f"
  9415. );
  9416. insert into sysbldobjdepends
  9417. (
  9418. bld_id,
  9419. obj_kind,
  9420. obj_signature,
  9421. obj_owner,
  9422. need_obj_kind,
  9423. need_obj_signature,
  9424. need_obj_owner)
  9425. values
  9426. (
  9427. "%SYSBLDNAME%",
  9428. 69, "Update (TimeSeries,TimeSeries)",
  9429. "%SYSBLDUSER%",
  9430. 5, "Update (TimeSeries,TimeSeries)",
  9431. "%SYSBLDUSER%"
  9432. );
  9433. insert into sysbldobjects
  9434. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9435. create_can_fail, drop_sql, drop_can_fail)
  9436. values
  9437. (
  9438. "%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9439. "%SYSBLDUSER%", 0,
  9440. "create function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta)
  9441. returns TimeSeries with (not variant, handlesnulls)
  9442. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_meta_sql)"" language c;
  9443. ",
  9444. "f",
  9445. "drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta);
  9446. ",
  9447. "f"
  9448. );
  9449. insert into sysbldobjdepends
  9450. (
  9451. bld_id,
  9452. obj_kind,
  9453. obj_signature,
  9454. obj_owner,
  9455. need_obj_kind,
  9456. need_obj_signature,
  9457. need_obj_owner)
  9458. values
  9459. (
  9460. "%SYSBLDNAME%",
  9461. 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9462. "%SYSBLDUSER%",
  9463. 7, "TimeSeries",
  9464. "%SYSBLDUSER%"
  9465. );
  9466. insert into sysbldobjdepends
  9467. (
  9468. bld_id,
  9469. obj_kind,
  9470. obj_signature,
  9471. obj_owner,
  9472. need_obj_kind,
  9473. need_obj_signature,
  9474. need_obj_owner)
  9475. values
  9476. (
  9477. "%SYSBLDNAME%",
  9478. 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9479. "%SYSBLDUSER%",
  9480. 7, "TimeSeriesMeta",
  9481. "%SYSBLDUSER%"
  9482. );
  9483. insert into sysbldobjects
  9484. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9485. create_can_fail, drop_sql, drop_can_fail)
  9486. values
  9487. (
  9488. "%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9489. "%SYSBLDUSER%", 0,
  9490. "grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta) to public;
  9491. ",
  9492. "f",
  9493. "",
  9494. "f"
  9495. );
  9496. insert into sysbldobjdepends
  9497. (
  9498. bld_id,
  9499. obj_kind,
  9500. obj_signature,
  9501. obj_owner,
  9502. need_obj_kind,
  9503. need_obj_signature,
  9504. need_obj_owner)
  9505. values
  9506. (
  9507. "%SYSBLDNAME%",
  9508. 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9509. "%SYSBLDUSER%",
  9510. 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9511. "%SYSBLDUSER%"
  9512. );
  9513. insert into sysbldobjects
  9514. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9515. create_can_fail, drop_sql, drop_can_fail)
  9516. values
  9517. (
  9518. "%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9519. "%SYSBLDUSER%", 0,
  9520. "create function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset)
  9521. returns TimeSeries with (not variant, handlesnulls)
  9522. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_reg_set_meta_sql)"" language c;
  9523. ",
  9524. "f",
  9525. "drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset);
  9526. ",
  9527. "f"
  9528. );
  9529. insert into sysbldobjdepends
  9530. (
  9531. bld_id,
  9532. obj_kind,
  9533. obj_signature,
  9534. obj_owner,
  9535. need_obj_kind,
  9536. need_obj_signature,
  9537. need_obj_owner)
  9538. values
  9539. (
  9540. "%SYSBLDNAME%",
  9541. 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9542. "%SYSBLDUSER%",
  9543. 7, "TimeSeries",
  9544. "%SYSBLDUSER%"
  9545. );
  9546. insert into sysbldobjdepends
  9547. (
  9548. bld_id,
  9549. obj_kind,
  9550. obj_signature,
  9551. obj_owner,
  9552. need_obj_kind,
  9553. need_obj_signature,
  9554. need_obj_owner)
  9555. values
  9556. (
  9557. "%SYSBLDNAME%",
  9558. 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9559. "%SYSBLDUSER%",
  9560. 7, "TimeSeriesMeta",
  9561. "%SYSBLDUSER%"
  9562. );
  9563. insert into sysbldobjects
  9564. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9565. create_can_fail, drop_sql, drop_can_fail)
  9566. values
  9567. (
  9568. "%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9569. "%SYSBLDUSER%", 0,
  9570. "grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset) to public;
  9571. ",
  9572. "f",
  9573. "",
  9574. "f"
  9575. );
  9576. insert into sysbldobjdepends
  9577. (
  9578. bld_id,
  9579. obj_kind,
  9580. obj_signature,
  9581. obj_owner,
  9582. need_obj_kind,
  9583. need_obj_signature,
  9584. need_obj_owner)
  9585. values
  9586. (
  9587. "%SYSBLDNAME%",
  9588. 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9589. "%SYSBLDUSER%",
  9590. 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9591. "%SYSBLDUSER%"
  9592. );
  9593. insert into sysbldobjects
  9594. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9595. create_can_fail, drop_sql, drop_can_fail)
  9596. values
  9597. (
  9598. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9599. "%SYSBLDUSER%", 0,
  9600. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta)
  9601. returns TimeSeries with (not variant, handlesnulls)
  9602. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_meta_sql)"" language c;
  9603. ",
  9604. "f",
  9605. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta);
  9606. ",
  9607. "f"
  9608. );
  9609. insert into sysbldobjdepends
  9610. (
  9611. bld_id,
  9612. obj_kind,
  9613. obj_signature,
  9614. obj_owner,
  9615. need_obj_kind,
  9616. need_obj_signature,
  9617. need_obj_owner)
  9618. values
  9619. (
  9620. "%SYSBLDNAME%",
  9621. 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9622. "%SYSBLDUSER%",
  9623. 7, "TimeSeries",
  9624. "%SYSBLDUSER%"
  9625. );
  9626. insert into sysbldobjdepends
  9627. (
  9628. bld_id,
  9629. obj_kind,
  9630. obj_signature,
  9631. obj_owner,
  9632. need_obj_kind,
  9633. need_obj_signature,
  9634. need_obj_owner)
  9635. values
  9636. (
  9637. "%SYSBLDNAME%",
  9638. 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9639. "%SYSBLDUSER%",
  9640. 7, "TimeSeriesMeta",
  9641. "%SYSBLDUSER%"
  9642. );
  9643. insert into sysbldobjects
  9644. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9645. create_can_fail, drop_sql, drop_can_fail)
  9646. values
  9647. (
  9648. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9649. "%SYSBLDUSER%", 0,
  9650. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta) to public;
  9651. ",
  9652. "f",
  9653. "",
  9654. "f"
  9655. );
  9656. insert into sysbldobjdepends
  9657. (
  9658. bld_id,
  9659. obj_kind,
  9660. obj_signature,
  9661. obj_owner,
  9662. need_obj_kind,
  9663. need_obj_signature,
  9664. need_obj_owner)
  9665. values
  9666. (
  9667. "%SYSBLDNAME%",
  9668. 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9669. "%SYSBLDUSER%",
  9670. 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
  9671. "%SYSBLDUSER%"
  9672. );
  9673. insert into sysbldobjects
  9674. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9675. create_can_fail, drop_sql, drop_can_fail)
  9676. values
  9677. (
  9678. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9679. "%SYSBLDUSER%", 0,
  9680. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset)
  9681. returns TimeSeries with (not variant, handlesnulls)
  9682. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_set_meta_sql)"" language c;
  9683. ",
  9684. "f",
  9685. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset);
  9686. ",
  9687. "f"
  9688. );
  9689. insert into sysbldobjdepends
  9690. (
  9691. bld_id,
  9692. obj_kind,
  9693. obj_signature,
  9694. obj_owner,
  9695. need_obj_kind,
  9696. need_obj_signature,
  9697. need_obj_owner)
  9698. values
  9699. (
  9700. "%SYSBLDNAME%",
  9701. 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9702. "%SYSBLDUSER%",
  9703. 7, "TimeSeries",
  9704. "%SYSBLDUSER%"
  9705. );
  9706. insert into sysbldobjdepends
  9707. (
  9708. bld_id,
  9709. obj_kind,
  9710. obj_signature,
  9711. obj_owner,
  9712. need_obj_kind,
  9713. need_obj_signature,
  9714. need_obj_owner)
  9715. values
  9716. (
  9717. "%SYSBLDNAME%",
  9718. 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9719. "%SYSBLDUSER%",
  9720. 7, "TimeSeriesMeta",
  9721. "%SYSBLDUSER%"
  9722. );
  9723. insert into sysbldobjects
  9724. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9725. create_can_fail, drop_sql, drop_can_fail)
  9726. values
  9727. (
  9728. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9729. "%SYSBLDUSER%", 0,
  9730. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset) to public;
  9731. ",
  9732. "f",
  9733. "",
  9734. "f"
  9735. );
  9736. insert into sysbldobjdepends
  9737. (
  9738. bld_id,
  9739. obj_kind,
  9740. obj_signature,
  9741. obj_owner,
  9742. need_obj_kind,
  9743. need_obj_signature,
  9744. need_obj_owner)
  9745. values
  9746. (
  9747. "%SYSBLDNAME%",
  9748. 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9749. "%SYSBLDUSER%",
  9750. 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
  9751. "%SYSBLDUSER%"
  9752. );
  9753. insert into sysbldobjects
  9754. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9755. create_can_fail, drop_sql, drop_can_fail)
  9756. values
  9757. (
  9758. "%SYSBLDNAME%", 5, "GetMetaData (TimeSeries)",
  9759. "%SYSBLDUSER%", 0,
  9760. "create function GetMetaData (TimeSeries)
  9761. returns TimeSeriesMeta with (not variant, handlesnulls)
  9762. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_sql)"" language c;
  9763. ",
  9764. "f",
  9765. "drop function GetMetaData (TimeSeries);
  9766. ",
  9767. "f"
  9768. );
  9769. insert into sysbldobjdepends
  9770. (
  9771. bld_id,
  9772. obj_kind,
  9773. obj_signature,
  9774. obj_owner,
  9775. need_obj_kind,
  9776. need_obj_signature,
  9777. need_obj_owner)
  9778. values
  9779. (
  9780. "%SYSBLDNAME%",
  9781. 5, "GetMetaData (TimeSeries)",
  9782. "%SYSBLDUSER%",
  9783. 7, "TimeSeries",
  9784. "%SYSBLDUSER%"
  9785. );
  9786. insert into sysbldobjdepends
  9787. (
  9788. bld_id,
  9789. obj_kind,
  9790. obj_signature,
  9791. obj_owner,
  9792. need_obj_kind,
  9793. need_obj_signature,
  9794. need_obj_owner)
  9795. values
  9796. (
  9797. "%SYSBLDNAME%",
  9798. 5, "GetMetaData (TimeSeries)",
  9799. "%SYSBLDUSER%",
  9800. 7, "TimeSeriesMeta",
  9801. "%SYSBLDUSER%"
  9802. );
  9803. insert into sysbldobjects
  9804. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9805. create_can_fail, drop_sql, drop_can_fail)
  9806. values
  9807. (
  9808. "%SYSBLDNAME%", 69, "GetMetaData (TimeSeries)",
  9809. "%SYSBLDUSER%", 0,
  9810. "grant execute on function GetMetaData (TimeSeries) to public;
  9811. ",
  9812. "f",
  9813. "",
  9814. "f"
  9815. );
  9816. insert into sysbldobjdepends
  9817. (
  9818. bld_id,
  9819. obj_kind,
  9820. obj_signature,
  9821. obj_owner,
  9822. need_obj_kind,
  9823. need_obj_signature,
  9824. need_obj_owner)
  9825. values
  9826. (
  9827. "%SYSBLDNAME%",
  9828. 69, "GetMetaData (TimeSeries)",
  9829. "%SYSBLDUSER%",
  9830. 5, "GetMetaData (TimeSeries)",
  9831. "%SYSBLDUSER%"
  9832. );
  9833. insert into sysbldobjects
  9834. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9835. create_can_fail, drop_sql, drop_can_fail)
  9836. values
  9837. (
  9838. "%SYSBLDNAME%", 5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9839. "%SYSBLDUSER%", 0,
  9840. "create function UpdMetaData (TimeSeries,TimeSeriesMeta)
  9841. returns TimeSeries with (not variant, handlesnulls)
  9842. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_metadata_sql)"" language c;
  9843. ",
  9844. "f",
  9845. "drop function UpdMetaData (TimeSeries,TimeSeriesMeta);
  9846. ",
  9847. "f"
  9848. );
  9849. insert into sysbldobjdepends
  9850. (
  9851. bld_id,
  9852. obj_kind,
  9853. obj_signature,
  9854. obj_owner,
  9855. need_obj_kind,
  9856. need_obj_signature,
  9857. need_obj_owner)
  9858. values
  9859. (
  9860. "%SYSBLDNAME%",
  9861. 5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9862. "%SYSBLDUSER%",
  9863. 7, "TimeSeries",
  9864. "%SYSBLDUSER%"
  9865. );
  9866. insert into sysbldobjdepends
  9867. (
  9868. bld_id,
  9869. obj_kind,
  9870. obj_signature,
  9871. obj_owner,
  9872. need_obj_kind,
  9873. need_obj_signature,
  9874. need_obj_owner)
  9875. values
  9876. (
  9877. "%SYSBLDNAME%",
  9878. 5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9879. "%SYSBLDUSER%",
  9880. 7, "TimeSeriesMeta",
  9881. "%SYSBLDUSER%"
  9882. );
  9883. insert into sysbldobjects
  9884. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9885. create_can_fail, drop_sql, drop_can_fail)
  9886. values
  9887. (
  9888. "%SYSBLDNAME%", 69, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9889. "%SYSBLDUSER%", 0,
  9890. "grant execute on function UpdMetaData (TimeSeries,TimeSeriesMeta) to public;
  9891. ",
  9892. "f",
  9893. "",
  9894. "f"
  9895. );
  9896. insert into sysbldobjdepends
  9897. (
  9898. bld_id,
  9899. obj_kind,
  9900. obj_signature,
  9901. obj_owner,
  9902. need_obj_kind,
  9903. need_obj_signature,
  9904. need_obj_owner)
  9905. values
  9906. (
  9907. "%SYSBLDNAME%",
  9908. 69, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9909. "%SYSBLDUSER%",
  9910. 5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
  9911. "%SYSBLDUSER%"
  9912. );
  9913. insert into sysbldobjects
  9914. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9915. create_can_fail, drop_sql, drop_can_fail)
  9916. values
  9917. (
  9918. "%SYSBLDNAME%", 5, "GetMetaTypeName (TimeSeries)",
  9919. "%SYSBLDUSER%", 0,
  9920. "create function GetMetaTypeName (TimeSeries)
  9921. returns lvarchar with (not variant)
  9922. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_typename_sql)"" language c;
  9923. ",
  9924. "f",
  9925. "drop function GetMetaTypeName (TimeSeries);
  9926. ",
  9927. "f"
  9928. );
  9929. insert into sysbldobjdepends
  9930. (
  9931. bld_id,
  9932. obj_kind,
  9933. obj_signature,
  9934. obj_owner,
  9935. need_obj_kind,
  9936. need_obj_signature,
  9937. need_obj_owner)
  9938. values
  9939. (
  9940. "%SYSBLDNAME%",
  9941. 5, "GetMetaTypeName (TimeSeries)",
  9942. "%SYSBLDUSER%",
  9943. 7, "TimeSeries",
  9944. "%SYSBLDUSER%"
  9945. );
  9946. insert into sysbldobjects
  9947. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9948. create_can_fail, drop_sql, drop_can_fail)
  9949. values
  9950. (
  9951. "%SYSBLDNAME%", 69, "GetMetaTypeName (TimeSeries)",
  9952. "%SYSBLDUSER%", 0,
  9953. "grant execute on function GetMetaTypeName (TimeSeries) to public;
  9954. ",
  9955. "f",
  9956. "",
  9957. "f"
  9958. );
  9959. insert into sysbldobjdepends
  9960. (
  9961. bld_id,
  9962. obj_kind,
  9963. obj_signature,
  9964. obj_owner,
  9965. need_obj_kind,
  9966. need_obj_signature,
  9967. need_obj_owner)
  9968. values
  9969. (
  9970. "%SYSBLDNAME%",
  9971. 69, "GetMetaTypeName (TimeSeries)",
  9972. "%SYSBLDUSER%",
  9973. 5, "GetMetaTypeName (TimeSeries)",
  9974. "%SYSBLDUSER%"
  9975. );
  9976. insert into sysbldobjects
  9977. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  9978. create_can_fail, drop_sql, drop_can_fail)
  9979. values
  9980. (
  9981. "%SYSBLDNAME%", 5, "GetIndex (TimeSeries,datetime)",
  9982. "%SYSBLDUSER%", 0,
  9983. "create function GetIndex (TimeSeries,datetime year to fraction(5))
  9984. returns int with (not variant, parallelizable)
  9985. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_index_sql)"" language c;
  9986. ",
  9987. "f",
  9988. "drop function GetIndex (TimeSeries,datetime year to fraction(5));
  9989. ",
  9990. "f"
  9991. );
  9992. insert into sysbldobjdepends
  9993. (
  9994. bld_id,
  9995. obj_kind,
  9996. obj_signature,
  9997. obj_owner,
  9998. need_obj_kind,
  9999. need_obj_signature,
  10000. need_obj_owner)
  10001. values
  10002. (
  10003. "%SYSBLDNAME%",
  10004. 5, "GetIndex (TimeSeries,datetime)",
  10005. "%SYSBLDUSER%",
  10006. 7, "TimeSeries",
  10007. "%SYSBLDUSER%"
  10008. );
  10009. insert into sysbldobjects
  10010. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10011. create_can_fail, drop_sql, drop_can_fail)
  10012. values
  10013. (
  10014. "%SYSBLDNAME%", 69, "GetIndex (TimeSeries,datetime)",
  10015. "%SYSBLDUSER%", 0,
  10016. "grant execute on function GetIndex (TimeSeries,datetime year to fraction(5)) to public;
  10017. ",
  10018. "f",
  10019. "",
  10020. "f"
  10021. );
  10022. insert into sysbldobjdepends
  10023. (
  10024. bld_id,
  10025. obj_kind,
  10026. obj_signature,
  10027. obj_owner,
  10028. need_obj_kind,
  10029. need_obj_signature,
  10030. need_obj_owner)
  10031. values
  10032. (
  10033. "%SYSBLDNAME%",
  10034. 69, "GetIndex (TimeSeries,datetime)",
  10035. "%SYSBLDUSER%",
  10036. 5, "GetIndex (TimeSeries,datetime)",
  10037. "%SYSBLDUSER%"
  10038. );
  10039. insert into sysbldobjects
  10040. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10041. create_can_fail, drop_sql, drop_can_fail)
  10042. values
  10043. (
  10044. "%SYSBLDNAME%", 5, "GetStamp (TimeSeries,integer)",
  10045. "%SYSBLDUSER%", 0,
  10046. "create function GetStamp (TimeSeries,integer)
  10047. returns datetime year to fraction(5) with (not variant, parallelizable)
  10048. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_time_sql)"" language c;
  10049. ",
  10050. "f",
  10051. "drop function GetStamp (TimeSeries,integer);
  10052. ",
  10053. "f"
  10054. );
  10055. insert into sysbldobjdepends
  10056. (
  10057. bld_id,
  10058. obj_kind,
  10059. obj_signature,
  10060. obj_owner,
  10061. need_obj_kind,
  10062. need_obj_signature,
  10063. need_obj_owner)
  10064. values
  10065. (
  10066. "%SYSBLDNAME%",
  10067. 5, "GetStamp (TimeSeries,integer)",
  10068. "%SYSBLDUSER%",
  10069. 7, "TimeSeries",
  10070. "%SYSBLDUSER%"
  10071. );
  10072. insert into sysbldobjects
  10073. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10074. create_can_fail, drop_sql, drop_can_fail)
  10075. values
  10076. (
  10077. "%SYSBLDNAME%", 69, "GetStamp (TimeSeries,integer)",
  10078. "%SYSBLDUSER%", 0,
  10079. "grant execute on function GetStamp (TimeSeries,integer) to public;
  10080. ",
  10081. "f",
  10082. "",
  10083. "f"
  10084. );
  10085. insert into sysbldobjdepends
  10086. (
  10087. bld_id,
  10088. obj_kind,
  10089. obj_signature,
  10090. obj_owner,
  10091. need_obj_kind,
  10092. need_obj_signature,
  10093. need_obj_owner)
  10094. values
  10095. (
  10096. "%SYSBLDNAME%",
  10097. 69, "GetStamp (TimeSeries,integer)",
  10098. "%SYSBLDUSER%",
  10099. 5, "GetStamp (TimeSeries,integer)",
  10100. "%SYSBLDUSER%"
  10101. );
  10102. insert into sysbldobjects
  10103. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10104. create_can_fail, drop_sql, drop_can_fail)
  10105. values
  10106. (
  10107. "%SYSBLDNAME%", 5, "GetNelems (TimeSeries)",
  10108. "%SYSBLDUSER%", 0,
  10109. "create function GetNelems (TimeSeries)
  10110. returns int with (not variant, parallelizable)
  10111. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_nelems_sql)"" language c;
  10112. ",
  10113. "f",
  10114. "drop function GetNelems (TimeSeries);
  10115. ",
  10116. "f"
  10117. );
  10118. insert into sysbldobjdepends
  10119. (
  10120. bld_id,
  10121. obj_kind,
  10122. obj_signature,
  10123. obj_owner,
  10124. need_obj_kind,
  10125. need_obj_signature,
  10126. need_obj_owner)
  10127. values
  10128. (
  10129. "%SYSBLDNAME%",
  10130. 5, "GetNelems (TimeSeries)",
  10131. "%SYSBLDUSER%",
  10132. 7, "TimeSeries",
  10133. "%SYSBLDUSER%"
  10134. );
  10135. insert into sysbldobjects
  10136. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10137. create_can_fail, drop_sql, drop_can_fail)
  10138. values
  10139. (
  10140. "%SYSBLDNAME%", 69, "GetNelems (TimeSeries)",
  10141. "%SYSBLDUSER%", 0,
  10142. "grant execute on function GetNelems (TimeSeries) to public;
  10143. ",
  10144. "f",
  10145. "",
  10146. "f"
  10147. );
  10148. insert into sysbldobjdepends
  10149. (
  10150. bld_id,
  10151. obj_kind,
  10152. obj_signature,
  10153. obj_owner,
  10154. need_obj_kind,
  10155. need_obj_signature,
  10156. need_obj_owner)
  10157. values
  10158. (
  10159. "%SYSBLDNAME%",
  10160. 69, "GetNelems (TimeSeries)",
  10161. "%SYSBLDUSER%",
  10162. 5, "GetNelems (TimeSeries)",
  10163. "%SYSBLDUSER%"
  10164. );
  10165. insert into sysbldobjects
  10166. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10167. create_can_fail, drop_sql, drop_can_fail)
  10168. values
  10169. (
  10170. "%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
  10171. "%SYSBLDUSER%", 0,
  10172. "create function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar)
  10173. returns TimeSeries with (not variant, handlesnulls)
  10174. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_sql)"" language c;
  10175. ",
  10176. "f",
  10177. "drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar);
  10178. ",
  10179. "f"
  10180. );
  10181. insert into sysbldobjdepends
  10182. (
  10183. bld_id,
  10184. obj_kind,
  10185. obj_signature,
  10186. obj_owner,
  10187. need_obj_kind,
  10188. need_obj_signature,
  10189. need_obj_owner)
  10190. values
  10191. (
  10192. "%SYSBLDNAME%",
  10193. 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
  10194. "%SYSBLDUSER%",
  10195. 7, "TimeSeries",
  10196. "%SYSBLDUSER%"
  10197. );
  10198. insert into sysbldobjects
  10199. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10200. create_can_fail, drop_sql, drop_can_fail)
  10201. values
  10202. (
  10203. "%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
  10204. "%SYSBLDUSER%", 0,
  10205. "grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar) to public;
  10206. ",
  10207. "f",
  10208. "",
  10209. "f"
  10210. );
  10211. insert into sysbldobjdepends
  10212. (
  10213. bld_id,
  10214. obj_kind,
  10215. obj_signature,
  10216. obj_owner,
  10217. need_obj_kind,
  10218. need_obj_signature,
  10219. need_obj_owner)
  10220. values
  10221. (
  10222. "%SYSBLDNAME%",
  10223. 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
  10224. "%SYSBLDUSER%",
  10225. 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
  10226. "%SYSBLDUSER%"
  10227. );
  10228. insert into sysbldobjects
  10229. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10230. create_can_fail, drop_sql, drop_can_fail)
  10231. values
  10232. (
  10233. "%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
  10234. "%SYSBLDUSER%", 0,
  10235. "create function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset)
  10236. returns TimeSeries with (not variant, handlesnulls)
  10237. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_reg_set_sql)"" language c;
  10238. ",
  10239. "f",
  10240. "drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset);
  10241. ",
  10242. "f"
  10243. );
  10244. insert into sysbldobjdepends
  10245. (
  10246. bld_id,
  10247. obj_kind,
  10248. obj_signature,
  10249. obj_owner,
  10250. need_obj_kind,
  10251. need_obj_signature,
  10252. need_obj_owner)
  10253. values
  10254. (
  10255. "%SYSBLDNAME%",
  10256. 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
  10257. "%SYSBLDUSER%",
  10258. 7, "TimeSeries",
  10259. "%SYSBLDUSER%"
  10260. );
  10261. insert into sysbldobjects
  10262. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10263. create_can_fail, drop_sql, drop_can_fail)
  10264. values
  10265. (
  10266. "%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
  10267. "%SYSBLDUSER%", 0,
  10268. "grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset) to public;
  10269. ",
  10270. "f",
  10271. "",
  10272. "f"
  10273. );
  10274. insert into sysbldobjdepends
  10275. (
  10276. bld_id,
  10277. obj_kind,
  10278. obj_signature,
  10279. obj_owner,
  10280. need_obj_kind,
  10281. need_obj_signature,
  10282. need_obj_owner)
  10283. values
  10284. (
  10285. "%SYSBLDNAME%",
  10286. 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
  10287. "%SYSBLDUSER%",
  10288. 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
  10289. "%SYSBLDUSER%"
  10290. );
  10291. insert into sysbldobjects
  10292. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10293. create_can_fail, drop_sql, drop_can_fail)
  10294. values
  10295. (
  10296. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
  10297. "%SYSBLDUSER%", 0,
  10298. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar)
  10299. returns TimeSeries with (not variant, handlesnulls)
  10300. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_sql)"" language c;
  10301. ",
  10302. "f",
  10303. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar);
  10304. ",
  10305. "f"
  10306. );
  10307. insert into sysbldobjdepends
  10308. (
  10309. bld_id,
  10310. obj_kind,
  10311. obj_signature,
  10312. obj_owner,
  10313. need_obj_kind,
  10314. need_obj_signature,
  10315. need_obj_owner)
  10316. values
  10317. (
  10318. "%SYSBLDNAME%",
  10319. 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
  10320. "%SYSBLDUSER%",
  10321. 7, "TimeSeries",
  10322. "%SYSBLDUSER%"
  10323. );
  10324. insert into sysbldobjects
  10325. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10326. create_can_fail, drop_sql, drop_can_fail)
  10327. values
  10328. (
  10329. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
  10330. "%SYSBLDUSER%", 0,
  10331. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar) to public;
  10332. ",
  10333. "f",
  10334. "",
  10335. "f"
  10336. );
  10337. insert into sysbldobjdepends
  10338. (
  10339. bld_id,
  10340. obj_kind,
  10341. obj_signature,
  10342. obj_owner,
  10343. need_obj_kind,
  10344. need_obj_signature,
  10345. need_obj_owner)
  10346. values
  10347. (
  10348. "%SYSBLDNAME%",
  10349. 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
  10350. "%SYSBLDUSER%",
  10351. 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
  10352. "%SYSBLDUSER%"
  10353. );
  10354. insert into sysbldobjects
  10355. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10356. create_can_fail, drop_sql, drop_can_fail)
  10357. values
  10358. (
  10359. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
  10360. "%SYSBLDUSER%", 0,
  10361. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset)
  10362. returns TimeSeries with (not variant, handlesnulls)
  10363. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_set_sql)"" language c;
  10364. ",
  10365. "f",
  10366. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset);
  10367. ",
  10368. "f"
  10369. );
  10370. insert into sysbldobjdepends
  10371. (
  10372. bld_id,
  10373. obj_kind,
  10374. obj_signature,
  10375. obj_owner,
  10376. need_obj_kind,
  10377. need_obj_signature,
  10378. need_obj_owner)
  10379. values
  10380. (
  10381. "%SYSBLDNAME%",
  10382. 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
  10383. "%SYSBLDUSER%",
  10384. 7, "TimeSeries",
  10385. "%SYSBLDUSER%"
  10386. );
  10387. insert into sysbldobjects
  10388. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10389. create_can_fail, drop_sql, drop_can_fail)
  10390. values
  10391. (
  10392. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
  10393. "%SYSBLDUSER%", 0,
  10394. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset) to public;
  10395. ",
  10396. "f",
  10397. "",
  10398. "f"
  10399. );
  10400. insert into sysbldobjdepends
  10401. (
  10402. bld_id,
  10403. obj_kind,
  10404. obj_signature,
  10405. obj_owner,
  10406. need_obj_kind,
  10407. need_obj_signature,
  10408. need_obj_owner)
  10409. values
  10410. (
  10411. "%SYSBLDNAME%",
  10412. 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
  10413. "%SYSBLDUSER%",
  10414. 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
  10415. "%SYSBLDUSER%"
  10416. );
  10417. insert into sysbldobjects
  10418. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10419. create_can_fail, drop_sql, drop_can_fail)
  10420. values
  10421. (
  10422. "%SYSBLDNAME%", 5, "BulkLoad (TimeSeries,lvarchar,integer)",
  10423. "%SYSBLDUSER%", 0,
  10424. "create function BulkLoad (TimeSeries,lvarchar,integer default 0)
  10425. returns TimeSeries with (not variant, handlesnulls)
  10426. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_bulk_load_sql)"" language c;
  10427. ",
  10428. "f",
  10429. "drop function BulkLoad (TimeSeries,lvarchar,integer);
  10430. ",
  10431. "f"
  10432. );
  10433. insert into sysbldobjects
  10434. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10435. create_can_fail, drop_sql, drop_can_fail)
  10436. values
  10437. (
  10438. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
  10439. "%SYSBLDUSER%", 0,
  10440. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar)
  10441. returns TimeSeries with (not variant, handlesnulls)
  10442. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_compress_sql)"" language c;
  10443. ",
  10444. "f",
  10445. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar);
  10446. ",
  10447. "f"
  10448. );
  10449. insert into sysbldobjdepends
  10450. (
  10451. bld_id,
  10452. obj_kind,
  10453. obj_signature,
  10454. obj_owner,
  10455. need_obj_kind,
  10456. need_obj_signature,
  10457. need_obj_owner)
  10458. values
  10459. (
  10460. "%SYSBLDNAME%",
  10461. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
  10462. "%SYSBLDUSER%",
  10463. 7, "TimeSeries",
  10464. "%SYSBLDUSER%"
  10465. );
  10466. insert into sysbldobjects
  10467. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10468. create_can_fail, drop_sql, drop_can_fail)
  10469. values
  10470. (
  10471. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
  10472. "%SYSBLDUSER%", 0,
  10473. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar) to public;
  10474. ",
  10475. "f",
  10476. "",
  10477. "f"
  10478. );
  10479. insert into sysbldobjdepends
  10480. (
  10481. bld_id,
  10482. obj_kind,
  10483. obj_signature,
  10484. obj_owner,
  10485. need_obj_kind,
  10486. need_obj_signature,
  10487. need_obj_owner)
  10488. values
  10489. (
  10490. "%SYSBLDNAME%",
  10491. 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
  10492. "%SYSBLDUSER%",
  10493. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
  10494. "%SYSBLDUSER%"
  10495. );
  10496. insert into sysbldobjects
  10497. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10498. create_can_fail, drop_sql, drop_can_fail)
  10499. values
  10500. (
  10501. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
  10502. "%SYSBLDUSER%", 0,
  10503. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset)
  10504. returns TimeSeries with (not variant, handlesnulls)
  10505. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_compress_set_sql)"" language c;
  10506. ",
  10507. "f",
  10508. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset);
  10509. ",
  10510. "f"
  10511. );
  10512. insert into sysbldobjdepends
  10513. (
  10514. bld_id,
  10515. obj_kind,
  10516. obj_signature,
  10517. obj_owner,
  10518. need_obj_kind,
  10519. need_obj_signature,
  10520. need_obj_owner)
  10521. values
  10522. (
  10523. "%SYSBLDNAME%",
  10524. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
  10525. "%SYSBLDUSER%",
  10526. 7, "TimeSeries",
  10527. "%SYSBLDUSER%"
  10528. );
  10529. insert into sysbldobjects
  10530. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10531. create_can_fail, drop_sql, drop_can_fail)
  10532. values
  10533. (
  10534. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
  10535. "%SYSBLDUSER%", 0,
  10536. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset) to public;
  10537. ",
  10538. "f",
  10539. "",
  10540. "f"
  10541. );
  10542. insert into sysbldobjdepends
  10543. (
  10544. bld_id,
  10545. obj_kind,
  10546. obj_signature,
  10547. obj_owner,
  10548. need_obj_kind,
  10549. need_obj_signature,
  10550. need_obj_owner)
  10551. values
  10552. (
  10553. "%SYSBLDNAME%",
  10554. 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
  10555. "%SYSBLDUSER%",
  10556. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
  10557. "%SYSBLDUSER%"
  10558. );
  10559. insert into sysbldobjects
  10560. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10561. create_can_fail, drop_sql, drop_can_fail)
  10562. values
  10563. (
  10564. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
  10565. "%SYSBLDUSER%", 0,
  10566. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta)
  10567. returns TimeSeries with (not variant, handlesnulls)
  10568. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_compress_meta_sql)"" language c;
  10569. ",
  10570. "f",
  10571. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta);
  10572. ",
  10573. "f"
  10574. );
  10575. insert into sysbldobjdepends
  10576. (
  10577. bld_id,
  10578. obj_kind,
  10579. obj_signature,
  10580. obj_owner,
  10581. need_obj_kind,
  10582. need_obj_signature,
  10583. need_obj_owner)
  10584. values
  10585. (
  10586. "%SYSBLDNAME%",
  10587. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
  10588. "%SYSBLDUSER%",
  10589. 7, "TimeSeries",
  10590. "%SYSBLDUSER%"
  10591. );
  10592. insert into sysbldobjects
  10593. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10594. create_can_fail, drop_sql, drop_can_fail)
  10595. values
  10596. (
  10597. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
  10598. "%SYSBLDUSER%", 0,
  10599. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta) to public;
  10600. ",
  10601. "f",
  10602. "",
  10603. "f"
  10604. );
  10605. insert into sysbldobjdepends
  10606. (
  10607. bld_id,
  10608. obj_kind,
  10609. obj_signature,
  10610. obj_owner,
  10611. need_obj_kind,
  10612. need_obj_signature,
  10613. need_obj_owner)
  10614. values
  10615. (
  10616. "%SYSBLDNAME%",
  10617. 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
  10618. "%SYSBLDUSER%",
  10619. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
  10620. "%SYSBLDUSER%"
  10621. );
  10622. insert into sysbldobjects
  10623. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10624. create_can_fail, drop_sql, drop_can_fail)
  10625. values
  10626. (
  10627. "%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
  10628. "%SYSBLDUSER%", 0,
  10629. "create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset)
  10630. returns TimeSeries with (not variant, handlesnulls)
  10631. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_compress_set_meta_sql)"" language c;
  10632. ",
  10633. "f",
  10634. "drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset);
  10635. ",
  10636. "f"
  10637. );
  10638. insert into sysbldobjdepends
  10639. (
  10640. bld_id,
  10641. obj_kind,
  10642. obj_signature,
  10643. obj_owner,
  10644. need_obj_kind,
  10645. need_obj_signature,
  10646. need_obj_owner)
  10647. values
  10648. (
  10649. "%SYSBLDNAME%",
  10650. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
  10651. "%SYSBLDUSER%",
  10652. 7, "TimeSeries",
  10653. "%SYSBLDUSER%"
  10654. );
  10655. insert into sysbldobjects
  10656. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10657. create_can_fail, drop_sql, drop_can_fail)
  10658. values
  10659. (
  10660. "%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
  10661. "%SYSBLDUSER%", 0,
  10662. "grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset) to public;
  10663. ",
  10664. "f",
  10665. "",
  10666. "f"
  10667. );
  10668. insert into sysbldobjdepends
  10669. (
  10670. bld_id,
  10671. obj_kind,
  10672. obj_signature,
  10673. obj_owner,
  10674. need_obj_kind,
  10675. need_obj_signature,
  10676. need_obj_owner)
  10677. values
  10678. (
  10679. "%SYSBLDNAME%",
  10680. 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
  10681. "%SYSBLDUSER%",
  10682. 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
  10683. "%SYSBLDUSER%"
  10684. );
  10685. insert into sysbldobjdepends
  10686. (
  10687. bld_id,
  10688. obj_kind,
  10689. obj_signature,
  10690. obj_owner,
  10691. need_obj_kind,
  10692. need_obj_signature,
  10693. need_obj_owner)
  10694. values
  10695. (
  10696. "%SYSBLDNAME%",
  10697. 5, "BulkLoad (TimeSeries,lvarchar,integer)",
  10698. "%SYSBLDUSER%",
  10699. 7, "TimeSeries",
  10700. "%SYSBLDUSER%"
  10701. );
  10702. insert into sysbldobjects
  10703. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10704. create_can_fail, drop_sql, drop_can_fail)
  10705. values
  10706. (
  10707. "%SYSBLDNAME%", 69, "BulkLoad (TimeSeries,lvarchar,integer)",
  10708. "%SYSBLDUSER%", 0,
  10709. "grant execute on function BulkLoad (TimeSeries,lvarchar,integer) to public;
  10710. ",
  10711. "f",
  10712. "",
  10713. "f"
  10714. );
  10715. insert into sysbldobjdepends
  10716. (
  10717. bld_id,
  10718. obj_kind,
  10719. obj_signature,
  10720. obj_owner,
  10721. need_obj_kind,
  10722. need_obj_signature,
  10723. need_obj_owner)
  10724. values
  10725. (
  10726. "%SYSBLDNAME%",
  10727. 69, "BulkLoad (TimeSeries,lvarchar,integer)",
  10728. "%SYSBLDUSER%",
  10729. 5, "BulkLoad (TimeSeries,lvarchar,integer)",
  10730. "%SYSBLDUSER%"
  10731. );
  10732. insert into sysbldobjects
  10733. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10734. create_can_fail, drop_sql, drop_can_fail)
  10735. values
  10736. (
  10737. "%SYSBLDNAME%", 5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
  10738. "%SYSBLDUSER%", 0,
  10739. "create function PutTimeSeries (TimeSeries,TimeSeries,integer default 0)
  10740. returns TimeSeries with (not variant, handlesnulls)
  10741. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_ts_sql)"" language c;
  10742. ",
  10743. "f",
  10744. "drop function PutTimeSeries (TimeSeries,TimeSeries,integer);
  10745. ",
  10746. "f"
  10747. );
  10748. insert into sysbldobjdepends
  10749. (
  10750. bld_id,
  10751. obj_kind,
  10752. obj_signature,
  10753. obj_owner,
  10754. need_obj_kind,
  10755. need_obj_signature,
  10756. need_obj_owner)
  10757. values
  10758. (
  10759. "%SYSBLDNAME%",
  10760. 5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
  10761. "%SYSBLDUSER%",
  10762. 7, "TimeSeries",
  10763. "%SYSBLDUSER%"
  10764. );
  10765. insert into sysbldobjects
  10766. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10767. create_can_fail, drop_sql, drop_can_fail)
  10768. values
  10769. (
  10770. "%SYSBLDNAME%", 69, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
  10771. "%SYSBLDUSER%", 0,
  10772. "grant execute on function PutTimeSeries (TimeSeries,TimeSeries,integer) to public;
  10773. ",
  10774. "f",
  10775. "",
  10776. "f"
  10777. );
  10778. insert into sysbldobjdepends
  10779. (
  10780. bld_id,
  10781. obj_kind,
  10782. obj_signature,
  10783. obj_owner,
  10784. need_obj_kind,
  10785. need_obj_signature,
  10786. need_obj_owner)
  10787. values
  10788. (
  10789. "%SYSBLDNAME%",
  10790. 69, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
  10791. "%SYSBLDUSER%",
  10792. 5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
  10793. "%SYSBLDUSER%"
  10794. );
  10795. insert into sysbldobjects
  10796. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10797. create_can_fail, drop_sql, drop_can_fail)
  10798. values
  10799. (
  10800. "%SYSBLDNAME%", 5, "GetOrigin (TimeSeries)",
  10801. "%SYSBLDUSER%", 0,
  10802. "create function GetOrigin (TimeSeries)
  10803. returns datetime year to fraction(5) with (not variant, parallelizable)
  10804. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_origin_sql)"" language c;
  10805. ",
  10806. "f",
  10807. "drop function GetOrigin (TimeSeries);
  10808. ",
  10809. "f"
  10810. );
  10811. insert into sysbldobjdepends
  10812. (
  10813. bld_id,
  10814. obj_kind,
  10815. obj_signature,
  10816. obj_owner,
  10817. need_obj_kind,
  10818. need_obj_signature,
  10819. need_obj_owner)
  10820. values
  10821. (
  10822. "%SYSBLDNAME%",
  10823. 5, "GetOrigin (TimeSeries)",
  10824. "%SYSBLDUSER%",
  10825. 7, "TimeSeries",
  10826. "%SYSBLDUSER%"
  10827. );
  10828. insert into sysbldobjects
  10829. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10830. create_can_fail, drop_sql, drop_can_fail)
  10831. values
  10832. (
  10833. "%SYSBLDNAME%", 69, "GetOrigin (TimeSeries)",
  10834. "%SYSBLDUSER%", 0,
  10835. "grant execute on function GetOrigin (TimeSeries) to public;
  10836. ",
  10837. "f",
  10838. "",
  10839. "f"
  10840. );
  10841. insert into sysbldobjdepends
  10842. (
  10843. bld_id,
  10844. obj_kind,
  10845. obj_signature,
  10846. obj_owner,
  10847. need_obj_kind,
  10848. need_obj_signature,
  10849. need_obj_owner)
  10850. values
  10851. (
  10852. "%SYSBLDNAME%",
  10853. 69, "GetOrigin (TimeSeries)",
  10854. "%SYSBLDUSER%",
  10855. 5, "GetOrigin (TimeSeries)",
  10856. "%SYSBLDUSER%"
  10857. );
  10858. insert into sysbldobjects
  10859. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10860. create_can_fail, drop_sql, drop_can_fail)
  10861. values
  10862. (
  10863. "%SYSBLDNAME%", 5, "SetOrigin (TimeSeries,datetime)",
  10864. "%SYSBLDUSER%", 0,
  10865. "create function SetOrigin (TimeSeries,datetime year to fraction(5))
  10866. returns TimeSeries with (not variant, handlesnulls)
  10867. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_origin_sql)"" language c;
  10868. ",
  10869. "f",
  10870. "drop function SetOrigin (TimeSeries,datetime year to fraction(5));
  10871. ",
  10872. "f"
  10873. );
  10874. insert into sysbldobjdepends
  10875. (
  10876. bld_id,
  10877. obj_kind,
  10878. obj_signature,
  10879. obj_owner,
  10880. need_obj_kind,
  10881. need_obj_signature,
  10882. need_obj_owner)
  10883. values
  10884. (
  10885. "%SYSBLDNAME%",
  10886. 5, "SetOrigin (TimeSeries,datetime)",
  10887. "%SYSBLDUSER%",
  10888. 7, "TimeSeries",
  10889. "%SYSBLDUSER%"
  10890. );
  10891. insert into sysbldobjects
  10892. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10893. create_can_fail, drop_sql, drop_can_fail)
  10894. values
  10895. (
  10896. "%SYSBLDNAME%", 69, "SetOrigin (TimeSeries,datetime)",
  10897. "%SYSBLDUSER%", 0,
  10898. "grant execute on function SetOrigin (TimeSeries,datetime year to fraction(5)) to public;
  10899. ",
  10900. "f",
  10901. "",
  10902. "f"
  10903. );
  10904. insert into sysbldobjdepends
  10905. (
  10906. bld_id,
  10907. obj_kind,
  10908. obj_signature,
  10909. obj_owner,
  10910. need_obj_kind,
  10911. need_obj_signature,
  10912. need_obj_owner)
  10913. values
  10914. (
  10915. "%SYSBLDNAME%",
  10916. 69, "SetOrigin (TimeSeries,datetime)",
  10917. "%SYSBLDUSER%",
  10918. 5, "SetOrigin (TimeSeries,datetime)",
  10919. "%SYSBLDUSER%"
  10920. );
  10921. insert into sysbldobjects
  10922. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10923. create_can_fail, drop_sql, drop_can_fail)
  10924. values
  10925. (
  10926. "%SYSBLDNAME%", 5, "GetInterval (TimeSeries)",
  10927. "%SYSBLDUSER%", 0,
  10928. "create function GetInterval (TimeSeries)
  10929. returns lvarchar with (not variant, parallelizable)
  10930. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_interval_sql)"" language c;
  10931. ",
  10932. "f",
  10933. "drop function GetInterval (TimeSeries);
  10934. ",
  10935. "f"
  10936. );
  10937. insert into sysbldobjdepends
  10938. (
  10939. bld_id,
  10940. obj_kind,
  10941. obj_signature,
  10942. obj_owner,
  10943. need_obj_kind,
  10944. need_obj_signature,
  10945. need_obj_owner)
  10946. values
  10947. (
  10948. "%SYSBLDNAME%",
  10949. 5, "GetInterval (TimeSeries)",
  10950. "%SYSBLDUSER%",
  10951. 7, "TimeSeries",
  10952. "%SYSBLDUSER%"
  10953. );
  10954. insert into sysbldobjects
  10955. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10956. create_can_fail, drop_sql, drop_can_fail)
  10957. values
  10958. (
  10959. "%SYSBLDNAME%", 69, "GetInterval (TimeSeries)",
  10960. "%SYSBLDUSER%", 0,
  10961. "grant execute on function GetInterval (TimeSeries) to public;
  10962. ",
  10963. "f",
  10964. "",
  10965. "f"
  10966. );
  10967. insert into sysbldobjdepends
  10968. (
  10969. bld_id,
  10970. obj_kind,
  10971. obj_signature,
  10972. obj_owner,
  10973. need_obj_kind,
  10974. need_obj_signature,
  10975. need_obj_owner)
  10976. values
  10977. (
  10978. "%SYSBLDNAME%",
  10979. 69, "GetInterval (TimeSeries)",
  10980. "%SYSBLDUSER%",
  10981. 5, "GetInterval (TimeSeries)",
  10982. "%SYSBLDUSER%"
  10983. );
  10984. insert into sysbldobjects
  10985. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  10986. create_can_fail, drop_sql, drop_can_fail)
  10987. values
  10988. (
  10989. "%SYSBLDNAME%", 5, "GetCalendar (TimeSeries)",
  10990. "%SYSBLDUSER%", 0,
  10991. "create function GetCalendar (TimeSeries)
  10992. returns Calendar with (not variant, parallelizable)
  10993. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_calendar_sql)"" language c;
  10994. ",
  10995. "f",
  10996. "drop function GetCalendar (TimeSeries);
  10997. ",
  10998. "f"
  10999. );
  11000. insert into sysbldobjdepends
  11001. (
  11002. bld_id,
  11003. obj_kind,
  11004. obj_signature,
  11005. obj_owner,
  11006. need_obj_kind,
  11007. need_obj_signature,
  11008. need_obj_owner)
  11009. values
  11010. (
  11011. "%SYSBLDNAME%",
  11012. 5, "GetCalendar (TimeSeries)",
  11013. "%SYSBLDUSER%",
  11014. 7, "TimeSeries",
  11015. "%SYSBLDUSER%"
  11016. );
  11017. insert into sysbldobjdepends
  11018. (
  11019. bld_id,
  11020. obj_kind,
  11021. obj_signature,
  11022. obj_owner,
  11023. need_obj_kind,
  11024. need_obj_signature,
  11025. need_obj_owner)
  11026. values
  11027. (
  11028. "%SYSBLDNAME%",
  11029. 5, "GetCalendar (TimeSeries)",
  11030. "%SYSBLDUSER%",
  11031. 7, "Calendar",
  11032. "%SYSBLDUSER%"
  11033. );
  11034. insert into sysbldobjects
  11035. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11036. create_can_fail, drop_sql, drop_can_fail)
  11037. values
  11038. (
  11039. "%SYSBLDNAME%", 69, "GetCalendar (TimeSeries)",
  11040. "%SYSBLDUSER%", 0,
  11041. "grant execute on function GetCalendar (TimeSeries) to public;
  11042. ",
  11043. "f",
  11044. "",
  11045. "f"
  11046. );
  11047. insert into sysbldobjdepends
  11048. (
  11049. bld_id,
  11050. obj_kind,
  11051. obj_signature,
  11052. obj_owner,
  11053. need_obj_kind,
  11054. need_obj_signature,
  11055. need_obj_owner)
  11056. values
  11057. (
  11058. "%SYSBLDNAME%",
  11059. 69, "GetCalendar (TimeSeries)",
  11060. "%SYSBLDUSER%",
  11061. 5, "GetCalendar (TimeSeries)",
  11062. "%SYSBLDUSER%"
  11063. );
  11064. insert into sysbldobjects
  11065. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11066. create_can_fail, drop_sql, drop_can_fail)
  11067. values
  11068. (
  11069. "%SYSBLDNAME%", 5, "GetCalendarName (TimeSeries)",
  11070. "%SYSBLDUSER%", 0,
  11071. "create function GetCalendarName (TimeSeries)
  11072. returns lvarchar with (not variant, parallelizable)
  11073. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_calendar_name_sql)"" language c;
  11074. ",
  11075. "f",
  11076. "drop function GetCalendarName (TimeSeries);
  11077. ",
  11078. "f"
  11079. );
  11080. insert into sysbldobjdepends
  11081. (
  11082. bld_id,
  11083. obj_kind,
  11084. obj_signature,
  11085. obj_owner,
  11086. need_obj_kind,
  11087. need_obj_signature,
  11088. need_obj_owner)
  11089. values
  11090. (
  11091. "%SYSBLDNAME%",
  11092. 5, "GetCalendarName (TimeSeries)",
  11093. "%SYSBLDUSER%",
  11094. 7, "TimeSeries",
  11095. "%SYSBLDUSER%"
  11096. );
  11097. insert into sysbldobjects
  11098. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11099. create_can_fail, drop_sql, drop_can_fail)
  11100. values
  11101. (
  11102. "%SYSBLDNAME%", 69, "GetCalendarName (TimeSeries)",
  11103. "%SYSBLDUSER%", 0,
  11104. "grant execute on function GetCalendarName (TimeSeries) to public;
  11105. ",
  11106. "f",
  11107. "",
  11108. "f"
  11109. );
  11110. insert into sysbldobjdepends
  11111. (
  11112. bld_id,
  11113. obj_kind,
  11114. obj_signature,
  11115. obj_owner,
  11116. need_obj_kind,
  11117. need_obj_signature,
  11118. need_obj_owner)
  11119. values
  11120. (
  11121. "%SYSBLDNAME%",
  11122. 69, "GetCalendarName (TimeSeries)",
  11123. "%SYSBLDUSER%",
  11124. 5, "GetCalendarName (TimeSeries)",
  11125. "%SYSBLDUSER%"
  11126. );
  11127. insert into sysbldobjects
  11128. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11129. create_can_fail, drop_sql, drop_can_fail)
  11130. values
  11131. (
  11132. "%SYSBLDNAME%", 5, "GetContainerName (TimeSeries)",
  11133. "%SYSBLDUSER%", 0,
  11134. "create function GetContainerName (TimeSeries)
  11135. returns lvarchar with (not variant, parallelizable)
  11136. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_container_name_sql)"" language c;
  11137. ",
  11138. "f",
  11139. "drop function GetContainerName (TimeSeries);
  11140. ",
  11141. "f"
  11142. );
  11143. insert into sysbldobjdepends
  11144. (
  11145. bld_id,
  11146. obj_kind,
  11147. obj_signature,
  11148. obj_owner,
  11149. need_obj_kind,
  11150. need_obj_signature,
  11151. need_obj_owner)
  11152. values
  11153. (
  11154. "%SYSBLDNAME%",
  11155. 5, "GetContainerName (TimeSeries)",
  11156. "%SYSBLDUSER%",
  11157. 7, "TimeSeries",
  11158. "%SYSBLDUSER%"
  11159. );
  11160. insert into sysbldobjects
  11161. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11162. create_can_fail, drop_sql, drop_can_fail)
  11163. values
  11164. (
  11165. "%SYSBLDNAME%", 69, "GetContainerName (TimeSeries)",
  11166. "%SYSBLDUSER%", 0,
  11167. "grant execute on function GetContainerName (TimeSeries) to public;
  11168. ",
  11169. "f",
  11170. "",
  11171. "f"
  11172. );
  11173. insert into sysbldobjdepends
  11174. (
  11175. bld_id,
  11176. obj_kind,
  11177. obj_signature,
  11178. obj_owner,
  11179. need_obj_kind,
  11180. need_obj_signature,
  11181. need_obj_owner)
  11182. values
  11183. (
  11184. "%SYSBLDNAME%",
  11185. 69, "GetContainerName (TimeSeries)",
  11186. "%SYSBLDUSER%",
  11187. 5, "GetContainerName (TimeSeries)",
  11188. "%SYSBLDUSER%"
  11189. );
  11190. insert into sysbldobjects
  11191. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11192. create_can_fail, drop_sql, drop_can_fail)
  11193. values
  11194. (
  11195. "%SYSBLDNAME%", 5, "PutNthElem (TimeSeries,row,int,integer)",
  11196. "%SYSBLDUSER%", 0,
  11197. "create function PutNthElem (TimeSeries,row,int,integer default 0)
  11198. returns TimeSeries with (not variant, handlesnulls)
  11199. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_nth_elem_sql)"" language c;
  11200. ",
  11201. "f",
  11202. "drop function PutNthElem (TimeSeries,row,int,integer);
  11203. ",
  11204. "f"
  11205. );
  11206. insert into sysbldobjdepends
  11207. (
  11208. bld_id,
  11209. obj_kind,
  11210. obj_signature,
  11211. obj_owner,
  11212. need_obj_kind,
  11213. need_obj_signature,
  11214. need_obj_owner)
  11215. values
  11216. (
  11217. "%SYSBLDNAME%",
  11218. 5, "PutNthElem (TimeSeries,row,int,integer)",
  11219. "%SYSBLDUSER%",
  11220. 7, "TimeSeries",
  11221. "%SYSBLDUSER%"
  11222. );
  11223. insert into sysbldobjects
  11224. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11225. create_can_fail, drop_sql, drop_can_fail)
  11226. values
  11227. (
  11228. "%SYSBLDNAME%", 69, "PutNthElem (TimeSeries,row,int,integer)",
  11229. "%SYSBLDUSER%", 0,
  11230. "grant execute on function PutNthElem (TimeSeries,row,int,integer) to public;
  11231. ",
  11232. "f",
  11233. "",
  11234. "f"
  11235. );
  11236. insert into sysbldobjdepends
  11237. (
  11238. bld_id,
  11239. obj_kind,
  11240. obj_signature,
  11241. obj_owner,
  11242. need_obj_kind,
  11243. need_obj_signature,
  11244. need_obj_owner)
  11245. values
  11246. (
  11247. "%SYSBLDNAME%",
  11248. 69, "PutNthElem (TimeSeries,row,int,integer)",
  11249. "%SYSBLDUSER%",
  11250. 5, "PutNthElem (TimeSeries,row,int,integer)",
  11251. "%SYSBLDUSER%"
  11252. );
  11253. insert into sysbldobjects
  11254. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11255. create_can_fail, drop_sql, drop_can_fail)
  11256. values
  11257. (
  11258. "%SYSBLDNAME%", 5, "PutElem (TimeSeries,row,integer)",
  11259. "%SYSBLDUSER%", 0,
  11260. "create function PutElem (TimeSeries,row,integer default 0)
  11261. returns TimeSeries with (not variant, handlesnulls)
  11262. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_sql)"" language c;
  11263. ",
  11264. "f",
  11265. "drop function PutElem (TimeSeries,row,integer);
  11266. ",
  11267. "f"
  11268. );
  11269. insert into sysbldobjdepends
  11270. (
  11271. bld_id,
  11272. obj_kind,
  11273. obj_signature,
  11274. obj_owner,
  11275. need_obj_kind,
  11276. need_obj_signature,
  11277. need_obj_owner)
  11278. values
  11279. (
  11280. "%SYSBLDNAME%",
  11281. 5, "PutElem (TimeSeries,row,integer)",
  11282. "%SYSBLDUSER%",
  11283. 7, "TimeSeries",
  11284. "%SYSBLDUSER%"
  11285. );
  11286. insert into sysbldobjects
  11287. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11288. create_can_fail, drop_sql, drop_can_fail)
  11289. values
  11290. (
  11291. "%SYSBLDNAME%", 69, "PutElem (TimeSeries,row,integer)",
  11292. "%SYSBLDUSER%", 0,
  11293. "grant execute on function PutElem (TimeSeries,row,integer) to public;
  11294. ",
  11295. "f",
  11296. "",
  11297. "f"
  11298. );
  11299. insert into sysbldobjdepends
  11300. (
  11301. bld_id,
  11302. obj_kind,
  11303. obj_signature,
  11304. obj_owner,
  11305. need_obj_kind,
  11306. need_obj_signature,
  11307. need_obj_owner)
  11308. values
  11309. (
  11310. "%SYSBLDNAME%",
  11311. 69, "PutElem (TimeSeries,row,integer)",
  11312. "%SYSBLDUSER%",
  11313. 5, "PutElem (TimeSeries,row,integer)",
  11314. "%SYSBLDUSER%"
  11315. );
  11316. insert into sysbldobjects
  11317. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11318. create_can_fail, drop_sql, drop_can_fail)
  11319. values
  11320. (
  11321. "%SYSBLDNAME%", 5, "PutElemNoDups (TimeSeries,row,integer)",
  11322. "%SYSBLDUSER%", 0,
  11323. "create function PutElemNoDups (TimeSeries,row,integer default 0)
  11324. returns TimeSeries with (not variant, handlesnulls)
  11325. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_no_dups_sql)"" language c;
  11326. ",
  11327. "f",
  11328. "drop function PutElemNoDups (TimeSeries,row,integer);
  11329. ",
  11330. "f"
  11331. );
  11332. insert into sysbldobjdepends
  11333. (
  11334. bld_id,
  11335. obj_kind,
  11336. obj_signature,
  11337. obj_owner,
  11338. need_obj_kind,
  11339. need_obj_signature,
  11340. need_obj_owner)
  11341. values
  11342. (
  11343. "%SYSBLDNAME%",
  11344. 5, "PutElemNoDups (TimeSeries,row,integer)",
  11345. "%SYSBLDUSER%",
  11346. 7, "TimeSeries",
  11347. "%SYSBLDUSER%"
  11348. );
  11349. insert into sysbldobjects
  11350. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11351. create_can_fail, drop_sql, drop_can_fail)
  11352. values
  11353. (
  11354. "%SYSBLDNAME%", 69, "PutElemNoDups (TimeSeries,row,integer)",
  11355. "%SYSBLDUSER%", 0,
  11356. "grant execute on function PutElemNoDups (TimeSeries,row,integer) to public;
  11357. ",
  11358. "f",
  11359. "",
  11360. "f"
  11361. );
  11362. insert into sysbldobjdepends
  11363. (
  11364. bld_id,
  11365. obj_kind,
  11366. obj_signature,
  11367. obj_owner,
  11368. need_obj_kind,
  11369. need_obj_signature,
  11370. need_obj_owner)
  11371. values
  11372. (
  11373. "%SYSBLDNAME%",
  11374. 69, "PutElemNoDups (TimeSeries,row,integer)",
  11375. "%SYSBLDUSER%",
  11376. 5, "PutElemNoDups (TimeSeries,row,integer)",
  11377. "%SYSBLDUSER%"
  11378. );
  11379. insert into sysbldobjects
  11380. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11381. create_can_fail, drop_sql, drop_can_fail)
  11382. values
  11383. (
  11384. "%SYSBLDNAME%", 5, "VTIPut (TimeSeries,row,integer,integer)",
  11385. "%SYSBLDUSER%", 0,
  11386. "create function VTIPut (TimeSeries,row,integer default 0,integer)
  11387. returns TimeSeries with (not variant, handlesnulls)
  11388. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vti_put_sql)"" language c;
  11389. ",
  11390. "f",
  11391. "drop function VTIPut (TimeSeries,row,integer,integer);
  11392. ",
  11393. "f"
  11394. );
  11395. insert into sysbldobjdepends
  11396. (
  11397. bld_id,
  11398. obj_kind,
  11399. obj_signature,
  11400. obj_owner,
  11401. need_obj_kind,
  11402. need_obj_signature,
  11403. need_obj_owner)
  11404. values
  11405. (
  11406. "%SYSBLDNAME%",
  11407. 5, "VTIPut (TimeSeries,row,integer,integer)",
  11408. "%SYSBLDUSER%",
  11409. 7, "TimeSeries",
  11410. "%SYSBLDUSER%"
  11411. );
  11412. insert into sysbldobjects
  11413. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11414. create_can_fail, drop_sql, drop_can_fail)
  11415. values
  11416. (
  11417. "%SYSBLDNAME%", 69, "VTIPut (TimeSeries,row,integer,integer)",
  11418. "%SYSBLDUSER%", 0,
  11419. "grant execute on function VTIPut (TimeSeries,row,integer,integer) to public;
  11420. ",
  11421. "f",
  11422. "",
  11423. "f"
  11424. );
  11425. insert into sysbldobjdepends
  11426. (
  11427. bld_id,
  11428. obj_kind,
  11429. obj_signature,
  11430. obj_owner,
  11431. need_obj_kind,
  11432. need_obj_signature,
  11433. need_obj_owner)
  11434. values
  11435. (
  11436. "%SYSBLDNAME%",
  11437. 69, "VTIPut (TimeSeries,row,integer,integer)",
  11438. "%SYSBLDUSER%",
  11439. 5, "VTIPut (TimeSeries,row,integer,integer)",
  11440. "%SYSBLDUSER%"
  11441. );
  11442. insert into sysbldobjects
  11443. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11444. create_can_fail, drop_sql, drop_can_fail)
  11445. values
  11446. (
  11447. "%SYSBLDNAME%", 5, "PutSet (TimeSeries,multiset,integer)",
  11448. "%SYSBLDUSER%", 0,
  11449. "create function PutSet (TimeSeries,multiset,integer default 0)
  11450. returns TimeSeries with (not variant, handlesnulls)
  11451. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_set_sql)"" language c;
  11452. ",
  11453. "f",
  11454. "drop function PutSet (TimeSeries,multiset,integer);
  11455. ",
  11456. "f"
  11457. );
  11458. insert into sysbldobjdepends
  11459. (
  11460. bld_id,
  11461. obj_kind,
  11462. obj_signature,
  11463. obj_owner,
  11464. need_obj_kind,
  11465. need_obj_signature,
  11466. need_obj_owner)
  11467. values
  11468. (
  11469. "%SYSBLDNAME%",
  11470. 5, "PutSet (TimeSeries,multiset,integer)",
  11471. "%SYSBLDUSER%",
  11472. 7, "TimeSeries",
  11473. "%SYSBLDUSER%"
  11474. );
  11475. insert into sysbldobjects
  11476. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11477. create_can_fail, drop_sql, drop_can_fail)
  11478. values
  11479. (
  11480. "%SYSBLDNAME%", 69, "PutSet (TimeSeries,multiset,integer)",
  11481. "%SYSBLDUSER%", 0,
  11482. "grant execute on function PutSet (TimeSeries,multiset,integer) to public;
  11483. ",
  11484. "f",
  11485. "",
  11486. "f"
  11487. );
  11488. insert into sysbldobjdepends
  11489. (
  11490. bld_id,
  11491. obj_kind,
  11492. obj_signature,
  11493. obj_owner,
  11494. need_obj_kind,
  11495. need_obj_signature,
  11496. need_obj_owner)
  11497. values
  11498. (
  11499. "%SYSBLDNAME%",
  11500. 69, "PutSet (TimeSeries,multiset,integer)",
  11501. "%SYSBLDUSER%",
  11502. 5, "PutSet (TimeSeries,multiset,integer)",
  11503. "%SYSBLDUSER%"
  11504. );
  11505. insert into sysbldobjects
  11506. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11507. create_can_fail, drop_sql, drop_can_fail)
  11508. values
  11509. (
  11510. "%SYSBLDNAME%", 5, "InsElem (TimeSeries,row,integer)",
  11511. "%SYSBLDUSER%", 0,
  11512. "create function InsElem (TimeSeries,row,integer default 0)
  11513. returns TimeSeries with (not variant, handlesnulls)
  11514. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_elem_sql)"" language c;
  11515. ",
  11516. "f",
  11517. "drop function InsElem (TimeSeries,row,integer);
  11518. ",
  11519. "f"
  11520. );
  11521. insert into sysbldobjdepends
  11522. (
  11523. bld_id,
  11524. obj_kind,
  11525. obj_signature,
  11526. obj_owner,
  11527. need_obj_kind,
  11528. need_obj_signature,
  11529. need_obj_owner)
  11530. values
  11531. (
  11532. "%SYSBLDNAME%",
  11533. 5, "InsElem (TimeSeries,row,integer)",
  11534. "%SYSBLDUSER%",
  11535. 7, "TimeSeries",
  11536. "%SYSBLDUSER%"
  11537. );
  11538. insert into sysbldobjects
  11539. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11540. create_can_fail, drop_sql, drop_can_fail)
  11541. values
  11542. (
  11543. "%SYSBLDNAME%", 69, "InsElem (TimeSeries,row,integer)",
  11544. "%SYSBLDUSER%", 0,
  11545. "grant execute on function InsElem (TimeSeries,row,integer) to public;
  11546. ",
  11547. "f",
  11548. "",
  11549. "f"
  11550. );
  11551. insert into sysbldobjdepends
  11552. (
  11553. bld_id,
  11554. obj_kind,
  11555. obj_signature,
  11556. obj_owner,
  11557. need_obj_kind,
  11558. need_obj_signature,
  11559. need_obj_owner)
  11560. values
  11561. (
  11562. "%SYSBLDNAME%",
  11563. 69, "InsElem (TimeSeries,row,integer)",
  11564. "%SYSBLDUSER%",
  11565. 5, "InsElem (TimeSeries,row,integer)",
  11566. "%SYSBLDUSER%"
  11567. );
  11568. insert into sysbldobjects
  11569. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11570. create_can_fail, drop_sql, drop_can_fail)
  11571. values
  11572. (
  11573. "%SYSBLDNAME%", 5, "InsSet (TimeSeries,multiset,integer)",
  11574. "%SYSBLDUSER%", 0,
  11575. "create function InsSet (TimeSeries,multiset,integer default 0)
  11576. returns TimeSeries with (not variant, handlesnulls)
  11577. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_set_sql)"" language c;
  11578. ",
  11579. "f",
  11580. "drop function InsSet (TimeSeries,multiset,integer);
  11581. ",
  11582. "f"
  11583. );
  11584. insert into sysbldobjdepends
  11585. (
  11586. bld_id,
  11587. obj_kind,
  11588. obj_signature,
  11589. obj_owner,
  11590. need_obj_kind,
  11591. need_obj_signature,
  11592. need_obj_owner)
  11593. values
  11594. (
  11595. "%SYSBLDNAME%",
  11596. 5, "InsSet (TimeSeries,multiset,integer)",
  11597. "%SYSBLDUSER%",
  11598. 7, "TimeSeries",
  11599. "%SYSBLDUSER%"
  11600. );
  11601. insert into sysbldobjects
  11602. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11603. create_can_fail, drop_sql, drop_can_fail)
  11604. values
  11605. (
  11606. "%SYSBLDNAME%", 69, "InsSet (TimeSeries,multiset,integer)",
  11607. "%SYSBLDUSER%", 0,
  11608. "grant execute on function InsSet (TimeSeries,multiset,integer) to public;
  11609. ",
  11610. "f",
  11611. "",
  11612. "f"
  11613. );
  11614. insert into sysbldobjdepends
  11615. (
  11616. bld_id,
  11617. obj_kind,
  11618. obj_signature,
  11619. obj_owner,
  11620. need_obj_kind,
  11621. need_obj_signature,
  11622. need_obj_owner)
  11623. values
  11624. (
  11625. "%SYSBLDNAME%",
  11626. 69, "InsSet (TimeSeries,multiset,integer)",
  11627. "%SYSBLDUSER%",
  11628. 5, "InsSet (TimeSeries,multiset,integer)",
  11629. "%SYSBLDUSER%"
  11630. );
  11631. insert into sysbldobjects
  11632. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11633. create_can_fail, drop_sql, drop_can_fail)
  11634. values
  11635. (
  11636. "%SYSBLDNAME%", 5, "UpdElem (TimeSeries,row,integer)",
  11637. "%SYSBLDUSER%", 0,
  11638. "create function UpdElem (TimeSeries,row,integer default 0)
  11639. returns TimeSeries with (not variant, handlesnulls)
  11640. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_elem_sql)"" language c;
  11641. ",
  11642. "f",
  11643. "drop function UpdElem (TimeSeries,row,integer);
  11644. ",
  11645. "f"
  11646. );
  11647. insert into sysbldobjdepends
  11648. (
  11649. bld_id,
  11650. obj_kind,
  11651. obj_signature,
  11652. obj_owner,
  11653. need_obj_kind,
  11654. need_obj_signature,
  11655. need_obj_owner)
  11656. values
  11657. (
  11658. "%SYSBLDNAME%",
  11659. 5, "UpdElem (TimeSeries,row,integer)",
  11660. "%SYSBLDUSER%",
  11661. 7, "TimeSeries",
  11662. "%SYSBLDUSER%"
  11663. );
  11664. insert into sysbldobjects
  11665. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11666. create_can_fail, drop_sql, drop_can_fail)
  11667. values
  11668. (
  11669. "%SYSBLDNAME%", 69, "UpdElem (TimeSeries,row,integer)",
  11670. "%SYSBLDUSER%", 0,
  11671. "grant execute on function UpdElem (TimeSeries,row,integer) to public;
  11672. ",
  11673. "f",
  11674. "",
  11675. "f"
  11676. );
  11677. insert into sysbldobjdepends
  11678. (
  11679. bld_id,
  11680. obj_kind,
  11681. obj_signature,
  11682. obj_owner,
  11683. need_obj_kind,
  11684. need_obj_signature,
  11685. need_obj_owner)
  11686. values
  11687. (
  11688. "%SYSBLDNAME%",
  11689. 69, "UpdElem (TimeSeries,row,integer)",
  11690. "%SYSBLDUSER%",
  11691. 5, "UpdElem (TimeSeries,row,integer)",
  11692. "%SYSBLDUSER%"
  11693. );
  11694. insert into sysbldobjects
  11695. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11696. create_can_fail, drop_sql, drop_can_fail)
  11697. values
  11698. (
  11699. "%SYSBLDNAME%", 5, "UpdSet (TimeSeries,multiset,integer)",
  11700. "%SYSBLDUSER%", 0,
  11701. "create function UpdSet (TimeSeries,multiset,integer default 0)
  11702. returns TimeSeries with (not variant, handlesnulls)
  11703. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_set_sql)"" language c;
  11704. ",
  11705. "f",
  11706. "drop function UpdSet (TimeSeries,multiset,integer);
  11707. ",
  11708. "f"
  11709. );
  11710. insert into sysbldobjdepends
  11711. (
  11712. bld_id,
  11713. obj_kind,
  11714. obj_signature,
  11715. obj_owner,
  11716. need_obj_kind,
  11717. need_obj_signature,
  11718. need_obj_owner)
  11719. values
  11720. (
  11721. "%SYSBLDNAME%",
  11722. 5, "UpdSet (TimeSeries,multiset,integer)",
  11723. "%SYSBLDUSER%",
  11724. 7, "TimeSeries",
  11725. "%SYSBLDUSER%"
  11726. );
  11727. insert into sysbldobjects
  11728. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11729. create_can_fail, drop_sql, drop_can_fail)
  11730. values
  11731. (
  11732. "%SYSBLDNAME%", 69, "UpdSet (TimeSeries,multiset,integer)",
  11733. "%SYSBLDUSER%", 0,
  11734. "grant execute on function UpdSet (TimeSeries,multiset,integer) to public;
  11735. ",
  11736. "f",
  11737. "",
  11738. "f"
  11739. );
  11740. insert into sysbldobjdepends
  11741. (
  11742. bld_id,
  11743. obj_kind,
  11744. obj_signature,
  11745. obj_owner,
  11746. need_obj_kind,
  11747. need_obj_signature,
  11748. need_obj_owner)
  11749. values
  11750. (
  11751. "%SYSBLDNAME%",
  11752. 69, "UpdSet (TimeSeries,multiset,integer)",
  11753. "%SYSBLDUSER%",
  11754. 5, "UpdSet (TimeSeries,multiset,integer)",
  11755. "%SYSBLDUSER%"
  11756. );
  11757. insert into sysbldobjects
  11758. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11759. create_can_fail, drop_sql, drop_can_fail)
  11760. values
  11761. (
  11762. "%SYSBLDNAME%", 5, "DelElem (TimeSeries,datetime,integer)",
  11763. "%SYSBLDUSER%", 0,
  11764. "create function DelElem (TimeSeries,datetime year to fraction(5),integer default 0)
  11765. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  11766. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_elem_sql)"" language c;
  11767. ",
  11768. "f",
  11769. "drop function DelElem (TimeSeries,datetime year to fraction(5),integer);
  11770. ",
  11771. "f"
  11772. );
  11773. insert into sysbldobjdepends
  11774. (
  11775. bld_id,
  11776. obj_kind,
  11777. obj_signature,
  11778. obj_owner,
  11779. need_obj_kind,
  11780. need_obj_signature,
  11781. need_obj_owner)
  11782. values
  11783. (
  11784. "%SYSBLDNAME%",
  11785. 5, "DelElem (TimeSeries,datetime,integer)",
  11786. "%SYSBLDUSER%",
  11787. 7, "TimeSeries",
  11788. "%SYSBLDUSER%"
  11789. );
  11790. insert into sysbldobjects
  11791. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11792. create_can_fail, drop_sql, drop_can_fail)
  11793. values
  11794. (
  11795. "%SYSBLDNAME%", 69, "DelElem (TimeSeries,datetime,integer)",
  11796. "%SYSBLDUSER%", 0,
  11797. "grant execute on function DelElem (TimeSeries,datetime year to fraction(5),integer) to public;
  11798. ",
  11799. "f",
  11800. "",
  11801. "f"
  11802. );
  11803. insert into sysbldobjdepends
  11804. (
  11805. bld_id,
  11806. obj_kind,
  11807. obj_signature,
  11808. obj_owner,
  11809. need_obj_kind,
  11810. need_obj_signature,
  11811. need_obj_owner)
  11812. values
  11813. (
  11814. "%SYSBLDNAME%",
  11815. 69, "DelElem (TimeSeries,datetime,integer)",
  11816. "%SYSBLDUSER%",
  11817. 5, "DelElem (TimeSeries,datetime,integer)",
  11818. "%SYSBLDUSER%"
  11819. );
  11820. insert into sysbldobjects
  11821. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11822. create_can_fail, drop_sql, drop_can_fail)
  11823. values
  11824. (
  11825. "%SYSBLDNAME%", 5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11826. "%SYSBLDUSER%", 0,
  11827. "create function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer default 0)
  11828. returns TimeSeries with (not variant, handlesnulls)
  11829. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_set_sql)"" language c;
  11830. ",
  11831. "f",
  11832. "drop function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer);
  11833. ",
  11834. "f"
  11835. );
  11836. insert into sysbldobjdepends
  11837. (
  11838. bld_id,
  11839. obj_kind,
  11840. obj_signature,
  11841. obj_owner,
  11842. need_obj_kind,
  11843. need_obj_signature,
  11844. need_obj_owner)
  11845. values
  11846. (
  11847. "%SYSBLDNAME%",
  11848. 5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11849. "%SYSBLDUSER%",
  11850. 7, "TimeSeries",
  11851. "%SYSBLDUSER%"
  11852. );
  11853. insert into sysbldobjdepends
  11854. (
  11855. bld_id,
  11856. obj_kind,
  11857. obj_signature,
  11858. obj_owner,
  11859. need_obj_kind,
  11860. need_obj_signature,
  11861. need_obj_owner)
  11862. values
  11863. (
  11864. "%SYSBLDNAME%",
  11865. 5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11866. "%SYSBLDUSER%",
  11867. 7, "datetime year to fraction(5)",
  11868. "%SYSBLDUSER%"
  11869. );
  11870. insert into sysbldobjects
  11871. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11872. create_can_fail, drop_sql, drop_can_fail)
  11873. values
  11874. (
  11875. "%SYSBLDNAME%", 69, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11876. "%SYSBLDUSER%", 0,
  11877. "grant execute on function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer) to public;
  11878. ",
  11879. "f",
  11880. "",
  11881. "f"
  11882. );
  11883. insert into sysbldobjdepends
  11884. (
  11885. bld_id,
  11886. obj_kind,
  11887. obj_signature,
  11888. obj_owner,
  11889. need_obj_kind,
  11890. need_obj_signature,
  11891. need_obj_owner)
  11892. values
  11893. (
  11894. "%SYSBLDNAME%",
  11895. 69, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11896. "%SYSBLDUSER%",
  11897. 5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
  11898. "%SYSBLDUSER%"
  11899. );
  11900. insert into sysbldobjects
  11901. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11902. create_can_fail, drop_sql, drop_can_fail)
  11903. values
  11904. (
  11905. "%SYSBLDNAME%", 5, "HideElem (TimeSeries,datetime,integer)",
  11906. "%SYSBLDUSER%", 0,
  11907. "create function HideElem (TimeSeries,datetime year to fraction(5),integer default 0)
  11908. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  11909. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_sql)"" language c;
  11910. ",
  11911. "f",
  11912. "drop function HideElem (TimeSeries,datetime year to fraction(5),integer);
  11913. ",
  11914. "f"
  11915. );
  11916. insert into sysbldobjdepends
  11917. (
  11918. bld_id,
  11919. obj_kind,
  11920. obj_signature,
  11921. obj_owner,
  11922. need_obj_kind,
  11923. need_obj_signature,
  11924. need_obj_owner)
  11925. values
  11926. (
  11927. "%SYSBLDNAME%",
  11928. 5, "HideElem (TimeSeries,datetime,integer)",
  11929. "%SYSBLDUSER%",
  11930. 7, "TimeSeries",
  11931. "%SYSBLDUSER%"
  11932. );
  11933. insert into sysbldobjects
  11934. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11935. create_can_fail, drop_sql, drop_can_fail)
  11936. values
  11937. (
  11938. "%SYSBLDNAME%", 69, "HideElem (TimeSeries,datetime,integer)",
  11939. "%SYSBLDUSER%", 0,
  11940. "grant execute on function HideElem (TimeSeries,datetime year to fraction(5),integer) to public;
  11941. ",
  11942. "f",
  11943. "",
  11944. "f"
  11945. );
  11946. insert into sysbldobjdepends
  11947. (
  11948. bld_id,
  11949. obj_kind,
  11950. obj_signature,
  11951. obj_owner,
  11952. need_obj_kind,
  11953. need_obj_signature,
  11954. need_obj_owner)
  11955. values
  11956. (
  11957. "%SYSBLDNAME%",
  11958. 69, "HideElem (TimeSeries,datetime,integer)",
  11959. "%SYSBLDUSER%",
  11960. 5, "HideElem (TimeSeries,datetime,integer)",
  11961. "%SYSBLDUSER%"
  11962. );
  11963. insert into sysbldobjects
  11964. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11965. create_can_fail, drop_sql, drop_can_fail)
  11966. values
  11967. (
  11968. "%SYSBLDNAME%", 5, "RevealElem (TimeSeries,datetime)",
  11969. "%SYSBLDUSER%", 0,
  11970. "create function RevealElem (TimeSeries,datetime year to fraction(5))
  11971. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  11972. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_sql)"" language c;
  11973. ",
  11974. "f",
  11975. "drop function RevealElem (TimeSeries,datetime year to fraction(5));
  11976. ",
  11977. "f"
  11978. );
  11979. insert into sysbldobjdepends
  11980. (
  11981. bld_id,
  11982. obj_kind,
  11983. obj_signature,
  11984. obj_owner,
  11985. need_obj_kind,
  11986. need_obj_signature,
  11987. need_obj_owner)
  11988. values
  11989. (
  11990. "%SYSBLDNAME%",
  11991. 5, "RevealElem (TimeSeries,datetime)",
  11992. "%SYSBLDUSER%",
  11993. 7, "TimeSeries",
  11994. "%SYSBLDUSER%"
  11995. );
  11996. insert into sysbldobjects
  11997. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  11998. create_can_fail, drop_sql, drop_can_fail)
  11999. values
  12000. (
  12001. "%SYSBLDNAME%", 69, "RevealElem (TimeSeries,datetime)",
  12002. "%SYSBLDUSER%", 0,
  12003. "grant execute on function RevealElem (TimeSeries,datetime year to fraction(5)) to public;
  12004. ",
  12005. "f",
  12006. "",
  12007. "f"
  12008. );
  12009. insert into sysbldobjdepends
  12010. (
  12011. bld_id,
  12012. obj_kind,
  12013. obj_signature,
  12014. obj_owner,
  12015. need_obj_kind,
  12016. need_obj_signature,
  12017. need_obj_owner)
  12018. values
  12019. (
  12020. "%SYSBLDNAME%",
  12021. 69, "RevealElem (TimeSeries,datetime)",
  12022. "%SYSBLDUSER%",
  12023. 5, "RevealElem (TimeSeries,datetime)",
  12024. "%SYSBLDUSER%"
  12025. );
  12026. insert into sysbldobjects
  12027. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12028. create_can_fail, drop_sql, drop_can_fail)
  12029. values
  12030. (
  12031. "%SYSBLDNAME%", 5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12032. "%SYSBLDUSER%", 0,
  12033. "create function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))
  12034. returns TimeSeries with (not variant, handlesnulls)
  12035. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_set_sql)"" language c;
  12036. ",
  12037. "f",
  12038. "drop function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null));
  12039. ",
  12040. "f"
  12041. );
  12042. insert into sysbldobjdepends
  12043. (
  12044. bld_id,
  12045. obj_kind,
  12046. obj_signature,
  12047. obj_owner,
  12048. need_obj_kind,
  12049. need_obj_signature,
  12050. need_obj_owner)
  12051. values
  12052. (
  12053. "%SYSBLDNAME%",
  12054. 5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12055. "%SYSBLDUSER%",
  12056. 7, "TimeSeries",
  12057. "%SYSBLDUSER%"
  12058. );
  12059. insert into sysbldobjdepends
  12060. (
  12061. bld_id,
  12062. obj_kind,
  12063. obj_signature,
  12064. obj_owner,
  12065. need_obj_kind,
  12066. need_obj_signature,
  12067. need_obj_owner)
  12068. values
  12069. (
  12070. "%SYSBLDNAME%",
  12071. 5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12072. "%SYSBLDUSER%",
  12073. 7, "datetime year to fraction(5)",
  12074. "%SYSBLDUSER%"
  12075. );
  12076. insert into sysbldobjects
  12077. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12078. create_can_fail, drop_sql, drop_can_fail)
  12079. values
  12080. (
  12081. "%SYSBLDNAME%", 69, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12082. "%SYSBLDUSER%", 0,
  12083. "grant execute on function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null)) to public;
  12084. ",
  12085. "f",
  12086. "",
  12087. "f"
  12088. );
  12089. insert into sysbldobjdepends
  12090. (
  12091. bld_id,
  12092. obj_kind,
  12093. obj_signature,
  12094. obj_owner,
  12095. need_obj_kind,
  12096. need_obj_signature,
  12097. need_obj_owner)
  12098. values
  12099. (
  12100. "%SYSBLDNAME%",
  12101. 69, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12102. "%SYSBLDUSER%",
  12103. 5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
  12104. "%SYSBLDUSER%"
  12105. );
  12106. insert into sysbldobjects
  12107. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12108. create_can_fail, drop_sql, drop_can_fail)
  12109. values
  12110. (
  12111. "%SYSBLDNAME%", 5, "DelClip (TimeSeries,datetime,datetime,integer)",
  12112. "%SYSBLDUSER%", 0,
  12113. "create function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
  12114. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12115. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_clip_sql)"" language c;
  12116. ",
  12117. "f",
  12118. "drop function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  12119. ",
  12120. "f"
  12121. );
  12122. insert into sysbldobjdepends
  12123. (
  12124. bld_id,
  12125. obj_kind,
  12126. obj_signature,
  12127. obj_owner,
  12128. need_obj_kind,
  12129. need_obj_signature,
  12130. need_obj_owner)
  12131. values
  12132. (
  12133. "%SYSBLDNAME%",
  12134. 5, "DelClip (TimeSeries,datetime,datetime,integer)",
  12135. "%SYSBLDUSER%",
  12136. 7, "TimeSeries",
  12137. "%SYSBLDUSER%"
  12138. );
  12139. insert into sysbldobjects
  12140. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12141. create_can_fail, drop_sql, drop_can_fail)
  12142. values
  12143. (
  12144. "%SYSBLDNAME%", 69, "DelClip (TimeSeries,datetime,datetime,integer)",
  12145. "%SYSBLDUSER%", 0,
  12146. "grant execute on function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  12147. ",
  12148. "f",
  12149. "",
  12150. "f"
  12151. );
  12152. insert into sysbldobjdepends
  12153. (
  12154. bld_id,
  12155. obj_kind,
  12156. obj_signature,
  12157. obj_owner,
  12158. need_obj_kind,
  12159. need_obj_signature,
  12160. need_obj_owner)
  12161. values
  12162. (
  12163. "%SYSBLDNAME%",
  12164. 69, "DelClip (TimeSeries,datetime,datetime,integer)",
  12165. "%SYSBLDUSER%",
  12166. 5, "DelClip (TimeSeries,datetime,datetime,integer)",
  12167. "%SYSBLDUSER%"
  12168. );
  12169. insert into sysbldobjects
  12170. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12171. create_can_fail, drop_sql, drop_can_fail)
  12172. values
  12173. (
  12174. "%SYSBLDNAME%", 5, "GetNthElem (TimeSeries,int,integer)",
  12175. "%SYSBLDUSER%", 0,
  12176. "create function GetNthElem (TimeSeries,int,integer default 0)
  12177. returns row with (not variant, parallelizable)
  12178. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_elem_sql)"" language c;
  12179. ",
  12180. "f",
  12181. "drop function GetNthElem (TimeSeries,int,integer);
  12182. ",
  12183. "f"
  12184. );
  12185. insert into sysbldobjdepends
  12186. (
  12187. bld_id,
  12188. obj_kind,
  12189. obj_signature,
  12190. obj_owner,
  12191. need_obj_kind,
  12192. need_obj_signature,
  12193. need_obj_owner)
  12194. values
  12195. (
  12196. "%SYSBLDNAME%",
  12197. 5, "GetNthElem (TimeSeries,int,integer)",
  12198. "%SYSBLDUSER%",
  12199. 7, "TimeSeries",
  12200. "%SYSBLDUSER%"
  12201. );
  12202. insert into sysbldobjects
  12203. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12204. create_can_fail, drop_sql, drop_can_fail)
  12205. values
  12206. (
  12207. "%SYSBLDNAME%", 69, "GetNthElem (TimeSeries,int,integer)",
  12208. "%SYSBLDUSER%", 0,
  12209. "grant execute on function GetNthElem (TimeSeries,int,integer) to public;
  12210. ",
  12211. "f",
  12212. "",
  12213. "f"
  12214. );
  12215. insert into sysbldobjdepends
  12216. (
  12217. bld_id,
  12218. obj_kind,
  12219. obj_signature,
  12220. obj_owner,
  12221. need_obj_kind,
  12222. need_obj_signature,
  12223. need_obj_owner)
  12224. values
  12225. (
  12226. "%SYSBLDNAME%",
  12227. 69, "GetNthElem (TimeSeries,int,integer)",
  12228. "%SYSBLDUSER%",
  12229. 5, "GetNthElem (TimeSeries,int,integer)",
  12230. "%SYSBLDUSER%"
  12231. );
  12232. insert into sysbldobjects
  12233. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12234. create_can_fail, drop_sql, drop_can_fail)
  12235. values
  12236. (
  12237. "%SYSBLDNAME%", 5, "GetElem (TimeSeries,datetime,integer)",
  12238. "%SYSBLDUSER%", 0,
  12239. "create function GetElem (TimeSeries,datetime year to fraction(5),integer default 0)
  12240. returns row with (not variant, parallelizable)
  12241. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_sql)"" language c;
  12242. ",
  12243. "f",
  12244. "drop function GetElem (TimeSeries,datetime year to fraction(5),integer);
  12245. ",
  12246. "f"
  12247. );
  12248. insert into sysbldobjdepends
  12249. (
  12250. bld_id,
  12251. obj_kind,
  12252. obj_signature,
  12253. obj_owner,
  12254. need_obj_kind,
  12255. need_obj_signature,
  12256. need_obj_owner)
  12257. values
  12258. (
  12259. "%SYSBLDNAME%",
  12260. 5, "GetElem (TimeSeries,datetime,integer)",
  12261. "%SYSBLDUSER%",
  12262. 7, "TimeSeries",
  12263. "%SYSBLDUSER%"
  12264. );
  12265. insert into sysbldobjects
  12266. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12267. create_can_fail, drop_sql, drop_can_fail)
  12268. values
  12269. (
  12270. "%SYSBLDNAME%", 69, "GetElem (TimeSeries,datetime,integer)",
  12271. "%SYSBLDUSER%", 0,
  12272. "grant execute on function GetElem (TimeSeries,datetime year to fraction(5),integer) to public;
  12273. ",
  12274. "f",
  12275. "",
  12276. "f"
  12277. );
  12278. insert into sysbldobjdepends
  12279. (
  12280. bld_id,
  12281. obj_kind,
  12282. obj_signature,
  12283. obj_owner,
  12284. need_obj_kind,
  12285. need_obj_signature,
  12286. need_obj_owner)
  12287. values
  12288. (
  12289. "%SYSBLDNAME%",
  12290. 69, "GetElem (TimeSeries,datetime,integer)",
  12291. "%SYSBLDUSER%",
  12292. 5, "GetElem (TimeSeries,datetime,integer)",
  12293. "%SYSBLDUSER%"
  12294. );
  12295. insert into sysbldobjects
  12296. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12297. create_can_fail, drop_sql, drop_can_fail)
  12298. values
  12299. (
  12300. "%SYSBLDNAME%", 5, "GetLastValid (TimeSeries,datetime,integer)",
  12301. "%SYSBLDUSER%", 0,
  12302. "create function GetLastValid (TimeSeries,datetime year to fraction(5),integer default 0)
  12303. returns row with (not variant, parallelizable)
  12304. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_valid_row_sql)"" language c;
  12305. ",
  12306. "f",
  12307. "drop function GetLastValid (TimeSeries,datetime year to fraction(5),integer);
  12308. ",
  12309. "f"
  12310. );
  12311. insert into sysbldobjdepends
  12312. (
  12313. bld_id,
  12314. obj_kind,
  12315. obj_signature,
  12316. obj_owner,
  12317. need_obj_kind,
  12318. need_obj_signature,
  12319. need_obj_owner)
  12320. values
  12321. (
  12322. "%SYSBLDNAME%",
  12323. 5, "GetLastValid (TimeSeries,datetime,integer)",
  12324. "%SYSBLDUSER%",
  12325. 7, "TimeSeries",
  12326. "%SYSBLDUSER%"
  12327. );
  12328. insert into sysbldobjects
  12329. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12330. create_can_fail, drop_sql, drop_can_fail)
  12331. values
  12332. (
  12333. "%SYSBLDNAME%", 69, "GetLastValid (TimeSeries,datetime,integer)",
  12334. "%SYSBLDUSER%", 0,
  12335. "grant execute on function GetLastValid (TimeSeries,datetime year to fraction(5),integer) to public;
  12336. ",
  12337. "f",
  12338. "",
  12339. "f"
  12340. );
  12341. insert into sysbldobjdepends
  12342. (
  12343. bld_id,
  12344. obj_kind,
  12345. obj_signature,
  12346. obj_owner,
  12347. need_obj_kind,
  12348. need_obj_signature,
  12349. need_obj_owner)
  12350. values
  12351. (
  12352. "%SYSBLDNAME%",
  12353. 69, "GetLastValid (TimeSeries,datetime,integer)",
  12354. "%SYSBLDUSER%",
  12355. 5, "GetLastValid (TimeSeries,datetime,integer)",
  12356. "%SYSBLDUSER%"
  12357. );
  12358. insert into sysbldobjects
  12359. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12360. create_can_fail, drop_sql, drop_can_fail)
  12361. values
  12362. (
  12363. "%SYSBLDNAME%", 5, "GetNextValid (TimeSeries,datetime,integer)",
  12364. "%SYSBLDUSER%", 0,
  12365. "create function GetNextValid (TimeSeries,datetime year to fraction(5),integer default 0)
  12366. returns row with (not variant, parallelizable)
  12367. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_next_valid_row_sql)"" language c;
  12368. ",
  12369. "f",
  12370. "drop function GetNextValid (TimeSeries,datetime year to fraction(5),integer);
  12371. ",
  12372. "f"
  12373. );
  12374. insert into sysbldobjdepends
  12375. (
  12376. bld_id,
  12377. obj_kind,
  12378. obj_signature,
  12379. obj_owner,
  12380. need_obj_kind,
  12381. need_obj_signature,
  12382. need_obj_owner)
  12383. values
  12384. (
  12385. "%SYSBLDNAME%",
  12386. 5, "GetNextValid (TimeSeries,datetime,integer)",
  12387. "%SYSBLDUSER%",
  12388. 7, "TimeSeries",
  12389. "%SYSBLDUSER%"
  12390. );
  12391. insert into sysbldobjects
  12392. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12393. create_can_fail, drop_sql, drop_can_fail)
  12394. values
  12395. (
  12396. "%SYSBLDNAME%", 69, "GetNextValid (TimeSeries,datetime,integer)",
  12397. "%SYSBLDUSER%", 0,
  12398. "grant execute on function GetNextValid (TimeSeries,datetime year to fraction(5),integer) to public;
  12399. ",
  12400. "f",
  12401. "",
  12402. "f"
  12403. );
  12404. insert into sysbldobjdepends
  12405. (
  12406. bld_id,
  12407. obj_kind,
  12408. obj_signature,
  12409. obj_owner,
  12410. need_obj_kind,
  12411. need_obj_signature,
  12412. need_obj_owner)
  12413. values
  12414. (
  12415. "%SYSBLDNAME%",
  12416. 69, "GetNextValid (TimeSeries,datetime,integer)",
  12417. "%SYSBLDUSER%",
  12418. 5, "GetNextValid (TimeSeries,datetime,integer)",
  12419. "%SYSBLDUSER%"
  12420. );
  12421. insert into sysbldobjects
  12422. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12423. create_can_fail, drop_sql, drop_can_fail)
  12424. values
  12425. (
  12426. "%SYSBLDNAME%", 5, "GetPreviousValid (TimeSeries,datetime,integer)",
  12427. "%SYSBLDUSER%", 0,
  12428. "create function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer default 0)
  12429. returns row with (not variant, parallelizable)
  12430. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_previous_valid_row_sql)"" language c;
  12431. ",
  12432. "f",
  12433. "drop function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer);
  12434. ",
  12435. "f"
  12436. );
  12437. insert into sysbldobjdepends
  12438. (
  12439. bld_id,
  12440. obj_kind,
  12441. obj_signature,
  12442. obj_owner,
  12443. need_obj_kind,
  12444. need_obj_signature,
  12445. need_obj_owner)
  12446. values
  12447. (
  12448. "%SYSBLDNAME%",
  12449. 5, "GetPreviousValid (TimeSeries,datetime,integer)",
  12450. "%SYSBLDUSER%",
  12451. 7, "TimeSeries",
  12452. "%SYSBLDUSER%"
  12453. );
  12454. insert into sysbldobjects
  12455. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12456. create_can_fail, drop_sql, drop_can_fail)
  12457. values
  12458. (
  12459. "%SYSBLDNAME%", 69, "GetPreviousValid (TimeSeries,datetime,integer)",
  12460. "%SYSBLDUSER%", 0,
  12461. "grant execute on function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer) to public;
  12462. ",
  12463. "f",
  12464. "",
  12465. "f"
  12466. );
  12467. insert into sysbldobjdepends
  12468. (
  12469. bld_id,
  12470. obj_kind,
  12471. obj_signature,
  12472. obj_owner,
  12473. need_obj_kind,
  12474. need_obj_signature,
  12475. need_obj_owner)
  12476. values
  12477. (
  12478. "%SYSBLDNAME%",
  12479. 69, "GetPreviousValid (TimeSeries,datetime,integer)",
  12480. "%SYSBLDUSER%",
  12481. 5, "GetPreviousValid (TimeSeries,datetime,integer)",
  12482. "%SYSBLDUSER%"
  12483. );
  12484. insert into sysbldobjects
  12485. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12486. create_can_fail, drop_sql, drop_can_fail)
  12487. values
  12488. (
  12489. "%SYSBLDNAME%", 5, "GetLastElem (TimeSeries,integer)",
  12490. "%SYSBLDUSER%", 0,
  12491. "create function GetLastElem (TimeSeries,integer default 0)
  12492. returns row with (not variant, parallelizable)
  12493. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_last_row_sql)"" language c;
  12494. ",
  12495. "f",
  12496. "drop function GetLastElem (TimeSeries,integer);
  12497. ",
  12498. "f"
  12499. );
  12500. insert into sysbldobjdepends
  12501. (
  12502. bld_id,
  12503. obj_kind,
  12504. obj_signature,
  12505. obj_owner,
  12506. need_obj_kind,
  12507. need_obj_signature,
  12508. need_obj_owner)
  12509. values
  12510. (
  12511. "%SYSBLDNAME%",
  12512. 5, "GetLastElem (TimeSeries,integer)",
  12513. "%SYSBLDUSER%",
  12514. 7, "TimeSeries",
  12515. "%SYSBLDUSER%"
  12516. );
  12517. insert into sysbldobjects
  12518. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12519. create_can_fail, drop_sql, drop_can_fail)
  12520. values
  12521. (
  12522. "%SYSBLDNAME%", 69, "GetLastElem (TimeSeries,integer)",
  12523. "%SYSBLDUSER%", 0,
  12524. "grant execute on function GetLastElem (TimeSeries,integer) to public;
  12525. ",
  12526. "f",
  12527. "",
  12528. "f"
  12529. );
  12530. insert into sysbldobjdepends
  12531. (
  12532. bld_id,
  12533. obj_kind,
  12534. obj_signature,
  12535. obj_owner,
  12536. need_obj_kind,
  12537. need_obj_signature,
  12538. need_obj_owner)
  12539. values
  12540. (
  12541. "%SYSBLDNAME%",
  12542. 69, "GetLastElem (TimeSeries,integer)",
  12543. "%SYSBLDUSER%",
  12544. 5, "GetLastElem (TimeSeries,integer)",
  12545. "%SYSBLDUSER%"
  12546. );
  12547. insert into sysbldobjects
  12548. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12549. create_can_fail, drop_sql, drop_can_fail)
  12550. values
  12551. (
  12552. "%SYSBLDNAME%", 5, "GetFirstElem (TimeSeries,integer)",
  12553. "%SYSBLDUSER%", 0,
  12554. "create function GetFirstElem (TimeSeries,integer default 0)
  12555. returns row with (not variant, parallelizable)
  12556. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_first_row_sql)"" language c;
  12557. ",
  12558. "f",
  12559. "drop function GetFirstElem (TimeSeries,integer);
  12560. ",
  12561. "f"
  12562. );
  12563. insert into sysbldobjdepends
  12564. (
  12565. bld_id,
  12566. obj_kind,
  12567. obj_signature,
  12568. obj_owner,
  12569. need_obj_kind,
  12570. need_obj_signature,
  12571. need_obj_owner)
  12572. values
  12573. (
  12574. "%SYSBLDNAME%",
  12575. 5, "GetFirstElem (TimeSeries,integer)",
  12576. "%SYSBLDUSER%",
  12577. 7, "TimeSeries",
  12578. "%SYSBLDUSER%"
  12579. );
  12580. insert into sysbldobjects
  12581. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12582. create_can_fail, drop_sql, drop_can_fail)
  12583. values
  12584. (
  12585. "%SYSBLDNAME%", 69, "GetFirstElem (TimeSeries,integer)",
  12586. "%SYSBLDUSER%", 0,
  12587. "grant execute on function GetFirstElem (TimeSeries,integer) to public;
  12588. ",
  12589. "f",
  12590. "",
  12591. "f"
  12592. );
  12593. insert into sysbldobjdepends
  12594. (
  12595. bld_id,
  12596. obj_kind,
  12597. obj_signature,
  12598. obj_owner,
  12599. need_obj_kind,
  12600. need_obj_signature,
  12601. need_obj_owner)
  12602. values
  12603. (
  12604. "%SYSBLDNAME%",
  12605. 69, "GetFirstElem (TimeSeries,integer)",
  12606. "%SYSBLDUSER%",
  12607. 5, "GetFirstElem (TimeSeries,integer)",
  12608. "%SYSBLDUSER%"
  12609. );
  12610. insert into sysbldobjects
  12611. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12612. create_can_fail, drop_sql, drop_can_fail)
  12613. values
  12614. (
  12615. "%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,datetime)",
  12616. "%SYSBLDUSER%", 0,
  12617. "create function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5))
  12618. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12619. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_times_sql)"" language c;
  12620. ",
  12621. "f",
  12622. "drop function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));
  12623. ",
  12624. "f"
  12625. );
  12626. insert into sysbldobjdepends
  12627. (
  12628. bld_id,
  12629. obj_kind,
  12630. obj_signature,
  12631. obj_owner,
  12632. need_obj_kind,
  12633. need_obj_signature,
  12634. need_obj_owner)
  12635. values
  12636. (
  12637. "%SYSBLDNAME%",
  12638. 5, "Clip (TimeSeries,datetime,datetime)",
  12639. "%SYSBLDUSER%",
  12640. 7, "TimeSeries",
  12641. "%SYSBLDUSER%"
  12642. );
  12643. insert into sysbldobjects
  12644. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12645. create_can_fail, drop_sql, drop_can_fail)
  12646. values
  12647. (
  12648. "%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,datetime)",
  12649. "%SYSBLDUSER%", 0,
  12650. "grant execute on function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;
  12651. ",
  12652. "f",
  12653. "",
  12654. "f"
  12655. );
  12656. insert into sysbldobjdepends
  12657. (
  12658. bld_id,
  12659. obj_kind,
  12660. obj_signature,
  12661. obj_owner,
  12662. need_obj_kind,
  12663. need_obj_signature,
  12664. need_obj_owner)
  12665. values
  12666. (
  12667. "%SYSBLDNAME%",
  12668. 69, "Clip (TimeSeries,datetime,datetime)",
  12669. "%SYSBLDUSER%",
  12670. 5, "Clip (TimeSeries,datetime,datetime)",
  12671. "%SYSBLDUSER%"
  12672. );
  12673. insert into sysbldobjects
  12674. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12675. create_can_fail, drop_sql, drop_can_fail)
  12676. values
  12677. (
  12678. "%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,datetime,int)",
  12679. "%SYSBLDUSER%", 0,
  12680. "create function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int)
  12681. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12682. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_times_flags_sql)"" language c;
  12683. ",
  12684. "f",
  12685. "drop function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int);
  12686. ",
  12687. "f"
  12688. );
  12689. insert into sysbldobjdepends
  12690. (
  12691. bld_id,
  12692. obj_kind,
  12693. obj_signature,
  12694. obj_owner,
  12695. need_obj_kind,
  12696. need_obj_signature,
  12697. need_obj_owner)
  12698. values
  12699. (
  12700. "%SYSBLDNAME%",
  12701. 5, "Clip (TimeSeries,datetime,datetime,int)",
  12702. "%SYSBLDUSER%",
  12703. 7, "TimeSeries",
  12704. "%SYSBLDUSER%"
  12705. );
  12706. insert into sysbldobjects
  12707. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12708. create_can_fail, drop_sql, drop_can_fail)
  12709. values
  12710. (
  12711. "%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,datetime,int)",
  12712. "%SYSBLDUSER%", 0,
  12713. "grant execute on function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int) to public;
  12714. ",
  12715. "f",
  12716. "",
  12717. "f"
  12718. );
  12719. insert into sysbldobjdepends
  12720. (
  12721. bld_id,
  12722. obj_kind,
  12723. obj_signature,
  12724. obj_owner,
  12725. need_obj_kind,
  12726. need_obj_signature,
  12727. need_obj_owner)
  12728. values
  12729. (
  12730. "%SYSBLDNAME%",
  12731. 69, "Clip (TimeSeries,datetime,datetime,int)",
  12732. "%SYSBLDUSER%",
  12733. 5, "Clip (TimeSeries,datetime,datetime,int)",
  12734. "%SYSBLDUSER%"
  12735. );
  12736. insert into sysbldobjects
  12737. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12738. create_can_fail, drop_sql, drop_can_fail)
  12739. values
  12740. (
  12741. "%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,int)",
  12742. "%SYSBLDUSER%", 0,
  12743. "create function Clip (TimeSeries,datetime year to fraction(5),int)
  12744. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12745. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_time_offs_sql)"" language c;
  12746. ",
  12747. "f",
  12748. "drop function Clip (TimeSeries,datetime year to fraction(5),int);
  12749. ",
  12750. "f"
  12751. );
  12752. insert into sysbldobjdepends
  12753. (
  12754. bld_id,
  12755. obj_kind,
  12756. obj_signature,
  12757. obj_owner,
  12758. need_obj_kind,
  12759. need_obj_signature,
  12760. need_obj_owner)
  12761. values
  12762. (
  12763. "%SYSBLDNAME%",
  12764. 5, "Clip (TimeSeries,datetime,int)",
  12765. "%SYSBLDUSER%",
  12766. 7, "TimeSeries",
  12767. "%SYSBLDUSER%"
  12768. );
  12769. insert into sysbldobjects
  12770. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12771. create_can_fail, drop_sql, drop_can_fail)
  12772. values
  12773. (
  12774. "%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,int)",
  12775. "%SYSBLDUSER%", 0,
  12776. "grant execute on function Clip (TimeSeries,datetime year to fraction(5),int) to public;
  12777. ",
  12778. "f",
  12779. "",
  12780. "f"
  12781. );
  12782. insert into sysbldobjdepends
  12783. (
  12784. bld_id,
  12785. obj_kind,
  12786. obj_signature,
  12787. obj_owner,
  12788. need_obj_kind,
  12789. need_obj_signature,
  12790. need_obj_owner)
  12791. values
  12792. (
  12793. "%SYSBLDNAME%",
  12794. 69, "Clip (TimeSeries,datetime,int)",
  12795. "%SYSBLDUSER%",
  12796. 5, "Clip (TimeSeries,datetime,int)",
  12797. "%SYSBLDUSER%"
  12798. );
  12799. insert into sysbldobjects
  12800. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12801. create_can_fail, drop_sql, drop_can_fail)
  12802. values
  12803. (
  12804. "%SYSBLDNAME%", 5, "Clip (TimeSeries,int,datetime)",
  12805. "%SYSBLDUSER%", 0,
  12806. "create function Clip (TimeSeries,int,datetime year to fraction(5))
  12807. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12808. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_offs_time_sql)"" language c;
  12809. ",
  12810. "f",
  12811. "drop function Clip (TimeSeries,int,datetime year to fraction(5));
  12812. ",
  12813. "f"
  12814. );
  12815. insert into sysbldobjdepends
  12816. (
  12817. bld_id,
  12818. obj_kind,
  12819. obj_signature,
  12820. obj_owner,
  12821. need_obj_kind,
  12822. need_obj_signature,
  12823. need_obj_owner)
  12824. values
  12825. (
  12826. "%SYSBLDNAME%",
  12827. 5, "Clip (TimeSeries,int,datetime)",
  12828. "%SYSBLDUSER%",
  12829. 7, "TimeSeries",
  12830. "%SYSBLDUSER%"
  12831. );
  12832. insert into sysbldobjects
  12833. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12834. create_can_fail, drop_sql, drop_can_fail)
  12835. values
  12836. (
  12837. "%SYSBLDNAME%", 69, "Clip (TimeSeries,int,datetime)",
  12838. "%SYSBLDUSER%", 0,
  12839. "grant execute on function Clip (TimeSeries,int,datetime year to fraction(5)) to public;
  12840. ",
  12841. "f",
  12842. "",
  12843. "f"
  12844. );
  12845. insert into sysbldobjdepends
  12846. (
  12847. bld_id,
  12848. obj_kind,
  12849. obj_signature,
  12850. obj_owner,
  12851. need_obj_kind,
  12852. need_obj_signature,
  12853. need_obj_owner)
  12854. values
  12855. (
  12856. "%SYSBLDNAME%",
  12857. 69, "Clip (TimeSeries,int,datetime)",
  12858. "%SYSBLDUSER%",
  12859. 5, "Clip (TimeSeries,int,datetime)",
  12860. "%SYSBLDUSER%"
  12861. );
  12862. insert into sysbldobjects
  12863. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12864. create_can_fail, drop_sql, drop_can_fail)
  12865. values
  12866. (
  12867. "%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,int,int)",
  12868. "%SYSBLDUSER%", 0,
  12869. "create function Clip (TimeSeries,datetime year to fraction(5),int,int)
  12870. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12871. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_time_offs_flags_sql)"" language c;
  12872. ",
  12873. "f",
  12874. "drop function Clip (TimeSeries,datetime year to fraction(5),int,int);
  12875. ",
  12876. "f"
  12877. );
  12878. insert into sysbldobjdepends
  12879. (
  12880. bld_id,
  12881. obj_kind,
  12882. obj_signature,
  12883. obj_owner,
  12884. need_obj_kind,
  12885. need_obj_signature,
  12886. need_obj_owner)
  12887. values
  12888. (
  12889. "%SYSBLDNAME%",
  12890. 5, "Clip (TimeSeries,datetime,int,int)",
  12891. "%SYSBLDUSER%",
  12892. 7, "TimeSeries",
  12893. "%SYSBLDUSER%"
  12894. );
  12895. insert into sysbldobjects
  12896. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12897. create_can_fail, drop_sql, drop_can_fail)
  12898. values
  12899. (
  12900. "%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,int,int)",
  12901. "%SYSBLDUSER%", 0,
  12902. "grant execute on function Clip (TimeSeries,datetime year to fraction(5),int,int) to public;
  12903. ",
  12904. "f",
  12905. "",
  12906. "f"
  12907. );
  12908. insert into sysbldobjdepends
  12909. (
  12910. bld_id,
  12911. obj_kind,
  12912. obj_signature,
  12913. obj_owner,
  12914. need_obj_kind,
  12915. need_obj_signature,
  12916. need_obj_owner)
  12917. values
  12918. (
  12919. "%SYSBLDNAME%",
  12920. 69, "Clip (TimeSeries,datetime,int,int)",
  12921. "%SYSBLDUSER%",
  12922. 5, "Clip (TimeSeries,datetime,int,int)",
  12923. "%SYSBLDUSER%"
  12924. );
  12925. insert into sysbldobjects
  12926. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12927. create_can_fail, drop_sql, drop_can_fail)
  12928. values
  12929. (
  12930. "%SYSBLDNAME%", 5, "Clip (TimeSeries,int,datetime,int)",
  12931. "%SYSBLDUSER%", 0,
  12932. "create function Clip (TimeSeries,int,datetime year to fraction(5),int)
  12933. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12934. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_offs_time_flags_sql)"" language c;
  12935. ",
  12936. "f",
  12937. "drop function Clip (TimeSeries,int,datetime year to fraction(5),int);
  12938. ",
  12939. "f"
  12940. );
  12941. insert into sysbldobjdepends
  12942. (
  12943. bld_id,
  12944. obj_kind,
  12945. obj_signature,
  12946. obj_owner,
  12947. need_obj_kind,
  12948. need_obj_signature,
  12949. need_obj_owner)
  12950. values
  12951. (
  12952. "%SYSBLDNAME%",
  12953. 5, "Clip (TimeSeries,int,datetime,int)",
  12954. "%SYSBLDUSER%",
  12955. 7, "TimeSeries",
  12956. "%SYSBLDUSER%"
  12957. );
  12958. insert into sysbldobjects
  12959. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12960. create_can_fail, drop_sql, drop_can_fail)
  12961. values
  12962. (
  12963. "%SYSBLDNAME%", 69, "Clip (TimeSeries,int,datetime,int)",
  12964. "%SYSBLDUSER%", 0,
  12965. "grant execute on function Clip (TimeSeries,int,datetime year to fraction(5),int) to public;
  12966. ",
  12967. "f",
  12968. "",
  12969. "f"
  12970. );
  12971. insert into sysbldobjdepends
  12972. (
  12973. bld_id,
  12974. obj_kind,
  12975. obj_signature,
  12976. obj_owner,
  12977. need_obj_kind,
  12978. need_obj_signature,
  12979. need_obj_owner)
  12980. values
  12981. (
  12982. "%SYSBLDNAME%",
  12983. 69, "Clip (TimeSeries,int,datetime,int)",
  12984. "%SYSBLDUSER%",
  12985. 5, "Clip (TimeSeries,int,datetime,int)",
  12986. "%SYSBLDUSER%"
  12987. );
  12988. insert into sysbldobjects
  12989. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  12990. create_can_fail, drop_sql, drop_can_fail)
  12991. values
  12992. (
  12993. "%SYSBLDNAME%", 5, "Clip (TimeSeries,int,int)",
  12994. "%SYSBLDUSER%", 0,
  12995. "create function Clip (TimeSeries,int,int)
  12996. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  12997. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_sql)"" language c;
  12998. ",
  12999. "f",
  13000. "drop function Clip (TimeSeries,int,int);
  13001. ",
  13002. "f"
  13003. );
  13004. insert into sysbldobjdepends
  13005. (
  13006. bld_id,
  13007. obj_kind,
  13008. obj_signature,
  13009. obj_owner,
  13010. need_obj_kind,
  13011. need_obj_signature,
  13012. need_obj_owner)
  13013. values
  13014. (
  13015. "%SYSBLDNAME%",
  13016. 5, "Clip (TimeSeries,int,int)",
  13017. "%SYSBLDUSER%",
  13018. 7, "TimeSeries",
  13019. "%SYSBLDUSER%"
  13020. );
  13021. insert into sysbldobjects
  13022. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13023. create_can_fail, drop_sql, drop_can_fail)
  13024. values
  13025. (
  13026. "%SYSBLDNAME%", 69, "Clip (TimeSeries,int,int)",
  13027. "%SYSBLDUSER%", 0,
  13028. "grant execute on function Clip (TimeSeries,int,int) to public;
  13029. ",
  13030. "f",
  13031. "",
  13032. "f"
  13033. );
  13034. insert into sysbldobjdepends
  13035. (
  13036. bld_id,
  13037. obj_kind,
  13038. obj_signature,
  13039. obj_owner,
  13040. need_obj_kind,
  13041. need_obj_signature,
  13042. need_obj_owner)
  13043. values
  13044. (
  13045. "%SYSBLDNAME%",
  13046. 69, "Clip (TimeSeries,int,int)",
  13047. "%SYSBLDUSER%",
  13048. 5, "Clip (TimeSeries,int,int)",
  13049. "%SYSBLDUSER%"
  13050. );
  13051. insert into sysbldobjects
  13052. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13053. create_can_fail, drop_sql, drop_can_fail)
  13054. values
  13055. (
  13056. "%SYSBLDNAME%", 5, "Clip (TimeSeries,int,int,int)",
  13057. "%SYSBLDUSER%", 0,
  13058. "create function Clip (TimeSeries,int,int,int)
  13059. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13060. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_flags_sql)"" language c;
  13061. ",
  13062. "f",
  13063. "drop function Clip (TimeSeries,int,int,int);
  13064. ",
  13065. "f"
  13066. );
  13067. insert into sysbldobjdepends
  13068. (
  13069. bld_id,
  13070. obj_kind,
  13071. obj_signature,
  13072. obj_owner,
  13073. need_obj_kind,
  13074. need_obj_signature,
  13075. need_obj_owner)
  13076. values
  13077. (
  13078. "%SYSBLDNAME%",
  13079. 5, "Clip (TimeSeries,int,int,int)",
  13080. "%SYSBLDUSER%",
  13081. 7, "TimeSeries",
  13082. "%SYSBLDUSER%"
  13083. );
  13084. insert into sysbldobjects
  13085. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13086. create_can_fail, drop_sql, drop_can_fail)
  13087. values
  13088. (
  13089. "%SYSBLDNAME%", 69, "Clip (TimeSeries,int,int,int)",
  13090. "%SYSBLDUSER%", 0,
  13091. "grant execute on function Clip (TimeSeries,int,int,int) to public;
  13092. ",
  13093. "f",
  13094. "",
  13095. "f"
  13096. );
  13097. insert into sysbldobjdepends
  13098. (
  13099. bld_id,
  13100. obj_kind,
  13101. obj_signature,
  13102. obj_owner,
  13103. need_obj_kind,
  13104. need_obj_signature,
  13105. need_obj_owner)
  13106. values
  13107. (
  13108. "%SYSBLDNAME%",
  13109. 69, "Clip (TimeSeries,int,int,int)",
  13110. "%SYSBLDUSER%",
  13111. 5, "Clip (TimeSeries,int,int,int)",
  13112. "%SYSBLDUSER%"
  13113. );
  13114. insert into sysbldobjects
  13115. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13116. create_can_fail, drop_sql, drop_can_fail)
  13117. values
  13118. (
  13119. "%SYSBLDNAME%", 5, "ClipCount (TimeSeries,datetime,int)",
  13120. "%SYSBLDUSER%", 0,
  13121. "create function ClipCount (TimeSeries,datetime year to fraction(5),int)
  13122. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13123. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_count_sql)"" language c;
  13124. ",
  13125. "f",
  13126. "drop function ClipCount (TimeSeries,datetime year to fraction(5),int);
  13127. ",
  13128. "f"
  13129. );
  13130. insert into sysbldobjdepends
  13131. (
  13132. bld_id,
  13133. obj_kind,
  13134. obj_signature,
  13135. obj_owner,
  13136. need_obj_kind,
  13137. need_obj_signature,
  13138. need_obj_owner)
  13139. values
  13140. (
  13141. "%SYSBLDNAME%",
  13142. 5, "ClipCount (TimeSeries,datetime,int)",
  13143. "%SYSBLDUSER%",
  13144. 7, "TimeSeries",
  13145. "%SYSBLDUSER%"
  13146. );
  13147. insert into sysbldobjects
  13148. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13149. create_can_fail, drop_sql, drop_can_fail)
  13150. values
  13151. (
  13152. "%SYSBLDNAME%", 69, "ClipCount (TimeSeries,datetime,int)",
  13153. "%SYSBLDUSER%", 0,
  13154. "grant execute on function ClipCount (TimeSeries,datetime year to fraction(5),int) to public;
  13155. ",
  13156. "f",
  13157. "",
  13158. "f"
  13159. );
  13160. insert into sysbldobjdepends
  13161. (
  13162. bld_id,
  13163. obj_kind,
  13164. obj_signature,
  13165. obj_owner,
  13166. need_obj_kind,
  13167. need_obj_signature,
  13168. need_obj_owner)
  13169. values
  13170. (
  13171. "%SYSBLDNAME%",
  13172. 69, "ClipCount (TimeSeries,datetime,int)",
  13173. "%SYSBLDUSER%",
  13174. 5, "ClipCount (TimeSeries,datetime,int)",
  13175. "%SYSBLDUSER%"
  13176. );
  13177. insert into sysbldobjects
  13178. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13179. create_can_fail, drop_sql, drop_can_fail)
  13180. values
  13181. (
  13182. "%SYSBLDNAME%", 5, "ClipCount (TimeSeries,datetime,int,int)",
  13183. "%SYSBLDUSER%", 0,
  13184. "create function ClipCount (TimeSeries,datetime year to fraction(5),int,int)
  13185. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13186. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_count_flags_sql)"" language c;
  13187. ",
  13188. "f",
  13189. "drop function ClipCount (TimeSeries,datetime year to fraction(5),int,int);
  13190. ",
  13191. "f"
  13192. );
  13193. insert into sysbldobjdepends
  13194. (
  13195. bld_id,
  13196. obj_kind,
  13197. obj_signature,
  13198. obj_owner,
  13199. need_obj_kind,
  13200. need_obj_signature,
  13201. need_obj_owner)
  13202. values
  13203. (
  13204. "%SYSBLDNAME%",
  13205. 5, "ClipCount (TimeSeries,datetime,int,int)",
  13206. "%SYSBLDUSER%",
  13207. 7, "TimeSeries",
  13208. "%SYSBLDUSER%"
  13209. );
  13210. insert into sysbldobjects
  13211. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13212. create_can_fail, drop_sql, drop_can_fail)
  13213. values
  13214. (
  13215. "%SYSBLDNAME%", 69, "ClipCount (TimeSeries,datetime,int,int)",
  13216. "%SYSBLDUSER%", 0,
  13217. "grant execute on function ClipCount (TimeSeries,datetime year to fraction(5),int,int) to public;
  13218. ",
  13219. "f",
  13220. "",
  13221. "f"
  13222. );
  13223. insert into sysbldobjdepends
  13224. (
  13225. bld_id,
  13226. obj_kind,
  13227. obj_signature,
  13228. obj_owner,
  13229. need_obj_kind,
  13230. need_obj_signature,
  13231. need_obj_owner)
  13232. values
  13233. (
  13234. "%SYSBLDNAME%",
  13235. 69, "ClipCount (TimeSeries,datetime,int,int)",
  13236. "%SYSBLDUSER%",
  13237. 5, "ClipCount (TimeSeries,datetime,int,int)",
  13238. "%SYSBLDUSER%"
  13239. );
  13240. insert into sysbldobjects
  13241. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13242. create_can_fail, drop_sql, drop_can_fail)
  13243. values
  13244. (
  13245. "%SYSBLDNAME%", 5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
  13246. "%SYSBLDUSER%", 0,
  13247. "create function ClipGetCount (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
  13248. returns int with (not variant, handlesnulls, parallelizable)
  13249. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_count_clip_sql)"" language c;
  13250. ",
  13251. "f",
  13252. "drop function ClipGetCount (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  13253. ",
  13254. "f"
  13255. );
  13256. insert into sysbldobjdepends
  13257. (
  13258. bld_id,
  13259. obj_kind,
  13260. obj_signature,
  13261. obj_owner,
  13262. need_obj_kind,
  13263. need_obj_signature,
  13264. need_obj_owner)
  13265. values
  13266. (
  13267. "%SYSBLDNAME%",
  13268. 5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
  13269. "%SYSBLDUSER%",
  13270. 7, "TimeSeries",
  13271. "%SYSBLDUSER%"
  13272. );
  13273. insert into sysbldobjects
  13274. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13275. create_can_fail, drop_sql, drop_can_fail)
  13276. values
  13277. (
  13278. "%SYSBLDNAME%", 69, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
  13279. "%SYSBLDUSER%", 0,
  13280. "grant execute on function ClipGetCount (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  13281. ",
  13282. "f",
  13283. "",
  13284. "f"
  13285. );
  13286. insert into sysbldobjdepends
  13287. (
  13288. bld_id,
  13289. obj_kind,
  13290. obj_signature,
  13291. obj_owner,
  13292. need_obj_kind,
  13293. need_obj_signature,
  13294. need_obj_owner)
  13295. values
  13296. (
  13297. "%SYSBLDNAME%",
  13298. 69, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
  13299. "%SYSBLDUSER%",
  13300. 5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
  13301. "%SYSBLDUSER%"
  13302. );
  13303. insert into sysbldobjects
  13304. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13305. create_can_fail, drop_sql, drop_can_fail)
  13306. values
  13307. (
  13308. "%SYSBLDNAME%", 5, "Lag (TimeSeries,int)",
  13309. "%SYSBLDUSER%", 0,
  13310. "create function Lag (TimeSeries,int)
  13311. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13312. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_lag_sql)"" language c;
  13313. ",
  13314. "f",
  13315. "drop function Lag (TimeSeries,int);
  13316. ",
  13317. "f"
  13318. );
  13319. insert into sysbldobjdepends
  13320. (
  13321. bld_id,
  13322. obj_kind,
  13323. obj_signature,
  13324. obj_owner,
  13325. need_obj_kind,
  13326. need_obj_signature,
  13327. need_obj_owner)
  13328. values
  13329. (
  13330. "%SYSBLDNAME%",
  13331. 5, "Lag (TimeSeries,int)",
  13332. "%SYSBLDUSER%",
  13333. 7, "TimeSeries",
  13334. "%SYSBLDUSER%"
  13335. );
  13336. insert into sysbldobjects
  13337. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13338. create_can_fail, drop_sql, drop_can_fail)
  13339. values
  13340. (
  13341. "%SYSBLDNAME%", 69, "Lag (TimeSeries,int)",
  13342. "%SYSBLDUSER%", 0,
  13343. "grant execute on function Lag (TimeSeries,int) to public;
  13344. ",
  13345. "f",
  13346. "",
  13347. "f"
  13348. );
  13349. insert into sysbldobjdepends
  13350. (
  13351. bld_id,
  13352. obj_kind,
  13353. obj_signature,
  13354. obj_owner,
  13355. need_obj_kind,
  13356. need_obj_signature,
  13357. need_obj_owner)
  13358. values
  13359. (
  13360. "%SYSBLDNAME%",
  13361. 69, "Lag (TimeSeries,int)",
  13362. "%SYSBLDUSER%",
  13363. 5, "Lag (TimeSeries,int)",
  13364. "%SYSBLDUSER%"
  13365. );
  13366. insert into sysbldobjects
  13367. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13368. create_can_fail, drop_sql, drop_can_fail)
  13369. values
  13370. (
  13371. "%SYSBLDNAME%", 5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13372. "%SYSBLDUSER%", 0,
  13373. "create function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar)
  13374. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13375. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_within_c_sql)"" language c;
  13376. ",
  13377. "f",
  13378. "drop function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar);
  13379. ",
  13380. "f"
  13381. );
  13382. insert into sysbldobjdepends
  13383. (
  13384. bld_id,
  13385. obj_kind,
  13386. obj_signature,
  13387. obj_owner,
  13388. need_obj_kind,
  13389. need_obj_signature,
  13390. need_obj_owner)
  13391. values
  13392. (
  13393. "%SYSBLDNAME%",
  13394. 5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13395. "%SYSBLDUSER%",
  13396. 7, "TimeSeries",
  13397. "%SYSBLDUSER%"
  13398. );
  13399. insert into sysbldobjects
  13400. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13401. create_can_fail, drop_sql, drop_can_fail)
  13402. values
  13403. (
  13404. "%SYSBLDNAME%", 69, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13405. "%SYSBLDUSER%", 0,
  13406. "grant execute on function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar) to public;
  13407. ",
  13408. "f",
  13409. "",
  13410. "f"
  13411. );
  13412. insert into sysbldobjdepends
  13413. (
  13414. bld_id,
  13415. obj_kind,
  13416. obj_signature,
  13417. obj_owner,
  13418. need_obj_kind,
  13419. need_obj_signature,
  13420. need_obj_owner)
  13421. values
  13422. (
  13423. "%SYSBLDNAME%",
  13424. 69, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13425. "%SYSBLDUSER%",
  13426. 5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13427. "%SYSBLDUSER%"
  13428. );
  13429. insert into sysbldobjects
  13430. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13431. create_can_fail, drop_sql, drop_can_fail)
  13432. values
  13433. (
  13434. "%SYSBLDNAME%", 5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13435. "%SYSBLDUSER%", 0,
  13436. "create function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar)
  13437. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  13438. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_within_r_sql)"" language c;
  13439. ",
  13440. "f",
  13441. "drop function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar);
  13442. ",
  13443. "f"
  13444. );
  13445. insert into sysbldobjdepends
  13446. (
  13447. bld_id,
  13448. obj_kind,
  13449. obj_signature,
  13450. obj_owner,
  13451. need_obj_kind,
  13452. need_obj_signature,
  13453. need_obj_owner)
  13454. values
  13455. (
  13456. "%SYSBLDNAME%",
  13457. 5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13458. "%SYSBLDUSER%",
  13459. 7, "TimeSeries",
  13460. "%SYSBLDUSER%"
  13461. );
  13462. insert into sysbldobjects
  13463. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13464. create_can_fail, drop_sql, drop_can_fail)
  13465. values
  13466. (
  13467. "%SYSBLDNAME%", 69, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13468. "%SYSBLDUSER%", 0,
  13469. "grant execute on function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar) to public;
  13470. ",
  13471. "f",
  13472. "",
  13473. "f"
  13474. );
  13475. insert into sysbldobjdepends
  13476. (
  13477. bld_id,
  13478. obj_kind,
  13479. obj_signature,
  13480. obj_owner,
  13481. need_obj_kind,
  13482. need_obj_signature,
  13483. need_obj_owner)
  13484. values
  13485. (
  13486. "%SYSBLDNAME%",
  13487. 69, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13488. "%SYSBLDUSER%",
  13489. 5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
  13490. "%SYSBLDUSER%"
  13491. );
  13492. insert into sysbldobjects
  13493. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13494. create_can_fail, drop_sql, drop_can_fail)
  13495. values
  13496. (
  13497. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries)",
  13498. "%SYSBLDUSER%", 0,
  13499. "create function Intersect (TimeSeries,TimeSeries)
  13500. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13501. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_2_sql)"" language c;
  13502. ",
  13503. "f",
  13504. "drop function Intersect (TimeSeries,TimeSeries);
  13505. ",
  13506. "f"
  13507. );
  13508. insert into sysbldobjdepends
  13509. (
  13510. bld_id,
  13511. obj_kind,
  13512. obj_signature,
  13513. obj_owner,
  13514. need_obj_kind,
  13515. need_obj_signature,
  13516. need_obj_owner)
  13517. values
  13518. (
  13519. "%SYSBLDNAME%",
  13520. 5, "Intersect (TimeSeries,TimeSeries)",
  13521. "%SYSBLDUSER%",
  13522. 7, "TimeSeries",
  13523. "%SYSBLDUSER%"
  13524. );
  13525. insert into sysbldobjects
  13526. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13527. create_can_fail, drop_sql, drop_can_fail)
  13528. values
  13529. (
  13530. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries)",
  13531. "%SYSBLDUSER%", 0,
  13532. "grant execute on function Intersect (TimeSeries,TimeSeries) to public;
  13533. ",
  13534. "f",
  13535. "",
  13536. "f"
  13537. );
  13538. insert into sysbldobjdepends
  13539. (
  13540. bld_id,
  13541. obj_kind,
  13542. obj_signature,
  13543. obj_owner,
  13544. need_obj_kind,
  13545. need_obj_signature,
  13546. need_obj_owner)
  13547. values
  13548. (
  13549. "%SYSBLDNAME%",
  13550. 69, "Intersect (TimeSeries,TimeSeries)",
  13551. "%SYSBLDUSER%",
  13552. 5, "Intersect (TimeSeries,TimeSeries)",
  13553. "%SYSBLDUSER%"
  13554. );
  13555. insert into sysbldobjects
  13556. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13557. create_can_fail, drop_sql, drop_can_fail)
  13558. values
  13559. (
  13560. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
  13561. "%SYSBLDUSER%", 0,
  13562. "create function Intersect (TimeSeries,TimeSeries,TimeSeries)
  13563. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13564. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_3_sql)"" language c;
  13565. ",
  13566. "f",
  13567. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries);
  13568. ",
  13569. "f"
  13570. );
  13571. insert into sysbldobjdepends
  13572. (
  13573. bld_id,
  13574. obj_kind,
  13575. obj_signature,
  13576. obj_owner,
  13577. need_obj_kind,
  13578. need_obj_signature,
  13579. need_obj_owner)
  13580. values
  13581. (
  13582. "%SYSBLDNAME%",
  13583. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
  13584. "%SYSBLDUSER%",
  13585. 7, "TimeSeries",
  13586. "%SYSBLDUSER%"
  13587. );
  13588. insert into sysbldobjects
  13589. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13590. create_can_fail, drop_sql, drop_can_fail)
  13591. values
  13592. (
  13593. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
  13594. "%SYSBLDUSER%", 0,
  13595. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries) to public;
  13596. ",
  13597. "f",
  13598. "",
  13599. "f"
  13600. );
  13601. insert into sysbldobjdepends
  13602. (
  13603. bld_id,
  13604. obj_kind,
  13605. obj_signature,
  13606. obj_owner,
  13607. need_obj_kind,
  13608. need_obj_signature,
  13609. need_obj_owner)
  13610. values
  13611. (
  13612. "%SYSBLDNAME%",
  13613. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
  13614. "%SYSBLDUSER%",
  13615. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
  13616. "%SYSBLDUSER%"
  13617. );
  13618. insert into sysbldobjects
  13619. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13620. create_can_fail, drop_sql, drop_can_fail)
  13621. values
  13622. (
  13623. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13624. "%SYSBLDUSER%", 0,
  13625. "create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  13626. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13627. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_4_sql)"" language c;
  13628. ",
  13629. "f",
  13630. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  13631. ",
  13632. "f"
  13633. );
  13634. insert into sysbldobjdepends
  13635. (
  13636. bld_id,
  13637. obj_kind,
  13638. obj_signature,
  13639. obj_owner,
  13640. need_obj_kind,
  13641. need_obj_signature,
  13642. need_obj_owner)
  13643. values
  13644. (
  13645. "%SYSBLDNAME%",
  13646. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13647. "%SYSBLDUSER%",
  13648. 7, "TimeSeries",
  13649. "%SYSBLDUSER%"
  13650. );
  13651. insert into sysbldobjects
  13652. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13653. create_can_fail, drop_sql, drop_can_fail)
  13654. values
  13655. (
  13656. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13657. "%SYSBLDUSER%", 0,
  13658. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  13659. ",
  13660. "f",
  13661. "",
  13662. "f"
  13663. );
  13664. insert into sysbldobjdepends
  13665. (
  13666. bld_id,
  13667. obj_kind,
  13668. obj_signature,
  13669. obj_owner,
  13670. need_obj_kind,
  13671. need_obj_signature,
  13672. need_obj_owner)
  13673. values
  13674. (
  13675. "%SYSBLDNAME%",
  13676. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13677. "%SYSBLDUSER%",
  13678. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13679. "%SYSBLDUSER%"
  13680. );
  13681. insert into sysbldobjects
  13682. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13683. create_can_fail, drop_sql, drop_can_fail)
  13684. values
  13685. (
  13686. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13687. "%SYSBLDUSER%", 0,
  13688. "create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  13689. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13690. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_5_sql)"" language c;
  13691. ",
  13692. "f",
  13693. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  13694. ",
  13695. "f"
  13696. );
  13697. insert into sysbldobjdepends
  13698. (
  13699. bld_id,
  13700. obj_kind,
  13701. obj_signature,
  13702. obj_owner,
  13703. need_obj_kind,
  13704. need_obj_signature,
  13705. need_obj_owner)
  13706. values
  13707. (
  13708. "%SYSBLDNAME%",
  13709. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13710. "%SYSBLDUSER%",
  13711. 7, "TimeSeries",
  13712. "%SYSBLDUSER%"
  13713. );
  13714. insert into sysbldobjects
  13715. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13716. create_can_fail, drop_sql, drop_can_fail)
  13717. values
  13718. (
  13719. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13720. "%SYSBLDUSER%", 0,
  13721. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  13722. ",
  13723. "f",
  13724. "",
  13725. "f"
  13726. );
  13727. insert into sysbldobjdepends
  13728. (
  13729. bld_id,
  13730. obj_kind,
  13731. obj_signature,
  13732. obj_owner,
  13733. need_obj_kind,
  13734. need_obj_signature,
  13735. need_obj_owner)
  13736. values
  13737. (
  13738. "%SYSBLDNAME%",
  13739. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13740. "%SYSBLDUSER%",
  13741. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13742. "%SYSBLDUSER%"
  13743. );
  13744. insert into sysbldobjects
  13745. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13746. create_can_fail, drop_sql, drop_can_fail)
  13747. values
  13748. (
  13749. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13750. "%SYSBLDUSER%", 0,
  13751. "create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  13752. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13753. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_6_sql)"" language c;
  13754. ",
  13755. "f",
  13756. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  13757. ",
  13758. "f"
  13759. );
  13760. insert into sysbldobjdepends
  13761. (
  13762. bld_id,
  13763. obj_kind,
  13764. obj_signature,
  13765. obj_owner,
  13766. need_obj_kind,
  13767. need_obj_signature,
  13768. need_obj_owner)
  13769. values
  13770. (
  13771. "%SYSBLDNAME%",
  13772. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13773. "%SYSBLDUSER%",
  13774. 7, "TimeSeries",
  13775. "%SYSBLDUSER%"
  13776. );
  13777. insert into sysbldobjects
  13778. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13779. create_can_fail, drop_sql, drop_can_fail)
  13780. values
  13781. (
  13782. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13783. "%SYSBLDUSER%", 0,
  13784. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  13785. ",
  13786. "f",
  13787. "",
  13788. "f"
  13789. );
  13790. insert into sysbldobjdepends
  13791. (
  13792. bld_id,
  13793. obj_kind,
  13794. obj_signature,
  13795. obj_owner,
  13796. need_obj_kind,
  13797. need_obj_signature,
  13798. need_obj_owner)
  13799. values
  13800. (
  13801. "%SYSBLDNAME%",
  13802. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13803. "%SYSBLDUSER%",
  13804. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13805. "%SYSBLDUSER%"
  13806. );
  13807. insert into sysbldobjects
  13808. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13809. create_can_fail, drop_sql, drop_can_fail)
  13810. values
  13811. (
  13812. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13813. "%SYSBLDUSER%", 0,
  13814. "create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  13815. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13816. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_7_sql)"" language c;
  13817. ",
  13818. "f",
  13819. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  13820. ",
  13821. "f"
  13822. );
  13823. insert into sysbldobjdepends
  13824. (
  13825. bld_id,
  13826. obj_kind,
  13827. obj_signature,
  13828. obj_owner,
  13829. need_obj_kind,
  13830. need_obj_signature,
  13831. need_obj_owner)
  13832. values
  13833. (
  13834. "%SYSBLDNAME%",
  13835. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13836. "%SYSBLDUSER%",
  13837. 7, "TimeSeries",
  13838. "%SYSBLDUSER%"
  13839. );
  13840. insert into sysbldobjects
  13841. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13842. create_can_fail, drop_sql, drop_can_fail)
  13843. values
  13844. (
  13845. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13846. "%SYSBLDUSER%", 0,
  13847. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  13848. ",
  13849. "f",
  13850. "",
  13851. "f"
  13852. );
  13853. insert into sysbldobjdepends
  13854. (
  13855. bld_id,
  13856. obj_kind,
  13857. obj_signature,
  13858. obj_owner,
  13859. need_obj_kind,
  13860. need_obj_signature,
  13861. need_obj_owner)
  13862. values
  13863. (
  13864. "%SYSBLDNAME%",
  13865. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13866. "%SYSBLDUSER%",
  13867. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13868. "%SYSBLDUSER%"
  13869. );
  13870. insert into sysbldobjects
  13871. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13872. create_can_fail, drop_sql, drop_can_fail)
  13873. values
  13874. (
  13875. "%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13876. "%SYSBLDUSER%", 0,
  13877. "create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  13878. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  13879. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_8_sql)"" language c;
  13880. ",
  13881. "f",
  13882. "drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  13883. ",
  13884. "f"
  13885. );
  13886. insert into sysbldobjdepends
  13887. (
  13888. bld_id,
  13889. obj_kind,
  13890. obj_signature,
  13891. obj_owner,
  13892. need_obj_kind,
  13893. need_obj_signature,
  13894. need_obj_owner)
  13895. values
  13896. (
  13897. "%SYSBLDNAME%",
  13898. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13899. "%SYSBLDUSER%",
  13900. 7, "TimeSeries",
  13901. "%SYSBLDUSER%"
  13902. );
  13903. insert into sysbldobjects
  13904. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13905. create_can_fail, drop_sql, drop_can_fail)
  13906. values
  13907. (
  13908. "%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13909. "%SYSBLDUSER%", 0,
  13910. "grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  13911. ",
  13912. "f",
  13913. "",
  13914. "f"
  13915. );
  13916. insert into sysbldobjdepends
  13917. (
  13918. bld_id,
  13919. obj_kind,
  13920. obj_signature,
  13921. obj_owner,
  13922. need_obj_kind,
  13923. need_obj_signature,
  13924. need_obj_owner)
  13925. values
  13926. (
  13927. "%SYSBLDNAME%",
  13928. 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13929. "%SYSBLDUSER%",
  13930. 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  13931. "%SYSBLDUSER%"
  13932. );
  13933. insert into sysbldobjects
  13934. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13935. create_can_fail, drop_sql, drop_can_fail)
  13936. values
  13937. (
  13938. "%SYSBLDNAME%", 5, "Intersect (multiset)",
  13939. "%SYSBLDUSER%", 0,
  13940. "create function Intersect (multiset)
  13941. returns TimeSeries with (notemplatearg, handlesnulls)
  13942. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_set_sql)"" language c;
  13943. ",
  13944. "f",
  13945. "drop function Intersect (multiset);
  13946. ",
  13947. "f"
  13948. );
  13949. insert into sysbldobjdepends
  13950. (
  13951. bld_id,
  13952. obj_kind,
  13953. obj_signature,
  13954. obj_owner,
  13955. need_obj_kind,
  13956. need_obj_signature,
  13957. need_obj_owner)
  13958. values
  13959. (
  13960. "%SYSBLDNAME%",
  13961. 5, "Intersect (multiset)",
  13962. "%SYSBLDUSER%",
  13963. 7, "TimeSeries",
  13964. "%SYSBLDUSER%"
  13965. );
  13966. insert into sysbldobjects
  13967. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13968. create_can_fail, drop_sql, drop_can_fail)
  13969. values
  13970. (
  13971. "%SYSBLDNAME%", 69, "Intersect (multiset)",
  13972. "%SYSBLDUSER%", 0,
  13973. "grant execute on function Intersect (multiset) to public;
  13974. ",
  13975. "f",
  13976. "",
  13977. "f"
  13978. );
  13979. insert into sysbldobjdepends
  13980. (
  13981. bld_id,
  13982. obj_kind,
  13983. obj_signature,
  13984. obj_owner,
  13985. need_obj_kind,
  13986. need_obj_signature,
  13987. need_obj_owner)
  13988. values
  13989. (
  13990. "%SYSBLDNAME%",
  13991. 69, "Intersect (multiset)",
  13992. "%SYSBLDUSER%",
  13993. 5, "Intersect (multiset)",
  13994. "%SYSBLDUSER%"
  13995. );
  13996. insert into sysbldobjects
  13997. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  13998. create_can_fail, drop_sql, drop_can_fail)
  13999. values
  14000. (
  14001. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
  14002. "%SYSBLDUSER%", 0,
  14003. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
  14004. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14005. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_2_sql)"" language c;
  14006. ",
  14007. "f",
  14008. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);
  14009. ",
  14010. "f"
  14011. );
  14012. insert into sysbldobjdepends
  14013. (
  14014. bld_id,
  14015. obj_kind,
  14016. obj_signature,
  14017. obj_owner,
  14018. need_obj_kind,
  14019. need_obj_signature,
  14020. need_obj_owner)
  14021. values
  14022. (
  14023. "%SYSBLDNAME%",
  14024. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
  14025. "%SYSBLDUSER%",
  14026. 7, "TimeSeries",
  14027. "%SYSBLDUSER%"
  14028. );
  14029. insert into sysbldobjects
  14030. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14031. create_can_fail, drop_sql, drop_can_fail)
  14032. values
  14033. (
  14034. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
  14035. "%SYSBLDUSER%", 0,
  14036. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;
  14037. ",
  14038. "f",
  14039. "",
  14040. "f"
  14041. );
  14042. insert into sysbldobjdepends
  14043. (
  14044. bld_id,
  14045. obj_kind,
  14046. obj_signature,
  14047. obj_owner,
  14048. need_obj_kind,
  14049. need_obj_signature,
  14050. need_obj_owner)
  14051. values
  14052. (
  14053. "%SYSBLDNAME%",
  14054. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
  14055. "%SYSBLDUSER%",
  14056. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
  14057. "%SYSBLDUSER%"
  14058. );
  14059. insert into sysbldobjects
  14060. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14061. create_can_fail, drop_sql, drop_can_fail)
  14062. values
  14063. (
  14064. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  14065. "%SYSBLDUSER%", 0,
  14066. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
  14067. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14068. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_3_sql)"" language c;
  14069. ",
  14070. "f",
  14071. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);
  14072. ",
  14073. "f"
  14074. );
  14075. insert into sysbldobjdepends
  14076. (
  14077. bld_id,
  14078. obj_kind,
  14079. obj_signature,
  14080. obj_owner,
  14081. need_obj_kind,
  14082. need_obj_signature,
  14083. need_obj_owner)
  14084. values
  14085. (
  14086. "%SYSBLDNAME%",
  14087. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  14088. "%SYSBLDUSER%",
  14089. 7, "TimeSeries",
  14090. "%SYSBLDUSER%"
  14091. );
  14092. insert into sysbldobjects
  14093. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14094. create_can_fail, drop_sql, drop_can_fail)
  14095. values
  14096. (
  14097. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  14098. "%SYSBLDUSER%", 0,
  14099. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;
  14100. ",
  14101. "f",
  14102. "",
  14103. "f"
  14104. );
  14105. insert into sysbldobjdepends
  14106. (
  14107. bld_id,
  14108. obj_kind,
  14109. obj_signature,
  14110. obj_owner,
  14111. need_obj_kind,
  14112. need_obj_signature,
  14113. need_obj_owner)
  14114. values
  14115. (
  14116. "%SYSBLDNAME%",
  14117. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  14118. "%SYSBLDUSER%",
  14119. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  14120. "%SYSBLDUSER%"
  14121. );
  14122. insert into sysbldobjects
  14123. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14124. create_can_fail, drop_sql, drop_can_fail)
  14125. values
  14126. (
  14127. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14128. "%SYSBLDUSER%", 0,
  14129. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14130. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14131. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_4_sql)"" language c;
  14132. ",
  14133. "f",
  14134. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14135. ",
  14136. "f"
  14137. );
  14138. insert into sysbldobjdepends
  14139. (
  14140. bld_id,
  14141. obj_kind,
  14142. obj_signature,
  14143. obj_owner,
  14144. need_obj_kind,
  14145. need_obj_signature,
  14146. need_obj_owner)
  14147. values
  14148. (
  14149. "%SYSBLDNAME%",
  14150. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14151. "%SYSBLDUSER%",
  14152. 7, "TimeSeries",
  14153. "%SYSBLDUSER%"
  14154. );
  14155. insert into sysbldobjects
  14156. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14157. create_can_fail, drop_sql, drop_can_fail)
  14158. values
  14159. (
  14160. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14161. "%SYSBLDUSER%", 0,
  14162. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14163. ",
  14164. "f",
  14165. "",
  14166. "f"
  14167. );
  14168. insert into sysbldobjdepends
  14169. (
  14170. bld_id,
  14171. obj_kind,
  14172. obj_signature,
  14173. obj_owner,
  14174. need_obj_kind,
  14175. need_obj_signature,
  14176. need_obj_owner)
  14177. values
  14178. (
  14179. "%SYSBLDNAME%",
  14180. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14181. "%SYSBLDUSER%",
  14182. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14183. "%SYSBLDUSER%"
  14184. );
  14185. insert into sysbldobjects
  14186. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14187. create_can_fail, drop_sql, drop_can_fail)
  14188. values
  14189. (
  14190. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14191. "%SYSBLDUSER%", 0,
  14192. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14193. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14194. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_5_sql)"" language c;
  14195. ",
  14196. "f",
  14197. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14198. ",
  14199. "f"
  14200. );
  14201. insert into sysbldobjdepends
  14202. (
  14203. bld_id,
  14204. obj_kind,
  14205. obj_signature,
  14206. obj_owner,
  14207. need_obj_kind,
  14208. need_obj_signature,
  14209. need_obj_owner)
  14210. values
  14211. (
  14212. "%SYSBLDNAME%",
  14213. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14214. "%SYSBLDUSER%",
  14215. 7, "TimeSeries",
  14216. "%SYSBLDUSER%"
  14217. );
  14218. insert into sysbldobjects
  14219. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14220. create_can_fail, drop_sql, drop_can_fail)
  14221. values
  14222. (
  14223. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14224. "%SYSBLDUSER%", 0,
  14225. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14226. ",
  14227. "f",
  14228. "",
  14229. "f"
  14230. );
  14231. insert into sysbldobjdepends
  14232. (
  14233. bld_id,
  14234. obj_kind,
  14235. obj_signature,
  14236. obj_owner,
  14237. need_obj_kind,
  14238. need_obj_signature,
  14239. need_obj_owner)
  14240. values
  14241. (
  14242. "%SYSBLDNAME%",
  14243. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14244. "%SYSBLDUSER%",
  14245. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14246. "%SYSBLDUSER%"
  14247. );
  14248. insert into sysbldobjects
  14249. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14250. create_can_fail, drop_sql, drop_can_fail)
  14251. values
  14252. (
  14253. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14254. "%SYSBLDUSER%", 0,
  14255. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14256. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14257. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_6_sql)"" language c;
  14258. ",
  14259. "f",
  14260. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14261. ",
  14262. "f"
  14263. );
  14264. insert into sysbldobjdepends
  14265. (
  14266. bld_id,
  14267. obj_kind,
  14268. obj_signature,
  14269. obj_owner,
  14270. need_obj_kind,
  14271. need_obj_signature,
  14272. need_obj_owner)
  14273. values
  14274. (
  14275. "%SYSBLDNAME%",
  14276. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14277. "%SYSBLDUSER%",
  14278. 7, "TimeSeries",
  14279. "%SYSBLDUSER%"
  14280. );
  14281. insert into sysbldobjects
  14282. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14283. create_can_fail, drop_sql, drop_can_fail)
  14284. values
  14285. (
  14286. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14287. "%SYSBLDUSER%", 0,
  14288. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14289. ",
  14290. "f",
  14291. "",
  14292. "f"
  14293. );
  14294. insert into sysbldobjdepends
  14295. (
  14296. bld_id,
  14297. obj_kind,
  14298. obj_signature,
  14299. obj_owner,
  14300. need_obj_kind,
  14301. need_obj_signature,
  14302. need_obj_owner)
  14303. values
  14304. (
  14305. "%SYSBLDNAME%",
  14306. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14307. "%SYSBLDUSER%",
  14308. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14309. "%SYSBLDUSER%"
  14310. );
  14311. insert into sysbldobjects
  14312. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14313. create_can_fail, drop_sql, drop_can_fail)
  14314. values
  14315. (
  14316. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14317. "%SYSBLDUSER%", 0,
  14318. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14319. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14320. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_7_sql)"" language c;
  14321. ",
  14322. "f",
  14323. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14324. ",
  14325. "f"
  14326. );
  14327. insert into sysbldobjdepends
  14328. (
  14329. bld_id,
  14330. obj_kind,
  14331. obj_signature,
  14332. obj_owner,
  14333. need_obj_kind,
  14334. need_obj_signature,
  14335. need_obj_owner)
  14336. values
  14337. (
  14338. "%SYSBLDNAME%",
  14339. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14340. "%SYSBLDUSER%",
  14341. 7, "TimeSeries",
  14342. "%SYSBLDUSER%"
  14343. );
  14344. insert into sysbldobjects
  14345. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14346. create_can_fail, drop_sql, drop_can_fail)
  14347. values
  14348. (
  14349. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14350. "%SYSBLDUSER%", 0,
  14351. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14352. ",
  14353. "f",
  14354. "",
  14355. "f"
  14356. );
  14357. insert into sysbldobjdepends
  14358. (
  14359. bld_id,
  14360. obj_kind,
  14361. obj_signature,
  14362. obj_owner,
  14363. need_obj_kind,
  14364. need_obj_signature,
  14365. need_obj_owner)
  14366. values
  14367. (
  14368. "%SYSBLDNAME%",
  14369. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14370. "%SYSBLDUSER%",
  14371. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14372. "%SYSBLDUSER%"
  14373. );
  14374. insert into sysbldobjects
  14375. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14376. create_can_fail, drop_sql, drop_can_fail)
  14377. values
  14378. (
  14379. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14380. "%SYSBLDUSER%", 0,
  14381. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14382. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14383. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_8_sql)"" language c;
  14384. ",
  14385. "f",
  14386. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14387. ",
  14388. "f"
  14389. );
  14390. insert into sysbldobjdepends
  14391. (
  14392. bld_id,
  14393. obj_kind,
  14394. obj_signature,
  14395. obj_owner,
  14396. need_obj_kind,
  14397. need_obj_signature,
  14398. need_obj_owner)
  14399. values
  14400. (
  14401. "%SYSBLDNAME%",
  14402. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14403. "%SYSBLDUSER%",
  14404. 7, "TimeSeries",
  14405. "%SYSBLDUSER%"
  14406. );
  14407. insert into sysbldobjects
  14408. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14409. create_can_fail, drop_sql, drop_can_fail)
  14410. values
  14411. (
  14412. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14413. "%SYSBLDUSER%", 0,
  14414. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14415. ",
  14416. "f",
  14417. "",
  14418. "f"
  14419. );
  14420. insert into sysbldobjdepends
  14421. (
  14422. bld_id,
  14423. obj_kind,
  14424. obj_signature,
  14425. obj_owner,
  14426. need_obj_kind,
  14427. need_obj_signature,
  14428. need_obj_owner)
  14429. values
  14430. (
  14431. "%SYSBLDNAME%",
  14432. 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14433. "%SYSBLDUSER%",
  14434. 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14435. "%SYSBLDUSER%"
  14436. );
  14437. insert into sysbldobjects
  14438. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14439. create_can_fail, drop_sql, drop_can_fail)
  14440. values
  14441. (
  14442. "%SYSBLDNAME%", 5, "Intersect (datetime,datetime,multiset)",
  14443. "%SYSBLDUSER%", 0,
  14444. "create function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset)
  14445. returns TimeSeries with (notemplatearg, handlesnulls)
  14446. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_set_sql)"" language c;
  14447. ",
  14448. "f",
  14449. "drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset);
  14450. ",
  14451. "f"
  14452. );
  14453. insert into sysbldobjdepends
  14454. (
  14455. bld_id,
  14456. obj_kind,
  14457. obj_signature,
  14458. obj_owner,
  14459. need_obj_kind,
  14460. need_obj_signature,
  14461. need_obj_owner)
  14462. values
  14463. (
  14464. "%SYSBLDNAME%",
  14465. 5, "Intersect (datetime,datetime,multiset)",
  14466. "%SYSBLDUSER%",
  14467. 7, "TimeSeries",
  14468. "%SYSBLDUSER%"
  14469. );
  14470. insert into sysbldobjects
  14471. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14472. create_can_fail, drop_sql, drop_can_fail)
  14473. values
  14474. (
  14475. "%SYSBLDNAME%", 69, "Intersect (datetime,datetime,multiset)",
  14476. "%SYSBLDUSER%", 0,
  14477. "grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset) to public;
  14478. ",
  14479. "f",
  14480. "",
  14481. "f"
  14482. );
  14483. insert into sysbldobjdepends
  14484. (
  14485. bld_id,
  14486. obj_kind,
  14487. obj_signature,
  14488. obj_owner,
  14489. need_obj_kind,
  14490. need_obj_signature,
  14491. need_obj_owner)
  14492. values
  14493. (
  14494. "%SYSBLDNAME%",
  14495. 69, "Intersect (datetime,datetime,multiset)",
  14496. "%SYSBLDUSER%",
  14497. 5, "Intersect (datetime,datetime,multiset)",
  14498. "%SYSBLDUSER%"
  14499. );
  14500. insert into sysbldobjects
  14501. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14502. create_can_fail, drop_sql, drop_can_fail)
  14503. values
  14504. (
  14505. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries)",
  14506. "%SYSBLDUSER%", 0,
  14507. "create function Union (TimeSeries,TimeSeries)
  14508. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14509. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_2_sql)"" language c;
  14510. ",
  14511. "f",
  14512. "drop function Union (TimeSeries,TimeSeries);
  14513. ",
  14514. "f"
  14515. );
  14516. insert into sysbldobjdepends
  14517. (
  14518. bld_id,
  14519. obj_kind,
  14520. obj_signature,
  14521. obj_owner,
  14522. need_obj_kind,
  14523. need_obj_signature,
  14524. need_obj_owner)
  14525. values
  14526. (
  14527. "%SYSBLDNAME%",
  14528. 5, "Union (TimeSeries,TimeSeries)",
  14529. "%SYSBLDUSER%",
  14530. 7, "TimeSeries",
  14531. "%SYSBLDUSER%"
  14532. );
  14533. insert into sysbldobjects
  14534. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14535. create_can_fail, drop_sql, drop_can_fail)
  14536. values
  14537. (
  14538. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries)",
  14539. "%SYSBLDUSER%", 0,
  14540. "grant execute on function Union (TimeSeries,TimeSeries) to public;
  14541. ",
  14542. "f",
  14543. "",
  14544. "f"
  14545. );
  14546. insert into sysbldobjdepends
  14547. (
  14548. bld_id,
  14549. obj_kind,
  14550. obj_signature,
  14551. obj_owner,
  14552. need_obj_kind,
  14553. need_obj_signature,
  14554. need_obj_owner)
  14555. values
  14556. (
  14557. "%SYSBLDNAME%",
  14558. 69, "Union (TimeSeries,TimeSeries)",
  14559. "%SYSBLDUSER%",
  14560. 5, "Union (TimeSeries,TimeSeries)",
  14561. "%SYSBLDUSER%"
  14562. );
  14563. insert into sysbldobjects
  14564. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14565. create_can_fail, drop_sql, drop_can_fail)
  14566. values
  14567. (
  14568. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries)",
  14569. "%SYSBLDUSER%", 0,
  14570. "create function Union (TimeSeries,TimeSeries,TimeSeries)
  14571. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14572. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_3_sql)"" language c;
  14573. ",
  14574. "f",
  14575. "drop function Union (TimeSeries,TimeSeries,TimeSeries);
  14576. ",
  14577. "f"
  14578. );
  14579. insert into sysbldobjdepends
  14580. (
  14581. bld_id,
  14582. obj_kind,
  14583. obj_signature,
  14584. obj_owner,
  14585. need_obj_kind,
  14586. need_obj_signature,
  14587. need_obj_owner)
  14588. values
  14589. (
  14590. "%SYSBLDNAME%",
  14591. 5, "Union (TimeSeries,TimeSeries,TimeSeries)",
  14592. "%SYSBLDUSER%",
  14593. 7, "TimeSeries",
  14594. "%SYSBLDUSER%"
  14595. );
  14596. insert into sysbldobjects
  14597. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14598. create_can_fail, drop_sql, drop_can_fail)
  14599. values
  14600. (
  14601. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries)",
  14602. "%SYSBLDUSER%", 0,
  14603. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries) to public;
  14604. ",
  14605. "f",
  14606. "",
  14607. "f"
  14608. );
  14609. insert into sysbldobjdepends
  14610. (
  14611. bld_id,
  14612. obj_kind,
  14613. obj_signature,
  14614. obj_owner,
  14615. need_obj_kind,
  14616. need_obj_signature,
  14617. need_obj_owner)
  14618. values
  14619. (
  14620. "%SYSBLDNAME%",
  14621. 69, "Union (TimeSeries,TimeSeries,TimeSeries)",
  14622. "%SYSBLDUSER%",
  14623. 5, "Union (TimeSeries,TimeSeries,TimeSeries)",
  14624. "%SYSBLDUSER%"
  14625. );
  14626. insert into sysbldobjects
  14627. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14628. create_can_fail, drop_sql, drop_can_fail)
  14629. values
  14630. (
  14631. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14632. "%SYSBLDUSER%", 0,
  14633. "create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14634. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14635. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_4_sql)"" language c;
  14636. ",
  14637. "f",
  14638. "drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14639. ",
  14640. "f"
  14641. );
  14642. insert into sysbldobjdepends
  14643. (
  14644. bld_id,
  14645. obj_kind,
  14646. obj_signature,
  14647. obj_owner,
  14648. need_obj_kind,
  14649. need_obj_signature,
  14650. need_obj_owner)
  14651. values
  14652. (
  14653. "%SYSBLDNAME%",
  14654. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14655. "%SYSBLDUSER%",
  14656. 7, "TimeSeries",
  14657. "%SYSBLDUSER%"
  14658. );
  14659. insert into sysbldobjects
  14660. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14661. create_can_fail, drop_sql, drop_can_fail)
  14662. values
  14663. (
  14664. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14665. "%SYSBLDUSER%", 0,
  14666. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14667. ",
  14668. "f",
  14669. "",
  14670. "f"
  14671. );
  14672. insert into sysbldobjdepends
  14673. (
  14674. bld_id,
  14675. obj_kind,
  14676. obj_signature,
  14677. obj_owner,
  14678. need_obj_kind,
  14679. need_obj_signature,
  14680. need_obj_owner)
  14681. values
  14682. (
  14683. "%SYSBLDNAME%",
  14684. 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14685. "%SYSBLDUSER%",
  14686. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14687. "%SYSBLDUSER%"
  14688. );
  14689. insert into sysbldobjects
  14690. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14691. create_can_fail, drop_sql, drop_can_fail)
  14692. values
  14693. (
  14694. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14695. "%SYSBLDUSER%", 0,
  14696. "create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14697. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14698. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_5_sql)"" language c;
  14699. ",
  14700. "f",
  14701. "drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14702. ",
  14703. "f"
  14704. );
  14705. insert into sysbldobjdepends
  14706. (
  14707. bld_id,
  14708. obj_kind,
  14709. obj_signature,
  14710. obj_owner,
  14711. need_obj_kind,
  14712. need_obj_signature,
  14713. need_obj_owner)
  14714. values
  14715. (
  14716. "%SYSBLDNAME%",
  14717. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14718. "%SYSBLDUSER%",
  14719. 7, "TimeSeries",
  14720. "%SYSBLDUSER%"
  14721. );
  14722. insert into sysbldobjects
  14723. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14724. create_can_fail, drop_sql, drop_can_fail)
  14725. values
  14726. (
  14727. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14728. "%SYSBLDUSER%", 0,
  14729. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14730. ",
  14731. "f",
  14732. "",
  14733. "f"
  14734. );
  14735. insert into sysbldobjdepends
  14736. (
  14737. bld_id,
  14738. obj_kind,
  14739. obj_signature,
  14740. obj_owner,
  14741. need_obj_kind,
  14742. need_obj_signature,
  14743. need_obj_owner)
  14744. values
  14745. (
  14746. "%SYSBLDNAME%",
  14747. 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14748. "%SYSBLDUSER%",
  14749. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14750. "%SYSBLDUSER%"
  14751. );
  14752. insert into sysbldobjects
  14753. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14754. create_can_fail, drop_sql, drop_can_fail)
  14755. values
  14756. (
  14757. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14758. "%SYSBLDUSER%", 0,
  14759. "create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14760. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14761. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_6_sql)"" language c;
  14762. ",
  14763. "f",
  14764. "drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14765. ",
  14766. "f"
  14767. );
  14768. insert into sysbldobjdepends
  14769. (
  14770. bld_id,
  14771. obj_kind,
  14772. obj_signature,
  14773. obj_owner,
  14774. need_obj_kind,
  14775. need_obj_signature,
  14776. need_obj_owner)
  14777. values
  14778. (
  14779. "%SYSBLDNAME%",
  14780. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14781. "%SYSBLDUSER%",
  14782. 7, "TimeSeries",
  14783. "%SYSBLDUSER%"
  14784. );
  14785. insert into sysbldobjects
  14786. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14787. create_can_fail, drop_sql, drop_can_fail)
  14788. values
  14789. (
  14790. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14791. "%SYSBLDUSER%", 0,
  14792. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14793. ",
  14794. "f",
  14795. "",
  14796. "f"
  14797. );
  14798. insert into sysbldobjdepends
  14799. (
  14800. bld_id,
  14801. obj_kind,
  14802. obj_signature,
  14803. obj_owner,
  14804. need_obj_kind,
  14805. need_obj_signature,
  14806. need_obj_owner)
  14807. values
  14808. (
  14809. "%SYSBLDNAME%",
  14810. 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14811. "%SYSBLDUSER%",
  14812. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14813. "%SYSBLDUSER%"
  14814. );
  14815. insert into sysbldobjects
  14816. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14817. create_can_fail, drop_sql, drop_can_fail)
  14818. values
  14819. (
  14820. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14821. "%SYSBLDUSER%", 0,
  14822. "create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14823. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14824. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_7_sql)"" language c;
  14825. ",
  14826. "f",
  14827. "drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14828. ",
  14829. "f"
  14830. );
  14831. insert into sysbldobjdepends
  14832. (
  14833. bld_id,
  14834. obj_kind,
  14835. obj_signature,
  14836. obj_owner,
  14837. need_obj_kind,
  14838. need_obj_signature,
  14839. need_obj_owner)
  14840. values
  14841. (
  14842. "%SYSBLDNAME%",
  14843. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14844. "%SYSBLDUSER%",
  14845. 7, "TimeSeries",
  14846. "%SYSBLDUSER%"
  14847. );
  14848. insert into sysbldobjects
  14849. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14850. create_can_fail, drop_sql, drop_can_fail)
  14851. values
  14852. (
  14853. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14854. "%SYSBLDUSER%", 0,
  14855. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14856. ",
  14857. "f",
  14858. "",
  14859. "f"
  14860. );
  14861. insert into sysbldobjdepends
  14862. (
  14863. bld_id,
  14864. obj_kind,
  14865. obj_signature,
  14866. obj_owner,
  14867. need_obj_kind,
  14868. need_obj_signature,
  14869. need_obj_owner)
  14870. values
  14871. (
  14872. "%SYSBLDNAME%",
  14873. 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14874. "%SYSBLDUSER%",
  14875. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14876. "%SYSBLDUSER%"
  14877. );
  14878. insert into sysbldobjects
  14879. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14880. create_can_fail, drop_sql, drop_can_fail)
  14881. values
  14882. (
  14883. "%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14884. "%SYSBLDUSER%", 0,
  14885. "create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  14886. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  14887. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_8_sql)"" language c;
  14888. ",
  14889. "f",
  14890. "drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  14891. ",
  14892. "f"
  14893. );
  14894. insert into sysbldobjdepends
  14895. (
  14896. bld_id,
  14897. obj_kind,
  14898. obj_signature,
  14899. obj_owner,
  14900. need_obj_kind,
  14901. need_obj_signature,
  14902. need_obj_owner)
  14903. values
  14904. (
  14905. "%SYSBLDNAME%",
  14906. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14907. "%SYSBLDUSER%",
  14908. 7, "TimeSeries",
  14909. "%SYSBLDUSER%"
  14910. );
  14911. insert into sysbldobjects
  14912. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14913. create_can_fail, drop_sql, drop_can_fail)
  14914. values
  14915. (
  14916. "%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14917. "%SYSBLDUSER%", 0,
  14918. "grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  14919. ",
  14920. "f",
  14921. "",
  14922. "f"
  14923. );
  14924. insert into sysbldobjdepends
  14925. (
  14926. bld_id,
  14927. obj_kind,
  14928. obj_signature,
  14929. obj_owner,
  14930. need_obj_kind,
  14931. need_obj_signature,
  14932. need_obj_owner)
  14933. values
  14934. (
  14935. "%SYSBLDNAME%",
  14936. 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14937. "%SYSBLDUSER%",
  14938. 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  14939. "%SYSBLDUSER%"
  14940. );
  14941. insert into sysbldobjects
  14942. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14943. create_can_fail, drop_sql, drop_can_fail)
  14944. values
  14945. (
  14946. "%SYSBLDNAME%", 5, "Union (multiset)",
  14947. "%SYSBLDUSER%", 0,
  14948. "create function Union (multiset)
  14949. returns TimeSeries with (notemplatearg, handlesnulls)
  14950. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_set_sql)"" language c;
  14951. ",
  14952. "f",
  14953. "drop function Union (multiset);
  14954. ",
  14955. "f"
  14956. );
  14957. insert into sysbldobjdepends
  14958. (
  14959. bld_id,
  14960. obj_kind,
  14961. obj_signature,
  14962. obj_owner,
  14963. need_obj_kind,
  14964. need_obj_signature,
  14965. need_obj_owner)
  14966. values
  14967. (
  14968. "%SYSBLDNAME%",
  14969. 5, "Union (multiset)",
  14970. "%SYSBLDUSER%",
  14971. 7, "TimeSeries",
  14972. "%SYSBLDUSER%"
  14973. );
  14974. insert into sysbldobjects
  14975. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  14976. create_can_fail, drop_sql, drop_can_fail)
  14977. values
  14978. (
  14979. "%SYSBLDNAME%", 69, "Union (multiset)",
  14980. "%SYSBLDUSER%", 0,
  14981. "grant execute on function Union (multiset) to public;
  14982. ",
  14983. "f",
  14984. "",
  14985. "f"
  14986. );
  14987. insert into sysbldobjdepends
  14988. (
  14989. bld_id,
  14990. obj_kind,
  14991. obj_signature,
  14992. obj_owner,
  14993. need_obj_kind,
  14994. need_obj_signature,
  14995. need_obj_owner)
  14996. values
  14997. (
  14998. "%SYSBLDNAME%",
  14999. 69, "Union (multiset)",
  15000. "%SYSBLDUSER%",
  15001. 5, "Union (multiset)",
  15002. "%SYSBLDUSER%"
  15003. );
  15004. insert into sysbldobjects
  15005. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15006. create_can_fail, drop_sql, drop_can_fail)
  15007. values
  15008. (
  15009. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
  15010. "%SYSBLDUSER%", 0,
  15011. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
  15012. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15013. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_2_sql)"" language c;
  15014. ",
  15015. "f",
  15016. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);
  15017. ",
  15018. "f"
  15019. );
  15020. insert into sysbldobjdepends
  15021. (
  15022. bld_id,
  15023. obj_kind,
  15024. obj_signature,
  15025. obj_owner,
  15026. need_obj_kind,
  15027. need_obj_signature,
  15028. need_obj_owner)
  15029. values
  15030. (
  15031. "%SYSBLDNAME%",
  15032. 5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
  15033. "%SYSBLDUSER%",
  15034. 7, "TimeSeries",
  15035. "%SYSBLDUSER%"
  15036. );
  15037. insert into sysbldobjects
  15038. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15039. create_can_fail, drop_sql, drop_can_fail)
  15040. values
  15041. (
  15042. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries)",
  15043. "%SYSBLDUSER%", 0,
  15044. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;
  15045. ",
  15046. "f",
  15047. "",
  15048. "f"
  15049. );
  15050. insert into sysbldobjdepends
  15051. (
  15052. bld_id,
  15053. obj_kind,
  15054. obj_signature,
  15055. obj_owner,
  15056. need_obj_kind,
  15057. need_obj_signature,
  15058. need_obj_owner)
  15059. values
  15060. (
  15061. "%SYSBLDNAME%",
  15062. 69, "Union (datetime,datetime,TimeSeries,TimeSeries)",
  15063. "%SYSBLDUSER%",
  15064. 5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
  15065. "%SYSBLDUSER%"
  15066. );
  15067. insert into sysbldobjects
  15068. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15069. create_can_fail, drop_sql, drop_can_fail)
  15070. values
  15071. (
  15072. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15073. "%SYSBLDUSER%", 0,
  15074. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
  15075. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15076. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_3_sql)"" language c;
  15077. ",
  15078. "f",
  15079. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);
  15080. ",
  15081. "f"
  15082. );
  15083. insert into sysbldobjdepends
  15084. (
  15085. bld_id,
  15086. obj_kind,
  15087. obj_signature,
  15088. obj_owner,
  15089. need_obj_kind,
  15090. need_obj_signature,
  15091. need_obj_owner)
  15092. values
  15093. (
  15094. "%SYSBLDNAME%",
  15095. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15096. "%SYSBLDUSER%",
  15097. 7, "TimeSeries",
  15098. "%SYSBLDUSER%"
  15099. );
  15100. insert into sysbldobjects
  15101. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15102. create_can_fail, drop_sql, drop_can_fail)
  15103. values
  15104. (
  15105. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15106. "%SYSBLDUSER%", 0,
  15107. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;
  15108. ",
  15109. "f",
  15110. "",
  15111. "f"
  15112. );
  15113. insert into sysbldobjdepends
  15114. (
  15115. bld_id,
  15116. obj_kind,
  15117. obj_signature,
  15118. obj_owner,
  15119. need_obj_kind,
  15120. need_obj_signature,
  15121. need_obj_owner)
  15122. values
  15123. (
  15124. "%SYSBLDNAME%",
  15125. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15126. "%SYSBLDUSER%",
  15127. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15128. "%SYSBLDUSER%"
  15129. );
  15130. insert into sysbldobjects
  15131. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15132. create_can_fail, drop_sql, drop_can_fail)
  15133. values
  15134. (
  15135. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15136. "%SYSBLDUSER%", 0,
  15137. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15138. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15139. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_4_sql)"" language c;
  15140. ",
  15141. "f",
  15142. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15143. ",
  15144. "f"
  15145. );
  15146. insert into sysbldobjdepends
  15147. (
  15148. bld_id,
  15149. obj_kind,
  15150. obj_signature,
  15151. obj_owner,
  15152. need_obj_kind,
  15153. need_obj_signature,
  15154. need_obj_owner)
  15155. values
  15156. (
  15157. "%SYSBLDNAME%",
  15158. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15159. "%SYSBLDUSER%",
  15160. 7, "TimeSeries",
  15161. "%SYSBLDUSER%"
  15162. );
  15163. insert into sysbldobjects
  15164. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15165. create_can_fail, drop_sql, drop_can_fail)
  15166. values
  15167. (
  15168. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15169. "%SYSBLDUSER%", 0,
  15170. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15171. ",
  15172. "f",
  15173. "",
  15174. "f"
  15175. );
  15176. insert into sysbldobjdepends
  15177. (
  15178. bld_id,
  15179. obj_kind,
  15180. obj_signature,
  15181. obj_owner,
  15182. need_obj_kind,
  15183. need_obj_signature,
  15184. need_obj_owner)
  15185. values
  15186. (
  15187. "%SYSBLDNAME%",
  15188. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15189. "%SYSBLDUSER%",
  15190. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15191. "%SYSBLDUSER%"
  15192. );
  15193. insert into sysbldobjects
  15194. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15195. create_can_fail, drop_sql, drop_can_fail)
  15196. values
  15197. (
  15198. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15199. "%SYSBLDUSER%", 0,
  15200. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15201. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15202. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_5_sql)"" language c;
  15203. ",
  15204. "f",
  15205. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15206. ",
  15207. "f"
  15208. );
  15209. insert into sysbldobjdepends
  15210. (
  15211. bld_id,
  15212. obj_kind,
  15213. obj_signature,
  15214. obj_owner,
  15215. need_obj_kind,
  15216. need_obj_signature,
  15217. need_obj_owner)
  15218. values
  15219. (
  15220. "%SYSBLDNAME%",
  15221. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15222. "%SYSBLDUSER%",
  15223. 7, "TimeSeries",
  15224. "%SYSBLDUSER%"
  15225. );
  15226. insert into sysbldobjects
  15227. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15228. create_can_fail, drop_sql, drop_can_fail)
  15229. values
  15230. (
  15231. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15232. "%SYSBLDUSER%", 0,
  15233. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15234. ",
  15235. "f",
  15236. "",
  15237. "f"
  15238. );
  15239. insert into sysbldobjdepends
  15240. (
  15241. bld_id,
  15242. obj_kind,
  15243. obj_signature,
  15244. obj_owner,
  15245. need_obj_kind,
  15246. need_obj_signature,
  15247. need_obj_owner)
  15248. values
  15249. (
  15250. "%SYSBLDNAME%",
  15251. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15252. "%SYSBLDUSER%",
  15253. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15254. "%SYSBLDUSER%"
  15255. );
  15256. insert into sysbldobjects
  15257. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15258. create_can_fail, drop_sql, drop_can_fail)
  15259. values
  15260. (
  15261. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15262. "%SYSBLDUSER%", 0,
  15263. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15264. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15265. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_6_sql)"" language c;
  15266. ",
  15267. "f",
  15268. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15269. ",
  15270. "f"
  15271. );
  15272. insert into sysbldobjdepends
  15273. (
  15274. bld_id,
  15275. obj_kind,
  15276. obj_signature,
  15277. obj_owner,
  15278. need_obj_kind,
  15279. need_obj_signature,
  15280. need_obj_owner)
  15281. values
  15282. (
  15283. "%SYSBLDNAME%",
  15284. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15285. "%SYSBLDUSER%",
  15286. 7, "TimeSeries",
  15287. "%SYSBLDUSER%"
  15288. );
  15289. insert into sysbldobjects
  15290. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15291. create_can_fail, drop_sql, drop_can_fail)
  15292. values
  15293. (
  15294. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15295. "%SYSBLDUSER%", 0,
  15296. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15297. ",
  15298. "f",
  15299. "",
  15300. "f"
  15301. );
  15302. insert into sysbldobjdepends
  15303. (
  15304. bld_id,
  15305. obj_kind,
  15306. obj_signature,
  15307. obj_owner,
  15308. need_obj_kind,
  15309. need_obj_signature,
  15310. need_obj_owner)
  15311. values
  15312. (
  15313. "%SYSBLDNAME%",
  15314. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15315. "%SYSBLDUSER%",
  15316. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15317. "%SYSBLDUSER%"
  15318. );
  15319. insert into sysbldobjects
  15320. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15321. create_can_fail, drop_sql, drop_can_fail)
  15322. values
  15323. (
  15324. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15325. "%SYSBLDUSER%", 0,
  15326. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15327. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15328. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_7_sql)"" language c;
  15329. ",
  15330. "f",
  15331. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15332. ",
  15333. "f"
  15334. );
  15335. insert into sysbldobjdepends
  15336. (
  15337. bld_id,
  15338. obj_kind,
  15339. obj_signature,
  15340. obj_owner,
  15341. need_obj_kind,
  15342. need_obj_signature,
  15343. need_obj_owner)
  15344. values
  15345. (
  15346. "%SYSBLDNAME%",
  15347. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15348. "%SYSBLDUSER%",
  15349. 7, "TimeSeries",
  15350. "%SYSBLDUSER%"
  15351. );
  15352. insert into sysbldobjects
  15353. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15354. create_can_fail, drop_sql, drop_can_fail)
  15355. values
  15356. (
  15357. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15358. "%SYSBLDUSER%", 0,
  15359. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15360. ",
  15361. "f",
  15362. "",
  15363. "f"
  15364. );
  15365. insert into sysbldobjdepends
  15366. (
  15367. bld_id,
  15368. obj_kind,
  15369. obj_signature,
  15370. obj_owner,
  15371. need_obj_kind,
  15372. need_obj_signature,
  15373. need_obj_owner)
  15374. values
  15375. (
  15376. "%SYSBLDNAME%",
  15377. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15378. "%SYSBLDUSER%",
  15379. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15380. "%SYSBLDUSER%"
  15381. );
  15382. insert into sysbldobjects
  15383. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15384. create_can_fail, drop_sql, drop_can_fail)
  15385. values
  15386. (
  15387. "%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15388. "%SYSBLDUSER%", 0,
  15389. "create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15390. returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
  15391. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_8_sql)"" language c;
  15392. ",
  15393. "f",
  15394. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15395. ",
  15396. "f"
  15397. );
  15398. insert into sysbldobjdepends
  15399. (
  15400. bld_id,
  15401. obj_kind,
  15402. obj_signature,
  15403. obj_owner,
  15404. need_obj_kind,
  15405. need_obj_signature,
  15406. need_obj_owner)
  15407. values
  15408. (
  15409. "%SYSBLDNAME%",
  15410. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15411. "%SYSBLDUSER%",
  15412. 7, "TimeSeries",
  15413. "%SYSBLDUSER%"
  15414. );
  15415. insert into sysbldobjects
  15416. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15417. create_can_fail, drop_sql, drop_can_fail)
  15418. values
  15419. (
  15420. "%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15421. "%SYSBLDUSER%", 0,
  15422. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15423. ",
  15424. "f",
  15425. "",
  15426. "f"
  15427. );
  15428. insert into sysbldobjdepends
  15429. (
  15430. bld_id,
  15431. obj_kind,
  15432. obj_signature,
  15433. obj_owner,
  15434. need_obj_kind,
  15435. need_obj_signature,
  15436. need_obj_owner)
  15437. values
  15438. (
  15439. "%SYSBLDNAME%",
  15440. 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15441. "%SYSBLDUSER%",
  15442. 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15443. "%SYSBLDUSER%"
  15444. );
  15445. insert into sysbldobjects
  15446. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15447. create_can_fail, drop_sql, drop_can_fail)
  15448. values
  15449. (
  15450. "%SYSBLDNAME%", 5, "Union (datetime,datetime,multiset)",
  15451. "%SYSBLDUSER%", 0,
  15452. "create function Union (datetime year to fraction(5),datetime year to fraction(5),multiset)
  15453. returns TimeSeries with (notemplatearg, handlesnulls)
  15454. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_set_sql)"" language c;
  15455. ",
  15456. "f",
  15457. "drop function Union (datetime year to fraction(5),datetime year to fraction(5),multiset);
  15458. ",
  15459. "f"
  15460. );
  15461. insert into sysbldobjdepends
  15462. (
  15463. bld_id,
  15464. obj_kind,
  15465. obj_signature,
  15466. obj_owner,
  15467. need_obj_kind,
  15468. need_obj_signature,
  15469. need_obj_owner)
  15470. values
  15471. (
  15472. "%SYSBLDNAME%",
  15473. 5, "Union (datetime,datetime,multiset)",
  15474. "%SYSBLDUSER%",
  15475. 7, "TimeSeries",
  15476. "%SYSBLDUSER%"
  15477. );
  15478. insert into sysbldobjects
  15479. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15480. create_can_fail, drop_sql, drop_can_fail)
  15481. values
  15482. (
  15483. "%SYSBLDNAME%", 69, "Union (datetime,datetime,multiset)",
  15484. "%SYSBLDUSER%", 0,
  15485. "grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),multiset) to public;
  15486. ",
  15487. "f",
  15488. "",
  15489. "f"
  15490. );
  15491. insert into sysbldobjdepends
  15492. (
  15493. bld_id,
  15494. obj_kind,
  15495. obj_signature,
  15496. obj_owner,
  15497. need_obj_kind,
  15498. need_obj_signature,
  15499. need_obj_owner)
  15500. values
  15501. (
  15502. "%SYSBLDNAME%",
  15503. 69, "Union (datetime,datetime,multiset)",
  15504. "%SYSBLDUSER%",
  15505. 5, "Union (datetime,datetime,multiset)",
  15506. "%SYSBLDUSER%"
  15507. );
  15508. insert into sysbldobjects
  15509. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15510. create_can_fail, drop_sql, drop_can_fail)
  15511. values
  15512. (
  15513. "%SYSBLDNAME%", 5, "IsRegular (TimeSeries)",
  15514. "%SYSBLDUSER%", 0,
  15515. "create function IsRegular (TimeSeries)
  15516. returns boolean with (not variant, parallelizable)
  15517. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_regular_sql)"" language c;
  15518. ",
  15519. "f",
  15520. "drop function IsRegular (TimeSeries);
  15521. ",
  15522. "f"
  15523. );
  15524. insert into sysbldobjdepends
  15525. (
  15526. bld_id,
  15527. obj_kind,
  15528. obj_signature,
  15529. obj_owner,
  15530. need_obj_kind,
  15531. need_obj_signature,
  15532. need_obj_owner)
  15533. values
  15534. (
  15535. "%SYSBLDNAME%",
  15536. 5, "IsRegular (TimeSeries)",
  15537. "%SYSBLDUSER%",
  15538. 7, "TimeSeries",
  15539. "%SYSBLDUSER%"
  15540. );
  15541. insert into sysbldobjects
  15542. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15543. create_can_fail, drop_sql, drop_can_fail)
  15544. values
  15545. (
  15546. "%SYSBLDNAME%", 69, "IsRegular (TimeSeries)",
  15547. "%SYSBLDUSER%", 0,
  15548. "grant execute on function IsRegular (TimeSeries) to public;
  15549. ",
  15550. "f",
  15551. "",
  15552. "f"
  15553. );
  15554. insert into sysbldobjdepends
  15555. (
  15556. bld_id,
  15557. obj_kind,
  15558. obj_signature,
  15559. obj_owner,
  15560. need_obj_kind,
  15561. need_obj_signature,
  15562. need_obj_owner)
  15563. values
  15564. (
  15565. "%SYSBLDNAME%",
  15566. 69, "IsRegular (TimeSeries)",
  15567. "%SYSBLDUSER%",
  15568. 5, "IsRegular (TimeSeries)",
  15569. "%SYSBLDUSER%"
  15570. );
  15571. insert into sysbldobjects
  15572. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15573. create_can_fail, drop_sql, drop_can_fail)
  15574. values
  15575. (
  15576. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
  15577. "%SYSBLDUSER%", 0,
  15578. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries)
  15579. returns TimeSeries with (notemplatearg, handlesnulls)
  15580. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_1_sql)"" language c;
  15581. ",
  15582. "f",
  15583. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries);
  15584. ",
  15585. "f"
  15586. );
  15587. insert into sysbldobjdepends
  15588. (
  15589. bld_id,
  15590. obj_kind,
  15591. obj_signature,
  15592. obj_owner,
  15593. need_obj_kind,
  15594. need_obj_signature,
  15595. need_obj_owner)
  15596. values
  15597. (
  15598. "%SYSBLDNAME%",
  15599. 5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
  15600. "%SYSBLDUSER%",
  15601. 7, "TimeSeries",
  15602. "%SYSBLDUSER%"
  15603. );
  15604. insert into sysbldobjects
  15605. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15606. create_can_fail, drop_sql, drop_can_fail)
  15607. values
  15608. (
  15609. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries)",
  15610. "%SYSBLDUSER%", 0,
  15611. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries) to public;
  15612. ",
  15613. "f",
  15614. "",
  15615. "f"
  15616. );
  15617. insert into sysbldobjdepends
  15618. (
  15619. bld_id,
  15620. obj_kind,
  15621. obj_signature,
  15622. obj_owner,
  15623. need_obj_kind,
  15624. need_obj_signature,
  15625. need_obj_owner)
  15626. values
  15627. (
  15628. "%SYSBLDNAME%",
  15629. 69, "Apply (lvarchar,datetime,datetime,TimeSeries)",
  15630. "%SYSBLDUSER%",
  15631. 5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
  15632. "%SYSBLDUSER%"
  15633. );
  15634. insert into sysbldobjects
  15635. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15636. create_can_fail, drop_sql, drop_can_fail)
  15637. values
  15638. (
  15639. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  15640. "%SYSBLDUSER%", 0,
  15641. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
  15642. returns TimeSeries with (notemplatearg, handlesnulls)
  15643. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_2_sql)"" language c;
  15644. ",
  15645. "f",
  15646. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);
  15647. ",
  15648. "f"
  15649. );
  15650. insert into sysbldobjdepends
  15651. (
  15652. bld_id,
  15653. obj_kind,
  15654. obj_signature,
  15655. obj_owner,
  15656. need_obj_kind,
  15657. need_obj_signature,
  15658. need_obj_owner)
  15659. values
  15660. (
  15661. "%SYSBLDNAME%",
  15662. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  15663. "%SYSBLDUSER%",
  15664. 7, "TimeSeries",
  15665. "%SYSBLDUSER%"
  15666. );
  15667. insert into sysbldobjects
  15668. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15669. create_can_fail, drop_sql, drop_can_fail)
  15670. values
  15671. (
  15672. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  15673. "%SYSBLDUSER%", 0,
  15674. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;
  15675. ",
  15676. "f",
  15677. "",
  15678. "f"
  15679. );
  15680. insert into sysbldobjdepends
  15681. (
  15682. bld_id,
  15683. obj_kind,
  15684. obj_signature,
  15685. obj_owner,
  15686. need_obj_kind,
  15687. need_obj_signature,
  15688. need_obj_owner)
  15689. values
  15690. (
  15691. "%SYSBLDNAME%",
  15692. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  15693. "%SYSBLDUSER%",
  15694. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  15695. "%SYSBLDUSER%"
  15696. );
  15697. insert into sysbldobjects
  15698. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15699. create_can_fail, drop_sql, drop_can_fail)
  15700. values
  15701. (
  15702. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15703. "%SYSBLDUSER%", 0,
  15704. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
  15705. returns TimeSeries with (notemplatearg, handlesnulls)
  15706. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_3_sql)"" language c;
  15707. ",
  15708. "f",
  15709. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);
  15710. ",
  15711. "f"
  15712. );
  15713. insert into sysbldobjdepends
  15714. (
  15715. bld_id,
  15716. obj_kind,
  15717. obj_signature,
  15718. obj_owner,
  15719. need_obj_kind,
  15720. need_obj_signature,
  15721. need_obj_owner)
  15722. values
  15723. (
  15724. "%SYSBLDNAME%",
  15725. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15726. "%SYSBLDUSER%",
  15727. 7, "TimeSeries",
  15728. "%SYSBLDUSER%"
  15729. );
  15730. insert into sysbldobjects
  15731. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15732. create_can_fail, drop_sql, drop_can_fail)
  15733. values
  15734. (
  15735. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15736. "%SYSBLDUSER%", 0,
  15737. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;
  15738. ",
  15739. "f",
  15740. "",
  15741. "f"
  15742. );
  15743. insert into sysbldobjdepends
  15744. (
  15745. bld_id,
  15746. obj_kind,
  15747. obj_signature,
  15748. obj_owner,
  15749. need_obj_kind,
  15750. need_obj_signature,
  15751. need_obj_owner)
  15752. values
  15753. (
  15754. "%SYSBLDNAME%",
  15755. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15756. "%SYSBLDUSER%",
  15757. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  15758. "%SYSBLDUSER%"
  15759. );
  15760. insert into sysbldobjects
  15761. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15762. create_can_fail, drop_sql, drop_can_fail)
  15763. values
  15764. (
  15765. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15766. "%SYSBLDUSER%", 0,
  15767. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15768. returns TimeSeries with (notemplatearg, handlesnulls)
  15769. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_4_sql)"" language c;
  15770. ",
  15771. "f",
  15772. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15773. ",
  15774. "f"
  15775. );
  15776. insert into sysbldobjdepends
  15777. (
  15778. bld_id,
  15779. obj_kind,
  15780. obj_signature,
  15781. obj_owner,
  15782. need_obj_kind,
  15783. need_obj_signature,
  15784. need_obj_owner)
  15785. values
  15786. (
  15787. "%SYSBLDNAME%",
  15788. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15789. "%SYSBLDUSER%",
  15790. 7, "TimeSeries",
  15791. "%SYSBLDUSER%"
  15792. );
  15793. insert into sysbldobjects
  15794. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15795. create_can_fail, drop_sql, drop_can_fail)
  15796. values
  15797. (
  15798. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15799. "%SYSBLDUSER%", 0,
  15800. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15801. ",
  15802. "f",
  15803. "",
  15804. "f"
  15805. );
  15806. insert into sysbldobjdepends
  15807. (
  15808. bld_id,
  15809. obj_kind,
  15810. obj_signature,
  15811. obj_owner,
  15812. need_obj_kind,
  15813. need_obj_signature,
  15814. need_obj_owner)
  15815. values
  15816. (
  15817. "%SYSBLDNAME%",
  15818. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15819. "%SYSBLDUSER%",
  15820. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15821. "%SYSBLDUSER%"
  15822. );
  15823. insert into sysbldobjects
  15824. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15825. create_can_fail, drop_sql, drop_can_fail)
  15826. values
  15827. (
  15828. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15829. "%SYSBLDUSER%", 0,
  15830. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15831. returns TimeSeries with (notemplatearg, handlesnulls)
  15832. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_5_sql)"" language c;
  15833. ",
  15834. "f",
  15835. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15836. ",
  15837. "f"
  15838. );
  15839. insert into sysbldobjdepends
  15840. (
  15841. bld_id,
  15842. obj_kind,
  15843. obj_signature,
  15844. obj_owner,
  15845. need_obj_kind,
  15846. need_obj_signature,
  15847. need_obj_owner)
  15848. values
  15849. (
  15850. "%SYSBLDNAME%",
  15851. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15852. "%SYSBLDUSER%",
  15853. 7, "TimeSeries",
  15854. "%SYSBLDUSER%"
  15855. );
  15856. insert into sysbldobjects
  15857. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15858. create_can_fail, drop_sql, drop_can_fail)
  15859. values
  15860. (
  15861. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15862. "%SYSBLDUSER%", 0,
  15863. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15864. ",
  15865. "f",
  15866. "",
  15867. "f"
  15868. );
  15869. insert into sysbldobjdepends
  15870. (
  15871. bld_id,
  15872. obj_kind,
  15873. obj_signature,
  15874. obj_owner,
  15875. need_obj_kind,
  15876. need_obj_signature,
  15877. need_obj_owner)
  15878. values
  15879. (
  15880. "%SYSBLDNAME%",
  15881. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15882. "%SYSBLDUSER%",
  15883. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15884. "%SYSBLDUSER%"
  15885. );
  15886. insert into sysbldobjects
  15887. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15888. create_can_fail, drop_sql, drop_can_fail)
  15889. values
  15890. (
  15891. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15892. "%SYSBLDUSER%", 0,
  15893. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15894. returns TimeSeries with (notemplatearg, handlesnulls)
  15895. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_6_sql)"" language c;
  15896. ",
  15897. "f",
  15898. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15899. ",
  15900. "f"
  15901. );
  15902. insert into sysbldobjdepends
  15903. (
  15904. bld_id,
  15905. obj_kind,
  15906. obj_signature,
  15907. obj_owner,
  15908. need_obj_kind,
  15909. need_obj_signature,
  15910. need_obj_owner)
  15911. values
  15912. (
  15913. "%SYSBLDNAME%",
  15914. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15915. "%SYSBLDUSER%",
  15916. 7, "TimeSeries",
  15917. "%SYSBLDUSER%"
  15918. );
  15919. insert into sysbldobjects
  15920. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15921. create_can_fail, drop_sql, drop_can_fail)
  15922. values
  15923. (
  15924. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15925. "%SYSBLDUSER%", 0,
  15926. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15927. ",
  15928. "f",
  15929. "",
  15930. "f"
  15931. );
  15932. insert into sysbldobjdepends
  15933. (
  15934. bld_id,
  15935. obj_kind,
  15936. obj_signature,
  15937. obj_owner,
  15938. need_obj_kind,
  15939. need_obj_signature,
  15940. need_obj_owner)
  15941. values
  15942. (
  15943. "%SYSBLDNAME%",
  15944. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15945. "%SYSBLDUSER%",
  15946. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15947. "%SYSBLDUSER%"
  15948. );
  15949. insert into sysbldobjects
  15950. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15951. create_can_fail, drop_sql, drop_can_fail)
  15952. values
  15953. (
  15954. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15955. "%SYSBLDUSER%", 0,
  15956. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  15957. returns TimeSeries with (notemplatearg, handlesnulls)
  15958. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_7_sql)"" language c;
  15959. ",
  15960. "f",
  15961. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  15962. ",
  15963. "f"
  15964. );
  15965. insert into sysbldobjdepends
  15966. (
  15967. bld_id,
  15968. obj_kind,
  15969. obj_signature,
  15970. obj_owner,
  15971. need_obj_kind,
  15972. need_obj_signature,
  15973. need_obj_owner)
  15974. values
  15975. (
  15976. "%SYSBLDNAME%",
  15977. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15978. "%SYSBLDUSER%",
  15979. 7, "TimeSeries",
  15980. "%SYSBLDUSER%"
  15981. );
  15982. insert into sysbldobjects
  15983. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  15984. create_can_fail, drop_sql, drop_can_fail)
  15985. values
  15986. (
  15987. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  15988. "%SYSBLDUSER%", 0,
  15989. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  15990. ",
  15991. "f",
  15992. "",
  15993. "f"
  15994. );
  15995. insert into sysbldobjdepends
  15996. (
  15997. bld_id,
  15998. obj_kind,
  15999. obj_signature,
  16000. obj_owner,
  16001. need_obj_kind,
  16002. need_obj_signature,
  16003. need_obj_owner)
  16004. values
  16005. (
  16006. "%SYSBLDNAME%",
  16007. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16008. "%SYSBLDUSER%",
  16009. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16010. "%SYSBLDUSER%"
  16011. );
  16012. insert into sysbldobjects
  16013. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16014. create_can_fail, drop_sql, drop_can_fail)
  16015. values
  16016. (
  16017. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16018. "%SYSBLDUSER%", 0,
  16019. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16020. returns TimeSeries with (notemplatearg, handlesnulls)
  16021. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_8_sql)"" language c;
  16022. ",
  16023. "f",
  16024. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16025. ",
  16026. "f"
  16027. );
  16028. insert into sysbldobjdepends
  16029. (
  16030. bld_id,
  16031. obj_kind,
  16032. obj_signature,
  16033. obj_owner,
  16034. need_obj_kind,
  16035. need_obj_signature,
  16036. need_obj_owner)
  16037. values
  16038. (
  16039. "%SYSBLDNAME%",
  16040. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16041. "%SYSBLDUSER%",
  16042. 7, "TimeSeries",
  16043. "%SYSBLDUSER%"
  16044. );
  16045. insert into sysbldobjects
  16046. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16047. create_can_fail, drop_sql, drop_can_fail)
  16048. values
  16049. (
  16050. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16051. "%SYSBLDUSER%", 0,
  16052. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16053. ",
  16054. "f",
  16055. "",
  16056. "f"
  16057. );
  16058. insert into sysbldobjdepends
  16059. (
  16060. bld_id,
  16061. obj_kind,
  16062. obj_signature,
  16063. obj_owner,
  16064. need_obj_kind,
  16065. need_obj_signature,
  16066. need_obj_owner)
  16067. values
  16068. (
  16069. "%SYSBLDNAME%",
  16070. 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16071. "%SYSBLDUSER%",
  16072. 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16073. "%SYSBLDUSER%"
  16074. );
  16075. insert into sysbldobjects
  16076. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16077. create_can_fail, drop_sql, drop_can_fail)
  16078. values
  16079. (
  16080. "%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,multiset)",
  16081. "%SYSBLDUSER%", 0,
  16082. "create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset)
  16083. returns TimeSeries with (notemplatearg, handlesnulls)
  16084. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_set_sql)"" language c;
  16085. ",
  16086. "f",
  16087. "drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset);
  16088. ",
  16089. "f"
  16090. );
  16091. insert into sysbldobjdepends
  16092. (
  16093. bld_id,
  16094. obj_kind,
  16095. obj_signature,
  16096. obj_owner,
  16097. need_obj_kind,
  16098. need_obj_signature,
  16099. need_obj_owner)
  16100. values
  16101. (
  16102. "%SYSBLDNAME%",
  16103. 5, "Apply (lvarchar,datetime,datetime,multiset)",
  16104. "%SYSBLDUSER%",
  16105. 7, "TimeSeries",
  16106. "%SYSBLDUSER%"
  16107. );
  16108. insert into sysbldobjects
  16109. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16110. create_can_fail, drop_sql, drop_can_fail)
  16111. values
  16112. (
  16113. "%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,multiset)",
  16114. "%SYSBLDUSER%", 0,
  16115. "grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset) to public;
  16116. ",
  16117. "f",
  16118. "",
  16119. "f"
  16120. );
  16121. insert into sysbldobjdepends
  16122. (
  16123. bld_id,
  16124. obj_kind,
  16125. obj_signature,
  16126. obj_owner,
  16127. need_obj_kind,
  16128. need_obj_signature,
  16129. need_obj_owner)
  16130. values
  16131. (
  16132. "%SYSBLDNAME%",
  16133. 69, "Apply (lvarchar,datetime,datetime,multiset)",
  16134. "%SYSBLDUSER%",
  16135. 5, "Apply (lvarchar,datetime,datetime,multiset)",
  16136. "%SYSBLDUSER%"
  16137. );
  16138. insert into sysbldobjects
  16139. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16140. create_can_fail, drop_sql, drop_can_fail)
  16141. values
  16142. (
  16143. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
  16144. "%SYSBLDUSER%", 0,
  16145. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries)
  16146. returns TimeSeries with (notemplatearg, handlesnulls)
  16147. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_1_sql)"" language c;
  16148. ",
  16149. "f",
  16150. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries);
  16151. ",
  16152. "f"
  16153. );
  16154. insert into sysbldobjdepends
  16155. (
  16156. bld_id,
  16157. obj_kind,
  16158. obj_signature,
  16159. obj_owner,
  16160. need_obj_kind,
  16161. need_obj_signature,
  16162. need_obj_owner)
  16163. values
  16164. (
  16165. "%SYSBLDNAME%",
  16166. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
  16167. "%SYSBLDUSER%",
  16168. 7, "TimeSeries",
  16169. "%SYSBLDUSER%"
  16170. );
  16171. insert into sysbldobjects
  16172. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16173. create_can_fail, drop_sql, drop_can_fail)
  16174. values
  16175. (
  16176. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
  16177. "%SYSBLDUSER%", 0,
  16178. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries) to public;
  16179. ",
  16180. "f",
  16181. "",
  16182. "f"
  16183. );
  16184. insert into sysbldobjdepends
  16185. (
  16186. bld_id,
  16187. obj_kind,
  16188. obj_signature,
  16189. obj_owner,
  16190. need_obj_kind,
  16191. need_obj_signature,
  16192. need_obj_owner)
  16193. values
  16194. (
  16195. "%SYSBLDNAME%",
  16196. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
  16197. "%SYSBLDUSER%",
  16198. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
  16199. "%SYSBLDUSER%"
  16200. );
  16201. insert into sysbldobjects
  16202. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16203. create_can_fail, drop_sql, drop_can_fail)
  16204. values
  16205. (
  16206. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  16207. "%SYSBLDUSER%", 0,
  16208. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
  16209. returns TimeSeries with (notemplatearg, handlesnulls)
  16210. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_2_sql)"" language c;
  16211. ",
  16212. "f",
  16213. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);
  16214. ",
  16215. "f"
  16216. );
  16217. insert into sysbldobjdepends
  16218. (
  16219. bld_id,
  16220. obj_kind,
  16221. obj_signature,
  16222. obj_owner,
  16223. need_obj_kind,
  16224. need_obj_signature,
  16225. need_obj_owner)
  16226. values
  16227. (
  16228. "%SYSBLDNAME%",
  16229. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  16230. "%SYSBLDUSER%",
  16231. 7, "TimeSeries",
  16232. "%SYSBLDUSER%"
  16233. );
  16234. insert into sysbldobjects
  16235. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16236. create_can_fail, drop_sql, drop_can_fail)
  16237. values
  16238. (
  16239. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  16240. "%SYSBLDUSER%", 0,
  16241. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;
  16242. ",
  16243. "f",
  16244. "",
  16245. "f"
  16246. );
  16247. insert into sysbldobjdepends
  16248. (
  16249. bld_id,
  16250. obj_kind,
  16251. obj_signature,
  16252. obj_owner,
  16253. need_obj_kind,
  16254. need_obj_signature,
  16255. need_obj_owner)
  16256. values
  16257. (
  16258. "%SYSBLDNAME%",
  16259. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  16260. "%SYSBLDUSER%",
  16261. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
  16262. "%SYSBLDUSER%"
  16263. );
  16264. insert into sysbldobjects
  16265. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16266. create_can_fail, drop_sql, drop_can_fail)
  16267. values
  16268. (
  16269. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  16270. "%SYSBLDUSER%", 0,
  16271. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
  16272. returns TimeSeries with (notemplatearg, handlesnulls)
  16273. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_3_sql)"" language c;
  16274. ",
  16275. "f",
  16276. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);
  16277. ",
  16278. "f"
  16279. );
  16280. insert into sysbldobjdepends
  16281. (
  16282. bld_id,
  16283. obj_kind,
  16284. obj_signature,
  16285. obj_owner,
  16286. need_obj_kind,
  16287. need_obj_signature,
  16288. need_obj_owner)
  16289. values
  16290. (
  16291. "%SYSBLDNAME%",
  16292. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  16293. "%SYSBLDUSER%",
  16294. 7, "TimeSeries",
  16295. "%SYSBLDUSER%"
  16296. );
  16297. insert into sysbldobjects
  16298. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16299. create_can_fail, drop_sql, drop_can_fail)
  16300. values
  16301. (
  16302. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  16303. "%SYSBLDUSER%", 0,
  16304. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;
  16305. ",
  16306. "f",
  16307. "",
  16308. "f"
  16309. );
  16310. insert into sysbldobjdepends
  16311. (
  16312. bld_id,
  16313. obj_kind,
  16314. obj_signature,
  16315. obj_owner,
  16316. need_obj_kind,
  16317. need_obj_signature,
  16318. need_obj_owner)
  16319. values
  16320. (
  16321. "%SYSBLDNAME%",
  16322. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  16323. "%SYSBLDUSER%",
  16324. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
  16325. "%SYSBLDUSER%"
  16326. );
  16327. insert into sysbldobjects
  16328. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16329. create_can_fail, drop_sql, drop_can_fail)
  16330. values
  16331. (
  16332. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16333. "%SYSBLDUSER%", 0,
  16334. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16335. returns TimeSeries with (notemplatearg, handlesnulls)
  16336. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_4_sql)"" language c;
  16337. ",
  16338. "f",
  16339. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16340. ",
  16341. "f"
  16342. );
  16343. insert into sysbldobjdepends
  16344. (
  16345. bld_id,
  16346. obj_kind,
  16347. obj_signature,
  16348. obj_owner,
  16349. need_obj_kind,
  16350. need_obj_signature,
  16351. need_obj_owner)
  16352. values
  16353. (
  16354. "%SYSBLDNAME%",
  16355. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16356. "%SYSBLDUSER%",
  16357. 7, "TimeSeries",
  16358. "%SYSBLDUSER%"
  16359. );
  16360. insert into sysbldobjects
  16361. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16362. create_can_fail, drop_sql, drop_can_fail)
  16363. values
  16364. (
  16365. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16366. "%SYSBLDUSER%", 0,
  16367. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16368. ",
  16369. "f",
  16370. "",
  16371. "f"
  16372. );
  16373. insert into sysbldobjdepends
  16374. (
  16375. bld_id,
  16376. obj_kind,
  16377. obj_signature,
  16378. obj_owner,
  16379. need_obj_kind,
  16380. need_obj_signature,
  16381. need_obj_owner)
  16382. values
  16383. (
  16384. "%SYSBLDNAME%",
  16385. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16386. "%SYSBLDUSER%",
  16387. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16388. "%SYSBLDUSER%"
  16389. );
  16390. insert into sysbldobjects
  16391. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16392. create_can_fail, drop_sql, drop_can_fail)
  16393. values
  16394. (
  16395. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16396. "%SYSBLDUSER%", 0,
  16397. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16398. returns TimeSeries with (notemplatearg, handlesnulls)
  16399. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_5_sql)"" language c;
  16400. ",
  16401. "f",
  16402. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16403. ",
  16404. "f"
  16405. );
  16406. insert into sysbldobjdepends
  16407. (
  16408. bld_id,
  16409. obj_kind,
  16410. obj_signature,
  16411. obj_owner,
  16412. need_obj_kind,
  16413. need_obj_signature,
  16414. need_obj_owner)
  16415. values
  16416. (
  16417. "%SYSBLDNAME%",
  16418. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16419. "%SYSBLDUSER%",
  16420. 7, "TimeSeries",
  16421. "%SYSBLDUSER%"
  16422. );
  16423. insert into sysbldobjects
  16424. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16425. create_can_fail, drop_sql, drop_can_fail)
  16426. values
  16427. (
  16428. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16429. "%SYSBLDUSER%", 0,
  16430. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16431. ",
  16432. "f",
  16433. "",
  16434. "f"
  16435. );
  16436. insert into sysbldobjdepends
  16437. (
  16438. bld_id,
  16439. obj_kind,
  16440. obj_signature,
  16441. obj_owner,
  16442. need_obj_kind,
  16443. need_obj_signature,
  16444. need_obj_owner)
  16445. values
  16446. (
  16447. "%SYSBLDNAME%",
  16448. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16449. "%SYSBLDUSER%",
  16450. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16451. "%SYSBLDUSER%"
  16452. );
  16453. insert into sysbldobjects
  16454. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16455. create_can_fail, drop_sql, drop_can_fail)
  16456. values
  16457. (
  16458. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16459. "%SYSBLDUSER%", 0,
  16460. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16461. returns TimeSeries with (notemplatearg, handlesnulls)
  16462. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_6_sql)"" language c;
  16463. ",
  16464. "f",
  16465. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16466. ",
  16467. "f"
  16468. );
  16469. insert into sysbldobjdepends
  16470. (
  16471. bld_id,
  16472. obj_kind,
  16473. obj_signature,
  16474. obj_owner,
  16475. need_obj_kind,
  16476. need_obj_signature,
  16477. need_obj_owner)
  16478. values
  16479. (
  16480. "%SYSBLDNAME%",
  16481. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16482. "%SYSBLDUSER%",
  16483. 7, "TimeSeries",
  16484. "%SYSBLDUSER%"
  16485. );
  16486. insert into sysbldobjects
  16487. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16488. create_can_fail, drop_sql, drop_can_fail)
  16489. values
  16490. (
  16491. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16492. "%SYSBLDUSER%", 0,
  16493. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16494. ",
  16495. "f",
  16496. "",
  16497. "f"
  16498. );
  16499. insert into sysbldobjdepends
  16500. (
  16501. bld_id,
  16502. obj_kind,
  16503. obj_signature,
  16504. obj_owner,
  16505. need_obj_kind,
  16506. need_obj_signature,
  16507. need_obj_owner)
  16508. values
  16509. (
  16510. "%SYSBLDNAME%",
  16511. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16512. "%SYSBLDUSER%",
  16513. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16514. "%SYSBLDUSER%"
  16515. );
  16516. insert into sysbldobjects
  16517. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16518. create_can_fail, drop_sql, drop_can_fail)
  16519. values
  16520. (
  16521. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16522. "%SYSBLDUSER%", 0,
  16523. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16524. returns TimeSeries with (notemplatearg, handlesnulls)
  16525. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_7_sql)"" language c;
  16526. ",
  16527. "f",
  16528. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16529. ",
  16530. "f"
  16531. );
  16532. insert into sysbldobjdepends
  16533. (
  16534. bld_id,
  16535. obj_kind,
  16536. obj_signature,
  16537. obj_owner,
  16538. need_obj_kind,
  16539. need_obj_signature,
  16540. need_obj_owner)
  16541. values
  16542. (
  16543. "%SYSBLDNAME%",
  16544. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16545. "%SYSBLDUSER%",
  16546. 7, "TimeSeries",
  16547. "%SYSBLDUSER%"
  16548. );
  16549. insert into sysbldobjects
  16550. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16551. create_can_fail, drop_sql, drop_can_fail)
  16552. values
  16553. (
  16554. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16555. "%SYSBLDUSER%", 0,
  16556. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16557. ",
  16558. "f",
  16559. "",
  16560. "f"
  16561. );
  16562. insert into sysbldobjdepends
  16563. (
  16564. bld_id,
  16565. obj_kind,
  16566. obj_signature,
  16567. obj_owner,
  16568. need_obj_kind,
  16569. need_obj_signature,
  16570. need_obj_owner)
  16571. values
  16572. (
  16573. "%SYSBLDNAME%",
  16574. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16575. "%SYSBLDUSER%",
  16576. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16577. "%SYSBLDUSER%"
  16578. );
  16579. insert into sysbldobjects
  16580. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16581. create_can_fail, drop_sql, drop_can_fail)
  16582. values
  16583. (
  16584. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16585. "%SYSBLDUSER%", 0,
  16586. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16587. returns TimeSeries with (notemplatearg, handlesnulls)
  16588. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_8_sql)"" language c;
  16589. ",
  16590. "f",
  16591. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16592. ",
  16593. "f"
  16594. );
  16595. insert into sysbldobjdepends
  16596. (
  16597. bld_id,
  16598. obj_kind,
  16599. obj_signature,
  16600. obj_owner,
  16601. need_obj_kind,
  16602. need_obj_signature,
  16603. need_obj_owner)
  16604. values
  16605. (
  16606. "%SYSBLDNAME%",
  16607. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16608. "%SYSBLDUSER%",
  16609. 7, "TimeSeries",
  16610. "%SYSBLDUSER%"
  16611. );
  16612. insert into sysbldobjects
  16613. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16614. create_can_fail, drop_sql, drop_can_fail)
  16615. values
  16616. (
  16617. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16618. "%SYSBLDUSER%", 0,
  16619. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16620. ",
  16621. "f",
  16622. "",
  16623. "f"
  16624. );
  16625. insert into sysbldobjdepends
  16626. (
  16627. bld_id,
  16628. obj_kind,
  16629. obj_signature,
  16630. obj_owner,
  16631. need_obj_kind,
  16632. need_obj_signature,
  16633. need_obj_owner)
  16634. values
  16635. (
  16636. "%SYSBLDNAME%",
  16637. 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16638. "%SYSBLDUSER%",
  16639. 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16640. "%SYSBLDUSER%"
  16641. );
  16642. insert into sysbldobjects
  16643. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16644. create_can_fail, drop_sql, drop_can_fail)
  16645. values
  16646. (
  16647. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
  16648. "%SYSBLDUSER%", 0,
  16649. "create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset)
  16650. returns TimeSeries with (notemplatearg, handlesnulls)
  16651. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_set_sql)"" language c;
  16652. ",
  16653. "f",
  16654. "drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset);
  16655. ",
  16656. "f"
  16657. );
  16658. insert into sysbldobjdepends
  16659. (
  16660. bld_id,
  16661. obj_kind,
  16662. obj_signature,
  16663. obj_owner,
  16664. need_obj_kind,
  16665. need_obj_signature,
  16666. need_obj_owner)
  16667. values
  16668. (
  16669. "%SYSBLDNAME%",
  16670. 5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
  16671. "%SYSBLDUSER%",
  16672. 7, "TimeSeries",
  16673. "%SYSBLDUSER%"
  16674. );
  16675. insert into sysbldobjects
  16676. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16677. create_can_fail, drop_sql, drop_can_fail)
  16678. values
  16679. (
  16680. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
  16681. "%SYSBLDUSER%", 0,
  16682. "grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset) to public;
  16683. ",
  16684. "f",
  16685. "",
  16686. "f"
  16687. );
  16688. insert into sysbldobjdepends
  16689. (
  16690. bld_id,
  16691. obj_kind,
  16692. obj_signature,
  16693. obj_owner,
  16694. need_obj_kind,
  16695. need_obj_signature,
  16696. need_obj_owner)
  16697. values
  16698. (
  16699. "%SYSBLDNAME%",
  16700. 69, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
  16701. "%SYSBLDUSER%",
  16702. 5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
  16703. "%SYSBLDUSER%"
  16704. );
  16705. insert into sysbldobjects
  16706. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16707. create_can_fail, drop_sql, drop_can_fail)
  16708. values
  16709. (
  16710. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries)",
  16711. "%SYSBLDUSER%", 0,
  16712. "create function Apply (lvarchar,TimeSeries)
  16713. returns TimeSeries with (notemplatearg, handlesnulls)
  16714. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_1_sql)"" language c;
  16715. ",
  16716. "f",
  16717. "drop function Apply (lvarchar,TimeSeries);
  16718. ",
  16719. "f"
  16720. );
  16721. insert into sysbldobjdepends
  16722. (
  16723. bld_id,
  16724. obj_kind,
  16725. obj_signature,
  16726. obj_owner,
  16727. need_obj_kind,
  16728. need_obj_signature,
  16729. need_obj_owner)
  16730. values
  16731. (
  16732. "%SYSBLDNAME%",
  16733. 5, "Apply (lvarchar,TimeSeries)",
  16734. "%SYSBLDUSER%",
  16735. 7, "TimeSeries",
  16736. "%SYSBLDUSER%"
  16737. );
  16738. insert into sysbldobjects
  16739. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16740. create_can_fail, drop_sql, drop_can_fail)
  16741. values
  16742. (
  16743. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries)",
  16744. "%SYSBLDUSER%", 0,
  16745. "grant execute on function Apply (lvarchar,TimeSeries) to public;
  16746. ",
  16747. "f",
  16748. "",
  16749. "f"
  16750. );
  16751. insert into sysbldobjdepends
  16752. (
  16753. bld_id,
  16754. obj_kind,
  16755. obj_signature,
  16756. obj_owner,
  16757. need_obj_kind,
  16758. need_obj_signature,
  16759. need_obj_owner)
  16760. values
  16761. (
  16762. "%SYSBLDNAME%",
  16763. 69, "Apply (lvarchar,TimeSeries)",
  16764. "%SYSBLDUSER%",
  16765. 5, "Apply (lvarchar,TimeSeries)",
  16766. "%SYSBLDUSER%"
  16767. );
  16768. insert into sysbldobjects
  16769. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16770. create_can_fail, drop_sql, drop_can_fail)
  16771. values
  16772. (
  16773. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries)",
  16774. "%SYSBLDUSER%", 0,
  16775. "create function Apply (lvarchar,TimeSeries,TimeSeries)
  16776. returns TimeSeries with (notemplatearg, handlesnulls)
  16777. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_2_sql)"" language c;
  16778. ",
  16779. "f",
  16780. "drop function Apply (lvarchar,TimeSeries,TimeSeries);
  16781. ",
  16782. "f"
  16783. );
  16784. insert into sysbldobjdepends
  16785. (
  16786. bld_id,
  16787. obj_kind,
  16788. obj_signature,
  16789. obj_owner,
  16790. need_obj_kind,
  16791. need_obj_signature,
  16792. need_obj_owner)
  16793. values
  16794. (
  16795. "%SYSBLDNAME%",
  16796. 5, "Apply (lvarchar,TimeSeries,TimeSeries)",
  16797. "%SYSBLDUSER%",
  16798. 7, "TimeSeries",
  16799. "%SYSBLDUSER%"
  16800. );
  16801. insert into sysbldobjects
  16802. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16803. create_can_fail, drop_sql, drop_can_fail)
  16804. values
  16805. (
  16806. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries)",
  16807. "%SYSBLDUSER%", 0,
  16808. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries) to public;
  16809. ",
  16810. "f",
  16811. "",
  16812. "f"
  16813. );
  16814. insert into sysbldobjdepends
  16815. (
  16816. bld_id,
  16817. obj_kind,
  16818. obj_signature,
  16819. obj_owner,
  16820. need_obj_kind,
  16821. need_obj_signature,
  16822. need_obj_owner)
  16823. values
  16824. (
  16825. "%SYSBLDNAME%",
  16826. 69, "Apply (lvarchar,TimeSeries,TimeSeries)",
  16827. "%SYSBLDUSER%",
  16828. 5, "Apply (lvarchar,TimeSeries,TimeSeries)",
  16829. "%SYSBLDUSER%"
  16830. );
  16831. insert into sysbldobjects
  16832. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16833. create_can_fail, drop_sql, drop_can_fail)
  16834. values
  16835. (
  16836. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  16837. "%SYSBLDUSER%", 0,
  16838. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)
  16839. returns TimeSeries with (notemplatearg, handlesnulls)
  16840. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_3_sql)"" language c;
  16841. ",
  16842. "f",
  16843. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries);
  16844. ",
  16845. "f"
  16846. );
  16847. insert into sysbldobjdepends
  16848. (
  16849. bld_id,
  16850. obj_kind,
  16851. obj_signature,
  16852. obj_owner,
  16853. need_obj_kind,
  16854. need_obj_signature,
  16855. need_obj_owner)
  16856. values
  16857. (
  16858. "%SYSBLDNAME%",
  16859. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  16860. "%SYSBLDUSER%",
  16861. 7, "TimeSeries",
  16862. "%SYSBLDUSER%"
  16863. );
  16864. insert into sysbldobjects
  16865. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16866. create_can_fail, drop_sql, drop_can_fail)
  16867. values
  16868. (
  16869. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  16870. "%SYSBLDUSER%", 0,
  16871. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries) to public;
  16872. ",
  16873. "f",
  16874. "",
  16875. "f"
  16876. );
  16877. insert into sysbldobjdepends
  16878. (
  16879. bld_id,
  16880. obj_kind,
  16881. obj_signature,
  16882. obj_owner,
  16883. need_obj_kind,
  16884. need_obj_signature,
  16885. need_obj_owner)
  16886. values
  16887. (
  16888. "%SYSBLDNAME%",
  16889. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  16890. "%SYSBLDUSER%",
  16891. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  16892. "%SYSBLDUSER%"
  16893. );
  16894. insert into sysbldobjects
  16895. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16896. create_can_fail, drop_sql, drop_can_fail)
  16897. values
  16898. (
  16899. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16900. "%SYSBLDUSER%", 0,
  16901. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16902. returns TimeSeries with (notemplatearg, handlesnulls)
  16903. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_4_sql)"" language c;
  16904. ",
  16905. "f",
  16906. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16907. ",
  16908. "f"
  16909. );
  16910. insert into sysbldobjdepends
  16911. (
  16912. bld_id,
  16913. obj_kind,
  16914. obj_signature,
  16915. obj_owner,
  16916. need_obj_kind,
  16917. need_obj_signature,
  16918. need_obj_owner)
  16919. values
  16920. (
  16921. "%SYSBLDNAME%",
  16922. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16923. "%SYSBLDUSER%",
  16924. 7, "TimeSeries",
  16925. "%SYSBLDUSER%"
  16926. );
  16927. insert into sysbldobjects
  16928. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16929. create_can_fail, drop_sql, drop_can_fail)
  16930. values
  16931. (
  16932. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16933. "%SYSBLDUSER%", 0,
  16934. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16935. ",
  16936. "f",
  16937. "",
  16938. "f"
  16939. );
  16940. insert into sysbldobjdepends
  16941. (
  16942. bld_id,
  16943. obj_kind,
  16944. obj_signature,
  16945. obj_owner,
  16946. need_obj_kind,
  16947. need_obj_signature,
  16948. need_obj_owner)
  16949. values
  16950. (
  16951. "%SYSBLDNAME%",
  16952. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16953. "%SYSBLDUSER%",
  16954. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16955. "%SYSBLDUSER%"
  16956. );
  16957. insert into sysbldobjects
  16958. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16959. create_can_fail, drop_sql, drop_can_fail)
  16960. values
  16961. (
  16962. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16963. "%SYSBLDUSER%", 0,
  16964. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  16965. returns TimeSeries with (notemplatearg, handlesnulls)
  16966. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_5_sql)"" language c;
  16967. ",
  16968. "f",
  16969. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  16970. ",
  16971. "f"
  16972. );
  16973. insert into sysbldobjdepends
  16974. (
  16975. bld_id,
  16976. obj_kind,
  16977. obj_signature,
  16978. obj_owner,
  16979. need_obj_kind,
  16980. need_obj_signature,
  16981. need_obj_owner)
  16982. values
  16983. (
  16984. "%SYSBLDNAME%",
  16985. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16986. "%SYSBLDUSER%",
  16987. 7, "TimeSeries",
  16988. "%SYSBLDUSER%"
  16989. );
  16990. insert into sysbldobjects
  16991. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  16992. create_can_fail, drop_sql, drop_can_fail)
  16993. values
  16994. (
  16995. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  16996. "%SYSBLDUSER%", 0,
  16997. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  16998. ",
  16999. "f",
  17000. "",
  17001. "f"
  17002. );
  17003. insert into sysbldobjdepends
  17004. (
  17005. bld_id,
  17006. obj_kind,
  17007. obj_signature,
  17008. obj_owner,
  17009. need_obj_kind,
  17010. need_obj_signature,
  17011. need_obj_owner)
  17012. values
  17013. (
  17014. "%SYSBLDNAME%",
  17015. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17016. "%SYSBLDUSER%",
  17017. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17018. "%SYSBLDUSER%"
  17019. );
  17020. insert into sysbldobjects
  17021. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17022. create_can_fail, drop_sql, drop_can_fail)
  17023. values
  17024. (
  17025. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17026. "%SYSBLDUSER%", 0,
  17027. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17028. returns TimeSeries with (notemplatearg, handlesnulls)
  17029. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_6_sql)"" language c;
  17030. ",
  17031. "f",
  17032. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17033. ",
  17034. "f"
  17035. );
  17036. insert into sysbldobjdepends
  17037. (
  17038. bld_id,
  17039. obj_kind,
  17040. obj_signature,
  17041. obj_owner,
  17042. need_obj_kind,
  17043. need_obj_signature,
  17044. need_obj_owner)
  17045. values
  17046. (
  17047. "%SYSBLDNAME%",
  17048. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17049. "%SYSBLDUSER%",
  17050. 7, "TimeSeries",
  17051. "%SYSBLDUSER%"
  17052. );
  17053. insert into sysbldobjects
  17054. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17055. create_can_fail, drop_sql, drop_can_fail)
  17056. values
  17057. (
  17058. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17059. "%SYSBLDUSER%", 0,
  17060. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17061. ",
  17062. "f",
  17063. "",
  17064. "f"
  17065. );
  17066. insert into sysbldobjdepends
  17067. (
  17068. bld_id,
  17069. obj_kind,
  17070. obj_signature,
  17071. obj_owner,
  17072. need_obj_kind,
  17073. need_obj_signature,
  17074. need_obj_owner)
  17075. values
  17076. (
  17077. "%SYSBLDNAME%",
  17078. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17079. "%SYSBLDUSER%",
  17080. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17081. "%SYSBLDUSER%"
  17082. );
  17083. insert into sysbldobjects
  17084. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17085. create_can_fail, drop_sql, drop_can_fail)
  17086. values
  17087. (
  17088. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17089. "%SYSBLDUSER%", 0,
  17090. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17091. returns TimeSeries with (notemplatearg, handlesnulls)
  17092. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_7_sql)"" language c;
  17093. ",
  17094. "f",
  17095. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17096. ",
  17097. "f"
  17098. );
  17099. insert into sysbldobjdepends
  17100. (
  17101. bld_id,
  17102. obj_kind,
  17103. obj_signature,
  17104. obj_owner,
  17105. need_obj_kind,
  17106. need_obj_signature,
  17107. need_obj_owner)
  17108. values
  17109. (
  17110. "%SYSBLDNAME%",
  17111. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17112. "%SYSBLDUSER%",
  17113. 7, "TimeSeries",
  17114. "%SYSBLDUSER%"
  17115. );
  17116. insert into sysbldobjects
  17117. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17118. create_can_fail, drop_sql, drop_can_fail)
  17119. values
  17120. (
  17121. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17122. "%SYSBLDUSER%", 0,
  17123. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17124. ",
  17125. "f",
  17126. "",
  17127. "f"
  17128. );
  17129. insert into sysbldobjdepends
  17130. (
  17131. bld_id,
  17132. obj_kind,
  17133. obj_signature,
  17134. obj_owner,
  17135. need_obj_kind,
  17136. need_obj_signature,
  17137. need_obj_owner)
  17138. values
  17139. (
  17140. "%SYSBLDNAME%",
  17141. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17142. "%SYSBLDUSER%",
  17143. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17144. "%SYSBLDUSER%"
  17145. );
  17146. insert into sysbldobjects
  17147. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17148. create_can_fail, drop_sql, drop_can_fail)
  17149. values
  17150. (
  17151. "%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17152. "%SYSBLDUSER%", 0,
  17153. "create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17154. returns TimeSeries with (notemplatearg, handlesnulls)
  17155. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_8_sql)"" language c;
  17156. ",
  17157. "f",
  17158. "drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17159. ",
  17160. "f"
  17161. );
  17162. insert into sysbldobjdepends
  17163. (
  17164. bld_id,
  17165. obj_kind,
  17166. obj_signature,
  17167. obj_owner,
  17168. need_obj_kind,
  17169. need_obj_signature,
  17170. need_obj_owner)
  17171. values
  17172. (
  17173. "%SYSBLDNAME%",
  17174. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17175. "%SYSBLDUSER%",
  17176. 7, "TimeSeries",
  17177. "%SYSBLDUSER%"
  17178. );
  17179. insert into sysbldobjects
  17180. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17181. create_can_fail, drop_sql, drop_can_fail)
  17182. values
  17183. (
  17184. "%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17185. "%SYSBLDUSER%", 0,
  17186. "grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17187. ",
  17188. "f",
  17189. "",
  17190. "f"
  17191. );
  17192. insert into sysbldobjdepends
  17193. (
  17194. bld_id,
  17195. obj_kind,
  17196. obj_signature,
  17197. obj_owner,
  17198. need_obj_kind,
  17199. need_obj_signature,
  17200. need_obj_owner)
  17201. values
  17202. (
  17203. "%SYSBLDNAME%",
  17204. 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17205. "%SYSBLDUSER%",
  17206. 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17207. "%SYSBLDUSER%"
  17208. );
  17209. insert into sysbldobjects
  17210. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17211. create_can_fail, drop_sql, drop_can_fail)
  17212. values
  17213. (
  17214. "%SYSBLDNAME%", 5, "Apply (lvarchar,multiset)",
  17215. "%SYSBLDUSER%", 0,
  17216. "create function Apply (lvarchar,multiset)
  17217. returns TimeSeries with (notemplatearg, handlesnulls)
  17218. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_set_sql)"" language c;
  17219. ",
  17220. "f",
  17221. "drop function Apply (lvarchar,multiset);
  17222. ",
  17223. "f"
  17224. );
  17225. insert into sysbldobjdepends
  17226. (
  17227. bld_id,
  17228. obj_kind,
  17229. obj_signature,
  17230. obj_owner,
  17231. need_obj_kind,
  17232. need_obj_signature,
  17233. need_obj_owner)
  17234. values
  17235. (
  17236. "%SYSBLDNAME%",
  17237. 5, "Apply (lvarchar,multiset)",
  17238. "%SYSBLDUSER%",
  17239. 7, "TimeSeries",
  17240. "%SYSBLDUSER%"
  17241. );
  17242. insert into sysbldobjects
  17243. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17244. create_can_fail, drop_sql, drop_can_fail)
  17245. values
  17246. (
  17247. "%SYSBLDNAME%", 69, "Apply (lvarchar,multiset)",
  17248. "%SYSBLDUSER%", 0,
  17249. "grant execute on function Apply (lvarchar,multiset) to public;
  17250. ",
  17251. "f",
  17252. "",
  17253. "f"
  17254. );
  17255. insert into sysbldobjdepends
  17256. (
  17257. bld_id,
  17258. obj_kind,
  17259. obj_signature,
  17260. obj_owner,
  17261. need_obj_kind,
  17262. need_obj_signature,
  17263. need_obj_owner)
  17264. values
  17265. (
  17266. "%SYSBLDNAME%",
  17267. 69, "Apply (lvarchar,multiset)",
  17268. "%SYSBLDUSER%",
  17269. 5, "Apply (lvarchar,multiset)",
  17270. "%SYSBLDUSER%"
  17271. );
  17272. insert into sysbldobjects
  17273. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17274. create_can_fail, drop_sql, drop_can_fail)
  17275. values
  17276. (
  17277. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries)",
  17278. "%SYSBLDUSER%", 0,
  17279. "create function Apply (lvarchar,lvarchar,TimeSeries)
  17280. returns TimeSeries with (notemplatearg, handlesnulls)
  17281. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_1_sql)"" language c;
  17282. ",
  17283. "f",
  17284. "drop function Apply (lvarchar,lvarchar,TimeSeries);
  17285. ",
  17286. "f"
  17287. );
  17288. insert into sysbldobjdepends
  17289. (
  17290. bld_id,
  17291. obj_kind,
  17292. obj_signature,
  17293. obj_owner,
  17294. need_obj_kind,
  17295. need_obj_signature,
  17296. need_obj_owner)
  17297. values
  17298. (
  17299. "%SYSBLDNAME%",
  17300. 5, "Apply (lvarchar,lvarchar,TimeSeries)",
  17301. "%SYSBLDUSER%",
  17302. 7, "TimeSeries",
  17303. "%SYSBLDUSER%"
  17304. );
  17305. insert into sysbldobjects
  17306. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17307. create_can_fail, drop_sql, drop_can_fail)
  17308. values
  17309. (
  17310. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries)",
  17311. "%SYSBLDUSER%", 0,
  17312. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries) to public;
  17313. ",
  17314. "f",
  17315. "",
  17316. "f"
  17317. );
  17318. insert into sysbldobjdepends
  17319. (
  17320. bld_id,
  17321. obj_kind,
  17322. obj_signature,
  17323. obj_owner,
  17324. need_obj_kind,
  17325. need_obj_signature,
  17326. need_obj_owner)
  17327. values
  17328. (
  17329. "%SYSBLDNAME%",
  17330. 69, "Apply (lvarchar,lvarchar,TimeSeries)",
  17331. "%SYSBLDUSER%",
  17332. 5, "Apply (lvarchar,lvarchar,TimeSeries)",
  17333. "%SYSBLDUSER%"
  17334. );
  17335. insert into sysbldobjects
  17336. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17337. create_can_fail, drop_sql, drop_can_fail)
  17338. values
  17339. (
  17340. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
  17341. "%SYSBLDUSER%", 0,
  17342. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)
  17343. returns TimeSeries with (notemplatearg, handlesnulls)
  17344. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_2_sql)"" language c;
  17345. ",
  17346. "f",
  17347. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries);
  17348. ",
  17349. "f"
  17350. );
  17351. insert into sysbldobjdepends
  17352. (
  17353. bld_id,
  17354. obj_kind,
  17355. obj_signature,
  17356. obj_owner,
  17357. need_obj_kind,
  17358. need_obj_signature,
  17359. need_obj_owner)
  17360. values
  17361. (
  17362. "%SYSBLDNAME%",
  17363. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
  17364. "%SYSBLDUSER%",
  17365. 7, "TimeSeries",
  17366. "%SYSBLDUSER%"
  17367. );
  17368. insert into sysbldobjects
  17369. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17370. create_can_fail, drop_sql, drop_can_fail)
  17371. values
  17372. (
  17373. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
  17374. "%SYSBLDUSER%", 0,
  17375. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries) to public;
  17376. ",
  17377. "f",
  17378. "",
  17379. "f"
  17380. );
  17381. insert into sysbldobjdepends
  17382. (
  17383. bld_id,
  17384. obj_kind,
  17385. obj_signature,
  17386. obj_owner,
  17387. need_obj_kind,
  17388. need_obj_signature,
  17389. need_obj_owner)
  17390. values
  17391. (
  17392. "%SYSBLDNAME%",
  17393. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
  17394. "%SYSBLDUSER%",
  17395. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
  17396. "%SYSBLDUSER%"
  17397. );
  17398. insert into sysbldobjects
  17399. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17400. create_can_fail, drop_sql, drop_can_fail)
  17401. values
  17402. (
  17403. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  17404. "%SYSBLDUSER%", 0,
  17405. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)
  17406. returns TimeSeries with (notemplatearg, handlesnulls)
  17407. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_3_sql)"" language c;
  17408. ",
  17409. "f",
  17410. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries);
  17411. ",
  17412. "f"
  17413. );
  17414. insert into sysbldobjdepends
  17415. (
  17416. bld_id,
  17417. obj_kind,
  17418. obj_signature,
  17419. obj_owner,
  17420. need_obj_kind,
  17421. need_obj_signature,
  17422. need_obj_owner)
  17423. values
  17424. (
  17425. "%SYSBLDNAME%",
  17426. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  17427. "%SYSBLDUSER%",
  17428. 7, "TimeSeries",
  17429. "%SYSBLDUSER%"
  17430. );
  17431. insert into sysbldobjects
  17432. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17433. create_can_fail, drop_sql, drop_can_fail)
  17434. values
  17435. (
  17436. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  17437. "%SYSBLDUSER%", 0,
  17438. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries) to public;
  17439. ",
  17440. "f",
  17441. "",
  17442. "f"
  17443. );
  17444. insert into sysbldobjdepends
  17445. (
  17446. bld_id,
  17447. obj_kind,
  17448. obj_signature,
  17449. obj_owner,
  17450. need_obj_kind,
  17451. need_obj_signature,
  17452. need_obj_owner)
  17453. values
  17454. (
  17455. "%SYSBLDNAME%",
  17456. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  17457. "%SYSBLDUSER%",
  17458. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
  17459. "%SYSBLDUSER%"
  17460. );
  17461. insert into sysbldobjects
  17462. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17463. create_can_fail, drop_sql, drop_can_fail)
  17464. values
  17465. (
  17466. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17467. "%SYSBLDUSER%", 0,
  17468. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17469. returns TimeSeries with (notemplatearg, handlesnulls)
  17470. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_4_sql)"" language c;
  17471. ",
  17472. "f",
  17473. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17474. ",
  17475. "f"
  17476. );
  17477. insert into sysbldobjdepends
  17478. (
  17479. bld_id,
  17480. obj_kind,
  17481. obj_signature,
  17482. obj_owner,
  17483. need_obj_kind,
  17484. need_obj_signature,
  17485. need_obj_owner)
  17486. values
  17487. (
  17488. "%SYSBLDNAME%",
  17489. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17490. "%SYSBLDUSER%",
  17491. 7, "TimeSeries",
  17492. "%SYSBLDUSER%"
  17493. );
  17494. insert into sysbldobjects
  17495. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17496. create_can_fail, drop_sql, drop_can_fail)
  17497. values
  17498. (
  17499. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17500. "%SYSBLDUSER%", 0,
  17501. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17502. ",
  17503. "f",
  17504. "",
  17505. "f"
  17506. );
  17507. insert into sysbldobjdepends
  17508. (
  17509. bld_id,
  17510. obj_kind,
  17511. obj_signature,
  17512. obj_owner,
  17513. need_obj_kind,
  17514. need_obj_signature,
  17515. need_obj_owner)
  17516. values
  17517. (
  17518. "%SYSBLDNAME%",
  17519. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17520. "%SYSBLDUSER%",
  17521. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17522. "%SYSBLDUSER%"
  17523. );
  17524. insert into sysbldobjects
  17525. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17526. create_can_fail, drop_sql, drop_can_fail)
  17527. values
  17528. (
  17529. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17530. "%SYSBLDUSER%", 0,
  17531. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17532. returns TimeSeries with (notemplatearg, handlesnulls)
  17533. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_5_sql)"" language c;
  17534. ",
  17535. "f",
  17536. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17537. ",
  17538. "f"
  17539. );
  17540. insert into sysbldobjdepends
  17541. (
  17542. bld_id,
  17543. obj_kind,
  17544. obj_signature,
  17545. obj_owner,
  17546. need_obj_kind,
  17547. need_obj_signature,
  17548. need_obj_owner)
  17549. values
  17550. (
  17551. "%SYSBLDNAME%",
  17552. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17553. "%SYSBLDUSER%",
  17554. 7, "TimeSeries",
  17555. "%SYSBLDUSER%"
  17556. );
  17557. insert into sysbldobjects
  17558. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17559. create_can_fail, drop_sql, drop_can_fail)
  17560. values
  17561. (
  17562. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17563. "%SYSBLDUSER%", 0,
  17564. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17565. ",
  17566. "f",
  17567. "",
  17568. "f"
  17569. );
  17570. insert into sysbldobjdepends
  17571. (
  17572. bld_id,
  17573. obj_kind,
  17574. obj_signature,
  17575. obj_owner,
  17576. need_obj_kind,
  17577. need_obj_signature,
  17578. need_obj_owner)
  17579. values
  17580. (
  17581. "%SYSBLDNAME%",
  17582. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17583. "%SYSBLDUSER%",
  17584. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17585. "%SYSBLDUSER%"
  17586. );
  17587. insert into sysbldobjects
  17588. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17589. create_can_fail, drop_sql, drop_can_fail)
  17590. values
  17591. (
  17592. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17593. "%SYSBLDUSER%", 0,
  17594. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17595. returns TimeSeries with (notemplatearg, handlesnulls)
  17596. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_6_sql)"" language c;
  17597. ",
  17598. "f",
  17599. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17600. ",
  17601. "f"
  17602. );
  17603. insert into sysbldobjdepends
  17604. (
  17605. bld_id,
  17606. obj_kind,
  17607. obj_signature,
  17608. obj_owner,
  17609. need_obj_kind,
  17610. need_obj_signature,
  17611. need_obj_owner)
  17612. values
  17613. (
  17614. "%SYSBLDNAME%",
  17615. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17616. "%SYSBLDUSER%",
  17617. 7, "TimeSeries",
  17618. "%SYSBLDUSER%"
  17619. );
  17620. insert into sysbldobjects
  17621. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17622. create_can_fail, drop_sql, drop_can_fail)
  17623. values
  17624. (
  17625. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17626. "%SYSBLDUSER%", 0,
  17627. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17628. ",
  17629. "f",
  17630. "",
  17631. "f"
  17632. );
  17633. insert into sysbldobjdepends
  17634. (
  17635. bld_id,
  17636. obj_kind,
  17637. obj_signature,
  17638. obj_owner,
  17639. need_obj_kind,
  17640. need_obj_signature,
  17641. need_obj_owner)
  17642. values
  17643. (
  17644. "%SYSBLDNAME%",
  17645. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17646. "%SYSBLDUSER%",
  17647. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17648. "%SYSBLDUSER%"
  17649. );
  17650. insert into sysbldobjects
  17651. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17652. create_can_fail, drop_sql, drop_can_fail)
  17653. values
  17654. (
  17655. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17656. "%SYSBLDUSER%", 0,
  17657. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17658. returns TimeSeries with (notemplatearg, handlesnulls)
  17659. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_7_sql)"" language c;
  17660. ",
  17661. "f",
  17662. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17663. ",
  17664. "f"
  17665. );
  17666. insert into sysbldobjdepends
  17667. (
  17668. bld_id,
  17669. obj_kind,
  17670. obj_signature,
  17671. obj_owner,
  17672. need_obj_kind,
  17673. need_obj_signature,
  17674. need_obj_owner)
  17675. values
  17676. (
  17677. "%SYSBLDNAME%",
  17678. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17679. "%SYSBLDUSER%",
  17680. 7, "TimeSeries",
  17681. "%SYSBLDUSER%"
  17682. );
  17683. insert into sysbldobjects
  17684. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17685. create_can_fail, drop_sql, drop_can_fail)
  17686. values
  17687. (
  17688. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17689. "%SYSBLDUSER%", 0,
  17690. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17691. ",
  17692. "f",
  17693. "",
  17694. "f"
  17695. );
  17696. insert into sysbldobjdepends
  17697. (
  17698. bld_id,
  17699. obj_kind,
  17700. obj_signature,
  17701. obj_owner,
  17702. need_obj_kind,
  17703. need_obj_signature,
  17704. need_obj_owner)
  17705. values
  17706. (
  17707. "%SYSBLDNAME%",
  17708. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17709. "%SYSBLDUSER%",
  17710. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17711. "%SYSBLDUSER%"
  17712. );
  17713. insert into sysbldobjects
  17714. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17715. create_can_fail, drop_sql, drop_can_fail)
  17716. values
  17717. (
  17718. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17719. "%SYSBLDUSER%", 0,
  17720. "create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
  17721. returns TimeSeries with (notemplatearg, handlesnulls)
  17722. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_8_sql)"" language c;
  17723. ",
  17724. "f",
  17725. "drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);
  17726. ",
  17727. "f"
  17728. );
  17729. insert into sysbldobjdepends
  17730. (
  17731. bld_id,
  17732. obj_kind,
  17733. obj_signature,
  17734. obj_owner,
  17735. need_obj_kind,
  17736. need_obj_signature,
  17737. need_obj_owner)
  17738. values
  17739. (
  17740. "%SYSBLDNAME%",
  17741. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17742. "%SYSBLDUSER%",
  17743. 7, "TimeSeries",
  17744. "%SYSBLDUSER%"
  17745. );
  17746. insert into sysbldobjects
  17747. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17748. create_can_fail, drop_sql, drop_can_fail)
  17749. values
  17750. (
  17751. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17752. "%SYSBLDUSER%", 0,
  17753. "grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;
  17754. ",
  17755. "f",
  17756. "",
  17757. "f"
  17758. );
  17759. insert into sysbldobjdepends
  17760. (
  17761. bld_id,
  17762. obj_kind,
  17763. obj_signature,
  17764. obj_owner,
  17765. need_obj_kind,
  17766. need_obj_signature,
  17767. need_obj_owner)
  17768. values
  17769. (
  17770. "%SYSBLDNAME%",
  17771. 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17772. "%SYSBLDUSER%",
  17773. 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
  17774. "%SYSBLDUSER%"
  17775. );
  17776. insert into sysbldobjects
  17777. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17778. create_can_fail, drop_sql, drop_can_fail)
  17779. values
  17780. (
  17781. "%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,multiset)",
  17782. "%SYSBLDUSER%", 0,
  17783. "create function Apply (lvarchar,lvarchar,multiset)
  17784. returns TimeSeries with (notemplatearg, handlesnulls)
  17785. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_set_sql)"" language c;
  17786. ",
  17787. "f",
  17788. "drop function Apply (lvarchar,lvarchar,multiset);
  17789. ",
  17790. "f"
  17791. );
  17792. insert into sysbldobjdepends
  17793. (
  17794. bld_id,
  17795. obj_kind,
  17796. obj_signature,
  17797. obj_owner,
  17798. need_obj_kind,
  17799. need_obj_signature,
  17800. need_obj_owner)
  17801. values
  17802. (
  17803. "%SYSBLDNAME%",
  17804. 5, "Apply (lvarchar,lvarchar,multiset)",
  17805. "%SYSBLDUSER%",
  17806. 7, "TimeSeries",
  17807. "%SYSBLDUSER%"
  17808. );
  17809. insert into sysbldobjects
  17810. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17811. create_can_fail, drop_sql, drop_can_fail)
  17812. values
  17813. (
  17814. "%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,multiset)",
  17815. "%SYSBLDUSER%", 0,
  17816. "grant execute on function Apply (lvarchar,lvarchar,multiset) to public;
  17817. ",
  17818. "f",
  17819. "",
  17820. "f"
  17821. );
  17822. insert into sysbldobjdepends
  17823. (
  17824. bld_id,
  17825. obj_kind,
  17826. obj_signature,
  17827. obj_owner,
  17828. need_obj_kind,
  17829. need_obj_signature,
  17830. need_obj_owner)
  17831. values
  17832. (
  17833. "%SYSBLDNAME%",
  17834. 69, "Apply (lvarchar,lvarchar,multiset)",
  17835. "%SYSBLDUSER%",
  17836. 5, "Apply (lvarchar,lvarchar,multiset)",
  17837. "%SYSBLDUSER%"
  17838. );
  17839. insert into sysbldobjects
  17840. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17841. create_can_fail, drop_sql, drop_can_fail)
  17842. values
  17843. (
  17844. "%SYSBLDNAME%", 5, "SetContainerName (TimeSeries,lvarchar)",
  17845. "%SYSBLDUSER%", 0,
  17846. "create function SetContainerName (TimeSeries,lvarchar)
  17847. returns TimeSeries with (not variant, handlesnulls)
  17848. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_container_sql)"" language c;
  17849. ",
  17850. "f",
  17851. "drop function SetContainerName (TimeSeries,lvarchar);
  17852. ",
  17853. "f"
  17854. );
  17855. insert into sysbldobjdepends
  17856. (
  17857. bld_id,
  17858. obj_kind,
  17859. obj_signature,
  17860. obj_owner,
  17861. need_obj_kind,
  17862. need_obj_signature,
  17863. need_obj_owner)
  17864. values
  17865. (
  17866. "%SYSBLDNAME%",
  17867. 5, "SetContainerName (TimeSeries,lvarchar)",
  17868. "%SYSBLDUSER%",
  17869. 7, "TimeSeries",
  17870. "%SYSBLDUSER%"
  17871. );
  17872. insert into sysbldobjects
  17873. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17874. create_can_fail, drop_sql, drop_can_fail)
  17875. values
  17876. (
  17877. "%SYSBLDNAME%", 69, "SetContainerName (TimeSeries,lvarchar)",
  17878. "%SYSBLDUSER%", 0,
  17879. "grant execute on function SetContainerName (TimeSeries,lvarchar) to public;
  17880. ",
  17881. "f",
  17882. "",
  17883. "f"
  17884. );
  17885. insert into sysbldobjdepends
  17886. (
  17887. bld_id,
  17888. obj_kind,
  17889. obj_signature,
  17890. obj_owner,
  17891. need_obj_kind,
  17892. need_obj_signature,
  17893. need_obj_owner)
  17894. values
  17895. (
  17896. "%SYSBLDNAME%",
  17897. 69, "SetContainerName (TimeSeries,lvarchar)",
  17898. "%SYSBLDUSER%",
  17899. 5, "SetContainerName (TimeSeries,lvarchar)",
  17900. "%SYSBLDUSER%"
  17901. );
  17902. insert into sysbldobjects
  17903. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17904. create_can_fail, drop_sql, drop_can_fail)
  17905. values
  17906. (
  17907. "%SYSBLDNAME%", 5, "TSRunningAvg (real,int)",
  17908. "%SYSBLDUSER%", 0,
  17909. "create function TSRunningAvg (real,int)
  17910. returns double precision with (handlesnulls)
  17911. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_avg_sql)"" language c;
  17912. ",
  17913. "f",
  17914. "drop function TSRunningAvg (real,int);
  17915. ",
  17916. "f"
  17917. );
  17918. insert into sysbldobjects
  17919. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17920. create_can_fail, drop_sql, drop_can_fail)
  17921. values
  17922. (
  17923. "%SYSBLDNAME%", 69, "TSRunningAvg (real,int)",
  17924. "%SYSBLDUSER%", 0,
  17925. "grant execute on function TSRunningAvg (real,int) to public;
  17926. ",
  17927. "f",
  17928. "",
  17929. "f"
  17930. );
  17931. insert into sysbldobjdepends
  17932. (
  17933. bld_id,
  17934. obj_kind,
  17935. obj_signature,
  17936. obj_owner,
  17937. need_obj_kind,
  17938. need_obj_signature,
  17939. need_obj_owner)
  17940. values
  17941. (
  17942. "%SYSBLDNAME%",
  17943. 69, "TSRunningAvg (real,int)",
  17944. "%SYSBLDUSER%",
  17945. 5, "TSRunningAvg (real,int)",
  17946. "%SYSBLDUSER%"
  17947. );
  17948. insert into sysbldobjects
  17949. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17950. create_can_fail, drop_sql, drop_can_fail)
  17951. values
  17952. (
  17953. "%SYSBLDNAME%", 5, "TSRunningAvg (double precision,int)",
  17954. "%SYSBLDUSER%", 0,
  17955. "create function TSRunningAvg (double precision,int)
  17956. returns double precision with (handlesnulls)
  17957. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_avg_double_sql)"" language c;
  17958. ",
  17959. "f",
  17960. "drop function TSRunningAvg (double precision,int);
  17961. ",
  17962. "f"
  17963. );
  17964. insert into sysbldobjects
  17965. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17966. create_can_fail, drop_sql, drop_can_fail)
  17967. values
  17968. (
  17969. "%SYSBLDNAME%", 69, "TSRunningAvg (double precision,int)",
  17970. "%SYSBLDUSER%", 0,
  17971. "grant execute on function TSRunningAvg (double precision,int) to public;
  17972. ",
  17973. "f",
  17974. "",
  17975. "f"
  17976. );
  17977. insert into sysbldobjdepends
  17978. (
  17979. bld_id,
  17980. obj_kind,
  17981. obj_signature,
  17982. obj_owner,
  17983. need_obj_kind,
  17984. need_obj_signature,
  17985. need_obj_owner)
  17986. values
  17987. (
  17988. "%SYSBLDNAME%",
  17989. 69, "TSRunningAvg (double precision,int)",
  17990. "%SYSBLDUSER%",
  17991. 5, "TSRunningAvg (double precision,int)",
  17992. "%SYSBLDUSER%"
  17993. );
  17994. insert into sysbldobjects
  17995. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  17996. create_can_fail, drop_sql, drop_can_fail)
  17997. values
  17998. (
  17999. "%SYSBLDNAME%", 5, "TSRunningSum (real,int)",
  18000. "%SYSBLDUSER%", 0,
  18001. "create function TSRunningSum (real,int)
  18002. returns double precision with (handlesnulls)
  18003. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_sum_sql)"" language c;
  18004. ",
  18005. "f",
  18006. "drop function TSRunningSum (real,int);
  18007. ",
  18008. "f"
  18009. );
  18010. insert into sysbldobjects
  18011. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18012. create_can_fail, drop_sql, drop_can_fail)
  18013. values
  18014. (
  18015. "%SYSBLDNAME%", 69, "TSRunningSum (real,int)",
  18016. "%SYSBLDUSER%", 0,
  18017. "grant execute on function TSRunningSum (real,int) to public;
  18018. ",
  18019. "f",
  18020. "",
  18021. "f"
  18022. );
  18023. insert into sysbldobjdepends
  18024. (
  18025. bld_id,
  18026. obj_kind,
  18027. obj_signature,
  18028. obj_owner,
  18029. need_obj_kind,
  18030. need_obj_signature,
  18031. need_obj_owner)
  18032. values
  18033. (
  18034. "%SYSBLDNAME%",
  18035. 69, "TSRunningSum (real,int)",
  18036. "%SYSBLDUSER%",
  18037. 5, "TSRunningSum (real,int)",
  18038. "%SYSBLDUSER%"
  18039. );
  18040. insert into sysbldobjects
  18041. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18042. create_can_fail, drop_sql, drop_can_fail)
  18043. values
  18044. (
  18045. "%SYSBLDNAME%", 5, "TSRunningSum (double precision,int)",
  18046. "%SYSBLDUSER%", 0,
  18047. "create function TSRunningSum (double precision,int)
  18048. returns double precision with (handlesnulls)
  18049. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_sum_double_sql)"" language c;
  18050. ",
  18051. "f",
  18052. "drop function TSRunningSum (double precision,int);
  18053. ",
  18054. "f"
  18055. );
  18056. insert into sysbldobjects
  18057. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18058. create_can_fail, drop_sql, drop_can_fail)
  18059. values
  18060. (
  18061. "%SYSBLDNAME%", 69, "TSRunningSum (double precision,int)",
  18062. "%SYSBLDUSER%", 0,
  18063. "grant execute on function TSRunningSum (double precision,int) to public;
  18064. ",
  18065. "f",
  18066. "",
  18067. "f"
  18068. );
  18069. insert into sysbldobjdepends
  18070. (
  18071. bld_id,
  18072. obj_kind,
  18073. obj_signature,
  18074. obj_owner,
  18075. need_obj_kind,
  18076. need_obj_signature,
  18077. need_obj_owner)
  18078. values
  18079. (
  18080. "%SYSBLDNAME%",
  18081. 69, "TSRunningSum (double precision,int)",
  18082. "%SYSBLDUSER%",
  18083. 5, "TSRunningSum (double precision,int)",
  18084. "%SYSBLDUSER%"
  18085. );
  18086. insert into sysbldobjects
  18087. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18088. create_can_fail, drop_sql, drop_can_fail)
  18089. values
  18090. (
  18091. "%SYSBLDNAME%", 5, "TSPrevious (int)",
  18092. "%SYSBLDUSER%", 0,
  18093. "create function TSPrevious (int)
  18094. returns int with (handlesnulls)
  18095. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_int_sql)"" language c;
  18096. ",
  18097. "f",
  18098. "drop function TSPrevious (int);
  18099. ",
  18100. "f"
  18101. );
  18102. insert into sysbldobjects
  18103. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18104. create_can_fail, drop_sql, drop_can_fail)
  18105. values
  18106. (
  18107. "%SYSBLDNAME%", 69, "TSPrevious (int)",
  18108. "%SYSBLDUSER%", 0,
  18109. "grant execute on function TSPrevious (int) to public;
  18110. ",
  18111. "f",
  18112. "",
  18113. "f"
  18114. );
  18115. insert into sysbldobjdepends
  18116. (
  18117. bld_id,
  18118. obj_kind,
  18119. obj_signature,
  18120. obj_owner,
  18121. need_obj_kind,
  18122. need_obj_signature,
  18123. need_obj_owner)
  18124. values
  18125. (
  18126. "%SYSBLDNAME%",
  18127. 69, "TSPrevious (int)",
  18128. "%SYSBLDUSER%",
  18129. 5, "TSPrevious (int)",
  18130. "%SYSBLDUSER%"
  18131. );
  18132. insert into sysbldobjects
  18133. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18134. create_can_fail, drop_sql, drop_can_fail)
  18135. values
  18136. (
  18137. "%SYSBLDNAME%", 5, "TSPrevious (real)",
  18138. "%SYSBLDUSER%", 0,
  18139. "create function TSPrevious (real)
  18140. returns real with (handlesnulls)
  18141. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_float_sql)"" language c;
  18142. ",
  18143. "f",
  18144. "drop function TSPrevious (real);
  18145. ",
  18146. "f"
  18147. );
  18148. insert into sysbldobjects
  18149. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18150. create_can_fail, drop_sql, drop_can_fail)
  18151. values
  18152. (
  18153. "%SYSBLDNAME%", 69, "TSPrevious (real)",
  18154. "%SYSBLDUSER%", 0,
  18155. "grant execute on function TSPrevious (real) to public;
  18156. ",
  18157. "f",
  18158. "",
  18159. "f"
  18160. );
  18161. insert into sysbldobjdepends
  18162. (
  18163. bld_id,
  18164. obj_kind,
  18165. obj_signature,
  18166. obj_owner,
  18167. need_obj_kind,
  18168. need_obj_signature,
  18169. need_obj_owner)
  18170. values
  18171. (
  18172. "%SYSBLDNAME%",
  18173. 69, "TSPrevious (real)",
  18174. "%SYSBLDUSER%",
  18175. 5, "TSPrevious (real)",
  18176. "%SYSBLDUSER%"
  18177. );
  18178. insert into sysbldobjects
  18179. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18180. create_can_fail, drop_sql, drop_can_fail)
  18181. values
  18182. (
  18183. "%SYSBLDNAME%", 5, "TSPrevious (double precision)",
  18184. "%SYSBLDUSER%", 0,
  18185. "create function TSPrevious (double precision)
  18186. returns double precision with (handlesnulls)
  18187. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_double_sql)"" language c;
  18188. ",
  18189. "f",
  18190. "drop function TSPrevious (double precision);
  18191. ",
  18192. "f"
  18193. );
  18194. insert into sysbldobjects
  18195. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18196. create_can_fail, drop_sql, drop_can_fail)
  18197. values
  18198. (
  18199. "%SYSBLDNAME%", 69, "TSPrevious (double precision)",
  18200. "%SYSBLDUSER%", 0,
  18201. "grant execute on function TSPrevious (double precision) to public;
  18202. ",
  18203. "f",
  18204. "",
  18205. "f"
  18206. );
  18207. insert into sysbldobjdepends
  18208. (
  18209. bld_id,
  18210. obj_kind,
  18211. obj_signature,
  18212. obj_owner,
  18213. need_obj_kind,
  18214. need_obj_signature,
  18215. need_obj_owner)
  18216. values
  18217. (
  18218. "%SYSBLDNAME%",
  18219. 69, "TSPrevious (double precision)",
  18220. "%SYSBLDUSER%",
  18221. 5, "TSPrevious (double precision)",
  18222. "%SYSBLDUSER%"
  18223. );
  18224. insert into sysbldobjects
  18225. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18226. create_can_fail, drop_sql, drop_can_fail)
  18227. values
  18228. (
  18229. "%SYSBLDNAME%", 5, "TSAddPrevious (real)",
  18230. "%SYSBLDUSER%", 0,
  18231. "create function TSAddPrevious (real)
  18232. returns real with (handlesnulls)
  18233. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(add_previous_float_sql)"" language c;
  18234. ",
  18235. "f",
  18236. "drop function TSAddPrevious (real);
  18237. ",
  18238. "f"
  18239. );
  18240. insert into sysbldobjects
  18241. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18242. create_can_fail, drop_sql, drop_can_fail)
  18243. values
  18244. (
  18245. "%SYSBLDNAME%", 69, "TSAddPrevious (real)",
  18246. "%SYSBLDUSER%", 0,
  18247. "grant execute on function TSAddPrevious (real) to public;
  18248. ",
  18249. "f",
  18250. "",
  18251. "f"
  18252. );
  18253. insert into sysbldobjdepends
  18254. (
  18255. bld_id,
  18256. obj_kind,
  18257. obj_signature,
  18258. obj_owner,
  18259. need_obj_kind,
  18260. need_obj_signature,
  18261. need_obj_owner)
  18262. values
  18263. (
  18264. "%SYSBLDNAME%",
  18265. 69, "TSAddPrevious (real)",
  18266. "%SYSBLDUSER%",
  18267. 5, "TSAddPrevious (real)",
  18268. "%SYSBLDUSER%"
  18269. );
  18270. insert into sysbldobjects
  18271. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18272. create_can_fail, drop_sql, drop_can_fail)
  18273. values
  18274. (
  18275. "%SYSBLDNAME%", 5, "TSAddPrevious (double precision)",
  18276. "%SYSBLDUSER%", 0,
  18277. "create function TSAddPrevious (double precision)
  18278. returns double precision with (handlesnulls)
  18279. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(add_previous_double_sql)"" language c;
  18280. ",
  18281. "f",
  18282. "drop function TSAddPrevious (double precision);
  18283. ",
  18284. "f"
  18285. );
  18286. insert into sysbldobjects
  18287. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18288. create_can_fail, drop_sql, drop_can_fail)
  18289. values
  18290. (
  18291. "%SYSBLDNAME%", 69, "TSAddPrevious (double precision)",
  18292. "%SYSBLDUSER%", 0,
  18293. "grant execute on function TSAddPrevious (double precision) to public;
  18294. ",
  18295. "f",
  18296. "",
  18297. "f"
  18298. );
  18299. insert into sysbldobjdepends
  18300. (
  18301. bld_id,
  18302. obj_kind,
  18303. obj_signature,
  18304. obj_owner,
  18305. need_obj_kind,
  18306. need_obj_signature,
  18307. need_obj_owner)
  18308. values
  18309. (
  18310. "%SYSBLDNAME%",
  18311. 69, "TSAddPrevious (double precision)",
  18312. "%SYSBLDUSER%",
  18313. 5, "TSAddPrevious (double precision)",
  18314. "%SYSBLDUSER%"
  18315. );
  18316. insert into sysbldobjects
  18317. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18318. create_can_fail, drop_sql, drop_can_fail)
  18319. values
  18320. (
  18321. "%SYSBLDNAME%", 5, "TSDecay (real,real,real)",
  18322. "%SYSBLDUSER%", 0,
  18323. "create function TSDecay (real,real,real)
  18324. returns real
  18325. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(decay_float_sql)"" language c;
  18326. ",
  18327. "f",
  18328. "drop function TSDecay (real,real,real);
  18329. ",
  18330. "f"
  18331. );
  18332. insert into sysbldobjects
  18333. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18334. create_can_fail, drop_sql, drop_can_fail)
  18335. values
  18336. (
  18337. "%SYSBLDNAME%", 69, "TSDecay (real,real,real)",
  18338. "%SYSBLDUSER%", 0,
  18339. "grant execute on function TSDecay (real,real,real) to public;
  18340. ",
  18341. "f",
  18342. "",
  18343. "f"
  18344. );
  18345. insert into sysbldobjdepends
  18346. (
  18347. bld_id,
  18348. obj_kind,
  18349. obj_signature,
  18350. obj_owner,
  18351. need_obj_kind,
  18352. need_obj_signature,
  18353. need_obj_owner)
  18354. values
  18355. (
  18356. "%SYSBLDNAME%",
  18357. 69, "TSDecay (real,real,real)",
  18358. "%SYSBLDUSER%",
  18359. 5, "TSDecay (real,real,real)",
  18360. "%SYSBLDUSER%"
  18361. );
  18362. insert into sysbldobjects
  18363. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18364. create_can_fail, drop_sql, drop_can_fail)
  18365. values
  18366. (
  18367. "%SYSBLDNAME%", 5, "TSDecay (double precision,double precision,double precision)",
  18368. "%SYSBLDUSER%", 0,
  18369. "create function TSDecay (double precision,double precision,double precision)
  18370. returns double precision
  18371. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(decay_double_sql)"" language c;
  18372. ",
  18373. "f",
  18374. "drop function TSDecay (double precision,double precision,double precision);
  18375. ",
  18376. "f"
  18377. );
  18378. insert into sysbldobjects
  18379. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18380. create_can_fail, drop_sql, drop_can_fail)
  18381. values
  18382. (
  18383. "%SYSBLDNAME%", 69, "TSDecay (double precision,double precision,double precision)",
  18384. "%SYSBLDUSER%", 0,
  18385. "grant execute on function TSDecay (double precision,double precision,double precision) to public;
  18386. ",
  18387. "f",
  18388. "",
  18389. "f"
  18390. );
  18391. insert into sysbldobjdepends
  18392. (
  18393. bld_id,
  18394. obj_kind,
  18395. obj_signature,
  18396. obj_owner,
  18397. need_obj_kind,
  18398. need_obj_signature,
  18399. need_obj_owner)
  18400. values
  18401. (
  18402. "%SYSBLDNAME%",
  18403. 69, "TSDecay (double precision,double precision,double precision)",
  18404. "%SYSBLDUSER%",
  18405. 5, "TSDecay (double precision,double precision,double precision)",
  18406. "%SYSBLDUSER%"
  18407. );
  18408. insert into sysbldobjects
  18409. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18410. create_can_fail, drop_sql, drop_can_fail)
  18411. values
  18412. (
  18413. "%SYSBLDNAME%", 5, "TSCmp (real,real)",
  18414. "%SYSBLDUSER%", 0,
  18415. "create function TSCmp (real,real)
  18416. returns int with (not variant, handlesnulls)
  18417. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(Cmp_sql)"" language c;
  18418. ",
  18419. "f",
  18420. "drop function TSCmp (real,real);
  18421. ",
  18422. "f"
  18423. );
  18424. insert into sysbldobjects
  18425. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18426. create_can_fail, drop_sql, drop_can_fail)
  18427. values
  18428. (
  18429. "%SYSBLDNAME%", 69, "TSCmp (real,real)",
  18430. "%SYSBLDUSER%", 0,
  18431. "grant execute on function TSCmp (real,real) to public;
  18432. ",
  18433. "f",
  18434. "",
  18435. "f"
  18436. );
  18437. insert into sysbldobjdepends
  18438. (
  18439. bld_id,
  18440. obj_kind,
  18441. obj_signature,
  18442. obj_owner,
  18443. need_obj_kind,
  18444. need_obj_signature,
  18445. need_obj_owner)
  18446. values
  18447. (
  18448. "%SYSBLDNAME%",
  18449. 69, "TSCmp (real,real)",
  18450. "%SYSBLDUSER%",
  18451. 5, "TSCmp (real,real)",
  18452. "%SYSBLDUSER%"
  18453. );
  18454. insert into sysbldobjects
  18455. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18456. create_can_fail, drop_sql, drop_can_fail)
  18457. values
  18458. (
  18459. "%SYSBLDNAME%", 5, "TSCmp (double precision,double precision)",
  18460. "%SYSBLDUSER%", 0,
  18461. "create function TSCmp (double precision,double precision)
  18462. returns int with (not variant, handlesnulls)
  18463. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(Cmp_double_sql)"" language c;
  18464. ",
  18465. "f",
  18466. "drop function TSCmp (double precision,double precision);
  18467. ",
  18468. "f"
  18469. );
  18470. insert into sysbldobjects
  18471. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18472. create_can_fail, drop_sql, drop_can_fail)
  18473. values
  18474. (
  18475. "%SYSBLDNAME%", 69, "TSCmp (double precision,double precision)",
  18476. "%SYSBLDUSER%", 0,
  18477. "grant execute on function TSCmp (double precision,double precision) to public;
  18478. ",
  18479. "f",
  18480. "",
  18481. "f"
  18482. );
  18483. insert into sysbldobjdepends
  18484. (
  18485. bld_id,
  18486. obj_kind,
  18487. obj_signature,
  18488. obj_owner,
  18489. need_obj_kind,
  18490. need_obj_signature,
  18491. need_obj_owner)
  18492. values
  18493. (
  18494. "%SYSBLDNAME%",
  18495. 69, "TSCmp (double precision,double precision)",
  18496. "%SYSBLDUSER%",
  18497. 5, "TSCmp (double precision,double precision)",
  18498. "%SYSBLDUSER%"
  18499. );
  18500. insert into sysbldobjects
  18501. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18502. create_can_fail, drop_sql, drop_can_fail)
  18503. values
  18504. (
  18505. "%SYSBLDNAME%", 5, "TSMakeNullStamp ()",
  18506. "%SYSBLDUSER%", 0,
  18507. "create function TSMakeNullStamp ()
  18508. returns datetime year to fraction(5)
  18509. return NULL;
  18510. end function;
  18511. ",
  18512. "f",
  18513. "drop function TSMakeNullStamp ();
  18514. ",
  18515. "f"
  18516. );
  18517. insert into sysbldobjects
  18518. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18519. create_can_fail, drop_sql, drop_can_fail)
  18520. values
  18521. (
  18522. "%SYSBLDNAME%", 69, "TSMakeNullStamp ()",
  18523. "%SYSBLDUSER%", 0,
  18524. "grant execute on function TSMakeNullStamp () to public;
  18525. ",
  18526. "f",
  18527. "",
  18528. "f"
  18529. );
  18530. insert into sysbldobjdepends
  18531. (
  18532. bld_id,
  18533. obj_kind,
  18534. obj_signature,
  18535. obj_owner,
  18536. need_obj_kind,
  18537. need_obj_signature,
  18538. need_obj_owner)
  18539. values
  18540. (
  18541. "%SYSBLDNAME%",
  18542. 69, "TSMakeNullStamp ()",
  18543. "%SYSBLDUSER%",
  18544. 5, "TSMakeNullStamp ()",
  18545. "%SYSBLDUSER%"
  18546. );
  18547. insert into sysbldobjects
  18548. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18549. create_can_fail, drop_sql, drop_can_fail)
  18550. values
  18551. (
  18552. "%SYSBLDNAME%", 5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
  18553. "%SYSBLDUSER%", 0,
  18554. "create function ApplyCalendar (TimeSeries,lvarchar,integer default 0)
  18555. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  18556. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_restrict_sql)"" language c;
  18557. ",
  18558. "f",
  18559. "drop function ApplyCalendar (TimeSeries,lvarchar,integer);
  18560. ",
  18561. "f"
  18562. );
  18563. insert into sysbldobjdepends
  18564. (
  18565. bld_id,
  18566. obj_kind,
  18567. obj_signature,
  18568. obj_owner,
  18569. need_obj_kind,
  18570. need_obj_signature,
  18571. need_obj_owner)
  18572. values
  18573. (
  18574. "%SYSBLDNAME%",
  18575. 5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
  18576. "%SYSBLDUSER%",
  18577. 7, "TimeSeries",
  18578. "%SYSBLDUSER%"
  18579. );
  18580. insert into sysbldobjects
  18581. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18582. create_can_fail, drop_sql, drop_can_fail)
  18583. values
  18584. (
  18585. "%SYSBLDNAME%", 69, "ApplyCalendar (TimeSeries,lvarchar,integer)",
  18586. "%SYSBLDUSER%", 0,
  18587. "grant execute on function ApplyCalendar (TimeSeries,lvarchar,integer) to public;
  18588. ",
  18589. "f",
  18590. "",
  18591. "f"
  18592. );
  18593. insert into sysbldobjdepends
  18594. (
  18595. bld_id,
  18596. obj_kind,
  18597. obj_signature,
  18598. obj_owner,
  18599. need_obj_kind,
  18600. need_obj_signature,
  18601. need_obj_owner)
  18602. values
  18603. (
  18604. "%SYSBLDNAME%",
  18605. 69, "ApplyCalendar (TimeSeries,lvarchar,integer)",
  18606. "%SYSBLDUSER%",
  18607. 5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
  18608. "%SYSBLDUSER%"
  18609. );
  18610. insert into sysbldobjects
  18611. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18612. create_can_fail, drop_sql, drop_can_fail)
  18613. values
  18614. (
  18615. "%SYSBLDNAME%", 5, "Transpose (TimeSeries,datetime,datetime,int)",
  18616. "%SYSBLDUSER%", 0,
  18617. "create function Transpose (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,int default 0)
  18618. returns row with (not variant, iterator, handlesnulls)
  18619. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_transpose_flags_sql)"" language c;
  18620. ",
  18621. "f",
  18622. "drop function Transpose (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int);
  18623. ",
  18624. "f"
  18625. );
  18626. insert into sysbldobjdepends
  18627. (
  18628. bld_id,
  18629. obj_kind,
  18630. obj_signature,
  18631. obj_owner,
  18632. need_obj_kind,
  18633. need_obj_signature,
  18634. need_obj_owner)
  18635. values
  18636. (
  18637. "%SYSBLDNAME%",
  18638. 5, "Transpose (TimeSeries,datetime,datetime,int)",
  18639. "%SYSBLDUSER%",
  18640. 7, "TimeSeries",
  18641. "%SYSBLDUSER%"
  18642. );
  18643. insert into sysbldobjects
  18644. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18645. create_can_fail, drop_sql, drop_can_fail)
  18646. values
  18647. (
  18648. "%SYSBLDNAME%", 69, "Transpose (TimeSeries,datetime,datetime,int)",
  18649. "%SYSBLDUSER%", 0,
  18650. "grant execute on function Transpose (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int) to public;
  18651. ",
  18652. "f",
  18653. "",
  18654. "f"
  18655. );
  18656. insert into sysbldobjdepends
  18657. (
  18658. bld_id,
  18659. obj_kind,
  18660. obj_signature,
  18661. obj_owner,
  18662. need_obj_kind,
  18663. need_obj_signature,
  18664. need_obj_owner)
  18665. values
  18666. (
  18667. "%SYSBLDNAME%",
  18668. 69, "Transpose (TimeSeries,datetime,datetime,int)",
  18669. "%SYSBLDUSER%",
  18670. 5, "Transpose (TimeSeries,datetime,datetime,int)",
  18671. "%SYSBLDUSER%"
  18672. );
  18673. insert into sysbldobjects
  18674. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18675. create_can_fail, drop_sql, drop_can_fail)
  18676. values
  18677. (
  18678. "%SYSBLDNAME%", 5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
  18679. "%SYSBLDUSER%", 0,
  18680. "create function AggregateBy (lvarchar,lvarchar,TimeSeries,integer default 0,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL)
  18681. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  18682. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_aggregate_by_sql)"" language c;
  18683. ",
  18684. "f",
  18685. "drop function AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5));
  18686. ",
  18687. "f"
  18688. );
  18689. insert into sysbldobjdepends
  18690. (
  18691. bld_id,
  18692. obj_kind,
  18693. obj_signature,
  18694. obj_owner,
  18695. need_obj_kind,
  18696. need_obj_signature,
  18697. need_obj_owner)
  18698. values
  18699. (
  18700. "%SYSBLDNAME%",
  18701. 5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
  18702. "%SYSBLDUSER%",
  18703. 7, "TimeSeries",
  18704. "%SYSBLDUSER%"
  18705. );
  18706. insert into sysbldobjects
  18707. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18708. create_can_fail, drop_sql, drop_can_fail)
  18709. values
  18710. (
  18711. "%SYSBLDNAME%", 69, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
  18712. "%SYSBLDUSER%", 0,
  18713. "grant execute on function AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5)) to public;
  18714. ",
  18715. "f",
  18716. "",
  18717. "f"
  18718. );
  18719. insert into sysbldobjdepends
  18720. (
  18721. bld_id,
  18722. obj_kind,
  18723. obj_signature,
  18724. obj_owner,
  18725. need_obj_kind,
  18726. need_obj_signature,
  18727. need_obj_owner)
  18728. values
  18729. (
  18730. "%SYSBLDNAME%",
  18731. 69, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
  18732. "%SYSBLDUSER%",
  18733. 5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
  18734. "%SYSBLDUSER%"
  18735. );
  18736. insert into sysbldobjects
  18737. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18738. create_can_fail, drop_sql, drop_can_fail)
  18739. values
  18740. (
  18741. "%SYSBLDNAME%", 5, "TimeSeriesBSAPI ()",
  18742. "%SYSBLDUSER%", 0,
  18743. "create function TimeSeriesBSAPI ()
  18744. returns pointer with (not variant, internal, handlesnulls)
  18745. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_begin_scan_api)"" language c;
  18746. ",
  18747. "f",
  18748. "drop function TimeSeriesBSAPI ();
  18749. ",
  18750. "f"
  18751. );
  18752. insert into sysbldobjects
  18753. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18754. create_can_fail, drop_sql, drop_can_fail)
  18755. values
  18756. (
  18757. "%SYSBLDNAME%", 69, "TimeSeriesBSAPI ()",
  18758. "%SYSBLDUSER%", 0,
  18759. "grant execute on function TimeSeriesBSAPI () to public;
  18760. ",
  18761. "f",
  18762. "",
  18763. "f"
  18764. );
  18765. insert into sysbldobjdepends
  18766. (
  18767. bld_id,
  18768. obj_kind,
  18769. obj_signature,
  18770. obj_owner,
  18771. need_obj_kind,
  18772. need_obj_signature,
  18773. need_obj_owner)
  18774. values
  18775. (
  18776. "%SYSBLDNAME%",
  18777. 69, "TimeSeriesBSAPI ()",
  18778. "%SYSBLDUSER%",
  18779. 5, "TimeSeriesBSAPI ()",
  18780. "%SYSBLDUSER%"
  18781. );
  18782. insert into sysbldobjects
  18783. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18784. create_can_fail, drop_sql, drop_can_fail)
  18785. values
  18786. (
  18787. "%SYSBLDNAME%", 5, "TimeSeriesNextAPI ()",
  18788. "%SYSBLDUSER%", 0,
  18789. "create function TimeSeriesNextAPI ()
  18790. returns pointer with (not variant, internal, handlesnulls)
  18791. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_next_api)"" language c;
  18792. ",
  18793. "f",
  18794. "drop function TimeSeriesNextAPI ();
  18795. ",
  18796. "f"
  18797. );
  18798. insert into sysbldobjects
  18799. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18800. create_can_fail, drop_sql, drop_can_fail)
  18801. values
  18802. (
  18803. "%SYSBLDNAME%", 69, "TimeSeriesNextAPI ()",
  18804. "%SYSBLDUSER%", 0,
  18805. "grant execute on function TimeSeriesNextAPI () to public;
  18806. ",
  18807. "f",
  18808. "",
  18809. "f"
  18810. );
  18811. insert into sysbldobjdepends
  18812. (
  18813. bld_id,
  18814. obj_kind,
  18815. obj_signature,
  18816. obj_owner,
  18817. need_obj_kind,
  18818. need_obj_signature,
  18819. need_obj_owner)
  18820. values
  18821. (
  18822. "%SYSBLDNAME%",
  18823. 69, "TimeSeriesNextAPI ()",
  18824. "%SYSBLDUSER%",
  18825. 5, "TimeSeriesNextAPI ()",
  18826. "%SYSBLDUSER%"
  18827. );
  18828. insert into sysbldobjects
  18829. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18830. create_can_fail, drop_sql, drop_can_fail)
  18831. values
  18832. (
  18833. "%SYSBLDNAME%", 5, "TimeSeriesCOAPI ()",
  18834. "%SYSBLDUSER%", 0,
  18835. "create function TimeSeriesCOAPI ()
  18836. returns pointer with (not variant, internal, handlesnulls)
  18837. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_current_offset_api)"" language c;
  18838. ",
  18839. "f",
  18840. "drop function TimeSeriesCOAPI ();
  18841. ",
  18842. "f"
  18843. );
  18844. insert into sysbldobjects
  18845. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18846. create_can_fail, drop_sql, drop_can_fail)
  18847. values
  18848. (
  18849. "%SYSBLDNAME%", 69, "TimeSeriesCOAPI ()",
  18850. "%SYSBLDUSER%", 0,
  18851. "grant execute on function TimeSeriesCOAPI () to public;
  18852. ",
  18853. "f",
  18854. "",
  18855. "f"
  18856. );
  18857. insert into sysbldobjdepends
  18858. (
  18859. bld_id,
  18860. obj_kind,
  18861. obj_signature,
  18862. obj_owner,
  18863. need_obj_kind,
  18864. need_obj_signature,
  18865. need_obj_owner)
  18866. values
  18867. (
  18868. "%SYSBLDNAME%",
  18869. 69, "TimeSeriesCOAPI ()",
  18870. "%SYSBLDUSER%",
  18871. 5, "TimeSeriesCOAPI ()",
  18872. "%SYSBLDUSER%"
  18873. );
  18874. insert into sysbldobjects
  18875. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18876. create_can_fail, drop_sql, drop_can_fail)
  18877. values
  18878. (
  18879. "%SYSBLDNAME%", 5, "TimeSeriesCSAPI ()",
  18880. "%SYSBLDUSER%", 0,
  18881. "create function TimeSeriesCSAPI ()
  18882. returns pointer with (not variant, internal, handlesnulls)
  18883. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_current_timestamp_api)"" language c;
  18884. ",
  18885. "f",
  18886. "drop function TimeSeriesCSAPI ();
  18887. ",
  18888. "f"
  18889. );
  18890. insert into sysbldobjects
  18891. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18892. create_can_fail, drop_sql, drop_can_fail)
  18893. values
  18894. (
  18895. "%SYSBLDNAME%", 69, "TimeSeriesCSAPI ()",
  18896. "%SYSBLDUSER%", 0,
  18897. "grant execute on function TimeSeriesCSAPI () to public;
  18898. ",
  18899. "f",
  18900. "",
  18901. "f"
  18902. );
  18903. insert into sysbldobjdepends
  18904. (
  18905. bld_id,
  18906. obj_kind,
  18907. obj_signature,
  18908. obj_owner,
  18909. need_obj_kind,
  18910. need_obj_signature,
  18911. need_obj_owner)
  18912. values
  18913. (
  18914. "%SYSBLDNAME%",
  18915. 69, "TimeSeriesCSAPI ()",
  18916. "%SYSBLDUSER%",
  18917. 5, "TimeSeriesCSAPI ()",
  18918. "%SYSBLDUSER%"
  18919. );
  18920. insert into sysbldobjects
  18921. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18922. create_can_fail, drop_sql, drop_can_fail)
  18923. values
  18924. (
  18925. "%SYSBLDNAME%", 5, "TimeSeriesGCBNAPI ()",
  18926. "%SYSBLDUSER%", 0,
  18927. "create function TimeSeriesGCBNAPI ()
  18928. returns pointer with (not variant, internal, handlesnulls)
  18929. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_col_by_name_api)"" language c;
  18930. ",
  18931. "f",
  18932. "drop function TimeSeriesGCBNAPI ();
  18933. ",
  18934. "f"
  18935. );
  18936. insert into sysbldobjects
  18937. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18938. create_can_fail, drop_sql, drop_can_fail)
  18939. values
  18940. (
  18941. "%SYSBLDNAME%", 69, "TimeSeriesGCBNAPI ()",
  18942. "%SYSBLDUSER%", 0,
  18943. "grant execute on function TimeSeriesGCBNAPI () to public;
  18944. ",
  18945. "f",
  18946. "",
  18947. "f"
  18948. );
  18949. insert into sysbldobjdepends
  18950. (
  18951. bld_id,
  18952. obj_kind,
  18953. obj_signature,
  18954. obj_owner,
  18955. need_obj_kind,
  18956. need_obj_signature,
  18957. need_obj_owner)
  18958. values
  18959. (
  18960. "%SYSBLDNAME%",
  18961. 69, "TimeSeriesGCBNAPI ()",
  18962. "%SYSBLDUSER%",
  18963. 5, "TimeSeriesGCBNAPI ()",
  18964. "%SYSBLDUSER%"
  18965. );
  18966. insert into sysbldobjects
  18967. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18968. create_can_fail, drop_sql, drop_can_fail)
  18969. values
  18970. (
  18971. "%SYSBLDNAME%", 5, "TimeSeriesGCBNMAPI ()",
  18972. "%SYSBLDUSER%", 0,
  18973. "create function TimeSeriesGCBNMAPI ()
  18974. returns pointer with (not variant, internal, handlesnulls)
  18975. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_col_by_number_api)"" language c;
  18976. ",
  18977. "f",
  18978. "drop function TimeSeriesGCBNMAPI ();
  18979. ",
  18980. "f"
  18981. );
  18982. insert into sysbldobjects
  18983. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  18984. create_can_fail, drop_sql, drop_can_fail)
  18985. values
  18986. (
  18987. "%SYSBLDNAME%", 69, "TimeSeriesGCBNMAPI ()",
  18988. "%SYSBLDUSER%", 0,
  18989. "grant execute on function TimeSeriesGCBNMAPI () to public;
  18990. ",
  18991. "f",
  18992. "",
  18993. "f"
  18994. );
  18995. insert into sysbldobjdepends
  18996. (
  18997. bld_id,
  18998. obj_kind,
  18999. obj_signature,
  19000. obj_owner,
  19001. need_obj_kind,
  19002. need_obj_signature,
  19003. need_obj_owner)
  19004. values
  19005. (
  19006. "%SYSBLDNAME%",
  19007. 69, "TimeSeriesGCBNMAPI ()",
  19008. "%SYSBLDUSER%",
  19009. 5, "TimeSeriesGCBNMAPI ()",
  19010. "%SYSBLDUSER%"
  19011. );
  19012. insert into sysbldobjects
  19013. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19014. create_can_fail, drop_sql, drop_can_fail)
  19015. values
  19016. (
  19017. "%SYSBLDNAME%", 5, "TimeSeriesESAPI ()",
  19018. "%SYSBLDUSER%", 0,
  19019. "create function TimeSeriesESAPI ()
  19020. returns pointer with (not variant, internal, handlesnulls)
  19021. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_end_scan_api)"" language c;
  19022. ",
  19023. "f",
  19024. "drop function TimeSeriesESAPI ();
  19025. ",
  19026. "f"
  19027. );
  19028. insert into sysbldobjects
  19029. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19030. create_can_fail, drop_sql, drop_can_fail)
  19031. values
  19032. (
  19033. "%SYSBLDNAME%", 69, "TimeSeriesESAPI ()",
  19034. "%SYSBLDUSER%", 0,
  19035. "grant execute on function TimeSeriesESAPI () to public;
  19036. ",
  19037. "f",
  19038. "",
  19039. "f"
  19040. );
  19041. insert into sysbldobjdepends
  19042. (
  19043. bld_id,
  19044. obj_kind,
  19045. obj_signature,
  19046. obj_owner,
  19047. need_obj_kind,
  19048. need_obj_signature,
  19049. need_obj_owner)
  19050. values
  19051. (
  19052. "%SYSBLDNAME%",
  19053. 69, "TimeSeriesESAPI ()",
  19054. "%SYSBLDUSER%",
  19055. 5, "TimeSeriesESAPI ()",
  19056. "%SYSBLDUSER%"
  19057. );
  19058. insert into sysbldobjects
  19059. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19060. create_can_fail, drop_sql, drop_can_fail)
  19061. values
  19062. (
  19063. "%SYSBLDNAME%", 5, "TimeSeriesMakeAPI ()",
  19064. "%SYSBLDUSER%", 0,
  19065. "create function TimeSeriesMakeAPI ()
  19066. returns pointer with (not variant, internal, handlesnulls)
  19067. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_api)"" language c;
  19068. ",
  19069. "f",
  19070. "drop function TimeSeriesMakeAPI ();
  19071. ",
  19072. "f"
  19073. );
  19074. insert into sysbldobjects
  19075. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19076. create_can_fail, drop_sql, drop_can_fail)
  19077. values
  19078. (
  19079. "%SYSBLDNAME%", 69, "TimeSeriesMakeAPI ()",
  19080. "%SYSBLDUSER%", 0,
  19081. "grant execute on function TimeSeriesMakeAPI () to public;
  19082. ",
  19083. "f",
  19084. "",
  19085. "f"
  19086. );
  19087. insert into sysbldobjdepends
  19088. (
  19089. bld_id,
  19090. obj_kind,
  19091. obj_signature,
  19092. obj_owner,
  19093. need_obj_kind,
  19094. need_obj_signature,
  19095. need_obj_owner)
  19096. values
  19097. (
  19098. "%SYSBLDNAME%",
  19099. 69, "TimeSeriesMakeAPI ()",
  19100. "%SYSBLDUSER%",
  19101. 5, "TimeSeriesMakeAPI ()",
  19102. "%SYSBLDUSER%"
  19103. );
  19104. insert into sysbldobjects
  19105. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19106. create_can_fail, drop_sql, drop_can_fail)
  19107. values
  19108. (
  19109. "%SYSBLDNAME%", 5, "TSUpdMetaAPI ()",
  19110. "%SYSBLDUSER%", 0,
  19111. "create function TSUpdMetaAPI ()
  19112. returns pointer
  19113. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_metadata_api)"" language c;
  19114. ",
  19115. "f",
  19116. "drop function TSUpdMetaAPI ();
  19117. ",
  19118. "f"
  19119. );
  19120. insert into sysbldobjects
  19121. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19122. create_can_fail, drop_sql, drop_can_fail)
  19123. values
  19124. (
  19125. "%SYSBLDNAME%", 69, "TSUpdMetaAPI ()",
  19126. "%SYSBLDUSER%", 0,
  19127. "grant execute on function TSUpdMetaAPI () to public;
  19128. ",
  19129. "f",
  19130. "",
  19131. "f"
  19132. );
  19133. insert into sysbldobjdepends
  19134. (
  19135. bld_id,
  19136. obj_kind,
  19137. obj_signature,
  19138. obj_owner,
  19139. need_obj_kind,
  19140. need_obj_signature,
  19141. need_obj_owner)
  19142. values
  19143. (
  19144. "%SYSBLDNAME%",
  19145. 69, "TSUpdMetaAPI ()",
  19146. "%SYSBLDUSER%",
  19147. 5, "TSUpdMetaAPI ()",
  19148. "%SYSBLDUSER%"
  19149. );
  19150. insert into sysbldobjects
  19151. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19152. create_can_fail, drop_sql, drop_can_fail)
  19153. values
  19154. (
  19155. "%SYSBLDNAME%", 5, "TSGetMetaAPI ()",
  19156. "%SYSBLDUSER%", 0,
  19157. "create function TSGetMetaAPI ()
  19158. returns pointer
  19159. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_api)"" language c;
  19160. ",
  19161. "f",
  19162. "drop function TSGetMetaAPI ();
  19163. ",
  19164. "f"
  19165. );
  19166. insert into sysbldobjects
  19167. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19168. create_can_fail, drop_sql, drop_can_fail)
  19169. values
  19170. (
  19171. "%SYSBLDNAME%", 69, "TSGetMetaAPI ()",
  19172. "%SYSBLDUSER%", 0,
  19173. "grant execute on function TSGetMetaAPI () to public;
  19174. ",
  19175. "f",
  19176. "",
  19177. "f"
  19178. );
  19179. insert into sysbldobjdepends
  19180. (
  19181. bld_id,
  19182. obj_kind,
  19183. obj_signature,
  19184. obj_owner,
  19185. need_obj_kind,
  19186. need_obj_signature,
  19187. need_obj_owner)
  19188. values
  19189. (
  19190. "%SYSBLDNAME%",
  19191. 69, "TSGetMetaAPI ()",
  19192. "%SYSBLDUSER%",
  19193. 5, "TSGetMetaAPI ()",
  19194. "%SYSBLDUSER%"
  19195. );
  19196. insert into sysbldobjects
  19197. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19198. create_can_fail, drop_sql, drop_can_fail)
  19199. values
  19200. (
  19201. "%SYSBLDNAME%", 5, "TimeSeriesPutLEAPI ()",
  19202. "%SYSBLDUSER%", 0,
  19203. "create function TimeSeriesPutLEAPI ()
  19204. returns pointer with (not variant, internal, handlesnulls)
  19205. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_last_elem_api)"" language c;
  19206. ",
  19207. "f",
  19208. "drop function TimeSeriesPutLEAPI ();
  19209. ",
  19210. "f"
  19211. );
  19212. insert into sysbldobjects
  19213. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19214. create_can_fail, drop_sql, drop_can_fail)
  19215. values
  19216. (
  19217. "%SYSBLDNAME%", 69, "TimeSeriesPutLEAPI ()",
  19218. "%SYSBLDUSER%", 0,
  19219. "grant execute on function TimeSeriesPutLEAPI () to public;
  19220. ",
  19221. "f",
  19222. "",
  19223. "f"
  19224. );
  19225. insert into sysbldobjdepends
  19226. (
  19227. bld_id,
  19228. obj_kind,
  19229. obj_signature,
  19230. obj_owner,
  19231. need_obj_kind,
  19232. need_obj_signature,
  19233. need_obj_owner)
  19234. values
  19235. (
  19236. "%SYSBLDNAME%",
  19237. 69, "TimeSeriesPutLEAPI ()",
  19238. "%SYSBLDUSER%",
  19239. 5, "TimeSeriesPutLEAPI ()",
  19240. "%SYSBLDUSER%"
  19241. );
  19242. insert into sysbldobjects
  19243. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19244. create_can_fail, drop_sql, drop_can_fail)
  19245. values
  19246. (
  19247. "%SYSBLDNAME%", 5, "TimeSeriesPNEAPI ()",
  19248. "%SYSBLDUSER%", 0,
  19249. "create function TimeSeriesPNEAPI ()
  19250. returns pointer with (not variant, internal, handlesnulls)
  19251. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_nth_elem_api)"" language c;
  19252. ",
  19253. "f",
  19254. "drop function TimeSeriesPNEAPI ();
  19255. ",
  19256. "f"
  19257. );
  19258. insert into sysbldobjects
  19259. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19260. create_can_fail, drop_sql, drop_can_fail)
  19261. values
  19262. (
  19263. "%SYSBLDNAME%", 69, "TimeSeriesPNEAPI ()",
  19264. "%SYSBLDUSER%", 0,
  19265. "grant execute on function TimeSeriesPNEAPI () to public;
  19266. ",
  19267. "f",
  19268. "",
  19269. "f"
  19270. );
  19271. insert into sysbldobjdepends
  19272. (
  19273. bld_id,
  19274. obj_kind,
  19275. obj_signature,
  19276. obj_owner,
  19277. need_obj_kind,
  19278. need_obj_signature,
  19279. need_obj_owner)
  19280. values
  19281. (
  19282. "%SYSBLDNAME%",
  19283. 69, "TimeSeriesPNEAPI ()",
  19284. "%SYSBLDUSER%",
  19285. 5, "TimeSeriesPNEAPI ()",
  19286. "%SYSBLDUSER%"
  19287. );
  19288. insert into sysbldobjects
  19289. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19290. create_can_fail, drop_sql, drop_can_fail)
  19291. values
  19292. (
  19293. "%SYSBLDNAME%", 5, "TimeSeriesPEAPI ()",
  19294. "%SYSBLDUSER%", 0,
  19295. "create function TimeSeriesPEAPI ()
  19296. returns pointer with (not variant, internal, handlesnulls)
  19297. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_api)"" language c;
  19298. ",
  19299. "f",
  19300. "drop function TimeSeriesPEAPI ();
  19301. ",
  19302. "f"
  19303. );
  19304. insert into sysbldobjects
  19305. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19306. create_can_fail, drop_sql, drop_can_fail)
  19307. values
  19308. (
  19309. "%SYSBLDNAME%", 69, "TimeSeriesPEAPI ()",
  19310. "%SYSBLDUSER%", 0,
  19311. "grant execute on function TimeSeriesPEAPI () to public;
  19312. ",
  19313. "f",
  19314. "",
  19315. "f"
  19316. );
  19317. insert into sysbldobjdepends
  19318. (
  19319. bld_id,
  19320. obj_kind,
  19321. obj_signature,
  19322. obj_owner,
  19323. need_obj_kind,
  19324. need_obj_signature,
  19325. need_obj_owner)
  19326. values
  19327. (
  19328. "%SYSBLDNAME%",
  19329. 69, "TimeSeriesPEAPI ()",
  19330. "%SYSBLDUSER%",
  19331. 5, "TimeSeriesPEAPI ()",
  19332. "%SYSBLDUSER%"
  19333. );
  19334. insert into sysbldobjects
  19335. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19336. create_can_fail, drop_sql, drop_can_fail)
  19337. values
  19338. (
  19339. "%SYSBLDNAME%", 5, "TimeSeriesPENDAPI ()",
  19340. "%SYSBLDUSER%", 0,
  19341. "create function TimeSeriesPENDAPI ()
  19342. returns pointer with (not variant, internal, handlesnulls)
  19343. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_no_dups_api)"" language c;
  19344. ",
  19345. "f",
  19346. "drop function TimeSeriesPENDAPI ();
  19347. ",
  19348. "f"
  19349. );
  19350. insert into sysbldobjects
  19351. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19352. create_can_fail, drop_sql, drop_can_fail)
  19353. values
  19354. (
  19355. "%SYSBLDNAME%", 69, "TimeSeriesPENDAPI ()",
  19356. "%SYSBLDUSER%", 0,
  19357. "grant execute on function TimeSeriesPENDAPI () to public;
  19358. ",
  19359. "f",
  19360. "",
  19361. "f"
  19362. );
  19363. insert into sysbldobjdepends
  19364. (
  19365. bld_id,
  19366. obj_kind,
  19367. obj_signature,
  19368. obj_owner,
  19369. need_obj_kind,
  19370. need_obj_signature,
  19371. need_obj_owner)
  19372. values
  19373. (
  19374. "%SYSBLDNAME%",
  19375. 69, "TimeSeriesPENDAPI ()",
  19376. "%SYSBLDUSER%",
  19377. 5, "TimeSeriesPENDAPI ()",
  19378. "%SYSBLDUSER%"
  19379. );
  19380. insert into sysbldobjects
  19381. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19382. create_can_fail, drop_sql, drop_can_fail)
  19383. values
  19384. (
  19385. "%SYSBLDNAME%", 5, "TimeSeriesIEAPI ()",
  19386. "%SYSBLDUSER%", 0,
  19387. "create function TimeSeriesIEAPI ()
  19388. returns pointer with (not variant, internal, handlesnulls)
  19389. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_elem_api)"" language c;
  19390. ",
  19391. "f",
  19392. "drop function TimeSeriesIEAPI ();
  19393. ",
  19394. "f"
  19395. );
  19396. insert into sysbldobjects
  19397. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19398. create_can_fail, drop_sql, drop_can_fail)
  19399. values
  19400. (
  19401. "%SYSBLDNAME%", 69, "TimeSeriesIEAPI ()",
  19402. "%SYSBLDUSER%", 0,
  19403. "grant execute on function TimeSeriesIEAPI () to public;
  19404. ",
  19405. "f",
  19406. "",
  19407. "f"
  19408. );
  19409. insert into sysbldobjdepends
  19410. (
  19411. bld_id,
  19412. obj_kind,
  19413. obj_signature,
  19414. obj_owner,
  19415. need_obj_kind,
  19416. need_obj_signature,
  19417. need_obj_owner)
  19418. values
  19419. (
  19420. "%SYSBLDNAME%",
  19421. 69, "TimeSeriesIEAPI ()",
  19422. "%SYSBLDUSER%",
  19423. 5, "TimeSeriesIEAPI ()",
  19424. "%SYSBLDUSER%"
  19425. );
  19426. insert into sysbldobjects
  19427. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19428. create_can_fail, drop_sql, drop_can_fail)
  19429. values
  19430. (
  19431. "%SYSBLDNAME%", 5, "TimeSeriesUEAPI ()",
  19432. "%SYSBLDUSER%", 0,
  19433. "create function TimeSeriesUEAPI ()
  19434. returns pointer with (not variant, internal, handlesnulls)
  19435. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_elem_api)"" language c;
  19436. ",
  19437. "f",
  19438. "drop function TimeSeriesUEAPI ();
  19439. ",
  19440. "f"
  19441. );
  19442. insert into sysbldobjects
  19443. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19444. create_can_fail, drop_sql, drop_can_fail)
  19445. values
  19446. (
  19447. "%SYSBLDNAME%", 69, "TimeSeriesUEAPI ()",
  19448. "%SYSBLDUSER%", 0,
  19449. "grant execute on function TimeSeriesUEAPI () to public;
  19450. ",
  19451. "f",
  19452. "",
  19453. "f"
  19454. );
  19455. insert into sysbldobjdepends
  19456. (
  19457. bld_id,
  19458. obj_kind,
  19459. obj_signature,
  19460. obj_owner,
  19461. need_obj_kind,
  19462. need_obj_signature,
  19463. need_obj_owner)
  19464. values
  19465. (
  19466. "%SYSBLDNAME%",
  19467. 69, "TimeSeriesUEAPI ()",
  19468. "%SYSBLDUSER%",
  19469. 5, "TimeSeriesUEAPI ()",
  19470. "%SYSBLDUSER%"
  19471. );
  19472. insert into sysbldobjects
  19473. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19474. create_can_fail, drop_sql, drop_can_fail)
  19475. values
  19476. (
  19477. "%SYSBLDNAME%", 5, "TimeSeriesDELAPI ()",
  19478. "%SYSBLDUSER%", 0,
  19479. "create function TimeSeriesDELAPI ()
  19480. returns pointer with (not variant, internal, handlesnulls)
  19481. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_elem_api)"" language c;
  19482. ",
  19483. "f",
  19484. "drop function TimeSeriesDELAPI ();
  19485. ",
  19486. "f"
  19487. );
  19488. insert into sysbldobjects
  19489. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19490. create_can_fail, drop_sql, drop_can_fail)
  19491. values
  19492. (
  19493. "%SYSBLDNAME%", 69, "TimeSeriesDELAPI ()",
  19494. "%SYSBLDUSER%", 0,
  19495. "grant execute on function TimeSeriesDELAPI () to public;
  19496. ",
  19497. "f",
  19498. "",
  19499. "f"
  19500. );
  19501. insert into sysbldobjdepends
  19502. (
  19503. bld_id,
  19504. obj_kind,
  19505. obj_signature,
  19506. obj_owner,
  19507. need_obj_kind,
  19508. need_obj_signature,
  19509. need_obj_owner)
  19510. values
  19511. (
  19512. "%SYSBLDNAME%",
  19513. 69, "TimeSeriesDELAPI ()",
  19514. "%SYSBLDUSER%",
  19515. 5, "TimeSeriesDELAPI ()",
  19516. "%SYSBLDUSER%"
  19517. );
  19518. insert into sysbldobjects
  19519. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19520. create_can_fail, drop_sql, drop_can_fail)
  19521. values
  19522. (
  19523. "%SYSBLDNAME%", 5, "TimeSeriesGNEAPI ()",
  19524. "%SYSBLDUSER%", 0,
  19525. "create function TimeSeriesGNEAPI ()
  19526. returns pointer with (not variant, internal, handlesnulls)
  19527. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_nth_elem_api)"" language c;
  19528. ",
  19529. "f",
  19530. "drop function TimeSeriesGNEAPI ();
  19531. ",
  19532. "f"
  19533. );
  19534. insert into sysbldobjects
  19535. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19536. create_can_fail, drop_sql, drop_can_fail)
  19537. values
  19538. (
  19539. "%SYSBLDNAME%", 69, "TimeSeriesGNEAPI ()",
  19540. "%SYSBLDUSER%", 0,
  19541. "grant execute on function TimeSeriesGNEAPI () to public;
  19542. ",
  19543. "f",
  19544. "",
  19545. "f"
  19546. );
  19547. insert into sysbldobjdepends
  19548. (
  19549. bld_id,
  19550. obj_kind,
  19551. obj_signature,
  19552. obj_owner,
  19553. need_obj_kind,
  19554. need_obj_signature,
  19555. need_obj_owner)
  19556. values
  19557. (
  19558. "%SYSBLDNAME%",
  19559. 69, "TimeSeriesGNEAPI ()",
  19560. "%SYSBLDUSER%",
  19561. 5, "TimeSeriesGNEAPI ()",
  19562. "%SYSBLDUSER%"
  19563. );
  19564. insert into sysbldobjects
  19565. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19566. create_can_fail, drop_sql, drop_can_fail)
  19567. values
  19568. (
  19569. "%SYSBLDNAME%", 5, "TimeSeriesGLEAPI ()",
  19570. "%SYSBLDUSER%", 0,
  19571. "create function TimeSeriesGLEAPI ()
  19572. returns pointer with (not variant, internal, handlesnulls)
  19573. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_elem_api)"" language c;
  19574. ",
  19575. "f",
  19576. "drop function TimeSeriesGLEAPI ();
  19577. ",
  19578. "f"
  19579. );
  19580. insert into sysbldobjects
  19581. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19582. create_can_fail, drop_sql, drop_can_fail)
  19583. values
  19584. (
  19585. "%SYSBLDNAME%", 69, "TimeSeriesGLEAPI ()",
  19586. "%SYSBLDUSER%", 0,
  19587. "grant execute on function TimeSeriesGLEAPI () to public;
  19588. ",
  19589. "f",
  19590. "",
  19591. "f"
  19592. );
  19593. insert into sysbldobjdepends
  19594. (
  19595. bld_id,
  19596. obj_kind,
  19597. obj_signature,
  19598. obj_owner,
  19599. need_obj_kind,
  19600. need_obj_signature,
  19601. need_obj_owner)
  19602. values
  19603. (
  19604. "%SYSBLDNAME%",
  19605. 69, "TimeSeriesGLEAPI ()",
  19606. "%SYSBLDUSER%",
  19607. 5, "TimeSeriesGLEAPI ()",
  19608. "%SYSBLDUSER%"
  19609. );
  19610. insert into sysbldobjects
  19611. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19612. create_can_fail, drop_sql, drop_can_fail)
  19613. values
  19614. (
  19615. "%SYSBLDNAME%", 5, "TimeSeriesGEAPI ()",
  19616. "%SYSBLDUSER%", 0,
  19617. "create function TimeSeriesGEAPI ()
  19618. returns pointer with (not variant, internal, handlesnulls)
  19619. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_elem_api)"" language c;
  19620. ",
  19621. "f",
  19622. "drop function TimeSeriesGEAPI ();
  19623. ",
  19624. "f"
  19625. );
  19626. insert into sysbldobjects
  19627. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19628. create_can_fail, drop_sql, drop_can_fail)
  19629. values
  19630. (
  19631. "%SYSBLDNAME%", 69, "TimeSeriesGEAPI ()",
  19632. "%SYSBLDUSER%", 0,
  19633. "grant execute on function TimeSeriesGEAPI () to public;
  19634. ",
  19635. "f",
  19636. "",
  19637. "f"
  19638. );
  19639. insert into sysbldobjdepends
  19640. (
  19641. bld_id,
  19642. obj_kind,
  19643. obj_signature,
  19644. obj_owner,
  19645. need_obj_kind,
  19646. need_obj_signature,
  19647. need_obj_owner)
  19648. values
  19649. (
  19650. "%SYSBLDNAME%",
  19651. 69, "TimeSeriesGEAPI ()",
  19652. "%SYSBLDUSER%",
  19653. 5, "TimeSeriesGEAPI ()",
  19654. "%SYSBLDUSER%"
  19655. );
  19656. insert into sysbldobjects
  19657. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19658. create_can_fail, drop_sql, drop_can_fail)
  19659. values
  19660. (
  19661. "%SYSBLDNAME%", 5, "TimeSeriesGFEAPI ()",
  19662. "%SYSBLDUSER%", 0,
  19663. "create function TimeSeriesGFEAPI ()
  19664. returns pointer with (not variant, internal, handlesnulls)
  19665. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_first_elem_api)"" language c;
  19666. ",
  19667. "f",
  19668. "drop function TimeSeriesGFEAPI ();
  19669. ",
  19670. "f"
  19671. );
  19672. insert into sysbldobjects
  19673. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19674. create_can_fail, drop_sql, drop_can_fail)
  19675. values
  19676. (
  19677. "%SYSBLDNAME%", 69, "TimeSeriesGFEAPI ()",
  19678. "%SYSBLDUSER%", 0,
  19679. "grant execute on function TimeSeriesGFEAPI () to public;
  19680. ",
  19681. "f",
  19682. "",
  19683. "f"
  19684. );
  19685. insert into sysbldobjdepends
  19686. (
  19687. bld_id,
  19688. obj_kind,
  19689. obj_signature,
  19690. obj_owner,
  19691. need_obj_kind,
  19692. need_obj_signature,
  19693. need_obj_owner)
  19694. values
  19695. (
  19696. "%SYSBLDNAME%",
  19697. 69, "TimeSeriesGFEAPI ()",
  19698. "%SYSBLDUSER%",
  19699. 5, "TimeSeriesGFEAPI ()",
  19700. "%SYSBLDUSER%"
  19701. );
  19702. insert into sysbldobjects
  19703. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19704. create_can_fail, drop_sql, drop_can_fail)
  19705. values
  19706. (
  19707. "%SYSBLDNAME%", 5, "TimeSeriesNVAPI ()",
  19708. "%SYSBLDUSER%", 0,
  19709. "create function TimeSeriesNVAPI ()
  19710. returns pointer with (not variant, internal, handlesnulls)
  19711. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_next_valid_api)"" language c;
  19712. ",
  19713. "f",
  19714. "drop function TimeSeriesNVAPI ();
  19715. ",
  19716. "f"
  19717. );
  19718. insert into sysbldobjects
  19719. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19720. create_can_fail, drop_sql, drop_can_fail)
  19721. values
  19722. (
  19723. "%SYSBLDNAME%", 69, "TimeSeriesNVAPI ()",
  19724. "%SYSBLDUSER%", 0,
  19725. "grant execute on function TimeSeriesNVAPI () to public;
  19726. ",
  19727. "f",
  19728. "",
  19729. "f"
  19730. );
  19731. insert into sysbldobjdepends
  19732. (
  19733. bld_id,
  19734. obj_kind,
  19735. obj_signature,
  19736. obj_owner,
  19737. need_obj_kind,
  19738. need_obj_signature,
  19739. need_obj_owner)
  19740. values
  19741. (
  19742. "%SYSBLDNAME%",
  19743. 69, "TimeSeriesNVAPI ()",
  19744. "%SYSBLDUSER%",
  19745. 5, "TimeSeriesNVAPI ()",
  19746. "%SYSBLDUSER%"
  19747. );
  19748. insert into sysbldobjects
  19749. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19750. create_can_fail, drop_sql, drop_can_fail)
  19751. values
  19752. (
  19753. "%SYSBLDNAME%", 5, "TimeSeriesPVAPI ()",
  19754. "%SYSBLDUSER%", 0,
  19755. "create function TimeSeriesPVAPI ()
  19756. returns pointer with (not variant, internal, handlesnulls)
  19757. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_previous_valid_api)"" language c;
  19758. ",
  19759. "f",
  19760. "drop function TimeSeriesPVAPI ();
  19761. ",
  19762. "f"
  19763. );
  19764. insert into sysbldobjects
  19765. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19766. create_can_fail, drop_sql, drop_can_fail)
  19767. values
  19768. (
  19769. "%SYSBLDNAME%", 69, "TimeSeriesPVAPI ()",
  19770. "%SYSBLDUSER%", 0,
  19771. "grant execute on function TimeSeriesPVAPI () to public;
  19772. ",
  19773. "f",
  19774. "",
  19775. "f"
  19776. );
  19777. insert into sysbldobjdepends
  19778. (
  19779. bld_id,
  19780. obj_kind,
  19781. obj_signature,
  19782. obj_owner,
  19783. need_obj_kind,
  19784. need_obj_signature,
  19785. need_obj_owner)
  19786. values
  19787. (
  19788. "%SYSBLDNAME%",
  19789. 69, "TimeSeriesPVAPI ()",
  19790. "%SYSBLDUSER%",
  19791. 5, "TimeSeriesPVAPI ()",
  19792. "%SYSBLDUSER%"
  19793. );
  19794. insert into sysbldobjects
  19795. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19796. create_can_fail, drop_sql, drop_can_fail)
  19797. values
  19798. (
  19799. "%SYSBLDNAME%", 5, "TimeSeriesLVAPI ()",
  19800. "%SYSBLDUSER%", 0,
  19801. "create function TimeSeriesLVAPI ()
  19802. returns pointer with (not variant, internal, handlesnulls)
  19803. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_last_valid_api)"" language c;
  19804. ",
  19805. "f",
  19806. "drop function TimeSeriesLVAPI ();
  19807. ",
  19808. "f"
  19809. );
  19810. insert into sysbldobjects
  19811. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19812. create_can_fail, drop_sql, drop_can_fail)
  19813. values
  19814. (
  19815. "%SYSBLDNAME%", 69, "TimeSeriesLVAPI ()",
  19816. "%SYSBLDUSER%", 0,
  19817. "grant execute on function TimeSeriesLVAPI () to public;
  19818. ",
  19819. "f",
  19820. "",
  19821. "f"
  19822. );
  19823. insert into sysbldobjdepends
  19824. (
  19825. bld_id,
  19826. obj_kind,
  19827. obj_signature,
  19828. obj_owner,
  19829. need_obj_kind,
  19830. need_obj_signature,
  19831. need_obj_owner)
  19832. values
  19833. (
  19834. "%SYSBLDNAME%",
  19835. 69, "TimeSeriesLVAPI ()",
  19836. "%SYSBLDUSER%",
  19837. 5, "TimeSeriesLVAPI ()",
  19838. "%SYSBLDUSER%"
  19839. );
  19840. insert into sysbldobjects
  19841. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19842. create_can_fail, drop_sql, drop_can_fail)
  19843. values
  19844. (
  19845. "%SYSBLDNAME%", 5, "TimeSeriesGIAPI ()",
  19846. "%SYSBLDUSER%", 0,
  19847. "create function TimeSeriesGIAPI ()
  19848. returns pointer with (not variant, internal, handlesnulls)
  19849. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_index_api)"" language c;
  19850. ",
  19851. "f",
  19852. "drop function TimeSeriesGIAPI ();
  19853. ",
  19854. "f"
  19855. );
  19856. insert into sysbldobjects
  19857. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19858. create_can_fail, drop_sql, drop_can_fail)
  19859. values
  19860. (
  19861. "%SYSBLDNAME%", 69, "TimeSeriesGIAPI ()",
  19862. "%SYSBLDUSER%", 0,
  19863. "grant execute on function TimeSeriesGIAPI () to public;
  19864. ",
  19865. "f",
  19866. "",
  19867. "f"
  19868. );
  19869. insert into sysbldobjdepends
  19870. (
  19871. bld_id,
  19872. obj_kind,
  19873. obj_signature,
  19874. obj_owner,
  19875. need_obj_kind,
  19876. need_obj_signature,
  19877. need_obj_owner)
  19878. values
  19879. (
  19880. "%SYSBLDNAME%",
  19881. 69, "TimeSeriesGIAPI ()",
  19882. "%SYSBLDUSER%",
  19883. 5, "TimeSeriesGIAPI ()",
  19884. "%SYSBLDUSER%"
  19885. );
  19886. insert into sysbldobjects
  19887. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19888. create_can_fail, drop_sql, drop_can_fail)
  19889. values
  19890. (
  19891. "%SYSBLDNAME%", 5, "TimeSeriesHEAPI ()",
  19892. "%SYSBLDUSER%", 0,
  19893. "create function TimeSeriesHEAPI ()
  19894. returns pointer with (not variant, internal, handlesnulls)
  19895. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_api)"" language c;
  19896. ",
  19897. "f",
  19898. "drop function TimeSeriesHEAPI ();
  19899. ",
  19900. "f"
  19901. );
  19902. insert into sysbldobjects
  19903. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19904. create_can_fail, drop_sql, drop_can_fail)
  19905. values
  19906. (
  19907. "%SYSBLDNAME%", 69, "TimeSeriesHEAPI ()",
  19908. "%SYSBLDUSER%", 0,
  19909. "grant execute on function TimeSeriesHEAPI () to public;
  19910. ",
  19911. "f",
  19912. "",
  19913. "f"
  19914. );
  19915. insert into sysbldobjdepends
  19916. (
  19917. bld_id,
  19918. obj_kind,
  19919. obj_signature,
  19920. obj_owner,
  19921. need_obj_kind,
  19922. need_obj_signature,
  19923. need_obj_owner)
  19924. values
  19925. (
  19926. "%SYSBLDNAME%",
  19927. 69, "TimeSeriesHEAPI ()",
  19928. "%SYSBLDUSER%",
  19929. 5, "TimeSeriesHEAPI ()",
  19930. "%SYSBLDUSER%"
  19931. );
  19932. insert into sysbldobjects
  19933. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19934. create_can_fail, drop_sql, drop_can_fail)
  19935. values
  19936. (
  19937. "%SYSBLDNAME%", 5, "TimeSeriesDEAPI ()",
  19938. "%SYSBLDUSER%", 0,
  19939. "create function TimeSeriesDEAPI ()
  19940. returns pointer with (not variant, internal, handlesnulls)
  19941. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_deform_elem_api)"" language c;
  19942. ",
  19943. "f",
  19944. "drop function TimeSeriesDEAPI ();
  19945. ",
  19946. "f"
  19947. );
  19948. insert into sysbldobjects
  19949. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19950. create_can_fail, drop_sql, drop_can_fail)
  19951. values
  19952. (
  19953. "%SYSBLDNAME%", 69, "TimeSeriesDEAPI ()",
  19954. "%SYSBLDUSER%", 0,
  19955. "grant execute on function TimeSeriesDEAPI () to public;
  19956. ",
  19957. "f",
  19958. "",
  19959. "f"
  19960. );
  19961. insert into sysbldobjdepends
  19962. (
  19963. bld_id,
  19964. obj_kind,
  19965. obj_signature,
  19966. obj_owner,
  19967. need_obj_kind,
  19968. need_obj_signature,
  19969. need_obj_owner)
  19970. values
  19971. (
  19972. "%SYSBLDNAME%",
  19973. 69, "TimeSeriesDEAPI ()",
  19974. "%SYSBLDUSER%",
  19975. 5, "TimeSeriesDEAPI ()",
  19976. "%SYSBLDUSER%"
  19977. );
  19978. insert into sysbldobjects
  19979. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19980. create_can_fail, drop_sql, drop_can_fail)
  19981. values
  19982. (
  19983. "%SYSBLDNAME%", 5, "TimeSeriesMEAPI ()",
  19984. "%SYSBLDUSER%", 0,
  19985. "create function TimeSeriesMEAPI ()
  19986. returns pointer with (not variant, internal, handlesnulls)
  19987. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_api)"" language c;
  19988. ",
  19989. "f",
  19990. "drop function TimeSeriesMEAPI ();
  19991. ",
  19992. "f"
  19993. );
  19994. insert into sysbldobjects
  19995. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  19996. create_can_fail, drop_sql, drop_can_fail)
  19997. values
  19998. (
  19999. "%SYSBLDNAME%", 69, "TimeSeriesMEAPI ()",
  20000. "%SYSBLDUSER%", 0,
  20001. "grant execute on function TimeSeriesMEAPI () to public;
  20002. ",
  20003. "f",
  20004. "",
  20005. "f"
  20006. );
  20007. insert into sysbldobjdepends
  20008. (
  20009. bld_id,
  20010. obj_kind,
  20011. obj_signature,
  20012. obj_owner,
  20013. need_obj_kind,
  20014. need_obj_signature,
  20015. need_obj_owner)
  20016. values
  20017. (
  20018. "%SYSBLDNAME%",
  20019. 69, "TimeSeriesMEAPI ()",
  20020. "%SYSBLDUSER%",
  20021. 5, "TimeSeriesMEAPI ()",
  20022. "%SYSBLDUSER%"
  20023. );
  20024. insert into sysbldobjects
  20025. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20026. create_can_fail, drop_sql, drop_can_fail)
  20027. values
  20028. (
  20029. "%SYSBLDNAME%", 5, "TimeSeriesMEBAPI ()",
  20030. "%SYSBLDUSER%", 0,
  20031. "create function TimeSeriesMEBAPI ()
  20032. returns pointer with (not variant, internal, handlesnulls)
  20033. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_rowdesc_api)"" language c;
  20034. ",
  20035. "f",
  20036. "drop function TimeSeriesMEBAPI ();
  20037. ",
  20038. "f"
  20039. );
  20040. insert into sysbldobjects
  20041. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20042. create_can_fail, drop_sql, drop_can_fail)
  20043. values
  20044. (
  20045. "%SYSBLDNAME%", 69, "TimeSeriesMEBAPI ()",
  20046. "%SYSBLDUSER%", 0,
  20047. "grant execute on function TimeSeriesMEBAPI () to public;
  20048. ",
  20049. "f",
  20050. "",
  20051. "f"
  20052. );
  20053. insert into sysbldobjdepends
  20054. (
  20055. bld_id,
  20056. obj_kind,
  20057. obj_signature,
  20058. obj_owner,
  20059. need_obj_kind,
  20060. need_obj_signature,
  20061. need_obj_owner)
  20062. values
  20063. (
  20064. "%SYSBLDNAME%",
  20065. 69, "TimeSeriesMEBAPI ()",
  20066. "%SYSBLDUSER%",
  20067. 5, "TimeSeriesMEBAPI ()",
  20068. "%SYSBLDUSER%"
  20069. );
  20070. insert into sysbldobjects
  20071. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20072. create_can_fail, drop_sql, drop_can_fail)
  20073. values
  20074. (
  20075. "%SYSBLDNAME%", 5, "TimeSeriesGNMAPI ()",
  20076. "%SYSBLDUSER%", 0,
  20077. "create function TimeSeriesGNMAPI ()
  20078. returns pointer with (not variant, internal, handlesnulls)
  20079. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nelems_api)"" language c;
  20080. ",
  20081. "f",
  20082. "drop function TimeSeriesGNMAPI ();
  20083. ",
  20084. "f"
  20085. );
  20086. insert into sysbldobjects
  20087. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20088. create_can_fail, drop_sql, drop_can_fail)
  20089. values
  20090. (
  20091. "%SYSBLDNAME%", 69, "TimeSeriesGNMAPI ()",
  20092. "%SYSBLDUSER%", 0,
  20093. "grant execute on function TimeSeriesGNMAPI () to public;
  20094. ",
  20095. "f",
  20096. "",
  20097. "f"
  20098. );
  20099. insert into sysbldobjdepends
  20100. (
  20101. bld_id,
  20102. obj_kind,
  20103. obj_signature,
  20104. obj_owner,
  20105. need_obj_kind,
  20106. need_obj_signature,
  20107. need_obj_owner)
  20108. values
  20109. (
  20110. "%SYSBLDNAME%",
  20111. 69, "TimeSeriesGNMAPI ()",
  20112. "%SYSBLDUSER%",
  20113. 5, "TimeSeriesGNMAPI ()",
  20114. "%SYSBLDUSER%"
  20115. );
  20116. insert into sysbldobjects
  20117. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20118. create_can_fail, drop_sql, drop_can_fail)
  20119. values
  20120. (
  20121. "%SYSBLDNAME%", 5, "TimeSeriesOpenAPI ()",
  20122. "%SYSBLDUSER%", 0,
  20123. "create function TimeSeriesOpenAPI ()
  20124. returns pointer with (not variant, internal, handlesnulls)
  20125. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_open_internal)"" language c;
  20126. ",
  20127. "f",
  20128. "drop function TimeSeriesOpenAPI ();
  20129. ",
  20130. "f"
  20131. );
  20132. insert into sysbldobjects
  20133. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20134. create_can_fail, drop_sql, drop_can_fail)
  20135. values
  20136. (
  20137. "%SYSBLDNAME%", 69, "TimeSeriesOpenAPI ()",
  20138. "%SYSBLDUSER%", 0,
  20139. "grant execute on function TimeSeriesOpenAPI () to public;
  20140. ",
  20141. "f",
  20142. "",
  20143. "f"
  20144. );
  20145. insert into sysbldobjdepends
  20146. (
  20147. bld_id,
  20148. obj_kind,
  20149. obj_signature,
  20150. obj_owner,
  20151. need_obj_kind,
  20152. need_obj_signature,
  20153. need_obj_owner)
  20154. values
  20155. (
  20156. "%SYSBLDNAME%",
  20157. 69, "TimeSeriesOpenAPI ()",
  20158. "%SYSBLDUSER%",
  20159. 5, "TimeSeriesOpenAPI ()",
  20160. "%SYSBLDUSER%"
  20161. );
  20162. insert into sysbldobjects
  20163. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20164. create_can_fail, drop_sql, drop_can_fail)
  20165. values
  20166. (
  20167. "%SYSBLDNAME%", 5, "TimeSeriesCloseAPI ()",
  20168. "%SYSBLDUSER%", 0,
  20169. "create function TimeSeriesCloseAPI ()
  20170. returns pointer with (not variant, internal, handlesnulls)
  20171. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_close_internal)"" language c;
  20172. ",
  20173. "f",
  20174. "drop function TimeSeriesCloseAPI ();
  20175. ",
  20176. "f"
  20177. );
  20178. insert into sysbldobjects
  20179. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20180. create_can_fail, drop_sql, drop_can_fail)
  20181. values
  20182. (
  20183. "%SYSBLDNAME%", 69, "TimeSeriesCloseAPI ()",
  20184. "%SYSBLDUSER%", 0,
  20185. "grant execute on function TimeSeriesCloseAPI () to public;
  20186. ",
  20187. "f",
  20188. "",
  20189. "f"
  20190. );
  20191. insert into sysbldobjdepends
  20192. (
  20193. bld_id,
  20194. obj_kind,
  20195. obj_signature,
  20196. obj_owner,
  20197. need_obj_kind,
  20198. need_obj_signature,
  20199. need_obj_owner)
  20200. values
  20201. (
  20202. "%SYSBLDNAME%",
  20203. 69, "TimeSeriesCloseAPI ()",
  20204. "%SYSBLDUSER%",
  20205. 5, "TimeSeriesCloseAPI ()",
  20206. "%SYSBLDUSER%"
  20207. );
  20208. insert into sysbldobjects
  20209. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20210. create_can_fail, drop_sql, drop_can_fail)
  20211. values
  20212. (
  20213. "%SYSBLDNAME%", 5, "TimeSeriesCPAPI ()",
  20214. "%SYSBLDUSER%", 0,
  20215. "create function TimeSeriesCPAPI ()
  20216. returns pointer with (not variant, internal, handlesnulls)
  20217. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_copy_api)"" language c;
  20218. ",
  20219. "f",
  20220. "drop function TimeSeriesCPAPI ();
  20221. ",
  20222. "f"
  20223. );
  20224. insert into sysbldobjects
  20225. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20226. create_can_fail, drop_sql, drop_can_fail)
  20227. values
  20228. (
  20229. "%SYSBLDNAME%", 69, "TimeSeriesCPAPI ()",
  20230. "%SYSBLDUSER%", 0,
  20231. "grant execute on function TimeSeriesCPAPI () to public;
  20232. ",
  20233. "f",
  20234. "",
  20235. "f"
  20236. );
  20237. insert into sysbldobjdepends
  20238. (
  20239. bld_id,
  20240. obj_kind,
  20241. obj_signature,
  20242. obj_owner,
  20243. need_obj_kind,
  20244. need_obj_signature,
  20245. need_obj_owner)
  20246. values
  20247. (
  20248. "%SYSBLDNAME%",
  20249. 69, "TimeSeriesCPAPI ()",
  20250. "%SYSBLDUSER%",
  20251. 5, "TimeSeriesCPAPI ()",
  20252. "%SYSBLDUSER%"
  20253. );
  20254. insert into sysbldobjects
  20255. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20256. create_can_fail, drop_sql, drop_can_fail)
  20257. values
  20258. (
  20259. "%SYSBLDNAME%", 5, "TimeSeriesTPTAPI ()",
  20260. "%SYSBLDUSER%", 0,
  20261. "create function TimeSeriesTPTAPI ()
  20262. returns pointer with (not variant, internal, handlesnulls)
  20263. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_tsdesc_api)"" language c;
  20264. ",
  20265. "f",
  20266. "drop function TimeSeriesTPTAPI ();
  20267. ",
  20268. "f"
  20269. );
  20270. insert into sysbldobjects
  20271. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20272. create_can_fail, drop_sql, drop_can_fail)
  20273. values
  20274. (
  20275. "%SYSBLDNAME%", 69, "TimeSeriesTPTAPI ()",
  20276. "%SYSBLDUSER%", 0,
  20277. "grant execute on function TimeSeriesTPTAPI () to public;
  20278. ",
  20279. "f",
  20280. "",
  20281. "f"
  20282. );
  20283. insert into sysbldobjdepends
  20284. (
  20285. bld_id,
  20286. obj_kind,
  20287. obj_signature,
  20288. obj_owner,
  20289. need_obj_kind,
  20290. need_obj_signature,
  20291. need_obj_owner)
  20292. values
  20293. (
  20294. "%SYSBLDNAME%",
  20295. 69, "TimeSeriesTPTAPI ()",
  20296. "%SYSBLDUSER%",
  20297. 5, "TimeSeriesTPTAPI ()",
  20298. "%SYSBLDUSER%"
  20299. );
  20300. insert into sysbldobjects
  20301. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20302. create_can_fail, drop_sql, drop_can_fail)
  20303. values
  20304. (
  20305. "%SYSBLDNAME%", 5, "TimeSeriesFreeAPI ()",
  20306. "%SYSBLDUSER%", 0,
  20307. "create function TimeSeriesFreeAPI ()
  20308. returns pointer with (not variant, internal, handlesnulls)
  20309. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_api)"" language c;
  20310. ",
  20311. "f",
  20312. "drop function TimeSeriesFreeAPI ();
  20313. ",
  20314. "f"
  20315. );
  20316. insert into sysbldobjects
  20317. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20318. create_can_fail, drop_sql, drop_can_fail)
  20319. values
  20320. (
  20321. "%SYSBLDNAME%", 69, "TimeSeriesFreeAPI ()",
  20322. "%SYSBLDUSER%", 0,
  20323. "grant execute on function TimeSeriesFreeAPI () to public;
  20324. ",
  20325. "f",
  20326. "",
  20327. "f"
  20328. );
  20329. insert into sysbldobjdepends
  20330. (
  20331. bld_id,
  20332. obj_kind,
  20333. obj_signature,
  20334. obj_owner,
  20335. need_obj_kind,
  20336. need_obj_signature,
  20337. need_obj_owner)
  20338. values
  20339. (
  20340. "%SYSBLDNAME%",
  20341. 69, "TimeSeriesFreeAPI ()",
  20342. "%SYSBLDUSER%",
  20343. 5, "TimeSeriesFreeAPI ()",
  20344. "%SYSBLDUSER%"
  20345. );
  20346. insert into sysbldobjects
  20347. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20348. create_can_fail, drop_sql, drop_can_fail)
  20349. values
  20350. (
  20351. "%SYSBLDNAME%", 5, "TimeSeriesFrElAPI ()",
  20352. "%SYSBLDUSER%", 0,
  20353. "create function TimeSeriesFrElAPI ()
  20354. returns pointer with (not variant, internal, handlesnulls)
  20355. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_elem_api)"" language c;
  20356. ",
  20357. "f",
  20358. "drop function TimeSeriesFrElAPI ();
  20359. ",
  20360. "f"
  20361. );
  20362. insert into sysbldobjects
  20363. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20364. create_can_fail, drop_sql, drop_can_fail)
  20365. values
  20366. (
  20367. "%SYSBLDNAME%", 69, "TimeSeriesFrElAPI ()",
  20368. "%SYSBLDUSER%", 0,
  20369. "grant execute on function TimeSeriesFrElAPI () to public;
  20370. ",
  20371. "f",
  20372. "",
  20373. "f"
  20374. );
  20375. insert into sysbldobjdepends
  20376. (
  20377. bld_id,
  20378. obj_kind,
  20379. obj_signature,
  20380. obj_owner,
  20381. need_obj_kind,
  20382. need_obj_signature,
  20383. need_obj_owner)
  20384. values
  20385. (
  20386. "%SYSBLDNAME%",
  20387. 69, "TimeSeriesFrElAPI ()",
  20388. "%SYSBLDUSER%",
  20389. 5, "TimeSeriesFrElAPI ()",
  20390. "%SYSBLDUSER%"
  20391. );
  20392. insert into sysbldobjects
  20393. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20394. create_can_fail, drop_sql, drop_can_fail)
  20395. values
  20396. (
  20397. "%SYSBLDNAME%", 5, "TimeSeriesColIdAPI ()",
  20398. "%SYSBLDUSER%", 0,
  20399. "create function TimeSeriesColIdAPI ()
  20400. returns pointer with (not variant, internal, handlesnulls)
  20401. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_col_id_api)"" language c;
  20402. ",
  20403. "f",
  20404. "drop function TimeSeriesColIdAPI ();
  20405. ",
  20406. "f"
  20407. );
  20408. insert into sysbldobjects
  20409. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20410. create_can_fail, drop_sql, drop_can_fail)
  20411. values
  20412. (
  20413. "%SYSBLDNAME%", 69, "TimeSeriesColIdAPI ()",
  20414. "%SYSBLDUSER%", 0,
  20415. "grant execute on function TimeSeriesColIdAPI () to public;
  20416. ",
  20417. "f",
  20418. "",
  20419. "f"
  20420. );
  20421. insert into sysbldobjdepends
  20422. (
  20423. bld_id,
  20424. obj_kind,
  20425. obj_signature,
  20426. obj_owner,
  20427. need_obj_kind,
  20428. need_obj_signature,
  20429. need_obj_owner)
  20430. values
  20431. (
  20432. "%SYSBLDNAME%",
  20433. 69, "TimeSeriesColIdAPI ()",
  20434. "%SYSBLDUSER%",
  20435. 5, "TimeSeriesColIdAPI ()",
  20436. "%SYSBLDUSER%"
  20437. );
  20438. insert into sysbldobjects
  20439. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20440. create_can_fail, drop_sql, drop_can_fail)
  20441. values
  20442. (
  20443. "%SYSBLDNAME%", 5, "TimeSeriesCNameAPI ()",
  20444. "%SYSBLDUSER%", 0,
  20445. "create function TimeSeriesCNameAPI ()
  20446. returns pointer with (not variant, internal, handlesnulls)
  20447. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calname_api)"" language c;
  20448. ",
  20449. "f",
  20450. "drop function TimeSeriesCNameAPI ();
  20451. ",
  20452. "f"
  20453. );
  20454. insert into sysbldobjects
  20455. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20456. create_can_fail, drop_sql, drop_can_fail)
  20457. values
  20458. (
  20459. "%SYSBLDNAME%", 69, "TimeSeriesCNameAPI ()",
  20460. "%SYSBLDUSER%", 0,
  20461. "grant execute on function TimeSeriesCNameAPI () to public;
  20462. ",
  20463. "f",
  20464. "",
  20465. "f"
  20466. );
  20467. insert into sysbldobjdepends
  20468. (
  20469. bld_id,
  20470. obj_kind,
  20471. obj_signature,
  20472. obj_owner,
  20473. need_obj_kind,
  20474. need_obj_signature,
  20475. need_obj_owner)
  20476. values
  20477. (
  20478. "%SYSBLDNAME%",
  20479. 69, "TimeSeriesCNameAPI ()",
  20480. "%SYSBLDUSER%",
  20481. 5, "TimeSeriesCNameAPI ()",
  20482. "%SYSBLDUSER%"
  20483. );
  20484. insert into sysbldobjects
  20485. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20486. create_can_fail, drop_sql, drop_can_fail)
  20487. values
  20488. (
  20489. "%SYSBLDNAME%", 5, "TimeSeriesGCNAPI ()",
  20490. "%SYSBLDUSER%", 0,
  20491. "create function TimeSeriesGCNAPI ()
  20492. returns pointer with (not variant, internal, handlesnulls)
  20493. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_container_name_api)"" language c;
  20494. ",
  20495. "f",
  20496. "drop function TimeSeriesGCNAPI ();
  20497. ",
  20498. "f"
  20499. );
  20500. insert into sysbldobjects
  20501. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20502. create_can_fail, drop_sql, drop_can_fail)
  20503. values
  20504. (
  20505. "%SYSBLDNAME%", 69, "TimeSeriesGCNAPI ()",
  20506. "%SYSBLDUSER%", 0,
  20507. "grant execute on function TimeSeriesGCNAPI () to public;
  20508. ",
  20509. "f",
  20510. "",
  20511. "f"
  20512. );
  20513. insert into sysbldobjdepends
  20514. (
  20515. bld_id,
  20516. obj_kind,
  20517. obj_signature,
  20518. obj_owner,
  20519. need_obj_kind,
  20520. need_obj_signature,
  20521. need_obj_owner)
  20522. values
  20523. (
  20524. "%SYSBLDNAME%",
  20525. 69, "TimeSeriesGCNAPI ()",
  20526. "%SYSBLDUSER%",
  20527. 5, "TimeSeriesGCNAPI ()",
  20528. "%SYSBLDUSER%"
  20529. );
  20530. insert into sysbldobjects
  20531. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20532. create_can_fail, drop_sql, drop_can_fail)
  20533. values
  20534. (
  20535. "%SYSBLDNAME%", 5, "TimeSeriesClStAPI ()",
  20536. "%SYSBLDUSER%", 0,
  20537. "create function TimeSeriesClStAPI ()
  20538. returns pointer with (not variant, internal, handlesnulls)
  20539. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_stamp_api)"" language c;
  20540. ",
  20541. "f",
  20542. "drop function TimeSeriesClStAPI ();
  20543. ",
  20544. "f"
  20545. );
  20546. insert into sysbldobjects
  20547. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20548. create_can_fail, drop_sql, drop_can_fail)
  20549. values
  20550. (
  20551. "%SYSBLDNAME%", 69, "TimeSeriesClStAPI ()",
  20552. "%SYSBLDUSER%", 0,
  20553. "grant execute on function TimeSeriesClStAPI () to public;
  20554. ",
  20555. "f",
  20556. "",
  20557. "f"
  20558. );
  20559. insert into sysbldobjdepends
  20560. (
  20561. bld_id,
  20562. obj_kind,
  20563. obj_signature,
  20564. obj_owner,
  20565. need_obj_kind,
  20566. need_obj_signature,
  20567. need_obj_owner)
  20568. values
  20569. (
  20570. "%SYSBLDNAME%",
  20571. 69, "TimeSeriesClStAPI ()",
  20572. "%SYSBLDUSER%",
  20573. 5, "TimeSeriesClStAPI ()",
  20574. "%SYSBLDUSER%"
  20575. );
  20576. insert into sysbldobjects
  20577. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20578. create_can_fail, drop_sql, drop_can_fail)
  20579. values
  20580. (
  20581. "%SYSBLDNAME%", 5, "TimeSeriesClNdxAPI ()",
  20582. "%SYSBLDUSER%", 0,
  20583. "create function TimeSeriesClNdxAPI ()
  20584. returns pointer with (not variant, internal, handlesnulls)
  20585. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_index_api)"" language c;
  20586. ",
  20587. "f",
  20588. "drop function TimeSeriesClNdxAPI ();
  20589. ",
  20590. "f"
  20591. );
  20592. insert into sysbldobjects
  20593. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20594. create_can_fail, drop_sql, drop_can_fail)
  20595. values
  20596. (
  20597. "%SYSBLDNAME%", 69, "TimeSeriesClNdxAPI ()",
  20598. "%SYSBLDUSER%", 0,
  20599. "grant execute on function TimeSeriesClNdxAPI () to public;
  20600. ",
  20601. "f",
  20602. "",
  20603. "f"
  20604. );
  20605. insert into sysbldobjdepends
  20606. (
  20607. bld_id,
  20608. obj_kind,
  20609. obj_signature,
  20610. obj_owner,
  20611. need_obj_kind,
  20612. need_obj_signature,
  20613. need_obj_owner)
  20614. values
  20615. (
  20616. "%SYSBLDNAME%",
  20617. 69, "TimeSeriesClNdxAPI ()",
  20618. "%SYSBLDUSER%",
  20619. 5, "TimeSeriesClNdxAPI ()",
  20620. "%SYSBLDUSER%"
  20621. );
  20622. insert into sysbldobjects
  20623. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20624. create_can_fail, drop_sql, drop_can_fail)
  20625. values
  20626. (
  20627. "%SYSBLDNAME%", 5, "TimeSeriesClRngAPI ()",
  20628. "%SYSBLDUSER%", 0,
  20629. "create function TimeSeriesClRngAPI ()
  20630. returns pointer with (not variant, internal, handlesnulls)
  20631. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_api)"" language c;
  20632. ",
  20633. "f",
  20634. "drop function TimeSeriesClRngAPI ();
  20635. ",
  20636. "f"
  20637. );
  20638. insert into sysbldobjects
  20639. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20640. create_can_fail, drop_sql, drop_can_fail)
  20641. values
  20642. (
  20643. "%SYSBLDNAME%", 69, "TimeSeriesClRngAPI ()",
  20644. "%SYSBLDUSER%", 0,
  20645. "grant execute on function TimeSeriesClRngAPI () to public;
  20646. ",
  20647. "f",
  20648. "",
  20649. "f"
  20650. );
  20651. insert into sysbldobjdepends
  20652. (
  20653. bld_id,
  20654. obj_kind,
  20655. obj_signature,
  20656. obj_owner,
  20657. need_obj_kind,
  20658. need_obj_signature,
  20659. need_obj_owner)
  20660. values
  20661. (
  20662. "%SYSBLDNAME%",
  20663. 69, "TimeSeriesClRngAPI ()",
  20664. "%SYSBLDUSER%",
  20665. 5, "TimeSeriesClRngAPI ()",
  20666. "%SYSBLDUSER%"
  20667. );
  20668. insert into sysbldobjects
  20669. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20670. create_can_fail, drop_sql, drop_can_fail)
  20671. values
  20672. (
  20673. "%SYSBLDNAME%", 5, "TimeSeriesClRgNAPI ()",
  20674. "%SYSBLDUSER%", 0,
  20675. "create function TimeSeriesClRgNAPI ()
  20676. returns pointer with (not variant, internal, handlesnulls)
  20677. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_num_api)"" language c;
  20678. ",
  20679. "f",
  20680. "drop function TimeSeriesClRgNAPI ();
  20681. ",
  20682. "f"
  20683. );
  20684. insert into sysbldobjects
  20685. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20686. create_can_fail, drop_sql, drop_can_fail)
  20687. values
  20688. (
  20689. "%SYSBLDNAME%", 69, "TimeSeriesClRgNAPI ()",
  20690. "%SYSBLDUSER%", 0,
  20691. "grant execute on function TimeSeriesClRgNAPI () to public;
  20692. ",
  20693. "f",
  20694. "",
  20695. "f"
  20696. );
  20697. insert into sysbldobjdepends
  20698. (
  20699. bld_id,
  20700. obj_kind,
  20701. obj_signature,
  20702. obj_owner,
  20703. need_obj_kind,
  20704. need_obj_signature,
  20705. need_obj_owner)
  20706. values
  20707. (
  20708. "%SYSBLDNAME%",
  20709. 69, "TimeSeriesClRgNAPI ()",
  20710. "%SYSBLDUSER%",
  20711. 5, "TimeSeriesClRgNAPI ()",
  20712. "%SYSBLDUSER%"
  20713. );
  20714. insert into sysbldobjects
  20715. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20716. create_can_fail, drop_sql, drop_can_fail)
  20717. values
  20718. (
  20719. "%SYSBLDNAME%", 5, "TimeSeriesAMRAPI ()",
  20720. "%SYSBLDUSER%", 0,
  20721. "create function TimeSeriesAMRAPI ()
  20722. returns pointer with (not variant, internal, handlesnulls)
  20723. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_read_api)"" language c;
  20724. ",
  20725. "f",
  20726. "drop function TimeSeriesAMRAPI ();
  20727. ",
  20728. "f"
  20729. );
  20730. insert into sysbldobjects
  20731. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20732. create_can_fail, drop_sql, drop_can_fail)
  20733. values
  20734. (
  20735. "%SYSBLDNAME%", 69, "TimeSeriesAMRAPI ()",
  20736. "%SYSBLDUSER%", 0,
  20737. "grant execute on function TimeSeriesAMRAPI () to public;
  20738. ",
  20739. "f",
  20740. "",
  20741. "f"
  20742. );
  20743. insert into sysbldobjdepends
  20744. (
  20745. bld_id,
  20746. obj_kind,
  20747. obj_signature,
  20748. obj_owner,
  20749. need_obj_kind,
  20750. need_obj_signature,
  20751. need_obj_owner)
  20752. values
  20753. (
  20754. "%SYSBLDNAME%",
  20755. 69, "TimeSeriesAMRAPI ()",
  20756. "%SYSBLDUSER%",
  20757. 5, "TimeSeriesAMRAPI ()",
  20758. "%SYSBLDUSER%"
  20759. );
  20760. insert into sysbldobjects
  20761. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20762. create_can_fail, drop_sql, drop_can_fail)
  20763. values
  20764. (
  20765. "%SYSBLDNAME%", 5, "TimeSeriesREAPI ()",
  20766. "%SYSBLDUSER%", 0,
  20767. "create function TimeSeriesREAPI ()
  20768. returns pointer with (not variant, internal, handlesnulls)
  20769. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_api)"" language c;
  20770. ",
  20771. "f",
  20772. "drop function TimeSeriesREAPI ();
  20773. ",
  20774. "f"
  20775. );
  20776. insert into sysbldobjects
  20777. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20778. create_can_fail, drop_sql, drop_can_fail)
  20779. values
  20780. (
  20781. "%SYSBLDNAME%", 69, "TimeSeriesREAPI ()",
  20782. "%SYSBLDUSER%", 0,
  20783. "grant execute on function TimeSeriesREAPI () to public;
  20784. ",
  20785. "f",
  20786. "",
  20787. "f"
  20788. );
  20789. insert into sysbldobjdepends
  20790. (
  20791. bld_id,
  20792. obj_kind,
  20793. obj_signature,
  20794. obj_owner,
  20795. need_obj_kind,
  20796. need_obj_signature,
  20797. need_obj_owner)
  20798. values
  20799. (
  20800. "%SYSBLDNAME%",
  20801. 69, "TimeSeriesREAPI ()",
  20802. "%SYSBLDUSER%",
  20803. 5, "TimeSeriesREAPI ()",
  20804. "%SYSBLDUSER%"
  20805. );
  20806. insert into sysbldobjects
  20807. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20808. create_can_fail, drop_sql, drop_can_fail)
  20809. values
  20810. (
  20811. "%SYSBLDNAME%", 5, "TimeSeriestCmpAPI ()",
  20812. "%SYSBLDUSER%", 0,
  20813. "create function TimeSeriestCmpAPI ()
  20814. returns pointer with (not variant, internal, handlesnulls)
  20815. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_timestamp_cmp)"" language c;
  20816. ",
  20817. "f",
  20818. "drop function TimeSeriestCmpAPI ();
  20819. ",
  20820. "f"
  20821. );
  20822. insert into sysbldobjects
  20823. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20824. create_can_fail, drop_sql, drop_can_fail)
  20825. values
  20826. (
  20827. "%SYSBLDNAME%", 69, "TimeSeriestCmpAPI ()",
  20828. "%SYSBLDUSER%", 0,
  20829. "grant execute on function TimeSeriestCmpAPI () to public;
  20830. ",
  20831. "f",
  20832. "",
  20833. "f"
  20834. );
  20835. insert into sysbldobjdepends
  20836. (
  20837. bld_id,
  20838. obj_kind,
  20839. obj_signature,
  20840. obj_owner,
  20841. need_obj_kind,
  20842. need_obj_signature,
  20843. need_obj_owner)
  20844. values
  20845. (
  20846. "%SYSBLDNAME%",
  20847. 69, "TimeSeriestCmpAPI ()",
  20848. "%SYSBLDUSER%",
  20849. 5, "TimeSeriestCmpAPI ()",
  20850. "%SYSBLDUSER%"
  20851. );
  20852. insert into sysbldobjects
  20853. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20854. create_can_fail, drop_sql, drop_can_fail)
  20855. values
  20856. (
  20857. "%SYSBLDNAME%", 5, "TimeSeriesRTEAPI ()",
  20858. "%SYSBLDUSER%", 0,
  20859. "create function TimeSeriesRTEAPI ()
  20860. returns pointer with (not variant, internal, handlesnulls)
  20861. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_row_to_elem_api)"" language c;
  20862. ",
  20863. "f",
  20864. "drop function TimeSeriesRTEAPI ();
  20865. ",
  20866. "f"
  20867. );
  20868. insert into sysbldobjects
  20869. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20870. create_can_fail, drop_sql, drop_can_fail)
  20871. values
  20872. (
  20873. "%SYSBLDNAME%", 69, "TimeSeriesRTEAPI ()",
  20874. "%SYSBLDUSER%", 0,
  20875. "grant execute on function TimeSeriesRTEAPI () to public;
  20876. ",
  20877. "f",
  20878. "",
  20879. "f"
  20880. );
  20881. insert into sysbldobjdepends
  20882. (
  20883. bld_id,
  20884. obj_kind,
  20885. obj_signature,
  20886. obj_owner,
  20887. need_obj_kind,
  20888. need_obj_signature,
  20889. need_obj_owner)
  20890. values
  20891. (
  20892. "%SYSBLDNAME%",
  20893. 69, "TimeSeriesRTEAPI ()",
  20894. "%SYSBLDUSER%",
  20895. 5, "TimeSeriesRTEAPI ()",
  20896. "%SYSBLDUSER%"
  20897. );
  20898. insert into sysbldobjects
  20899. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20900. create_can_fail, drop_sql, drop_can_fail)
  20901. values
  20902. (
  20903. "%SYSBLDNAME%", 5, "TimeSeriesETRAPI ()",
  20904. "%SYSBLDUSER%", 0,
  20905. "create function TimeSeriesETRAPI ()
  20906. returns pointer with (not variant, internal, handlesnulls)
  20907. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_to_row_api)"" language c;
  20908. ",
  20909. "f",
  20910. "drop function TimeSeriesETRAPI ();
  20911. ",
  20912. "f"
  20913. );
  20914. insert into sysbldobjects
  20915. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20916. create_can_fail, drop_sql, drop_can_fail)
  20917. values
  20918. (
  20919. "%SYSBLDNAME%", 69, "TimeSeriesETRAPI ()",
  20920. "%SYSBLDUSER%", 0,
  20921. "grant execute on function TimeSeriesETRAPI () to public;
  20922. ",
  20923. "f",
  20924. "",
  20925. "f"
  20926. );
  20927. insert into sysbldobjdepends
  20928. (
  20929. bld_id,
  20930. obj_kind,
  20931. obj_signature,
  20932. obj_owner,
  20933. need_obj_kind,
  20934. need_obj_signature,
  20935. need_obj_owner)
  20936. values
  20937. (
  20938. "%SYSBLDNAME%",
  20939. 69, "TimeSeriesETRAPI ()",
  20940. "%SYSBLDUSER%",
  20941. 5, "TimeSeriesETRAPI ()",
  20942. "%SYSBLDUSER%"
  20943. );
  20944. insert into sysbldobjects
  20945. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20946. create_can_fail, drop_sql, drop_can_fail)
  20947. values
  20948. (
  20949. "%SYSBLDNAME%", 5, "TimeSeriesMEWBAPI ()",
  20950. "%SYSBLDUSER%", 0,
  20951. "create function TimeSeriesMEWBAPI ()
  20952. returns pointer with (not variant, internal, handlesnulls)
  20953. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_with_buf_api)"" language c;
  20954. ",
  20955. "f",
  20956. "drop function TimeSeriesMEWBAPI ();
  20957. ",
  20958. "f"
  20959. );
  20960. insert into sysbldobjects
  20961. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20962. create_can_fail, drop_sql, drop_can_fail)
  20963. values
  20964. (
  20965. "%SYSBLDNAME%", 69, "TimeSeriesMEWBAPI ()",
  20966. "%SYSBLDUSER%", 0,
  20967. "grant execute on function TimeSeriesMEWBAPI () to public;
  20968. ",
  20969. "f",
  20970. "",
  20971. "f"
  20972. );
  20973. insert into sysbldobjdepends
  20974. (
  20975. bld_id,
  20976. obj_kind,
  20977. obj_signature,
  20978. obj_owner,
  20979. need_obj_kind,
  20980. need_obj_signature,
  20981. need_obj_owner)
  20982. values
  20983. (
  20984. "%SYSBLDNAME%",
  20985. 69, "TimeSeriesMEWBAPI ()",
  20986. "%SYSBLDUSER%",
  20987. 5, "TimeSeriesMEWBAPI ()",
  20988. "%SYSBLDUSER%"
  20989. );
  20990. insert into sysbldobjects
  20991. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  20992. create_can_fail, drop_sql, drop_can_fail)
  20993. values
  20994. (
  20995. "%SYSBLDNAME%", 5, "TimeSeriesCVerAPI (int)",
  20996. "%SYSBLDUSER%", 0,
  20997. "create function TimeSeriesCVerAPI (int)
  20998. returns int with (not variant, internal)
  20999. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_interface_version_api)"" language c;
  21000. ",
  21001. "f",
  21002. "drop function TimeSeriesCVerAPI (int);
  21003. ",
  21004. "f"
  21005. );
  21006. insert into sysbldobjects
  21007. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21008. create_can_fail, drop_sql, drop_can_fail)
  21009. values
  21010. (
  21011. "%SYSBLDNAME%", 69, "TimeSeriesCVerAPI (int)",
  21012. "%SYSBLDUSER%", 0,
  21013. "grant execute on function TimeSeriesCVerAPI (int) to public;
  21014. ",
  21015. "f",
  21016. "",
  21017. "f"
  21018. );
  21019. insert into sysbldobjdepends
  21020. (
  21021. bld_id,
  21022. obj_kind,
  21023. obj_signature,
  21024. obj_owner,
  21025. need_obj_kind,
  21026. need_obj_signature,
  21027. need_obj_owner)
  21028. values
  21029. (
  21030. "%SYSBLDNAME%",
  21031. 69, "TimeSeriesCVerAPI (int)",
  21032. "%SYSBLDUSER%",
  21033. 5, "TimeSeriesCVerAPI (int)",
  21034. "%SYSBLDUSER%"
  21035. );
  21036. insert into sysbldobjects
  21037. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21038. create_can_fail, drop_sql, drop_can_fail)
  21039. values
  21040. (
  21041. "%SYSBLDNAME%", 5, "plus (TimeSeries,TimeSeries)",
  21042. "%SYSBLDUSER%", 0,
  21043. "create function plus (TimeSeries,TimeSeries)
  21044. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21045. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21046. ",
  21047. "f",
  21048. "drop function plus (TimeSeries,TimeSeries);
  21049. ",
  21050. "f"
  21051. );
  21052. insert into sysbldobjdepends
  21053. (
  21054. bld_id,
  21055. obj_kind,
  21056. obj_signature,
  21057. obj_owner,
  21058. need_obj_kind,
  21059. need_obj_signature,
  21060. need_obj_owner)
  21061. values
  21062. (
  21063. "%SYSBLDNAME%",
  21064. 5, "plus (TimeSeries,TimeSeries)",
  21065. "%SYSBLDUSER%",
  21066. 7, "TimeSeries",
  21067. "%SYSBLDUSER%"
  21068. );
  21069. insert into sysbldobjects
  21070. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21071. create_can_fail, drop_sql, drop_can_fail)
  21072. values
  21073. (
  21074. "%SYSBLDNAME%", 69, "plus (TimeSeries,TimeSeries)",
  21075. "%SYSBLDUSER%", 0,
  21076. "grant execute on function plus (TimeSeries,TimeSeries) to public;
  21077. ",
  21078. "f",
  21079. "",
  21080. "f"
  21081. );
  21082. insert into sysbldobjdepends
  21083. (
  21084. bld_id,
  21085. obj_kind,
  21086. obj_signature,
  21087. obj_owner,
  21088. need_obj_kind,
  21089. need_obj_signature,
  21090. need_obj_owner)
  21091. values
  21092. (
  21093. "%SYSBLDNAME%",
  21094. 69, "plus (TimeSeries,TimeSeries)",
  21095. "%SYSBLDUSER%",
  21096. 5, "plus (TimeSeries,TimeSeries)",
  21097. "%SYSBLDUSER%"
  21098. );
  21099. insert into sysbldobjects
  21100. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21101. create_can_fail, drop_sql, drop_can_fail)
  21102. values
  21103. (
  21104. "%SYSBLDNAME%", 5, "plus (decimal,TimeSeries)",
  21105. "%SYSBLDUSER%", 0,
  21106. "create function plus (decimal,TimeSeries)
  21107. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21108. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21109. ",
  21110. "f",
  21111. "drop function plus (decimal,TimeSeries);
  21112. ",
  21113. "f"
  21114. );
  21115. insert into sysbldobjdepends
  21116. (
  21117. bld_id,
  21118. obj_kind,
  21119. obj_signature,
  21120. obj_owner,
  21121. need_obj_kind,
  21122. need_obj_signature,
  21123. need_obj_owner)
  21124. values
  21125. (
  21126. "%SYSBLDNAME%",
  21127. 5, "plus (decimal,TimeSeries)",
  21128. "%SYSBLDUSER%",
  21129. 7, "TimeSeries",
  21130. "%SYSBLDUSER%"
  21131. );
  21132. insert into sysbldobjects
  21133. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21134. create_can_fail, drop_sql, drop_can_fail)
  21135. values
  21136. (
  21137. "%SYSBLDNAME%", 69, "plus (decimal,TimeSeries)",
  21138. "%SYSBLDUSER%", 0,
  21139. "grant execute on function plus (decimal,TimeSeries) to public;
  21140. ",
  21141. "f",
  21142. "",
  21143. "f"
  21144. );
  21145. insert into sysbldobjdepends
  21146. (
  21147. bld_id,
  21148. obj_kind,
  21149. obj_signature,
  21150. obj_owner,
  21151. need_obj_kind,
  21152. need_obj_signature,
  21153. need_obj_owner)
  21154. values
  21155. (
  21156. "%SYSBLDNAME%",
  21157. 69, "plus (decimal,TimeSeries)",
  21158. "%SYSBLDUSER%",
  21159. 5, "plus (decimal,TimeSeries)",
  21160. "%SYSBLDUSER%"
  21161. );
  21162. insert into sysbldobjects
  21163. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21164. create_can_fail, drop_sql, drop_can_fail)
  21165. values
  21166. (
  21167. "%SYSBLDNAME%", 5, "plus (TimeSeries,decimal)",
  21168. "%SYSBLDUSER%", 0,
  21169. "create function plus (TimeSeries,decimal)
  21170. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21171. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21172. ",
  21173. "f",
  21174. "drop function plus (TimeSeries,decimal);
  21175. ",
  21176. "f"
  21177. );
  21178. insert into sysbldobjdepends
  21179. (
  21180. bld_id,
  21181. obj_kind,
  21182. obj_signature,
  21183. obj_owner,
  21184. need_obj_kind,
  21185. need_obj_signature,
  21186. need_obj_owner)
  21187. values
  21188. (
  21189. "%SYSBLDNAME%",
  21190. 5, "plus (TimeSeries,decimal)",
  21191. "%SYSBLDUSER%",
  21192. 7, "TimeSeries",
  21193. "%SYSBLDUSER%"
  21194. );
  21195. insert into sysbldobjects
  21196. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21197. create_can_fail, drop_sql, drop_can_fail)
  21198. values
  21199. (
  21200. "%SYSBLDNAME%", 69, "plus (TimeSeries,decimal)",
  21201. "%SYSBLDUSER%", 0,
  21202. "grant execute on function plus (TimeSeries,decimal) to public;
  21203. ",
  21204. "f",
  21205. "",
  21206. "f"
  21207. );
  21208. insert into sysbldobjdepends
  21209. (
  21210. bld_id,
  21211. obj_kind,
  21212. obj_signature,
  21213. obj_owner,
  21214. need_obj_kind,
  21215. need_obj_signature,
  21216. need_obj_owner)
  21217. values
  21218. (
  21219. "%SYSBLDNAME%",
  21220. 69, "plus (TimeSeries,decimal)",
  21221. "%SYSBLDUSER%",
  21222. 5, "plus (TimeSeries,decimal)",
  21223. "%SYSBLDUSER%"
  21224. );
  21225. insert into sysbldobjects
  21226. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21227. create_can_fail, drop_sql, drop_can_fail)
  21228. values
  21229. (
  21230. "%SYSBLDNAME%", 5, "plus (float,TimeSeries)",
  21231. "%SYSBLDUSER%", 0,
  21232. "create function plus (float,TimeSeries)
  21233. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21234. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21235. ",
  21236. "f",
  21237. "drop function plus (float,TimeSeries);
  21238. ",
  21239. "f"
  21240. );
  21241. insert into sysbldobjdepends
  21242. (
  21243. bld_id,
  21244. obj_kind,
  21245. obj_signature,
  21246. obj_owner,
  21247. need_obj_kind,
  21248. need_obj_signature,
  21249. need_obj_owner)
  21250. values
  21251. (
  21252. "%SYSBLDNAME%",
  21253. 5, "plus (float,TimeSeries)",
  21254. "%SYSBLDUSER%",
  21255. 7, "TimeSeries",
  21256. "%SYSBLDUSER%"
  21257. );
  21258. insert into sysbldobjects
  21259. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21260. create_can_fail, drop_sql, drop_can_fail)
  21261. values
  21262. (
  21263. "%SYSBLDNAME%", 69, "plus (float,TimeSeries)",
  21264. "%SYSBLDUSER%", 0,
  21265. "grant execute on function plus (float,TimeSeries) to public;
  21266. ",
  21267. "f",
  21268. "",
  21269. "f"
  21270. );
  21271. insert into sysbldobjdepends
  21272. (
  21273. bld_id,
  21274. obj_kind,
  21275. obj_signature,
  21276. obj_owner,
  21277. need_obj_kind,
  21278. need_obj_signature,
  21279. need_obj_owner)
  21280. values
  21281. (
  21282. "%SYSBLDNAME%",
  21283. 69, "plus (float,TimeSeries)",
  21284. "%SYSBLDUSER%",
  21285. 5, "plus (float,TimeSeries)",
  21286. "%SYSBLDUSER%"
  21287. );
  21288. insert into sysbldobjects
  21289. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21290. create_can_fail, drop_sql, drop_can_fail)
  21291. values
  21292. (
  21293. "%SYSBLDNAME%", 5, "plus (TimeSeries,float)",
  21294. "%SYSBLDUSER%", 0,
  21295. "create function plus (TimeSeries,float)
  21296. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21297. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21298. ",
  21299. "f",
  21300. "drop function plus (TimeSeries,float);
  21301. ",
  21302. "f"
  21303. );
  21304. insert into sysbldobjdepends
  21305. (
  21306. bld_id,
  21307. obj_kind,
  21308. obj_signature,
  21309. obj_owner,
  21310. need_obj_kind,
  21311. need_obj_signature,
  21312. need_obj_owner)
  21313. values
  21314. (
  21315. "%SYSBLDNAME%",
  21316. 5, "plus (TimeSeries,float)",
  21317. "%SYSBLDUSER%",
  21318. 7, "TimeSeries",
  21319. "%SYSBLDUSER%"
  21320. );
  21321. insert into sysbldobjects
  21322. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21323. create_can_fail, drop_sql, drop_can_fail)
  21324. values
  21325. (
  21326. "%SYSBLDNAME%", 69, "plus (TimeSeries,float)",
  21327. "%SYSBLDUSER%", 0,
  21328. "grant execute on function plus (TimeSeries,float) to public;
  21329. ",
  21330. "f",
  21331. "",
  21332. "f"
  21333. );
  21334. insert into sysbldobjdepends
  21335. (
  21336. bld_id,
  21337. obj_kind,
  21338. obj_signature,
  21339. obj_owner,
  21340. need_obj_kind,
  21341. need_obj_signature,
  21342. need_obj_owner)
  21343. values
  21344. (
  21345. "%SYSBLDNAME%",
  21346. 69, "plus (TimeSeries,float)",
  21347. "%SYSBLDUSER%",
  21348. 5, "plus (TimeSeries,float)",
  21349. "%SYSBLDUSER%"
  21350. );
  21351. insert into sysbldobjects
  21352. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21353. create_can_fail, drop_sql, drop_can_fail)
  21354. values
  21355. (
  21356. "%SYSBLDNAME%", 5, "plus (int,TimeSeries)",
  21357. "%SYSBLDUSER%", 0,
  21358. "create function plus (int,TimeSeries)
  21359. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21360. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21361. ",
  21362. "f",
  21363. "drop function plus (int,TimeSeries);
  21364. ",
  21365. "f"
  21366. );
  21367. insert into sysbldobjdepends
  21368. (
  21369. bld_id,
  21370. obj_kind,
  21371. obj_signature,
  21372. obj_owner,
  21373. need_obj_kind,
  21374. need_obj_signature,
  21375. need_obj_owner)
  21376. values
  21377. (
  21378. "%SYSBLDNAME%",
  21379. 5, "plus (int,TimeSeries)",
  21380. "%SYSBLDUSER%",
  21381. 7, "TimeSeries",
  21382. "%SYSBLDUSER%"
  21383. );
  21384. insert into sysbldobjects
  21385. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21386. create_can_fail, drop_sql, drop_can_fail)
  21387. values
  21388. (
  21389. "%SYSBLDNAME%", 69, "plus (int,TimeSeries)",
  21390. "%SYSBLDUSER%", 0,
  21391. "grant execute on function plus (int,TimeSeries) to public;
  21392. ",
  21393. "f",
  21394. "",
  21395. "f"
  21396. );
  21397. insert into sysbldobjdepends
  21398. (
  21399. bld_id,
  21400. obj_kind,
  21401. obj_signature,
  21402. obj_owner,
  21403. need_obj_kind,
  21404. need_obj_signature,
  21405. need_obj_owner)
  21406. values
  21407. (
  21408. "%SYSBLDNAME%",
  21409. 69, "plus (int,TimeSeries)",
  21410. "%SYSBLDUSER%",
  21411. 5, "plus (int,TimeSeries)",
  21412. "%SYSBLDUSER%"
  21413. );
  21414. insert into sysbldobjects
  21415. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21416. create_can_fail, drop_sql, drop_can_fail)
  21417. values
  21418. (
  21419. "%SYSBLDNAME%", 5, "plus (TimeSeries,int)",
  21420. "%SYSBLDUSER%", 0,
  21421. "create function plus (TimeSeries,int)
  21422. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21423. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21424. ",
  21425. "f",
  21426. "drop function plus (TimeSeries,int);
  21427. ",
  21428. "f"
  21429. );
  21430. insert into sysbldobjdepends
  21431. (
  21432. bld_id,
  21433. obj_kind,
  21434. obj_signature,
  21435. obj_owner,
  21436. need_obj_kind,
  21437. need_obj_signature,
  21438. need_obj_owner)
  21439. values
  21440. (
  21441. "%SYSBLDNAME%",
  21442. 5, "plus (TimeSeries,int)",
  21443. "%SYSBLDUSER%",
  21444. 7, "TimeSeries",
  21445. "%SYSBLDUSER%"
  21446. );
  21447. insert into sysbldobjects
  21448. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21449. create_can_fail, drop_sql, drop_can_fail)
  21450. values
  21451. (
  21452. "%SYSBLDNAME%", 69, "plus (TimeSeries,int)",
  21453. "%SYSBLDUSER%", 0,
  21454. "grant execute on function plus (TimeSeries,int) to public;
  21455. ",
  21456. "f",
  21457. "",
  21458. "f"
  21459. );
  21460. insert into sysbldobjdepends
  21461. (
  21462. bld_id,
  21463. obj_kind,
  21464. obj_signature,
  21465. obj_owner,
  21466. need_obj_kind,
  21467. need_obj_signature,
  21468. need_obj_owner)
  21469. values
  21470. (
  21471. "%SYSBLDNAME%",
  21472. 69, "plus (TimeSeries,int)",
  21473. "%SYSBLDUSER%",
  21474. 5, "plus (TimeSeries,int)",
  21475. "%SYSBLDUSER%"
  21476. );
  21477. insert into sysbldobjects
  21478. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21479. create_can_fail, drop_sql, drop_can_fail)
  21480. values
  21481. (
  21482. "%SYSBLDNAME%", 5, "plus (money,TimeSeries)",
  21483. "%SYSBLDUSER%", 0,
  21484. "create function plus (money,TimeSeries)
  21485. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21486. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21487. ",
  21488. "f",
  21489. "drop function plus (money,TimeSeries);
  21490. ",
  21491. "f"
  21492. );
  21493. insert into sysbldobjdepends
  21494. (
  21495. bld_id,
  21496. obj_kind,
  21497. obj_signature,
  21498. obj_owner,
  21499. need_obj_kind,
  21500. need_obj_signature,
  21501. need_obj_owner)
  21502. values
  21503. (
  21504. "%SYSBLDNAME%",
  21505. 5, "plus (money,TimeSeries)",
  21506. "%SYSBLDUSER%",
  21507. 7, "TimeSeries",
  21508. "%SYSBLDUSER%"
  21509. );
  21510. insert into sysbldobjects
  21511. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21512. create_can_fail, drop_sql, drop_can_fail)
  21513. values
  21514. (
  21515. "%SYSBLDNAME%", 69, "plus (money,TimeSeries)",
  21516. "%SYSBLDUSER%", 0,
  21517. "grant execute on function plus (money,TimeSeries) to public;
  21518. ",
  21519. "f",
  21520. "",
  21521. "f"
  21522. );
  21523. insert into sysbldobjdepends
  21524. (
  21525. bld_id,
  21526. obj_kind,
  21527. obj_signature,
  21528. obj_owner,
  21529. need_obj_kind,
  21530. need_obj_signature,
  21531. need_obj_owner)
  21532. values
  21533. (
  21534. "%SYSBLDNAME%",
  21535. 69, "plus (money,TimeSeries)",
  21536. "%SYSBLDUSER%",
  21537. 5, "plus (money,TimeSeries)",
  21538. "%SYSBLDUSER%"
  21539. );
  21540. insert into sysbldobjects
  21541. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21542. create_can_fail, drop_sql, drop_can_fail)
  21543. values
  21544. (
  21545. "%SYSBLDNAME%", 5, "plus (TimeSeries,money)",
  21546. "%SYSBLDUSER%", 0,
  21547. "create function plus (TimeSeries,money)
  21548. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21549. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21550. ",
  21551. "f",
  21552. "drop function plus (TimeSeries,money);
  21553. ",
  21554. "f"
  21555. );
  21556. insert into sysbldobjdepends
  21557. (
  21558. bld_id,
  21559. obj_kind,
  21560. obj_signature,
  21561. obj_owner,
  21562. need_obj_kind,
  21563. need_obj_signature,
  21564. need_obj_owner)
  21565. values
  21566. (
  21567. "%SYSBLDNAME%",
  21568. 5, "plus (TimeSeries,money)",
  21569. "%SYSBLDUSER%",
  21570. 7, "TimeSeries",
  21571. "%SYSBLDUSER%"
  21572. );
  21573. insert into sysbldobjects
  21574. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21575. create_can_fail, drop_sql, drop_can_fail)
  21576. values
  21577. (
  21578. "%SYSBLDNAME%", 69, "plus (TimeSeries,money)",
  21579. "%SYSBLDUSER%", 0,
  21580. "grant execute on function plus (TimeSeries,money) to public;
  21581. ",
  21582. "f",
  21583. "",
  21584. "f"
  21585. );
  21586. insert into sysbldobjdepends
  21587. (
  21588. bld_id,
  21589. obj_kind,
  21590. obj_signature,
  21591. obj_owner,
  21592. need_obj_kind,
  21593. need_obj_signature,
  21594. need_obj_owner)
  21595. values
  21596. (
  21597. "%SYSBLDNAME%",
  21598. 69, "plus (TimeSeries,money)",
  21599. "%SYSBLDUSER%",
  21600. 5, "plus (TimeSeries,money)",
  21601. "%SYSBLDUSER%"
  21602. );
  21603. insert into sysbldobjects
  21604. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21605. create_can_fail, drop_sql, drop_can_fail)
  21606. values
  21607. (
  21608. "%SYSBLDNAME%", 5, "plus (real,TimeSeries)",
  21609. "%SYSBLDUSER%", 0,
  21610. "create function plus (real,TimeSeries)
  21611. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21612. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21613. ",
  21614. "f",
  21615. "drop function plus (real,TimeSeries);
  21616. ",
  21617. "f"
  21618. );
  21619. insert into sysbldobjdepends
  21620. (
  21621. bld_id,
  21622. obj_kind,
  21623. obj_signature,
  21624. obj_owner,
  21625. need_obj_kind,
  21626. need_obj_signature,
  21627. need_obj_owner)
  21628. values
  21629. (
  21630. "%SYSBLDNAME%",
  21631. 5, "plus (real,TimeSeries)",
  21632. "%SYSBLDUSER%",
  21633. 7, "TimeSeries",
  21634. "%SYSBLDUSER%"
  21635. );
  21636. insert into sysbldobjects
  21637. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21638. create_can_fail, drop_sql, drop_can_fail)
  21639. values
  21640. (
  21641. "%SYSBLDNAME%", 69, "plus (real,TimeSeries)",
  21642. "%SYSBLDUSER%", 0,
  21643. "grant execute on function plus (real,TimeSeries) to public;
  21644. ",
  21645. "f",
  21646. "",
  21647. "f"
  21648. );
  21649. insert into sysbldobjdepends
  21650. (
  21651. bld_id,
  21652. obj_kind,
  21653. obj_signature,
  21654. obj_owner,
  21655. need_obj_kind,
  21656. need_obj_signature,
  21657. need_obj_owner)
  21658. values
  21659. (
  21660. "%SYSBLDNAME%",
  21661. 69, "plus (real,TimeSeries)",
  21662. "%SYSBLDUSER%",
  21663. 5, "plus (real,TimeSeries)",
  21664. "%SYSBLDUSER%"
  21665. );
  21666. insert into sysbldobjects
  21667. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21668. create_can_fail, drop_sql, drop_can_fail)
  21669. values
  21670. (
  21671. "%SYSBLDNAME%", 5, "plus (TimeSeries,real)",
  21672. "%SYSBLDUSER%", 0,
  21673. "create function plus (TimeSeries,real)
  21674. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21675. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21676. ",
  21677. "f",
  21678. "drop function plus (TimeSeries,real);
  21679. ",
  21680. "f"
  21681. );
  21682. insert into sysbldobjdepends
  21683. (
  21684. bld_id,
  21685. obj_kind,
  21686. obj_signature,
  21687. obj_owner,
  21688. need_obj_kind,
  21689. need_obj_signature,
  21690. need_obj_owner)
  21691. values
  21692. (
  21693. "%SYSBLDNAME%",
  21694. 5, "plus (TimeSeries,real)",
  21695. "%SYSBLDUSER%",
  21696. 7, "TimeSeries",
  21697. "%SYSBLDUSER%"
  21698. );
  21699. insert into sysbldobjects
  21700. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21701. create_can_fail, drop_sql, drop_can_fail)
  21702. values
  21703. (
  21704. "%SYSBLDNAME%", 69, "plus (TimeSeries,real)",
  21705. "%SYSBLDUSER%", 0,
  21706. "grant execute on function plus (TimeSeries,real) to public;
  21707. ",
  21708. "f",
  21709. "",
  21710. "f"
  21711. );
  21712. insert into sysbldobjdepends
  21713. (
  21714. bld_id,
  21715. obj_kind,
  21716. obj_signature,
  21717. obj_owner,
  21718. need_obj_kind,
  21719. need_obj_signature,
  21720. need_obj_owner)
  21721. values
  21722. (
  21723. "%SYSBLDNAME%",
  21724. 69, "plus (TimeSeries,real)",
  21725. "%SYSBLDUSER%",
  21726. 5, "plus (TimeSeries,real)",
  21727. "%SYSBLDUSER%"
  21728. );
  21729. insert into sysbldobjects
  21730. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21731. create_can_fail, drop_sql, drop_can_fail)
  21732. values
  21733. (
  21734. "%SYSBLDNAME%", 5, "plus (smallint,TimeSeries)",
  21735. "%SYSBLDUSER%", 0,
  21736. "create function plus (smallint,TimeSeries)
  21737. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21738. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21739. ",
  21740. "f",
  21741. "drop function plus (smallint,TimeSeries);
  21742. ",
  21743. "f"
  21744. );
  21745. insert into sysbldobjdepends
  21746. (
  21747. bld_id,
  21748. obj_kind,
  21749. obj_signature,
  21750. obj_owner,
  21751. need_obj_kind,
  21752. need_obj_signature,
  21753. need_obj_owner)
  21754. values
  21755. (
  21756. "%SYSBLDNAME%",
  21757. 5, "plus (smallint,TimeSeries)",
  21758. "%SYSBLDUSER%",
  21759. 7, "TimeSeries",
  21760. "%SYSBLDUSER%"
  21761. );
  21762. insert into sysbldobjects
  21763. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21764. create_can_fail, drop_sql, drop_can_fail)
  21765. values
  21766. (
  21767. "%SYSBLDNAME%", 69, "plus (smallint,TimeSeries)",
  21768. "%SYSBLDUSER%", 0,
  21769. "grant execute on function plus (smallint,TimeSeries) to public;
  21770. ",
  21771. "f",
  21772. "",
  21773. "f"
  21774. );
  21775. insert into sysbldobjdepends
  21776. (
  21777. bld_id,
  21778. obj_kind,
  21779. obj_signature,
  21780. obj_owner,
  21781. need_obj_kind,
  21782. need_obj_signature,
  21783. need_obj_owner)
  21784. values
  21785. (
  21786. "%SYSBLDNAME%",
  21787. 69, "plus (smallint,TimeSeries)",
  21788. "%SYSBLDUSER%",
  21789. 5, "plus (smallint,TimeSeries)",
  21790. "%SYSBLDUSER%"
  21791. );
  21792. insert into sysbldobjects
  21793. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21794. create_can_fail, drop_sql, drop_can_fail)
  21795. values
  21796. (
  21797. "%SYSBLDNAME%", 5, "plus (TimeSeries,smallint)",
  21798. "%SYSBLDUSER%", 0,
  21799. "create function plus (TimeSeries,smallint)
  21800. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21801. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21802. ",
  21803. "f",
  21804. "drop function plus (TimeSeries,smallint);
  21805. ",
  21806. "f"
  21807. );
  21808. insert into sysbldobjdepends
  21809. (
  21810. bld_id,
  21811. obj_kind,
  21812. obj_signature,
  21813. obj_owner,
  21814. need_obj_kind,
  21815. need_obj_signature,
  21816. need_obj_owner)
  21817. values
  21818. (
  21819. "%SYSBLDNAME%",
  21820. 5, "plus (TimeSeries,smallint)",
  21821. "%SYSBLDUSER%",
  21822. 7, "TimeSeries",
  21823. "%SYSBLDUSER%"
  21824. );
  21825. insert into sysbldobjects
  21826. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21827. create_can_fail, drop_sql, drop_can_fail)
  21828. values
  21829. (
  21830. "%SYSBLDNAME%", 69, "plus (TimeSeries,smallint)",
  21831. "%SYSBLDUSER%", 0,
  21832. "grant execute on function plus (TimeSeries,smallint) to public;
  21833. ",
  21834. "f",
  21835. "",
  21836. "f"
  21837. );
  21838. insert into sysbldobjdepends
  21839. (
  21840. bld_id,
  21841. obj_kind,
  21842. obj_signature,
  21843. obj_owner,
  21844. need_obj_kind,
  21845. need_obj_signature,
  21846. need_obj_owner)
  21847. values
  21848. (
  21849. "%SYSBLDNAME%",
  21850. 69, "plus (TimeSeries,smallint)",
  21851. "%SYSBLDUSER%",
  21852. 5, "plus (TimeSeries,smallint)",
  21853. "%SYSBLDUSER%"
  21854. );
  21855. insert into sysbldobjects
  21856. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21857. create_can_fail, drop_sql, drop_can_fail)
  21858. values
  21859. (
  21860. "%SYSBLDNAME%", 5, "plus (row,TimeSeries)",
  21861. "%SYSBLDUSER%", 0,
  21862. "create function plus (row,TimeSeries)
  21863. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21864. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21865. ",
  21866. "f",
  21867. "drop function plus (row,TimeSeries);
  21868. ",
  21869. "f"
  21870. );
  21871. insert into sysbldobjdepends
  21872. (
  21873. bld_id,
  21874. obj_kind,
  21875. obj_signature,
  21876. obj_owner,
  21877. need_obj_kind,
  21878. need_obj_signature,
  21879. need_obj_owner)
  21880. values
  21881. (
  21882. "%SYSBLDNAME%",
  21883. 5, "plus (row,TimeSeries)",
  21884. "%SYSBLDUSER%",
  21885. 7, "TimeSeries",
  21886. "%SYSBLDUSER%"
  21887. );
  21888. insert into sysbldobjects
  21889. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21890. create_can_fail, drop_sql, drop_can_fail)
  21891. values
  21892. (
  21893. "%SYSBLDNAME%", 69, "plus (row,TimeSeries)",
  21894. "%SYSBLDUSER%", 0,
  21895. "grant execute on function plus (row,TimeSeries) to public;
  21896. ",
  21897. "f",
  21898. "",
  21899. "f"
  21900. );
  21901. insert into sysbldobjdepends
  21902. (
  21903. bld_id,
  21904. obj_kind,
  21905. obj_signature,
  21906. obj_owner,
  21907. need_obj_kind,
  21908. need_obj_signature,
  21909. need_obj_owner)
  21910. values
  21911. (
  21912. "%SYSBLDNAME%",
  21913. 69, "plus (row,TimeSeries)",
  21914. "%SYSBLDUSER%",
  21915. 5, "plus (row,TimeSeries)",
  21916. "%SYSBLDUSER%"
  21917. );
  21918. insert into sysbldobjects
  21919. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21920. create_can_fail, drop_sql, drop_can_fail)
  21921. values
  21922. (
  21923. "%SYSBLDNAME%", 5, "plus (TimeSeries,row)",
  21924. "%SYSBLDUSER%", 0,
  21925. "create function plus (TimeSeries,row)
  21926. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21927. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;
  21928. ",
  21929. "f",
  21930. "drop function plus (TimeSeries,row);
  21931. ",
  21932. "f"
  21933. );
  21934. insert into sysbldobjdepends
  21935. (
  21936. bld_id,
  21937. obj_kind,
  21938. obj_signature,
  21939. obj_owner,
  21940. need_obj_kind,
  21941. need_obj_signature,
  21942. need_obj_owner)
  21943. values
  21944. (
  21945. "%SYSBLDNAME%",
  21946. 5, "plus (TimeSeries,row)",
  21947. "%SYSBLDUSER%",
  21948. 7, "TimeSeries",
  21949. "%SYSBLDUSER%"
  21950. );
  21951. insert into sysbldobjects
  21952. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21953. create_can_fail, drop_sql, drop_can_fail)
  21954. values
  21955. (
  21956. "%SYSBLDNAME%", 69, "plus (TimeSeries,row)",
  21957. "%SYSBLDUSER%", 0,
  21958. "grant execute on function plus (TimeSeries,row) to public;
  21959. ",
  21960. "f",
  21961. "",
  21962. "f"
  21963. );
  21964. insert into sysbldobjdepends
  21965. (
  21966. bld_id,
  21967. obj_kind,
  21968. obj_signature,
  21969. obj_owner,
  21970. need_obj_kind,
  21971. need_obj_signature,
  21972. need_obj_owner)
  21973. values
  21974. (
  21975. "%SYSBLDNAME%",
  21976. 69, "plus (TimeSeries,row)",
  21977. "%SYSBLDUSER%",
  21978. 5, "plus (TimeSeries,row)",
  21979. "%SYSBLDUSER%"
  21980. );
  21981. insert into sysbldobjects
  21982. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  21983. create_can_fail, drop_sql, drop_can_fail)
  21984. values
  21985. (
  21986. "%SYSBLDNAME%", 5, "minus (TimeSeries,TimeSeries)",
  21987. "%SYSBLDUSER%", 0,
  21988. "create function minus (TimeSeries,TimeSeries)
  21989. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  21990. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  21991. ",
  21992. "f",
  21993. "drop function minus (TimeSeries,TimeSeries);
  21994. ",
  21995. "f"
  21996. );
  21997. insert into sysbldobjdepends
  21998. (
  21999. bld_id,
  22000. obj_kind,
  22001. obj_signature,
  22002. obj_owner,
  22003. need_obj_kind,
  22004. need_obj_signature,
  22005. need_obj_owner)
  22006. values
  22007. (
  22008. "%SYSBLDNAME%",
  22009. 5, "minus (TimeSeries,TimeSeries)",
  22010. "%SYSBLDUSER%",
  22011. 7, "TimeSeries",
  22012. "%SYSBLDUSER%"
  22013. );
  22014. insert into sysbldobjects
  22015. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22016. create_can_fail, drop_sql, drop_can_fail)
  22017. values
  22018. (
  22019. "%SYSBLDNAME%", 69, "minus (TimeSeries,TimeSeries)",
  22020. "%SYSBLDUSER%", 0,
  22021. "grant execute on function minus (TimeSeries,TimeSeries) to public;
  22022. ",
  22023. "f",
  22024. "",
  22025. "f"
  22026. );
  22027. insert into sysbldobjdepends
  22028. (
  22029. bld_id,
  22030. obj_kind,
  22031. obj_signature,
  22032. obj_owner,
  22033. need_obj_kind,
  22034. need_obj_signature,
  22035. need_obj_owner)
  22036. values
  22037. (
  22038. "%SYSBLDNAME%",
  22039. 69, "minus (TimeSeries,TimeSeries)",
  22040. "%SYSBLDUSER%",
  22041. 5, "minus (TimeSeries,TimeSeries)",
  22042. "%SYSBLDUSER%"
  22043. );
  22044. insert into sysbldobjects
  22045. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22046. create_can_fail, drop_sql, drop_can_fail)
  22047. values
  22048. (
  22049. "%SYSBLDNAME%", 5, "minus (decimal,TimeSeries)",
  22050. "%SYSBLDUSER%", 0,
  22051. "create function minus (decimal,TimeSeries)
  22052. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22053. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22054. ",
  22055. "f",
  22056. "drop function minus (decimal,TimeSeries);
  22057. ",
  22058. "f"
  22059. );
  22060. insert into sysbldobjdepends
  22061. (
  22062. bld_id,
  22063. obj_kind,
  22064. obj_signature,
  22065. obj_owner,
  22066. need_obj_kind,
  22067. need_obj_signature,
  22068. need_obj_owner)
  22069. values
  22070. (
  22071. "%SYSBLDNAME%",
  22072. 5, "minus (decimal,TimeSeries)",
  22073. "%SYSBLDUSER%",
  22074. 7, "TimeSeries",
  22075. "%SYSBLDUSER%"
  22076. );
  22077. insert into sysbldobjects
  22078. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22079. create_can_fail, drop_sql, drop_can_fail)
  22080. values
  22081. (
  22082. "%SYSBLDNAME%", 69, "minus (decimal,TimeSeries)",
  22083. "%SYSBLDUSER%", 0,
  22084. "grant execute on function minus (decimal,TimeSeries) to public;
  22085. ",
  22086. "f",
  22087. "",
  22088. "f"
  22089. );
  22090. insert into sysbldobjdepends
  22091. (
  22092. bld_id,
  22093. obj_kind,
  22094. obj_signature,
  22095. obj_owner,
  22096. need_obj_kind,
  22097. need_obj_signature,
  22098. need_obj_owner)
  22099. values
  22100. (
  22101. "%SYSBLDNAME%",
  22102. 69, "minus (decimal,TimeSeries)",
  22103. "%SYSBLDUSER%",
  22104. 5, "minus (decimal,TimeSeries)",
  22105. "%SYSBLDUSER%"
  22106. );
  22107. insert into sysbldobjects
  22108. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22109. create_can_fail, drop_sql, drop_can_fail)
  22110. values
  22111. (
  22112. "%SYSBLDNAME%", 5, "minus (TimeSeries,decimal)",
  22113. "%SYSBLDUSER%", 0,
  22114. "create function minus (TimeSeries,decimal)
  22115. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22116. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22117. ",
  22118. "f",
  22119. "drop function minus (TimeSeries,decimal);
  22120. ",
  22121. "f"
  22122. );
  22123. insert into sysbldobjdepends
  22124. (
  22125. bld_id,
  22126. obj_kind,
  22127. obj_signature,
  22128. obj_owner,
  22129. need_obj_kind,
  22130. need_obj_signature,
  22131. need_obj_owner)
  22132. values
  22133. (
  22134. "%SYSBLDNAME%",
  22135. 5, "minus (TimeSeries,decimal)",
  22136. "%SYSBLDUSER%",
  22137. 7, "TimeSeries",
  22138. "%SYSBLDUSER%"
  22139. );
  22140. insert into sysbldobjects
  22141. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22142. create_can_fail, drop_sql, drop_can_fail)
  22143. values
  22144. (
  22145. "%SYSBLDNAME%", 69, "minus (TimeSeries,decimal)",
  22146. "%SYSBLDUSER%", 0,
  22147. "grant execute on function minus (TimeSeries,decimal) to public;
  22148. ",
  22149. "f",
  22150. "",
  22151. "f"
  22152. );
  22153. insert into sysbldobjdepends
  22154. (
  22155. bld_id,
  22156. obj_kind,
  22157. obj_signature,
  22158. obj_owner,
  22159. need_obj_kind,
  22160. need_obj_signature,
  22161. need_obj_owner)
  22162. values
  22163. (
  22164. "%SYSBLDNAME%",
  22165. 69, "minus (TimeSeries,decimal)",
  22166. "%SYSBLDUSER%",
  22167. 5, "minus (TimeSeries,decimal)",
  22168. "%SYSBLDUSER%"
  22169. );
  22170. insert into sysbldobjects
  22171. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22172. create_can_fail, drop_sql, drop_can_fail)
  22173. values
  22174. (
  22175. "%SYSBLDNAME%", 5, "minus (float,TimeSeries)",
  22176. "%SYSBLDUSER%", 0,
  22177. "create function minus (float,TimeSeries)
  22178. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22179. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22180. ",
  22181. "f",
  22182. "drop function minus (float,TimeSeries);
  22183. ",
  22184. "f"
  22185. );
  22186. insert into sysbldobjdepends
  22187. (
  22188. bld_id,
  22189. obj_kind,
  22190. obj_signature,
  22191. obj_owner,
  22192. need_obj_kind,
  22193. need_obj_signature,
  22194. need_obj_owner)
  22195. values
  22196. (
  22197. "%SYSBLDNAME%",
  22198. 5, "minus (float,TimeSeries)",
  22199. "%SYSBLDUSER%",
  22200. 7, "TimeSeries",
  22201. "%SYSBLDUSER%"
  22202. );
  22203. insert into sysbldobjects
  22204. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22205. create_can_fail, drop_sql, drop_can_fail)
  22206. values
  22207. (
  22208. "%SYSBLDNAME%", 69, "minus (float,TimeSeries)",
  22209. "%SYSBLDUSER%", 0,
  22210. "grant execute on function minus (float,TimeSeries) to public;
  22211. ",
  22212. "f",
  22213. "",
  22214. "f"
  22215. );
  22216. insert into sysbldobjdepends
  22217. (
  22218. bld_id,
  22219. obj_kind,
  22220. obj_signature,
  22221. obj_owner,
  22222. need_obj_kind,
  22223. need_obj_signature,
  22224. need_obj_owner)
  22225. values
  22226. (
  22227. "%SYSBLDNAME%",
  22228. 69, "minus (float,TimeSeries)",
  22229. "%SYSBLDUSER%",
  22230. 5, "minus (float,TimeSeries)",
  22231. "%SYSBLDUSER%"
  22232. );
  22233. insert into sysbldobjects
  22234. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22235. create_can_fail, drop_sql, drop_can_fail)
  22236. values
  22237. (
  22238. "%SYSBLDNAME%", 5, "minus (TimeSeries,float)",
  22239. "%SYSBLDUSER%", 0,
  22240. "create function minus (TimeSeries,float)
  22241. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22242. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22243. ",
  22244. "f",
  22245. "drop function minus (TimeSeries,float);
  22246. ",
  22247. "f"
  22248. );
  22249. insert into sysbldobjdepends
  22250. (
  22251. bld_id,
  22252. obj_kind,
  22253. obj_signature,
  22254. obj_owner,
  22255. need_obj_kind,
  22256. need_obj_signature,
  22257. need_obj_owner)
  22258. values
  22259. (
  22260. "%SYSBLDNAME%",
  22261. 5, "minus (TimeSeries,float)",
  22262. "%SYSBLDUSER%",
  22263. 7, "TimeSeries",
  22264. "%SYSBLDUSER%"
  22265. );
  22266. insert into sysbldobjects
  22267. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22268. create_can_fail, drop_sql, drop_can_fail)
  22269. values
  22270. (
  22271. "%SYSBLDNAME%", 69, "minus (TimeSeries,float)",
  22272. "%SYSBLDUSER%", 0,
  22273. "grant execute on function minus (TimeSeries,float) to public;
  22274. ",
  22275. "f",
  22276. "",
  22277. "f"
  22278. );
  22279. insert into sysbldobjdepends
  22280. (
  22281. bld_id,
  22282. obj_kind,
  22283. obj_signature,
  22284. obj_owner,
  22285. need_obj_kind,
  22286. need_obj_signature,
  22287. need_obj_owner)
  22288. values
  22289. (
  22290. "%SYSBLDNAME%",
  22291. 69, "minus (TimeSeries,float)",
  22292. "%SYSBLDUSER%",
  22293. 5, "minus (TimeSeries,float)",
  22294. "%SYSBLDUSER%"
  22295. );
  22296. insert into sysbldobjects
  22297. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22298. create_can_fail, drop_sql, drop_can_fail)
  22299. values
  22300. (
  22301. "%SYSBLDNAME%", 5, "minus (int,TimeSeries)",
  22302. "%SYSBLDUSER%", 0,
  22303. "create function minus (int,TimeSeries)
  22304. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22305. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22306. ",
  22307. "f",
  22308. "drop function minus (int,TimeSeries);
  22309. ",
  22310. "f"
  22311. );
  22312. insert into sysbldobjdepends
  22313. (
  22314. bld_id,
  22315. obj_kind,
  22316. obj_signature,
  22317. obj_owner,
  22318. need_obj_kind,
  22319. need_obj_signature,
  22320. need_obj_owner)
  22321. values
  22322. (
  22323. "%SYSBLDNAME%",
  22324. 5, "minus (int,TimeSeries)",
  22325. "%SYSBLDUSER%",
  22326. 7, "TimeSeries",
  22327. "%SYSBLDUSER%"
  22328. );
  22329. insert into sysbldobjects
  22330. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22331. create_can_fail, drop_sql, drop_can_fail)
  22332. values
  22333. (
  22334. "%SYSBLDNAME%", 69, "minus (int,TimeSeries)",
  22335. "%SYSBLDUSER%", 0,
  22336. "grant execute on function minus (int,TimeSeries) to public;
  22337. ",
  22338. "f",
  22339. "",
  22340. "f"
  22341. );
  22342. insert into sysbldobjdepends
  22343. (
  22344. bld_id,
  22345. obj_kind,
  22346. obj_signature,
  22347. obj_owner,
  22348. need_obj_kind,
  22349. need_obj_signature,
  22350. need_obj_owner)
  22351. values
  22352. (
  22353. "%SYSBLDNAME%",
  22354. 69, "minus (int,TimeSeries)",
  22355. "%SYSBLDUSER%",
  22356. 5, "minus (int,TimeSeries)",
  22357. "%SYSBLDUSER%"
  22358. );
  22359. insert into sysbldobjects
  22360. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22361. create_can_fail, drop_sql, drop_can_fail)
  22362. values
  22363. (
  22364. "%SYSBLDNAME%", 5, "minus (TimeSeries,int)",
  22365. "%SYSBLDUSER%", 0,
  22366. "create function minus (TimeSeries,int)
  22367. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22368. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22369. ",
  22370. "f",
  22371. "drop function minus (TimeSeries,int);
  22372. ",
  22373. "f"
  22374. );
  22375. insert into sysbldobjdepends
  22376. (
  22377. bld_id,
  22378. obj_kind,
  22379. obj_signature,
  22380. obj_owner,
  22381. need_obj_kind,
  22382. need_obj_signature,
  22383. need_obj_owner)
  22384. values
  22385. (
  22386. "%SYSBLDNAME%",
  22387. 5, "minus (TimeSeries,int)",
  22388. "%SYSBLDUSER%",
  22389. 7, "TimeSeries",
  22390. "%SYSBLDUSER%"
  22391. );
  22392. insert into sysbldobjects
  22393. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22394. create_can_fail, drop_sql, drop_can_fail)
  22395. values
  22396. (
  22397. "%SYSBLDNAME%", 69, "minus (TimeSeries,int)",
  22398. "%SYSBLDUSER%", 0,
  22399. "grant execute on function minus (TimeSeries,int) to public;
  22400. ",
  22401. "f",
  22402. "",
  22403. "f"
  22404. );
  22405. insert into sysbldobjdepends
  22406. (
  22407. bld_id,
  22408. obj_kind,
  22409. obj_signature,
  22410. obj_owner,
  22411. need_obj_kind,
  22412. need_obj_signature,
  22413. need_obj_owner)
  22414. values
  22415. (
  22416. "%SYSBLDNAME%",
  22417. 69, "minus (TimeSeries,int)",
  22418. "%SYSBLDUSER%",
  22419. 5, "minus (TimeSeries,int)",
  22420. "%SYSBLDUSER%"
  22421. );
  22422. insert into sysbldobjects
  22423. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22424. create_can_fail, drop_sql, drop_can_fail)
  22425. values
  22426. (
  22427. "%SYSBLDNAME%", 5, "minus (money,TimeSeries)",
  22428. "%SYSBLDUSER%", 0,
  22429. "create function minus (money,TimeSeries)
  22430. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22431. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22432. ",
  22433. "f",
  22434. "drop function minus (money,TimeSeries);
  22435. ",
  22436. "f"
  22437. );
  22438. insert into sysbldobjdepends
  22439. (
  22440. bld_id,
  22441. obj_kind,
  22442. obj_signature,
  22443. obj_owner,
  22444. need_obj_kind,
  22445. need_obj_signature,
  22446. need_obj_owner)
  22447. values
  22448. (
  22449. "%SYSBLDNAME%",
  22450. 5, "minus (money,TimeSeries)",
  22451. "%SYSBLDUSER%",
  22452. 7, "TimeSeries",
  22453. "%SYSBLDUSER%"
  22454. );
  22455. insert into sysbldobjects
  22456. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22457. create_can_fail, drop_sql, drop_can_fail)
  22458. values
  22459. (
  22460. "%SYSBLDNAME%", 69, "minus (money,TimeSeries)",
  22461. "%SYSBLDUSER%", 0,
  22462. "grant execute on function minus (money,TimeSeries) to public;
  22463. ",
  22464. "f",
  22465. "",
  22466. "f"
  22467. );
  22468. insert into sysbldobjdepends
  22469. (
  22470. bld_id,
  22471. obj_kind,
  22472. obj_signature,
  22473. obj_owner,
  22474. need_obj_kind,
  22475. need_obj_signature,
  22476. need_obj_owner)
  22477. values
  22478. (
  22479. "%SYSBLDNAME%",
  22480. 69, "minus (money,TimeSeries)",
  22481. "%SYSBLDUSER%",
  22482. 5, "minus (money,TimeSeries)",
  22483. "%SYSBLDUSER%"
  22484. );
  22485. insert into sysbldobjects
  22486. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22487. create_can_fail, drop_sql, drop_can_fail)
  22488. values
  22489. (
  22490. "%SYSBLDNAME%", 5, "minus (TimeSeries,money)",
  22491. "%SYSBLDUSER%", 0,
  22492. "create function minus (TimeSeries,money)
  22493. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22494. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22495. ",
  22496. "f",
  22497. "drop function minus (TimeSeries,money);
  22498. ",
  22499. "f"
  22500. );
  22501. insert into sysbldobjdepends
  22502. (
  22503. bld_id,
  22504. obj_kind,
  22505. obj_signature,
  22506. obj_owner,
  22507. need_obj_kind,
  22508. need_obj_signature,
  22509. need_obj_owner)
  22510. values
  22511. (
  22512. "%SYSBLDNAME%",
  22513. 5, "minus (TimeSeries,money)",
  22514. "%SYSBLDUSER%",
  22515. 7, "TimeSeries",
  22516. "%SYSBLDUSER%"
  22517. );
  22518. insert into sysbldobjects
  22519. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22520. create_can_fail, drop_sql, drop_can_fail)
  22521. values
  22522. (
  22523. "%SYSBLDNAME%", 69, "minus (TimeSeries,money)",
  22524. "%SYSBLDUSER%", 0,
  22525. "grant execute on function minus (TimeSeries,money) to public;
  22526. ",
  22527. "f",
  22528. "",
  22529. "f"
  22530. );
  22531. insert into sysbldobjdepends
  22532. (
  22533. bld_id,
  22534. obj_kind,
  22535. obj_signature,
  22536. obj_owner,
  22537. need_obj_kind,
  22538. need_obj_signature,
  22539. need_obj_owner)
  22540. values
  22541. (
  22542. "%SYSBLDNAME%",
  22543. 69, "minus (TimeSeries,money)",
  22544. "%SYSBLDUSER%",
  22545. 5, "minus (TimeSeries,money)",
  22546. "%SYSBLDUSER%"
  22547. );
  22548. insert into sysbldobjects
  22549. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22550. create_can_fail, drop_sql, drop_can_fail)
  22551. values
  22552. (
  22553. "%SYSBLDNAME%", 5, "minus (real,TimeSeries)",
  22554. "%SYSBLDUSER%", 0,
  22555. "create function minus (real,TimeSeries)
  22556. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22557. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22558. ",
  22559. "f",
  22560. "drop function minus (real,TimeSeries);
  22561. ",
  22562. "f"
  22563. );
  22564. insert into sysbldobjdepends
  22565. (
  22566. bld_id,
  22567. obj_kind,
  22568. obj_signature,
  22569. obj_owner,
  22570. need_obj_kind,
  22571. need_obj_signature,
  22572. need_obj_owner)
  22573. values
  22574. (
  22575. "%SYSBLDNAME%",
  22576. 5, "minus (real,TimeSeries)",
  22577. "%SYSBLDUSER%",
  22578. 7, "TimeSeries",
  22579. "%SYSBLDUSER%"
  22580. );
  22581. insert into sysbldobjects
  22582. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22583. create_can_fail, drop_sql, drop_can_fail)
  22584. values
  22585. (
  22586. "%SYSBLDNAME%", 69, "minus (real,TimeSeries)",
  22587. "%SYSBLDUSER%", 0,
  22588. "grant execute on function minus (real,TimeSeries) to public;
  22589. ",
  22590. "f",
  22591. "",
  22592. "f"
  22593. );
  22594. insert into sysbldobjdepends
  22595. (
  22596. bld_id,
  22597. obj_kind,
  22598. obj_signature,
  22599. obj_owner,
  22600. need_obj_kind,
  22601. need_obj_signature,
  22602. need_obj_owner)
  22603. values
  22604. (
  22605. "%SYSBLDNAME%",
  22606. 69, "minus (real,TimeSeries)",
  22607. "%SYSBLDUSER%",
  22608. 5, "minus (real,TimeSeries)",
  22609. "%SYSBLDUSER%"
  22610. );
  22611. insert into sysbldobjects
  22612. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22613. create_can_fail, drop_sql, drop_can_fail)
  22614. values
  22615. (
  22616. "%SYSBLDNAME%", 5, "minus (TimeSeries,real)",
  22617. "%SYSBLDUSER%", 0,
  22618. "create function minus (TimeSeries,real)
  22619. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22620. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22621. ",
  22622. "f",
  22623. "drop function minus (TimeSeries,real);
  22624. ",
  22625. "f"
  22626. );
  22627. insert into sysbldobjdepends
  22628. (
  22629. bld_id,
  22630. obj_kind,
  22631. obj_signature,
  22632. obj_owner,
  22633. need_obj_kind,
  22634. need_obj_signature,
  22635. need_obj_owner)
  22636. values
  22637. (
  22638. "%SYSBLDNAME%",
  22639. 5, "minus (TimeSeries,real)",
  22640. "%SYSBLDUSER%",
  22641. 7, "TimeSeries",
  22642. "%SYSBLDUSER%"
  22643. );
  22644. insert into sysbldobjects
  22645. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22646. create_can_fail, drop_sql, drop_can_fail)
  22647. values
  22648. (
  22649. "%SYSBLDNAME%", 69, "minus (TimeSeries,real)",
  22650. "%SYSBLDUSER%", 0,
  22651. "grant execute on function minus (TimeSeries,real) to public;
  22652. ",
  22653. "f",
  22654. "",
  22655. "f"
  22656. );
  22657. insert into sysbldobjdepends
  22658. (
  22659. bld_id,
  22660. obj_kind,
  22661. obj_signature,
  22662. obj_owner,
  22663. need_obj_kind,
  22664. need_obj_signature,
  22665. need_obj_owner)
  22666. values
  22667. (
  22668. "%SYSBLDNAME%",
  22669. 69, "minus (TimeSeries,real)",
  22670. "%SYSBLDUSER%",
  22671. 5, "minus (TimeSeries,real)",
  22672. "%SYSBLDUSER%"
  22673. );
  22674. insert into sysbldobjects
  22675. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22676. create_can_fail, drop_sql, drop_can_fail)
  22677. values
  22678. (
  22679. "%SYSBLDNAME%", 5, "minus (smallint,TimeSeries)",
  22680. "%SYSBLDUSER%", 0,
  22681. "create function minus (smallint,TimeSeries)
  22682. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22683. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22684. ",
  22685. "f",
  22686. "drop function minus (smallint,TimeSeries);
  22687. ",
  22688. "f"
  22689. );
  22690. insert into sysbldobjdepends
  22691. (
  22692. bld_id,
  22693. obj_kind,
  22694. obj_signature,
  22695. obj_owner,
  22696. need_obj_kind,
  22697. need_obj_signature,
  22698. need_obj_owner)
  22699. values
  22700. (
  22701. "%SYSBLDNAME%",
  22702. 5, "minus (smallint,TimeSeries)",
  22703. "%SYSBLDUSER%",
  22704. 7, "TimeSeries",
  22705. "%SYSBLDUSER%"
  22706. );
  22707. insert into sysbldobjects
  22708. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22709. create_can_fail, drop_sql, drop_can_fail)
  22710. values
  22711. (
  22712. "%SYSBLDNAME%", 69, "minus (smallint,TimeSeries)",
  22713. "%SYSBLDUSER%", 0,
  22714. "grant execute on function minus (smallint,TimeSeries) to public;
  22715. ",
  22716. "f",
  22717. "",
  22718. "f"
  22719. );
  22720. insert into sysbldobjdepends
  22721. (
  22722. bld_id,
  22723. obj_kind,
  22724. obj_signature,
  22725. obj_owner,
  22726. need_obj_kind,
  22727. need_obj_signature,
  22728. need_obj_owner)
  22729. values
  22730. (
  22731. "%SYSBLDNAME%",
  22732. 69, "minus (smallint,TimeSeries)",
  22733. "%SYSBLDUSER%",
  22734. 5, "minus (smallint,TimeSeries)",
  22735. "%SYSBLDUSER%"
  22736. );
  22737. insert into sysbldobjects
  22738. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22739. create_can_fail, drop_sql, drop_can_fail)
  22740. values
  22741. (
  22742. "%SYSBLDNAME%", 5, "minus (TimeSeries,smallint)",
  22743. "%SYSBLDUSER%", 0,
  22744. "create function minus (TimeSeries,smallint)
  22745. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22746. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22747. ",
  22748. "f",
  22749. "drop function minus (TimeSeries,smallint);
  22750. ",
  22751. "f"
  22752. );
  22753. insert into sysbldobjdepends
  22754. (
  22755. bld_id,
  22756. obj_kind,
  22757. obj_signature,
  22758. obj_owner,
  22759. need_obj_kind,
  22760. need_obj_signature,
  22761. need_obj_owner)
  22762. values
  22763. (
  22764. "%SYSBLDNAME%",
  22765. 5, "minus (TimeSeries,smallint)",
  22766. "%SYSBLDUSER%",
  22767. 7, "TimeSeries",
  22768. "%SYSBLDUSER%"
  22769. );
  22770. insert into sysbldobjects
  22771. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22772. create_can_fail, drop_sql, drop_can_fail)
  22773. values
  22774. (
  22775. "%SYSBLDNAME%", 69, "minus (TimeSeries,smallint)",
  22776. "%SYSBLDUSER%", 0,
  22777. "grant execute on function minus (TimeSeries,smallint) to public;
  22778. ",
  22779. "f",
  22780. "",
  22781. "f"
  22782. );
  22783. insert into sysbldobjdepends
  22784. (
  22785. bld_id,
  22786. obj_kind,
  22787. obj_signature,
  22788. obj_owner,
  22789. need_obj_kind,
  22790. need_obj_signature,
  22791. need_obj_owner)
  22792. values
  22793. (
  22794. "%SYSBLDNAME%",
  22795. 69, "minus (TimeSeries,smallint)",
  22796. "%SYSBLDUSER%",
  22797. 5, "minus (TimeSeries,smallint)",
  22798. "%SYSBLDUSER%"
  22799. );
  22800. insert into sysbldobjects
  22801. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22802. create_can_fail, drop_sql, drop_can_fail)
  22803. values
  22804. (
  22805. "%SYSBLDNAME%", 5, "minus (row,TimeSeries)",
  22806. "%SYSBLDUSER%", 0,
  22807. "create function minus (row,TimeSeries)
  22808. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22809. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22810. ",
  22811. "f",
  22812. "drop function minus (row,TimeSeries);
  22813. ",
  22814. "f"
  22815. );
  22816. insert into sysbldobjdepends
  22817. (
  22818. bld_id,
  22819. obj_kind,
  22820. obj_signature,
  22821. obj_owner,
  22822. need_obj_kind,
  22823. need_obj_signature,
  22824. need_obj_owner)
  22825. values
  22826. (
  22827. "%SYSBLDNAME%",
  22828. 5, "minus (row,TimeSeries)",
  22829. "%SYSBLDUSER%",
  22830. 7, "TimeSeries",
  22831. "%SYSBLDUSER%"
  22832. );
  22833. insert into sysbldobjects
  22834. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22835. create_can_fail, drop_sql, drop_can_fail)
  22836. values
  22837. (
  22838. "%SYSBLDNAME%", 69, "minus (row,TimeSeries)",
  22839. "%SYSBLDUSER%", 0,
  22840. "grant execute on function minus (row,TimeSeries) to public;
  22841. ",
  22842. "f",
  22843. "",
  22844. "f"
  22845. );
  22846. insert into sysbldobjdepends
  22847. (
  22848. bld_id,
  22849. obj_kind,
  22850. obj_signature,
  22851. obj_owner,
  22852. need_obj_kind,
  22853. need_obj_signature,
  22854. need_obj_owner)
  22855. values
  22856. (
  22857. "%SYSBLDNAME%",
  22858. 69, "minus (row,TimeSeries)",
  22859. "%SYSBLDUSER%",
  22860. 5, "minus (row,TimeSeries)",
  22861. "%SYSBLDUSER%"
  22862. );
  22863. insert into sysbldobjects
  22864. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22865. create_can_fail, drop_sql, drop_can_fail)
  22866. values
  22867. (
  22868. "%SYSBLDNAME%", 5, "minus (TimeSeries,row)",
  22869. "%SYSBLDUSER%", 0,
  22870. "create function minus (TimeSeries,row)
  22871. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22872. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;
  22873. ",
  22874. "f",
  22875. "drop function minus (TimeSeries,row);
  22876. ",
  22877. "f"
  22878. );
  22879. insert into sysbldobjdepends
  22880. (
  22881. bld_id,
  22882. obj_kind,
  22883. obj_signature,
  22884. obj_owner,
  22885. need_obj_kind,
  22886. need_obj_signature,
  22887. need_obj_owner)
  22888. values
  22889. (
  22890. "%SYSBLDNAME%",
  22891. 5, "minus (TimeSeries,row)",
  22892. "%SYSBLDUSER%",
  22893. 7, "TimeSeries",
  22894. "%SYSBLDUSER%"
  22895. );
  22896. insert into sysbldobjects
  22897. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22898. create_can_fail, drop_sql, drop_can_fail)
  22899. values
  22900. (
  22901. "%SYSBLDNAME%", 69, "minus (TimeSeries,row)",
  22902. "%SYSBLDUSER%", 0,
  22903. "grant execute on function minus (TimeSeries,row) to public;
  22904. ",
  22905. "f",
  22906. "",
  22907. "f"
  22908. );
  22909. insert into sysbldobjdepends
  22910. (
  22911. bld_id,
  22912. obj_kind,
  22913. obj_signature,
  22914. obj_owner,
  22915. need_obj_kind,
  22916. need_obj_signature,
  22917. need_obj_owner)
  22918. values
  22919. (
  22920. "%SYSBLDNAME%",
  22921. 69, "minus (TimeSeries,row)",
  22922. "%SYSBLDUSER%",
  22923. 5, "minus (TimeSeries,row)",
  22924. "%SYSBLDUSER%"
  22925. );
  22926. insert into sysbldobjects
  22927. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22928. create_can_fail, drop_sql, drop_can_fail)
  22929. values
  22930. (
  22931. "%SYSBLDNAME%", 5, "times (TimeSeries,TimeSeries)",
  22932. "%SYSBLDUSER%", 0,
  22933. "create function times (TimeSeries,TimeSeries)
  22934. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22935. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  22936. ",
  22937. "f",
  22938. "drop function times (TimeSeries,TimeSeries);
  22939. ",
  22940. "f"
  22941. );
  22942. insert into sysbldobjdepends
  22943. (
  22944. bld_id,
  22945. obj_kind,
  22946. obj_signature,
  22947. obj_owner,
  22948. need_obj_kind,
  22949. need_obj_signature,
  22950. need_obj_owner)
  22951. values
  22952. (
  22953. "%SYSBLDNAME%",
  22954. 5, "times (TimeSeries,TimeSeries)",
  22955. "%SYSBLDUSER%",
  22956. 7, "TimeSeries",
  22957. "%SYSBLDUSER%"
  22958. );
  22959. insert into sysbldobjects
  22960. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22961. create_can_fail, drop_sql, drop_can_fail)
  22962. values
  22963. (
  22964. "%SYSBLDNAME%", 69, "times (TimeSeries,TimeSeries)",
  22965. "%SYSBLDUSER%", 0,
  22966. "grant execute on function times (TimeSeries,TimeSeries) to public;
  22967. ",
  22968. "f",
  22969. "",
  22970. "f"
  22971. );
  22972. insert into sysbldobjdepends
  22973. (
  22974. bld_id,
  22975. obj_kind,
  22976. obj_signature,
  22977. obj_owner,
  22978. need_obj_kind,
  22979. need_obj_signature,
  22980. need_obj_owner)
  22981. values
  22982. (
  22983. "%SYSBLDNAME%",
  22984. 69, "times (TimeSeries,TimeSeries)",
  22985. "%SYSBLDUSER%",
  22986. 5, "times (TimeSeries,TimeSeries)",
  22987. "%SYSBLDUSER%"
  22988. );
  22989. insert into sysbldobjects
  22990. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22991. create_can_fail, drop_sql, drop_can_fail)
  22992. values
  22993. (
  22994. "%SYSBLDNAME%", 5, "times (decimal,TimeSeries)",
  22995. "%SYSBLDUSER%", 0,
  22996. "create function times (decimal,TimeSeries)
  22997. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  22998. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  22999. ",
  23000. "f",
  23001. "drop function times (decimal,TimeSeries);
  23002. ",
  23003. "f"
  23004. );
  23005. insert into sysbldobjdepends
  23006. (
  23007. bld_id,
  23008. obj_kind,
  23009. obj_signature,
  23010. obj_owner,
  23011. need_obj_kind,
  23012. need_obj_signature,
  23013. need_obj_owner)
  23014. values
  23015. (
  23016. "%SYSBLDNAME%",
  23017. 5, "times (decimal,TimeSeries)",
  23018. "%SYSBLDUSER%",
  23019. 7, "TimeSeries",
  23020. "%SYSBLDUSER%"
  23021. );
  23022. insert into sysbldobjects
  23023. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23024. create_can_fail, drop_sql, drop_can_fail)
  23025. values
  23026. (
  23027. "%SYSBLDNAME%", 69, "times (decimal,TimeSeries)",
  23028. "%SYSBLDUSER%", 0,
  23029. "grant execute on function times (decimal,TimeSeries) to public;
  23030. ",
  23031. "f",
  23032. "",
  23033. "f"
  23034. );
  23035. insert into sysbldobjdepends
  23036. (
  23037. bld_id,
  23038. obj_kind,
  23039. obj_signature,
  23040. obj_owner,
  23041. need_obj_kind,
  23042. need_obj_signature,
  23043. need_obj_owner)
  23044. values
  23045. (
  23046. "%SYSBLDNAME%",
  23047. 69, "times (decimal,TimeSeries)",
  23048. "%SYSBLDUSER%",
  23049. 5, "times (decimal,TimeSeries)",
  23050. "%SYSBLDUSER%"
  23051. );
  23052. insert into sysbldobjects
  23053. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23054. create_can_fail, drop_sql, drop_can_fail)
  23055. values
  23056. (
  23057. "%SYSBLDNAME%", 5, "times (TimeSeries,decimal)",
  23058. "%SYSBLDUSER%", 0,
  23059. "create function times (TimeSeries,decimal)
  23060. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23061. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23062. ",
  23063. "f",
  23064. "drop function times (TimeSeries,decimal);
  23065. ",
  23066. "f"
  23067. );
  23068. insert into sysbldobjdepends
  23069. (
  23070. bld_id,
  23071. obj_kind,
  23072. obj_signature,
  23073. obj_owner,
  23074. need_obj_kind,
  23075. need_obj_signature,
  23076. need_obj_owner)
  23077. values
  23078. (
  23079. "%SYSBLDNAME%",
  23080. 5, "times (TimeSeries,decimal)",
  23081. "%SYSBLDUSER%",
  23082. 7, "TimeSeries",
  23083. "%SYSBLDUSER%"
  23084. );
  23085. insert into sysbldobjects
  23086. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23087. create_can_fail, drop_sql, drop_can_fail)
  23088. values
  23089. (
  23090. "%SYSBLDNAME%", 69, "times (TimeSeries,decimal)",
  23091. "%SYSBLDUSER%", 0,
  23092. "grant execute on function times (TimeSeries,decimal) to public;
  23093. ",
  23094. "f",
  23095. "",
  23096. "f"
  23097. );
  23098. insert into sysbldobjdepends
  23099. (
  23100. bld_id,
  23101. obj_kind,
  23102. obj_signature,
  23103. obj_owner,
  23104. need_obj_kind,
  23105. need_obj_signature,
  23106. need_obj_owner)
  23107. values
  23108. (
  23109. "%SYSBLDNAME%",
  23110. 69, "times (TimeSeries,decimal)",
  23111. "%SYSBLDUSER%",
  23112. 5, "times (TimeSeries,decimal)",
  23113. "%SYSBLDUSER%"
  23114. );
  23115. insert into sysbldobjects
  23116. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23117. create_can_fail, drop_sql, drop_can_fail)
  23118. values
  23119. (
  23120. "%SYSBLDNAME%", 5, "times (float,TimeSeries)",
  23121. "%SYSBLDUSER%", 0,
  23122. "create function times (float,TimeSeries)
  23123. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23124. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23125. ",
  23126. "f",
  23127. "drop function times (float,TimeSeries);
  23128. ",
  23129. "f"
  23130. );
  23131. insert into sysbldobjdepends
  23132. (
  23133. bld_id,
  23134. obj_kind,
  23135. obj_signature,
  23136. obj_owner,
  23137. need_obj_kind,
  23138. need_obj_signature,
  23139. need_obj_owner)
  23140. values
  23141. (
  23142. "%SYSBLDNAME%",
  23143. 5, "times (float,TimeSeries)",
  23144. "%SYSBLDUSER%",
  23145. 7, "TimeSeries",
  23146. "%SYSBLDUSER%"
  23147. );
  23148. insert into sysbldobjects
  23149. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23150. create_can_fail, drop_sql, drop_can_fail)
  23151. values
  23152. (
  23153. "%SYSBLDNAME%", 69, "times (float,TimeSeries)",
  23154. "%SYSBLDUSER%", 0,
  23155. "grant execute on function times (float,TimeSeries) to public;
  23156. ",
  23157. "f",
  23158. "",
  23159. "f"
  23160. );
  23161. insert into sysbldobjdepends
  23162. (
  23163. bld_id,
  23164. obj_kind,
  23165. obj_signature,
  23166. obj_owner,
  23167. need_obj_kind,
  23168. need_obj_signature,
  23169. need_obj_owner)
  23170. values
  23171. (
  23172. "%SYSBLDNAME%",
  23173. 69, "times (float,TimeSeries)",
  23174. "%SYSBLDUSER%",
  23175. 5, "times (float,TimeSeries)",
  23176. "%SYSBLDUSER%"
  23177. );
  23178. insert into sysbldobjects
  23179. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23180. create_can_fail, drop_sql, drop_can_fail)
  23181. values
  23182. (
  23183. "%SYSBLDNAME%", 5, "times (TimeSeries,float)",
  23184. "%SYSBLDUSER%", 0,
  23185. "create function times (TimeSeries,float)
  23186. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23187. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23188. ",
  23189. "f",
  23190. "drop function times (TimeSeries,float);
  23191. ",
  23192. "f"
  23193. );
  23194. insert into sysbldobjdepends
  23195. (
  23196. bld_id,
  23197. obj_kind,
  23198. obj_signature,
  23199. obj_owner,
  23200. need_obj_kind,
  23201. need_obj_signature,
  23202. need_obj_owner)
  23203. values
  23204. (
  23205. "%SYSBLDNAME%",
  23206. 5, "times (TimeSeries,float)",
  23207. "%SYSBLDUSER%",
  23208. 7, "TimeSeries",
  23209. "%SYSBLDUSER%"
  23210. );
  23211. insert into sysbldobjects
  23212. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23213. create_can_fail, drop_sql, drop_can_fail)
  23214. values
  23215. (
  23216. "%SYSBLDNAME%", 69, "times (TimeSeries,float)",
  23217. "%SYSBLDUSER%", 0,
  23218. "grant execute on function times (TimeSeries,float) to public;
  23219. ",
  23220. "f",
  23221. "",
  23222. "f"
  23223. );
  23224. insert into sysbldobjdepends
  23225. (
  23226. bld_id,
  23227. obj_kind,
  23228. obj_signature,
  23229. obj_owner,
  23230. need_obj_kind,
  23231. need_obj_signature,
  23232. need_obj_owner)
  23233. values
  23234. (
  23235. "%SYSBLDNAME%",
  23236. 69, "times (TimeSeries,float)",
  23237. "%SYSBLDUSER%",
  23238. 5, "times (TimeSeries,float)",
  23239. "%SYSBLDUSER%"
  23240. );
  23241. insert into sysbldobjects
  23242. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23243. create_can_fail, drop_sql, drop_can_fail)
  23244. values
  23245. (
  23246. "%SYSBLDNAME%", 5, "times (int,TimeSeries)",
  23247. "%SYSBLDUSER%", 0,
  23248. "create function times (int,TimeSeries)
  23249. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23250. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23251. ",
  23252. "f",
  23253. "drop function times (int,TimeSeries);
  23254. ",
  23255. "f"
  23256. );
  23257. insert into sysbldobjdepends
  23258. (
  23259. bld_id,
  23260. obj_kind,
  23261. obj_signature,
  23262. obj_owner,
  23263. need_obj_kind,
  23264. need_obj_signature,
  23265. need_obj_owner)
  23266. values
  23267. (
  23268. "%SYSBLDNAME%",
  23269. 5, "times (int,TimeSeries)",
  23270. "%SYSBLDUSER%",
  23271. 7, "TimeSeries",
  23272. "%SYSBLDUSER%"
  23273. );
  23274. insert into sysbldobjdepends
  23275. (
  23276. bld_id,
  23277. obj_kind,
  23278. obj_signature,
  23279. obj_owner,
  23280. need_obj_kind,
  23281. need_obj_signature,
  23282. need_obj_owner)
  23283. values
  23284. (
  23285. "%SYSBLDNAME%",
  23286. 165, "Alter-TemplateArg-times (int,TimeSeries)",
  23287. "%SYSBLDUSER%",
  23288. 5, "times (int,TimeSeries)",
  23289. "%SYSBLDUSER%"
  23290. );
  23291. insert into sysbldobjects
  23292. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23293. create_can_fail, drop_sql, drop_can_fail)
  23294. values
  23295. (
  23296. "%SYSBLDNAME%", 69, "times (int,TimeSeries)",
  23297. "%SYSBLDUSER%", 0,
  23298. "grant execute on function times (int,TimeSeries) to public;
  23299. ",
  23300. "f",
  23301. "",
  23302. "f"
  23303. );
  23304. insert into sysbldobjdepends
  23305. (
  23306. bld_id,
  23307. obj_kind,
  23308. obj_signature,
  23309. obj_owner,
  23310. need_obj_kind,
  23311. need_obj_signature,
  23312. need_obj_owner)
  23313. values
  23314. (
  23315. "%SYSBLDNAME%",
  23316. 69, "times (int,TimeSeries)",
  23317. "%SYSBLDUSER%",
  23318. 5, "times (int,TimeSeries)",
  23319. "%SYSBLDUSER%"
  23320. );
  23321. insert into sysbldobjects
  23322. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23323. create_can_fail, drop_sql, drop_can_fail)
  23324. values
  23325. (
  23326. "%SYSBLDNAME%", 5, "times (TimeSeries,int)",
  23327. "%SYSBLDUSER%", 0,
  23328. "create function times (TimeSeries,int)
  23329. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23330. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23331. ",
  23332. "f",
  23333. "drop function times (TimeSeries,int);
  23334. ",
  23335. "f"
  23336. );
  23337. insert into sysbldobjdepends
  23338. (
  23339. bld_id,
  23340. obj_kind,
  23341. obj_signature,
  23342. obj_owner,
  23343. need_obj_kind,
  23344. need_obj_signature,
  23345. need_obj_owner)
  23346. values
  23347. (
  23348. "%SYSBLDNAME%",
  23349. 5, "times (TimeSeries,int)",
  23350. "%SYSBLDUSER%",
  23351. 7, "TimeSeries",
  23352. "%SYSBLDUSER%"
  23353. );
  23354. insert into sysbldobjects
  23355. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23356. create_can_fail, drop_sql, drop_can_fail)
  23357. values
  23358. (
  23359. "%SYSBLDNAME%", 69, "times (TimeSeries,int)",
  23360. "%SYSBLDUSER%", 0,
  23361. "grant execute on function times (TimeSeries,int) to public;
  23362. ",
  23363. "f",
  23364. "",
  23365. "f"
  23366. );
  23367. insert into sysbldobjdepends
  23368. (
  23369. bld_id,
  23370. obj_kind,
  23371. obj_signature,
  23372. obj_owner,
  23373. need_obj_kind,
  23374. need_obj_signature,
  23375. need_obj_owner)
  23376. values
  23377. (
  23378. "%SYSBLDNAME%",
  23379. 69, "times (TimeSeries,int)",
  23380. "%SYSBLDUSER%",
  23381. 5, "times (TimeSeries,int)",
  23382. "%SYSBLDUSER%"
  23383. );
  23384. insert into sysbldobjects
  23385. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23386. create_can_fail, drop_sql, drop_can_fail)
  23387. values
  23388. (
  23389. "%SYSBLDNAME%", 5, "times (money,TimeSeries)",
  23390. "%SYSBLDUSER%", 0,
  23391. "create function times (money,TimeSeries)
  23392. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23393. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23394. ",
  23395. "f",
  23396. "drop function times (money,TimeSeries);
  23397. ",
  23398. "f"
  23399. );
  23400. insert into sysbldobjdepends
  23401. (
  23402. bld_id,
  23403. obj_kind,
  23404. obj_signature,
  23405. obj_owner,
  23406. need_obj_kind,
  23407. need_obj_signature,
  23408. need_obj_owner)
  23409. values
  23410. (
  23411. "%SYSBLDNAME%",
  23412. 5, "times (money,TimeSeries)",
  23413. "%SYSBLDUSER%",
  23414. 7, "TimeSeries",
  23415. "%SYSBLDUSER%"
  23416. );
  23417. insert into sysbldobjects
  23418. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23419. create_can_fail, drop_sql, drop_can_fail)
  23420. values
  23421. (
  23422. "%SYSBLDNAME%", 69, "times (money,TimeSeries)",
  23423. "%SYSBLDUSER%", 0,
  23424. "grant execute on function times (money,TimeSeries) to public;
  23425. ",
  23426. "f",
  23427. "",
  23428. "f"
  23429. );
  23430. insert into sysbldobjdepends
  23431. (
  23432. bld_id,
  23433. obj_kind,
  23434. obj_signature,
  23435. obj_owner,
  23436. need_obj_kind,
  23437. need_obj_signature,
  23438. need_obj_owner)
  23439. values
  23440. (
  23441. "%SYSBLDNAME%",
  23442. 69, "times (money,TimeSeries)",
  23443. "%SYSBLDUSER%",
  23444. 5, "times (money,TimeSeries)",
  23445. "%SYSBLDUSER%"
  23446. );
  23447. insert into sysbldobjects
  23448. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23449. create_can_fail, drop_sql, drop_can_fail)
  23450. values
  23451. (
  23452. "%SYSBLDNAME%", 5, "times (TimeSeries,money)",
  23453. "%SYSBLDUSER%", 0,
  23454. "create function times (TimeSeries,money)
  23455. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23456. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23457. ",
  23458. "f",
  23459. "drop function times (TimeSeries,money);
  23460. ",
  23461. "f"
  23462. );
  23463. insert into sysbldobjdepends
  23464. (
  23465. bld_id,
  23466. obj_kind,
  23467. obj_signature,
  23468. obj_owner,
  23469. need_obj_kind,
  23470. need_obj_signature,
  23471. need_obj_owner)
  23472. values
  23473. (
  23474. "%SYSBLDNAME%",
  23475. 5, "times (TimeSeries,money)",
  23476. "%SYSBLDUSER%",
  23477. 7, "TimeSeries",
  23478. "%SYSBLDUSER%"
  23479. );
  23480. insert into sysbldobjects
  23481. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23482. create_can_fail, drop_sql, drop_can_fail)
  23483. values
  23484. (
  23485. "%SYSBLDNAME%", 69, "times (TimeSeries,money)",
  23486. "%SYSBLDUSER%", 0,
  23487. "grant execute on function times (TimeSeries,money) to public;
  23488. ",
  23489. "f",
  23490. "",
  23491. "f"
  23492. );
  23493. insert into sysbldobjdepends
  23494. (
  23495. bld_id,
  23496. obj_kind,
  23497. obj_signature,
  23498. obj_owner,
  23499. need_obj_kind,
  23500. need_obj_signature,
  23501. need_obj_owner)
  23502. values
  23503. (
  23504. "%SYSBLDNAME%",
  23505. 69, "times (TimeSeries,money)",
  23506. "%SYSBLDUSER%",
  23507. 5, "times (TimeSeries,money)",
  23508. "%SYSBLDUSER%"
  23509. );
  23510. insert into sysbldobjects
  23511. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23512. create_can_fail, drop_sql, drop_can_fail)
  23513. values
  23514. (
  23515. "%SYSBLDNAME%", 5, "times (real,TimeSeries)",
  23516. "%SYSBLDUSER%", 0,
  23517. "create function times (real,TimeSeries)
  23518. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23519. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23520. ",
  23521. "f",
  23522. "drop function times (real,TimeSeries);
  23523. ",
  23524. "f"
  23525. );
  23526. insert into sysbldobjdepends
  23527. (
  23528. bld_id,
  23529. obj_kind,
  23530. obj_signature,
  23531. obj_owner,
  23532. need_obj_kind,
  23533. need_obj_signature,
  23534. need_obj_owner)
  23535. values
  23536. (
  23537. "%SYSBLDNAME%",
  23538. 5, "times (real,TimeSeries)",
  23539. "%SYSBLDUSER%",
  23540. 7, "TimeSeries",
  23541. "%SYSBLDUSER%"
  23542. );
  23543. insert into sysbldobjects
  23544. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23545. create_can_fail, drop_sql, drop_can_fail)
  23546. values
  23547. (
  23548. "%SYSBLDNAME%", 69, "times (real,TimeSeries)",
  23549. "%SYSBLDUSER%", 0,
  23550. "grant execute on function times (real,TimeSeries) to public;
  23551. ",
  23552. "f",
  23553. "",
  23554. "f"
  23555. );
  23556. insert into sysbldobjdepends
  23557. (
  23558. bld_id,
  23559. obj_kind,
  23560. obj_signature,
  23561. obj_owner,
  23562. need_obj_kind,
  23563. need_obj_signature,
  23564. need_obj_owner)
  23565. values
  23566. (
  23567. "%SYSBLDNAME%",
  23568. 69, "times (real,TimeSeries)",
  23569. "%SYSBLDUSER%",
  23570. 5, "times (real,TimeSeries)",
  23571. "%SYSBLDUSER%"
  23572. );
  23573. insert into sysbldobjects
  23574. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23575. create_can_fail, drop_sql, drop_can_fail)
  23576. values
  23577. (
  23578. "%SYSBLDNAME%", 5, "times (TimeSeries,real)",
  23579. "%SYSBLDUSER%", 0,
  23580. "create function times (TimeSeries,real)
  23581. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23582. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23583. ",
  23584. "f",
  23585. "drop function times (TimeSeries,real);
  23586. ",
  23587. "f"
  23588. );
  23589. insert into sysbldobjdepends
  23590. (
  23591. bld_id,
  23592. obj_kind,
  23593. obj_signature,
  23594. obj_owner,
  23595. need_obj_kind,
  23596. need_obj_signature,
  23597. need_obj_owner)
  23598. values
  23599. (
  23600. "%SYSBLDNAME%",
  23601. 5, "times (TimeSeries,real)",
  23602. "%SYSBLDUSER%",
  23603. 7, "TimeSeries",
  23604. "%SYSBLDUSER%"
  23605. );
  23606. insert into sysbldobjects
  23607. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23608. create_can_fail, drop_sql, drop_can_fail)
  23609. values
  23610. (
  23611. "%SYSBLDNAME%", 69, "times (TimeSeries,real)",
  23612. "%SYSBLDUSER%", 0,
  23613. "grant execute on function times (TimeSeries,real) to public;
  23614. ",
  23615. "f",
  23616. "",
  23617. "f"
  23618. );
  23619. insert into sysbldobjdepends
  23620. (
  23621. bld_id,
  23622. obj_kind,
  23623. obj_signature,
  23624. obj_owner,
  23625. need_obj_kind,
  23626. need_obj_signature,
  23627. need_obj_owner)
  23628. values
  23629. (
  23630. "%SYSBLDNAME%",
  23631. 69, "times (TimeSeries,real)",
  23632. "%SYSBLDUSER%",
  23633. 5, "times (TimeSeries,real)",
  23634. "%SYSBLDUSER%"
  23635. );
  23636. insert into sysbldobjects
  23637. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23638. create_can_fail, drop_sql, drop_can_fail)
  23639. values
  23640. (
  23641. "%SYSBLDNAME%", 5, "times (smallint,TimeSeries)",
  23642. "%SYSBLDUSER%", 0,
  23643. "create function times (smallint,TimeSeries)
  23644. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23645. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23646. ",
  23647. "f",
  23648. "drop function times (smallint,TimeSeries);
  23649. ",
  23650. "f"
  23651. );
  23652. insert into sysbldobjdepends
  23653. (
  23654. bld_id,
  23655. obj_kind,
  23656. obj_signature,
  23657. obj_owner,
  23658. need_obj_kind,
  23659. need_obj_signature,
  23660. need_obj_owner)
  23661. values
  23662. (
  23663. "%SYSBLDNAME%",
  23664. 5, "times (smallint,TimeSeries)",
  23665. "%SYSBLDUSER%",
  23666. 7, "TimeSeries",
  23667. "%SYSBLDUSER%"
  23668. );
  23669. insert into sysbldobjects
  23670. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23671. create_can_fail, drop_sql, drop_can_fail)
  23672. values
  23673. (
  23674. "%SYSBLDNAME%", 69, "times (smallint,TimeSeries)",
  23675. "%SYSBLDUSER%", 0,
  23676. "grant execute on function times (smallint,TimeSeries) to public;
  23677. ",
  23678. "f",
  23679. "",
  23680. "f"
  23681. );
  23682. insert into sysbldobjdepends
  23683. (
  23684. bld_id,
  23685. obj_kind,
  23686. obj_signature,
  23687. obj_owner,
  23688. need_obj_kind,
  23689. need_obj_signature,
  23690. need_obj_owner)
  23691. values
  23692. (
  23693. "%SYSBLDNAME%",
  23694. 69, "times (smallint,TimeSeries)",
  23695. "%SYSBLDUSER%",
  23696. 5, "times (smallint,TimeSeries)",
  23697. "%SYSBLDUSER%"
  23698. );
  23699. insert into sysbldobjects
  23700. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23701. create_can_fail, drop_sql, drop_can_fail)
  23702. values
  23703. (
  23704. "%SYSBLDNAME%", 5, "times (TimeSeries,smallint)",
  23705. "%SYSBLDUSER%", 0,
  23706. "create function times (TimeSeries,smallint)
  23707. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23708. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23709. ",
  23710. "f",
  23711. "drop function times (TimeSeries,smallint);
  23712. ",
  23713. "f"
  23714. );
  23715. insert into sysbldobjdepends
  23716. (
  23717. bld_id,
  23718. obj_kind,
  23719. obj_signature,
  23720. obj_owner,
  23721. need_obj_kind,
  23722. need_obj_signature,
  23723. need_obj_owner)
  23724. values
  23725. (
  23726. "%SYSBLDNAME%",
  23727. 5, "times (TimeSeries,smallint)",
  23728. "%SYSBLDUSER%",
  23729. 7, "TimeSeries",
  23730. "%SYSBLDUSER%"
  23731. );
  23732. insert into sysbldobjects
  23733. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23734. create_can_fail, drop_sql, drop_can_fail)
  23735. values
  23736. (
  23737. "%SYSBLDNAME%", 69, "times (TimeSeries,smallint)",
  23738. "%SYSBLDUSER%", 0,
  23739. "grant execute on function times (TimeSeries,smallint) to public;
  23740. ",
  23741. "f",
  23742. "",
  23743. "f"
  23744. );
  23745. insert into sysbldobjdepends
  23746. (
  23747. bld_id,
  23748. obj_kind,
  23749. obj_signature,
  23750. obj_owner,
  23751. need_obj_kind,
  23752. need_obj_signature,
  23753. need_obj_owner)
  23754. values
  23755. (
  23756. "%SYSBLDNAME%",
  23757. 69, "times (TimeSeries,smallint)",
  23758. "%SYSBLDUSER%",
  23759. 5, "times (TimeSeries,smallint)",
  23760. "%SYSBLDUSER%"
  23761. );
  23762. insert into sysbldobjects
  23763. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23764. create_can_fail, drop_sql, drop_can_fail)
  23765. values
  23766. (
  23767. "%SYSBLDNAME%", 5, "times (row,TimeSeries)",
  23768. "%SYSBLDUSER%", 0,
  23769. "create function times (row,TimeSeries)
  23770. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23771. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23772. ",
  23773. "f",
  23774. "drop function times (row,TimeSeries);
  23775. ",
  23776. "f"
  23777. );
  23778. insert into sysbldobjdepends
  23779. (
  23780. bld_id,
  23781. obj_kind,
  23782. obj_signature,
  23783. obj_owner,
  23784. need_obj_kind,
  23785. need_obj_signature,
  23786. need_obj_owner)
  23787. values
  23788. (
  23789. "%SYSBLDNAME%",
  23790. 5, "times (row,TimeSeries)",
  23791. "%SYSBLDUSER%",
  23792. 7, "TimeSeries",
  23793. "%SYSBLDUSER%"
  23794. );
  23795. insert into sysbldobjects
  23796. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23797. create_can_fail, drop_sql, drop_can_fail)
  23798. values
  23799. (
  23800. "%SYSBLDNAME%", 69, "times (row,TimeSeries)",
  23801. "%SYSBLDUSER%", 0,
  23802. "grant execute on function times (row,TimeSeries) to public;
  23803. ",
  23804. "f",
  23805. "",
  23806. "f"
  23807. );
  23808. insert into sysbldobjdepends
  23809. (
  23810. bld_id,
  23811. obj_kind,
  23812. obj_signature,
  23813. obj_owner,
  23814. need_obj_kind,
  23815. need_obj_signature,
  23816. need_obj_owner)
  23817. values
  23818. (
  23819. "%SYSBLDNAME%",
  23820. 69, "times (row,TimeSeries)",
  23821. "%SYSBLDUSER%",
  23822. 5, "times (row,TimeSeries)",
  23823. "%SYSBLDUSER%"
  23824. );
  23825. insert into sysbldobjects
  23826. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23827. create_can_fail, drop_sql, drop_can_fail)
  23828. values
  23829. (
  23830. "%SYSBLDNAME%", 5, "times (TimeSeries,row)",
  23831. "%SYSBLDUSER%", 0,
  23832. "create function times (TimeSeries,row)
  23833. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23834. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;
  23835. ",
  23836. "f",
  23837. "drop function times (TimeSeries,row);
  23838. ",
  23839. "f"
  23840. );
  23841. insert into sysbldobjdepends
  23842. (
  23843. bld_id,
  23844. obj_kind,
  23845. obj_signature,
  23846. obj_owner,
  23847. need_obj_kind,
  23848. need_obj_signature,
  23849. need_obj_owner)
  23850. values
  23851. (
  23852. "%SYSBLDNAME%",
  23853. 5, "times (TimeSeries,row)",
  23854. "%SYSBLDUSER%",
  23855. 7, "TimeSeries",
  23856. "%SYSBLDUSER%"
  23857. );
  23858. insert into sysbldobjects
  23859. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23860. create_can_fail, drop_sql, drop_can_fail)
  23861. values
  23862. (
  23863. "%SYSBLDNAME%", 69, "times (TimeSeries,row)",
  23864. "%SYSBLDUSER%", 0,
  23865. "grant execute on function times (TimeSeries,row) to public;
  23866. ",
  23867. "f",
  23868. "",
  23869. "f"
  23870. );
  23871. insert into sysbldobjdepends
  23872. (
  23873. bld_id,
  23874. obj_kind,
  23875. obj_signature,
  23876. obj_owner,
  23877. need_obj_kind,
  23878. need_obj_signature,
  23879. need_obj_owner)
  23880. values
  23881. (
  23882. "%SYSBLDNAME%",
  23883. 69, "times (TimeSeries,row)",
  23884. "%SYSBLDUSER%",
  23885. 5, "times (TimeSeries,row)",
  23886. "%SYSBLDUSER%"
  23887. );
  23888. insert into sysbldobjects
  23889. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23890. create_can_fail, drop_sql, drop_can_fail)
  23891. values
  23892. (
  23893. "%SYSBLDNAME%", 5, "mod (TimeSeries,TimeSeries)",
  23894. "%SYSBLDUSER%", 0,
  23895. "create function mod (TimeSeries,TimeSeries)
  23896. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23897. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  23898. ",
  23899. "f",
  23900. "drop function mod (TimeSeries,TimeSeries);
  23901. ",
  23902. "f"
  23903. );
  23904. insert into sysbldobjdepends
  23905. (
  23906. bld_id,
  23907. obj_kind,
  23908. obj_signature,
  23909. obj_owner,
  23910. need_obj_kind,
  23911. need_obj_signature,
  23912. need_obj_owner)
  23913. values
  23914. (
  23915. "%SYSBLDNAME%",
  23916. 5, "mod (TimeSeries,TimeSeries)",
  23917. "%SYSBLDUSER%",
  23918. 7, "TimeSeries",
  23919. "%SYSBLDUSER%"
  23920. );
  23921. insert into sysbldobjects
  23922. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23923. create_can_fail, drop_sql, drop_can_fail)
  23924. values
  23925. (
  23926. "%SYSBLDNAME%", 69, "mod (TimeSeries,TimeSeries)",
  23927. "%SYSBLDUSER%", 0,
  23928. "grant execute on function mod (TimeSeries,TimeSeries) to public;
  23929. ",
  23930. "f",
  23931. "",
  23932. "f"
  23933. );
  23934. insert into sysbldobjdepends
  23935. (
  23936. bld_id,
  23937. obj_kind,
  23938. obj_signature,
  23939. obj_owner,
  23940. need_obj_kind,
  23941. need_obj_signature,
  23942. need_obj_owner)
  23943. values
  23944. (
  23945. "%SYSBLDNAME%",
  23946. 69, "mod (TimeSeries,TimeSeries)",
  23947. "%SYSBLDUSER%",
  23948. 5, "mod (TimeSeries,TimeSeries)",
  23949. "%SYSBLDUSER%"
  23950. );
  23951. insert into sysbldobjects
  23952. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23953. create_can_fail, drop_sql, drop_can_fail)
  23954. values
  23955. (
  23956. "%SYSBLDNAME%", 5, "mod (decimal,TimeSeries)",
  23957. "%SYSBLDUSER%", 0,
  23958. "create function mod (decimal,TimeSeries)
  23959. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  23960. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  23961. ",
  23962. "f",
  23963. "drop function mod (decimal,TimeSeries);
  23964. ",
  23965. "f"
  23966. );
  23967. insert into sysbldobjdepends
  23968. (
  23969. bld_id,
  23970. obj_kind,
  23971. obj_signature,
  23972. obj_owner,
  23973. need_obj_kind,
  23974. need_obj_signature,
  23975. need_obj_owner)
  23976. values
  23977. (
  23978. "%SYSBLDNAME%",
  23979. 5, "mod (decimal,TimeSeries)",
  23980. "%SYSBLDUSER%",
  23981. 7, "TimeSeries",
  23982. "%SYSBLDUSER%"
  23983. );
  23984. insert into sysbldobjects
  23985. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  23986. create_can_fail, drop_sql, drop_can_fail)
  23987. values
  23988. (
  23989. "%SYSBLDNAME%", 69, "mod (decimal,TimeSeries)",
  23990. "%SYSBLDUSER%", 0,
  23991. "grant execute on function mod (decimal,TimeSeries) to public;
  23992. ",
  23993. "f",
  23994. "",
  23995. "f"
  23996. );
  23997. insert into sysbldobjdepends
  23998. (
  23999. bld_id,
  24000. obj_kind,
  24001. obj_signature,
  24002. obj_owner,
  24003. need_obj_kind,
  24004. need_obj_signature,
  24005. need_obj_owner)
  24006. values
  24007. (
  24008. "%SYSBLDNAME%",
  24009. 69, "mod (decimal,TimeSeries)",
  24010. "%SYSBLDUSER%",
  24011. 5, "mod (decimal,TimeSeries)",
  24012. "%SYSBLDUSER%"
  24013. );
  24014. insert into sysbldobjects
  24015. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24016. create_can_fail, drop_sql, drop_can_fail)
  24017. values
  24018. (
  24019. "%SYSBLDNAME%", 5, "mod (TimeSeries,decimal)",
  24020. "%SYSBLDUSER%", 0,
  24021. "create function mod (TimeSeries,decimal)
  24022. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24023. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24024. ",
  24025. "f",
  24026. "drop function mod (TimeSeries,decimal);
  24027. ",
  24028. "f"
  24029. );
  24030. insert into sysbldobjdepends
  24031. (
  24032. bld_id,
  24033. obj_kind,
  24034. obj_signature,
  24035. obj_owner,
  24036. need_obj_kind,
  24037. need_obj_signature,
  24038. need_obj_owner)
  24039. values
  24040. (
  24041. "%SYSBLDNAME%",
  24042. 5, "mod (TimeSeries,decimal)",
  24043. "%SYSBLDUSER%",
  24044. 7, "TimeSeries",
  24045. "%SYSBLDUSER%"
  24046. );
  24047. insert into sysbldobjects
  24048. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24049. create_can_fail, drop_sql, drop_can_fail)
  24050. values
  24051. (
  24052. "%SYSBLDNAME%", 69, "mod (TimeSeries,decimal)",
  24053. "%SYSBLDUSER%", 0,
  24054. "grant execute on function mod (TimeSeries,decimal) to public;
  24055. ",
  24056. "f",
  24057. "",
  24058. "f"
  24059. );
  24060. insert into sysbldobjdepends
  24061. (
  24062. bld_id,
  24063. obj_kind,
  24064. obj_signature,
  24065. obj_owner,
  24066. need_obj_kind,
  24067. need_obj_signature,
  24068. need_obj_owner)
  24069. values
  24070. (
  24071. "%SYSBLDNAME%",
  24072. 69, "mod (TimeSeries,decimal)",
  24073. "%SYSBLDUSER%",
  24074. 5, "mod (TimeSeries,decimal)",
  24075. "%SYSBLDUSER%"
  24076. );
  24077. insert into sysbldobjects
  24078. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24079. create_can_fail, drop_sql, drop_can_fail)
  24080. values
  24081. (
  24082. "%SYSBLDNAME%", 5, "mod (float,TimeSeries)",
  24083. "%SYSBLDUSER%", 0,
  24084. "create function mod (float,TimeSeries)
  24085. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24086. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24087. ",
  24088. "f",
  24089. "drop function mod (float,TimeSeries);
  24090. ",
  24091. "f"
  24092. );
  24093. insert into sysbldobjdepends
  24094. (
  24095. bld_id,
  24096. obj_kind,
  24097. obj_signature,
  24098. obj_owner,
  24099. need_obj_kind,
  24100. need_obj_signature,
  24101. need_obj_owner)
  24102. values
  24103. (
  24104. "%SYSBLDNAME%",
  24105. 5, "mod (float,TimeSeries)",
  24106. "%SYSBLDUSER%",
  24107. 7, "TimeSeries",
  24108. "%SYSBLDUSER%"
  24109. );
  24110. insert into sysbldobjects
  24111. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24112. create_can_fail, drop_sql, drop_can_fail)
  24113. values
  24114. (
  24115. "%SYSBLDNAME%", 69, "mod (float,TimeSeries)",
  24116. "%SYSBLDUSER%", 0,
  24117. "grant execute on function mod (float,TimeSeries) to public;
  24118. ",
  24119. "f",
  24120. "",
  24121. "f"
  24122. );
  24123. insert into sysbldobjdepends
  24124. (
  24125. bld_id,
  24126. obj_kind,
  24127. obj_signature,
  24128. obj_owner,
  24129. need_obj_kind,
  24130. need_obj_signature,
  24131. need_obj_owner)
  24132. values
  24133. (
  24134. "%SYSBLDNAME%",
  24135. 69, "mod (float,TimeSeries)",
  24136. "%SYSBLDUSER%",
  24137. 5, "mod (float,TimeSeries)",
  24138. "%SYSBLDUSER%"
  24139. );
  24140. insert into sysbldobjects
  24141. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24142. create_can_fail, drop_sql, drop_can_fail)
  24143. values
  24144. (
  24145. "%SYSBLDNAME%", 5, "mod (TimeSeries,float)",
  24146. "%SYSBLDUSER%", 0,
  24147. "create function mod (TimeSeries,float)
  24148. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24149. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24150. ",
  24151. "f",
  24152. "drop function mod (TimeSeries,float);
  24153. ",
  24154. "f"
  24155. );
  24156. insert into sysbldobjdepends
  24157. (
  24158. bld_id,
  24159. obj_kind,
  24160. obj_signature,
  24161. obj_owner,
  24162. need_obj_kind,
  24163. need_obj_signature,
  24164. need_obj_owner)
  24165. values
  24166. (
  24167. "%SYSBLDNAME%",
  24168. 5, "mod (TimeSeries,float)",
  24169. "%SYSBLDUSER%",
  24170. 7, "TimeSeries",
  24171. "%SYSBLDUSER%"
  24172. );
  24173. insert into sysbldobjects
  24174. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24175. create_can_fail, drop_sql, drop_can_fail)
  24176. values
  24177. (
  24178. "%SYSBLDNAME%", 69, "mod (TimeSeries,float)",
  24179. "%SYSBLDUSER%", 0,
  24180. "grant execute on function mod (TimeSeries,float) to public;
  24181. ",
  24182. "f",
  24183. "",
  24184. "f"
  24185. );
  24186. insert into sysbldobjdepends
  24187. (
  24188. bld_id,
  24189. obj_kind,
  24190. obj_signature,
  24191. obj_owner,
  24192. need_obj_kind,
  24193. need_obj_signature,
  24194. need_obj_owner)
  24195. values
  24196. (
  24197. "%SYSBLDNAME%",
  24198. 69, "mod (TimeSeries,float)",
  24199. "%SYSBLDUSER%",
  24200. 5, "mod (TimeSeries,float)",
  24201. "%SYSBLDUSER%"
  24202. );
  24203. insert into sysbldobjects
  24204. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24205. create_can_fail, drop_sql, drop_can_fail)
  24206. values
  24207. (
  24208. "%SYSBLDNAME%", 5, "mod (int,TimeSeries)",
  24209. "%SYSBLDUSER%", 0,
  24210. "create function mod (int,TimeSeries)
  24211. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24212. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24213. ",
  24214. "f",
  24215. "drop function mod (int,TimeSeries);
  24216. ",
  24217. "f"
  24218. );
  24219. insert into sysbldobjdepends
  24220. (
  24221. bld_id,
  24222. obj_kind,
  24223. obj_signature,
  24224. obj_owner,
  24225. need_obj_kind,
  24226. need_obj_signature,
  24227. need_obj_owner)
  24228. values
  24229. (
  24230. "%SYSBLDNAME%",
  24231. 5, "mod (int,TimeSeries)",
  24232. "%SYSBLDUSER%",
  24233. 7, "TimeSeries",
  24234. "%SYSBLDUSER%"
  24235. );
  24236. insert into sysbldobjects
  24237. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24238. create_can_fail, drop_sql, drop_can_fail)
  24239. values
  24240. (
  24241. "%SYSBLDNAME%", 69, "mod (int,TimeSeries)",
  24242. "%SYSBLDUSER%", 0,
  24243. "grant execute on function mod (int,TimeSeries) to public;
  24244. ",
  24245. "f",
  24246. "",
  24247. "f"
  24248. );
  24249. insert into sysbldobjdepends
  24250. (
  24251. bld_id,
  24252. obj_kind,
  24253. obj_signature,
  24254. obj_owner,
  24255. need_obj_kind,
  24256. need_obj_signature,
  24257. need_obj_owner)
  24258. values
  24259. (
  24260. "%SYSBLDNAME%",
  24261. 69, "mod (int,TimeSeries)",
  24262. "%SYSBLDUSER%",
  24263. 5, "mod (int,TimeSeries)",
  24264. "%SYSBLDUSER%"
  24265. );
  24266. insert into sysbldobjects
  24267. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24268. create_can_fail, drop_sql, drop_can_fail)
  24269. values
  24270. (
  24271. "%SYSBLDNAME%", 5, "mod (TimeSeries,int)",
  24272. "%SYSBLDUSER%", 0,
  24273. "create function mod (TimeSeries,int)
  24274. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24275. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24276. ",
  24277. "f",
  24278. "drop function mod (TimeSeries,int);
  24279. ",
  24280. "f"
  24281. );
  24282. insert into sysbldobjdepends
  24283. (
  24284. bld_id,
  24285. obj_kind,
  24286. obj_signature,
  24287. obj_owner,
  24288. need_obj_kind,
  24289. need_obj_signature,
  24290. need_obj_owner)
  24291. values
  24292. (
  24293. "%SYSBLDNAME%",
  24294. 5, "mod (TimeSeries,int)",
  24295. "%SYSBLDUSER%",
  24296. 7, "TimeSeries",
  24297. "%SYSBLDUSER%"
  24298. );
  24299. insert into sysbldobjects
  24300. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24301. create_can_fail, drop_sql, drop_can_fail)
  24302. values
  24303. (
  24304. "%SYSBLDNAME%", 69, "mod (TimeSeries,int)",
  24305. "%SYSBLDUSER%", 0,
  24306. "grant execute on function mod (TimeSeries,int) to public;
  24307. ",
  24308. "f",
  24309. "",
  24310. "f"
  24311. );
  24312. insert into sysbldobjdepends
  24313. (
  24314. bld_id,
  24315. obj_kind,
  24316. obj_signature,
  24317. obj_owner,
  24318. need_obj_kind,
  24319. need_obj_signature,
  24320. need_obj_owner)
  24321. values
  24322. (
  24323. "%SYSBLDNAME%",
  24324. 69, "mod (TimeSeries,int)",
  24325. "%SYSBLDUSER%",
  24326. 5, "mod (TimeSeries,int)",
  24327. "%SYSBLDUSER%"
  24328. );
  24329. insert into sysbldobjects
  24330. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24331. create_can_fail, drop_sql, drop_can_fail)
  24332. values
  24333. (
  24334. "%SYSBLDNAME%", 5, "mod (money,TimeSeries)",
  24335. "%SYSBLDUSER%", 0,
  24336. "create function mod (money,TimeSeries)
  24337. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24338. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24339. ",
  24340. "f",
  24341. "drop function mod (money,TimeSeries);
  24342. ",
  24343. "f"
  24344. );
  24345. insert into sysbldobjdepends
  24346. (
  24347. bld_id,
  24348. obj_kind,
  24349. obj_signature,
  24350. obj_owner,
  24351. need_obj_kind,
  24352. need_obj_signature,
  24353. need_obj_owner)
  24354. values
  24355. (
  24356. "%SYSBLDNAME%",
  24357. 5, "mod (money,TimeSeries)",
  24358. "%SYSBLDUSER%",
  24359. 7, "TimeSeries",
  24360. "%SYSBLDUSER%"
  24361. );
  24362. insert into sysbldobjects
  24363. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24364. create_can_fail, drop_sql, drop_can_fail)
  24365. values
  24366. (
  24367. "%SYSBLDNAME%", 69, "mod (money,TimeSeries)",
  24368. "%SYSBLDUSER%", 0,
  24369. "grant execute on function mod (money,TimeSeries) to public;
  24370. ",
  24371. "f",
  24372. "",
  24373. "f"
  24374. );
  24375. insert into sysbldobjdepends
  24376. (
  24377. bld_id,
  24378. obj_kind,
  24379. obj_signature,
  24380. obj_owner,
  24381. need_obj_kind,
  24382. need_obj_signature,
  24383. need_obj_owner)
  24384. values
  24385. (
  24386. "%SYSBLDNAME%",
  24387. 69, "mod (money,TimeSeries)",
  24388. "%SYSBLDUSER%",
  24389. 5, "mod (money,TimeSeries)",
  24390. "%SYSBLDUSER%"
  24391. );
  24392. insert into sysbldobjects
  24393. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24394. create_can_fail, drop_sql, drop_can_fail)
  24395. values
  24396. (
  24397. "%SYSBLDNAME%", 5, "mod (TimeSeries,money)",
  24398. "%SYSBLDUSER%", 0,
  24399. "create function mod (TimeSeries,money)
  24400. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24401. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24402. ",
  24403. "f",
  24404. "drop function mod (TimeSeries,money);
  24405. ",
  24406. "f"
  24407. );
  24408. insert into sysbldobjdepends
  24409. (
  24410. bld_id,
  24411. obj_kind,
  24412. obj_signature,
  24413. obj_owner,
  24414. need_obj_kind,
  24415. need_obj_signature,
  24416. need_obj_owner)
  24417. values
  24418. (
  24419. "%SYSBLDNAME%",
  24420. 5, "mod (TimeSeries,money)",
  24421. "%SYSBLDUSER%",
  24422. 7, "TimeSeries",
  24423. "%SYSBLDUSER%"
  24424. );
  24425. insert into sysbldobjects
  24426. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24427. create_can_fail, drop_sql, drop_can_fail)
  24428. values
  24429. (
  24430. "%SYSBLDNAME%", 69, "mod (TimeSeries,money)",
  24431. "%SYSBLDUSER%", 0,
  24432. "grant execute on function mod (TimeSeries,money) to public;
  24433. ",
  24434. "f",
  24435. "",
  24436. "f"
  24437. );
  24438. insert into sysbldobjdepends
  24439. (
  24440. bld_id,
  24441. obj_kind,
  24442. obj_signature,
  24443. obj_owner,
  24444. need_obj_kind,
  24445. need_obj_signature,
  24446. need_obj_owner)
  24447. values
  24448. (
  24449. "%SYSBLDNAME%",
  24450. 69, "mod (TimeSeries,money)",
  24451. "%SYSBLDUSER%",
  24452. 5, "mod (TimeSeries,money)",
  24453. "%SYSBLDUSER%"
  24454. );
  24455. insert into sysbldobjects
  24456. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24457. create_can_fail, drop_sql, drop_can_fail)
  24458. values
  24459. (
  24460. "%SYSBLDNAME%", 5, "mod (real,TimeSeries)",
  24461. "%SYSBLDUSER%", 0,
  24462. "create function mod (real,TimeSeries)
  24463. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24464. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24465. ",
  24466. "f",
  24467. "drop function mod (real,TimeSeries);
  24468. ",
  24469. "f"
  24470. );
  24471. insert into sysbldobjdepends
  24472. (
  24473. bld_id,
  24474. obj_kind,
  24475. obj_signature,
  24476. obj_owner,
  24477. need_obj_kind,
  24478. need_obj_signature,
  24479. need_obj_owner)
  24480. values
  24481. (
  24482. "%SYSBLDNAME%",
  24483. 5, "mod (real,TimeSeries)",
  24484. "%SYSBLDUSER%",
  24485. 7, "TimeSeries",
  24486. "%SYSBLDUSER%"
  24487. );
  24488. insert into sysbldobjects
  24489. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24490. create_can_fail, drop_sql, drop_can_fail)
  24491. values
  24492. (
  24493. "%SYSBLDNAME%", 69, "mod (real,TimeSeries)",
  24494. "%SYSBLDUSER%", 0,
  24495. "grant execute on function mod (real,TimeSeries) to public;
  24496. ",
  24497. "f",
  24498. "",
  24499. "f"
  24500. );
  24501. insert into sysbldobjdepends
  24502. (
  24503. bld_id,
  24504. obj_kind,
  24505. obj_signature,
  24506. obj_owner,
  24507. need_obj_kind,
  24508. need_obj_signature,
  24509. need_obj_owner)
  24510. values
  24511. (
  24512. "%SYSBLDNAME%",
  24513. 69, "mod (real,TimeSeries)",
  24514. "%SYSBLDUSER%",
  24515. 5, "mod (real,TimeSeries)",
  24516. "%SYSBLDUSER%"
  24517. );
  24518. insert into sysbldobjects
  24519. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24520. create_can_fail, drop_sql, drop_can_fail)
  24521. values
  24522. (
  24523. "%SYSBLDNAME%", 5, "mod (TimeSeries,real)",
  24524. "%SYSBLDUSER%", 0,
  24525. "create function mod (TimeSeries,real)
  24526. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24527. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24528. ",
  24529. "f",
  24530. "drop function mod (TimeSeries,real);
  24531. ",
  24532. "f"
  24533. );
  24534. insert into sysbldobjdepends
  24535. (
  24536. bld_id,
  24537. obj_kind,
  24538. obj_signature,
  24539. obj_owner,
  24540. need_obj_kind,
  24541. need_obj_signature,
  24542. need_obj_owner)
  24543. values
  24544. (
  24545. "%SYSBLDNAME%",
  24546. 5, "mod (TimeSeries,real)",
  24547. "%SYSBLDUSER%",
  24548. 7, "TimeSeries",
  24549. "%SYSBLDUSER%"
  24550. );
  24551. insert into sysbldobjects
  24552. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24553. create_can_fail, drop_sql, drop_can_fail)
  24554. values
  24555. (
  24556. "%SYSBLDNAME%", 69, "mod (TimeSeries,real)",
  24557. "%SYSBLDUSER%", 0,
  24558. "grant execute on function mod (TimeSeries,real) to public;
  24559. ",
  24560. "f",
  24561. "",
  24562. "f"
  24563. );
  24564. insert into sysbldobjdepends
  24565. (
  24566. bld_id,
  24567. obj_kind,
  24568. obj_signature,
  24569. obj_owner,
  24570. need_obj_kind,
  24571. need_obj_signature,
  24572. need_obj_owner)
  24573. values
  24574. (
  24575. "%SYSBLDNAME%",
  24576. 69, "mod (TimeSeries,real)",
  24577. "%SYSBLDUSER%",
  24578. 5, "mod (TimeSeries,real)",
  24579. "%SYSBLDUSER%"
  24580. );
  24581. insert into sysbldobjects
  24582. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24583. create_can_fail, drop_sql, drop_can_fail)
  24584. values
  24585. (
  24586. "%SYSBLDNAME%", 5, "mod (smallint,TimeSeries)",
  24587. "%SYSBLDUSER%", 0,
  24588. "create function mod (smallint,TimeSeries)
  24589. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24590. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24591. ",
  24592. "f",
  24593. "drop function mod (smallint,TimeSeries);
  24594. ",
  24595. "f"
  24596. );
  24597. insert into sysbldobjdepends
  24598. (
  24599. bld_id,
  24600. obj_kind,
  24601. obj_signature,
  24602. obj_owner,
  24603. need_obj_kind,
  24604. need_obj_signature,
  24605. need_obj_owner)
  24606. values
  24607. (
  24608. "%SYSBLDNAME%",
  24609. 5, "mod (smallint,TimeSeries)",
  24610. "%SYSBLDUSER%",
  24611. 7, "TimeSeries",
  24612. "%SYSBLDUSER%"
  24613. );
  24614. insert into sysbldobjects
  24615. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24616. create_can_fail, drop_sql, drop_can_fail)
  24617. values
  24618. (
  24619. "%SYSBLDNAME%", 69, "mod (smallint,TimeSeries)",
  24620. "%SYSBLDUSER%", 0,
  24621. "grant execute on function mod (smallint,TimeSeries) to public;
  24622. ",
  24623. "f",
  24624. "",
  24625. "f"
  24626. );
  24627. insert into sysbldobjdepends
  24628. (
  24629. bld_id,
  24630. obj_kind,
  24631. obj_signature,
  24632. obj_owner,
  24633. need_obj_kind,
  24634. need_obj_signature,
  24635. need_obj_owner)
  24636. values
  24637. (
  24638. "%SYSBLDNAME%",
  24639. 69, "mod (smallint,TimeSeries)",
  24640. "%SYSBLDUSER%",
  24641. 5, "mod (smallint,TimeSeries)",
  24642. "%SYSBLDUSER%"
  24643. );
  24644. insert into sysbldobjects
  24645. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24646. create_can_fail, drop_sql, drop_can_fail)
  24647. values
  24648. (
  24649. "%SYSBLDNAME%", 5, "mod (TimeSeries,smallint)",
  24650. "%SYSBLDUSER%", 0,
  24651. "create function mod (TimeSeries,smallint)
  24652. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24653. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24654. ",
  24655. "f",
  24656. "drop function mod (TimeSeries,smallint);
  24657. ",
  24658. "f"
  24659. );
  24660. insert into sysbldobjdepends
  24661. (
  24662. bld_id,
  24663. obj_kind,
  24664. obj_signature,
  24665. obj_owner,
  24666. need_obj_kind,
  24667. need_obj_signature,
  24668. need_obj_owner)
  24669. values
  24670. (
  24671. "%SYSBLDNAME%",
  24672. 5, "mod (TimeSeries,smallint)",
  24673. "%SYSBLDUSER%",
  24674. 7, "TimeSeries",
  24675. "%SYSBLDUSER%"
  24676. );
  24677. insert into sysbldobjects
  24678. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24679. create_can_fail, drop_sql, drop_can_fail)
  24680. values
  24681. (
  24682. "%SYSBLDNAME%", 69, "mod (TimeSeries,smallint)",
  24683. "%SYSBLDUSER%", 0,
  24684. "grant execute on function mod (TimeSeries,smallint) to public;
  24685. ",
  24686. "f",
  24687. "",
  24688. "f"
  24689. );
  24690. insert into sysbldobjdepends
  24691. (
  24692. bld_id,
  24693. obj_kind,
  24694. obj_signature,
  24695. obj_owner,
  24696. need_obj_kind,
  24697. need_obj_signature,
  24698. need_obj_owner)
  24699. values
  24700. (
  24701. "%SYSBLDNAME%",
  24702. 69, "mod (TimeSeries,smallint)",
  24703. "%SYSBLDUSER%",
  24704. 5, "mod (TimeSeries,smallint)",
  24705. "%SYSBLDUSER%"
  24706. );
  24707. insert into sysbldobjects
  24708. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24709. create_can_fail, drop_sql, drop_can_fail)
  24710. values
  24711. (
  24712. "%SYSBLDNAME%", 5, "mod (row,TimeSeries)",
  24713. "%SYSBLDUSER%", 0,
  24714. "create function mod (row,TimeSeries)
  24715. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24716. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24717. ",
  24718. "f",
  24719. "drop function mod (row,TimeSeries);
  24720. ",
  24721. "f"
  24722. );
  24723. insert into sysbldobjdepends
  24724. (
  24725. bld_id,
  24726. obj_kind,
  24727. obj_signature,
  24728. obj_owner,
  24729. need_obj_kind,
  24730. need_obj_signature,
  24731. need_obj_owner)
  24732. values
  24733. (
  24734. "%SYSBLDNAME%",
  24735. 5, "mod (row,TimeSeries)",
  24736. "%SYSBLDUSER%",
  24737. 7, "TimeSeries",
  24738. "%SYSBLDUSER%"
  24739. );
  24740. insert into sysbldobjects
  24741. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24742. create_can_fail, drop_sql, drop_can_fail)
  24743. values
  24744. (
  24745. "%SYSBLDNAME%", 69, "mod (row,TimeSeries)",
  24746. "%SYSBLDUSER%", 0,
  24747. "grant execute on function mod (row,TimeSeries) to public;
  24748. ",
  24749. "f",
  24750. "",
  24751. "f"
  24752. );
  24753. insert into sysbldobjdepends
  24754. (
  24755. bld_id,
  24756. obj_kind,
  24757. obj_signature,
  24758. obj_owner,
  24759. need_obj_kind,
  24760. need_obj_signature,
  24761. need_obj_owner)
  24762. values
  24763. (
  24764. "%SYSBLDNAME%",
  24765. 69, "mod (row,TimeSeries)",
  24766. "%SYSBLDUSER%",
  24767. 5, "mod (row,TimeSeries)",
  24768. "%SYSBLDUSER%"
  24769. );
  24770. insert into sysbldobjects
  24771. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24772. create_can_fail, drop_sql, drop_can_fail)
  24773. values
  24774. (
  24775. "%SYSBLDNAME%", 5, "mod (TimeSeries,row)",
  24776. "%SYSBLDUSER%", 0,
  24777. "create function mod (TimeSeries,row)
  24778. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24779. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;
  24780. ",
  24781. "f",
  24782. "drop function mod (TimeSeries,row);
  24783. ",
  24784. "f"
  24785. );
  24786. insert into sysbldobjdepends
  24787. (
  24788. bld_id,
  24789. obj_kind,
  24790. obj_signature,
  24791. obj_owner,
  24792. need_obj_kind,
  24793. need_obj_signature,
  24794. need_obj_owner)
  24795. values
  24796. (
  24797. "%SYSBLDNAME%",
  24798. 5, "mod (TimeSeries,row)",
  24799. "%SYSBLDUSER%",
  24800. 7, "TimeSeries",
  24801. "%SYSBLDUSER%"
  24802. );
  24803. insert into sysbldobjects
  24804. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24805. create_can_fail, drop_sql, drop_can_fail)
  24806. values
  24807. (
  24808. "%SYSBLDNAME%", 69, "mod (TimeSeries,row)",
  24809. "%SYSBLDUSER%", 0,
  24810. "grant execute on function mod (TimeSeries,row) to public;
  24811. ",
  24812. "f",
  24813. "",
  24814. "f"
  24815. );
  24816. insert into sysbldobjdepends
  24817. (
  24818. bld_id,
  24819. obj_kind,
  24820. obj_signature,
  24821. obj_owner,
  24822. need_obj_kind,
  24823. need_obj_signature,
  24824. need_obj_owner)
  24825. values
  24826. (
  24827. "%SYSBLDNAME%",
  24828. 69, "mod (TimeSeries,row)",
  24829. "%SYSBLDUSER%",
  24830. 5, "mod (TimeSeries,row)",
  24831. "%SYSBLDUSER%"
  24832. );
  24833. insert into sysbldobjects
  24834. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24835. create_can_fail, drop_sql, drop_can_fail)
  24836. values
  24837. (
  24838. "%SYSBLDNAME%", 5, "divide (TimeSeries,TimeSeries)",
  24839. "%SYSBLDUSER%", 0,
  24840. "create function divide (TimeSeries,TimeSeries)
  24841. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24842. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  24843. ",
  24844. "f",
  24845. "drop function divide (TimeSeries,TimeSeries);
  24846. ",
  24847. "f"
  24848. );
  24849. insert into sysbldobjdepends
  24850. (
  24851. bld_id,
  24852. obj_kind,
  24853. obj_signature,
  24854. obj_owner,
  24855. need_obj_kind,
  24856. need_obj_signature,
  24857. need_obj_owner)
  24858. values
  24859. (
  24860. "%SYSBLDNAME%",
  24861. 5, "divide (TimeSeries,TimeSeries)",
  24862. "%SYSBLDUSER%",
  24863. 7, "TimeSeries",
  24864. "%SYSBLDUSER%"
  24865. );
  24866. insert into sysbldobjects
  24867. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24868. create_can_fail, drop_sql, drop_can_fail)
  24869. values
  24870. (
  24871. "%SYSBLDNAME%", 69, "divide (TimeSeries,TimeSeries)",
  24872. "%SYSBLDUSER%", 0,
  24873. "grant execute on function divide (TimeSeries,TimeSeries) to public;
  24874. ",
  24875. "f",
  24876. "",
  24877. "f"
  24878. );
  24879. insert into sysbldobjdepends
  24880. (
  24881. bld_id,
  24882. obj_kind,
  24883. obj_signature,
  24884. obj_owner,
  24885. need_obj_kind,
  24886. need_obj_signature,
  24887. need_obj_owner)
  24888. values
  24889. (
  24890. "%SYSBLDNAME%",
  24891. 69, "divide (TimeSeries,TimeSeries)",
  24892. "%SYSBLDUSER%",
  24893. 5, "divide (TimeSeries,TimeSeries)",
  24894. "%SYSBLDUSER%"
  24895. );
  24896. insert into sysbldobjects
  24897. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24898. create_can_fail, drop_sql, drop_can_fail)
  24899. values
  24900. (
  24901. "%SYSBLDNAME%", 5, "divide (decimal,TimeSeries)",
  24902. "%SYSBLDUSER%", 0,
  24903. "create function divide (decimal,TimeSeries)
  24904. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24905. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  24906. ",
  24907. "f",
  24908. "drop function divide (decimal,TimeSeries);
  24909. ",
  24910. "f"
  24911. );
  24912. insert into sysbldobjdepends
  24913. (
  24914. bld_id,
  24915. obj_kind,
  24916. obj_signature,
  24917. obj_owner,
  24918. need_obj_kind,
  24919. need_obj_signature,
  24920. need_obj_owner)
  24921. values
  24922. (
  24923. "%SYSBLDNAME%",
  24924. 5, "divide (decimal,TimeSeries)",
  24925. "%SYSBLDUSER%",
  24926. 7, "TimeSeries",
  24927. "%SYSBLDUSER%"
  24928. );
  24929. insert into sysbldobjects
  24930. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24931. create_can_fail, drop_sql, drop_can_fail)
  24932. values
  24933. (
  24934. "%SYSBLDNAME%", 69, "divide (decimal,TimeSeries)",
  24935. "%SYSBLDUSER%", 0,
  24936. "grant execute on function divide (decimal,TimeSeries) to public;
  24937. ",
  24938. "f",
  24939. "",
  24940. "f"
  24941. );
  24942. insert into sysbldobjdepends
  24943. (
  24944. bld_id,
  24945. obj_kind,
  24946. obj_signature,
  24947. obj_owner,
  24948. need_obj_kind,
  24949. need_obj_signature,
  24950. need_obj_owner)
  24951. values
  24952. (
  24953. "%SYSBLDNAME%",
  24954. 69, "divide (decimal,TimeSeries)",
  24955. "%SYSBLDUSER%",
  24956. 5, "divide (decimal,TimeSeries)",
  24957. "%SYSBLDUSER%"
  24958. );
  24959. insert into sysbldobjects
  24960. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24961. create_can_fail, drop_sql, drop_can_fail)
  24962. values
  24963. (
  24964. "%SYSBLDNAME%", 5, "divide (TimeSeries,decimal)",
  24965. "%SYSBLDUSER%", 0,
  24966. "create function divide (TimeSeries,decimal)
  24967. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  24968. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  24969. ",
  24970. "f",
  24971. "drop function divide (TimeSeries,decimal);
  24972. ",
  24973. "f"
  24974. );
  24975. insert into sysbldobjdepends
  24976. (
  24977. bld_id,
  24978. obj_kind,
  24979. obj_signature,
  24980. obj_owner,
  24981. need_obj_kind,
  24982. need_obj_signature,
  24983. need_obj_owner)
  24984. values
  24985. (
  24986. "%SYSBLDNAME%",
  24987. 5, "divide (TimeSeries,decimal)",
  24988. "%SYSBLDUSER%",
  24989. 7, "TimeSeries",
  24990. "%SYSBLDUSER%"
  24991. );
  24992. insert into sysbldobjects
  24993. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  24994. create_can_fail, drop_sql, drop_can_fail)
  24995. values
  24996. (
  24997. "%SYSBLDNAME%", 69, "divide (TimeSeries,decimal)",
  24998. "%SYSBLDUSER%", 0,
  24999. "grant execute on function divide (TimeSeries,decimal) to public;
  25000. ",
  25001. "f",
  25002. "",
  25003. "f"
  25004. );
  25005. insert into sysbldobjdepends
  25006. (
  25007. bld_id,
  25008. obj_kind,
  25009. obj_signature,
  25010. obj_owner,
  25011. need_obj_kind,
  25012. need_obj_signature,
  25013. need_obj_owner)
  25014. values
  25015. (
  25016. "%SYSBLDNAME%",
  25017. 69, "divide (TimeSeries,decimal)",
  25018. "%SYSBLDUSER%",
  25019. 5, "divide (TimeSeries,decimal)",
  25020. "%SYSBLDUSER%"
  25021. );
  25022. insert into sysbldobjects
  25023. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25024. create_can_fail, drop_sql, drop_can_fail)
  25025. values
  25026. (
  25027. "%SYSBLDNAME%", 5, "divide (float,TimeSeries)",
  25028. "%SYSBLDUSER%", 0,
  25029. "create function divide (float,TimeSeries)
  25030. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25031. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25032. ",
  25033. "f",
  25034. "drop function divide (float,TimeSeries);
  25035. ",
  25036. "f"
  25037. );
  25038. insert into sysbldobjdepends
  25039. (
  25040. bld_id,
  25041. obj_kind,
  25042. obj_signature,
  25043. obj_owner,
  25044. need_obj_kind,
  25045. need_obj_signature,
  25046. need_obj_owner)
  25047. values
  25048. (
  25049. "%SYSBLDNAME%",
  25050. 5, "divide (float,TimeSeries)",
  25051. "%SYSBLDUSER%",
  25052. 7, "TimeSeries",
  25053. "%SYSBLDUSER%"
  25054. );
  25055. insert into sysbldobjects
  25056. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25057. create_can_fail, drop_sql, drop_can_fail)
  25058. values
  25059. (
  25060. "%SYSBLDNAME%", 69, "divide (float,TimeSeries)",
  25061. "%SYSBLDUSER%", 0,
  25062. "grant execute on function divide (float,TimeSeries) to public;
  25063. ",
  25064. "f",
  25065. "",
  25066. "f"
  25067. );
  25068. insert into sysbldobjdepends
  25069. (
  25070. bld_id,
  25071. obj_kind,
  25072. obj_signature,
  25073. obj_owner,
  25074. need_obj_kind,
  25075. need_obj_signature,
  25076. need_obj_owner)
  25077. values
  25078. (
  25079. "%SYSBLDNAME%",
  25080. 69, "divide (float,TimeSeries)",
  25081. "%SYSBLDUSER%",
  25082. 5, "divide (float,TimeSeries)",
  25083. "%SYSBLDUSER%"
  25084. );
  25085. insert into sysbldobjects
  25086. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25087. create_can_fail, drop_sql, drop_can_fail)
  25088. values
  25089. (
  25090. "%SYSBLDNAME%", 5, "divide (TimeSeries,float)",
  25091. "%SYSBLDUSER%", 0,
  25092. "create function divide (TimeSeries,float)
  25093. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25094. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25095. ",
  25096. "f",
  25097. "drop function divide (TimeSeries,float);
  25098. ",
  25099. "f"
  25100. );
  25101. insert into sysbldobjdepends
  25102. (
  25103. bld_id,
  25104. obj_kind,
  25105. obj_signature,
  25106. obj_owner,
  25107. need_obj_kind,
  25108. need_obj_signature,
  25109. need_obj_owner)
  25110. values
  25111. (
  25112. "%SYSBLDNAME%",
  25113. 5, "divide (TimeSeries,float)",
  25114. "%SYSBLDUSER%",
  25115. 7, "TimeSeries",
  25116. "%SYSBLDUSER%"
  25117. );
  25118. insert into sysbldobjects
  25119. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25120. create_can_fail, drop_sql, drop_can_fail)
  25121. values
  25122. (
  25123. "%SYSBLDNAME%", 69, "divide (TimeSeries,float)",
  25124. "%SYSBLDUSER%", 0,
  25125. "grant execute on function divide (TimeSeries,float) to public;
  25126. ",
  25127. "f",
  25128. "",
  25129. "f"
  25130. );
  25131. insert into sysbldobjdepends
  25132. (
  25133. bld_id,
  25134. obj_kind,
  25135. obj_signature,
  25136. obj_owner,
  25137. need_obj_kind,
  25138. need_obj_signature,
  25139. need_obj_owner)
  25140. values
  25141. (
  25142. "%SYSBLDNAME%",
  25143. 69, "divide (TimeSeries,float)",
  25144. "%SYSBLDUSER%",
  25145. 5, "divide (TimeSeries,float)",
  25146. "%SYSBLDUSER%"
  25147. );
  25148. insert into sysbldobjects
  25149. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25150. create_can_fail, drop_sql, drop_can_fail)
  25151. values
  25152. (
  25153. "%SYSBLDNAME%", 5, "divide (int,TimeSeries)",
  25154. "%SYSBLDUSER%", 0,
  25155. "create function divide (int,TimeSeries)
  25156. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25157. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25158. ",
  25159. "f",
  25160. "drop function divide (int,TimeSeries);
  25161. ",
  25162. "f"
  25163. );
  25164. insert into sysbldobjdepends
  25165. (
  25166. bld_id,
  25167. obj_kind,
  25168. obj_signature,
  25169. obj_owner,
  25170. need_obj_kind,
  25171. need_obj_signature,
  25172. need_obj_owner)
  25173. values
  25174. (
  25175. "%SYSBLDNAME%",
  25176. 5, "divide (int,TimeSeries)",
  25177. "%SYSBLDUSER%",
  25178. 7, "TimeSeries",
  25179. "%SYSBLDUSER%"
  25180. );
  25181. insert into sysbldobjects
  25182. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25183. create_can_fail, drop_sql, drop_can_fail)
  25184. values
  25185. (
  25186. "%SYSBLDNAME%", 69, "divide (int,TimeSeries)",
  25187. "%SYSBLDUSER%", 0,
  25188. "grant execute on function divide (int,TimeSeries) to public;
  25189. ",
  25190. "f",
  25191. "",
  25192. "f"
  25193. );
  25194. insert into sysbldobjdepends
  25195. (
  25196. bld_id,
  25197. obj_kind,
  25198. obj_signature,
  25199. obj_owner,
  25200. need_obj_kind,
  25201. need_obj_signature,
  25202. need_obj_owner)
  25203. values
  25204. (
  25205. "%SYSBLDNAME%",
  25206. 69, "divide (int,TimeSeries)",
  25207. "%SYSBLDUSER%",
  25208. 5, "divide (int,TimeSeries)",
  25209. "%SYSBLDUSER%"
  25210. );
  25211. insert into sysbldobjects
  25212. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25213. create_can_fail, drop_sql, drop_can_fail)
  25214. values
  25215. (
  25216. "%SYSBLDNAME%", 5, "divide (TimeSeries,int)",
  25217. "%SYSBLDUSER%", 0,
  25218. "create function divide (TimeSeries,int)
  25219. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25220. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25221. ",
  25222. "f",
  25223. "drop function divide (TimeSeries,int);
  25224. ",
  25225. "f"
  25226. );
  25227. insert into sysbldobjdepends
  25228. (
  25229. bld_id,
  25230. obj_kind,
  25231. obj_signature,
  25232. obj_owner,
  25233. need_obj_kind,
  25234. need_obj_signature,
  25235. need_obj_owner)
  25236. values
  25237. (
  25238. "%SYSBLDNAME%",
  25239. 5, "divide (TimeSeries,int)",
  25240. "%SYSBLDUSER%",
  25241. 7, "TimeSeries",
  25242. "%SYSBLDUSER%"
  25243. );
  25244. insert into sysbldobjects
  25245. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25246. create_can_fail, drop_sql, drop_can_fail)
  25247. values
  25248. (
  25249. "%SYSBLDNAME%", 69, "divide (TimeSeries,int)",
  25250. "%SYSBLDUSER%", 0,
  25251. "grant execute on function divide (TimeSeries,int) to public;
  25252. ",
  25253. "f",
  25254. "",
  25255. "f"
  25256. );
  25257. insert into sysbldobjdepends
  25258. (
  25259. bld_id,
  25260. obj_kind,
  25261. obj_signature,
  25262. obj_owner,
  25263. need_obj_kind,
  25264. need_obj_signature,
  25265. need_obj_owner)
  25266. values
  25267. (
  25268. "%SYSBLDNAME%",
  25269. 69, "divide (TimeSeries,int)",
  25270. "%SYSBLDUSER%",
  25271. 5, "divide (TimeSeries,int)",
  25272. "%SYSBLDUSER%"
  25273. );
  25274. insert into sysbldobjects
  25275. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25276. create_can_fail, drop_sql, drop_can_fail)
  25277. values
  25278. (
  25279. "%SYSBLDNAME%", 5, "divide (money,TimeSeries)",
  25280. "%SYSBLDUSER%", 0,
  25281. "create function divide (money,TimeSeries)
  25282. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25283. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25284. ",
  25285. "f",
  25286. "drop function divide (money,TimeSeries);
  25287. ",
  25288. "f"
  25289. );
  25290. insert into sysbldobjdepends
  25291. (
  25292. bld_id,
  25293. obj_kind,
  25294. obj_signature,
  25295. obj_owner,
  25296. need_obj_kind,
  25297. need_obj_signature,
  25298. need_obj_owner)
  25299. values
  25300. (
  25301. "%SYSBLDNAME%",
  25302. 5, "divide (money,TimeSeries)",
  25303. "%SYSBLDUSER%",
  25304. 7, "TimeSeries",
  25305. "%SYSBLDUSER%"
  25306. );
  25307. insert into sysbldobjects
  25308. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25309. create_can_fail, drop_sql, drop_can_fail)
  25310. values
  25311. (
  25312. "%SYSBLDNAME%", 69, "divide (money,TimeSeries)",
  25313. "%SYSBLDUSER%", 0,
  25314. "grant execute on function divide (money,TimeSeries) to public;
  25315. ",
  25316. "f",
  25317. "",
  25318. "f"
  25319. );
  25320. insert into sysbldobjdepends
  25321. (
  25322. bld_id,
  25323. obj_kind,
  25324. obj_signature,
  25325. obj_owner,
  25326. need_obj_kind,
  25327. need_obj_signature,
  25328. need_obj_owner)
  25329. values
  25330. (
  25331. "%SYSBLDNAME%",
  25332. 69, "divide (money,TimeSeries)",
  25333. "%SYSBLDUSER%",
  25334. 5, "divide (money,TimeSeries)",
  25335. "%SYSBLDUSER%"
  25336. );
  25337. insert into sysbldobjects
  25338. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25339. create_can_fail, drop_sql, drop_can_fail)
  25340. values
  25341. (
  25342. "%SYSBLDNAME%", 5, "divide (TimeSeries,money)",
  25343. "%SYSBLDUSER%", 0,
  25344. "create function divide (TimeSeries,money)
  25345. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25346. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25347. ",
  25348. "f",
  25349. "drop function divide (TimeSeries,money);
  25350. ",
  25351. "f"
  25352. );
  25353. insert into sysbldobjdepends
  25354. (
  25355. bld_id,
  25356. obj_kind,
  25357. obj_signature,
  25358. obj_owner,
  25359. need_obj_kind,
  25360. need_obj_signature,
  25361. need_obj_owner)
  25362. values
  25363. (
  25364. "%SYSBLDNAME%",
  25365. 5, "divide (TimeSeries,money)",
  25366. "%SYSBLDUSER%",
  25367. 7, "TimeSeries",
  25368. "%SYSBLDUSER%"
  25369. );
  25370. insert into sysbldobjects
  25371. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25372. create_can_fail, drop_sql, drop_can_fail)
  25373. values
  25374. (
  25375. "%SYSBLDNAME%", 69, "divide (TimeSeries,money)",
  25376. "%SYSBLDUSER%", 0,
  25377. "grant execute on function divide (TimeSeries,money) to public;
  25378. ",
  25379. "f",
  25380. "",
  25381. "f"
  25382. );
  25383. insert into sysbldobjdepends
  25384. (
  25385. bld_id,
  25386. obj_kind,
  25387. obj_signature,
  25388. obj_owner,
  25389. need_obj_kind,
  25390. need_obj_signature,
  25391. need_obj_owner)
  25392. values
  25393. (
  25394. "%SYSBLDNAME%",
  25395. 69, "divide (TimeSeries,money)",
  25396. "%SYSBLDUSER%",
  25397. 5, "divide (TimeSeries,money)",
  25398. "%SYSBLDUSER%"
  25399. );
  25400. insert into sysbldobjects
  25401. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25402. create_can_fail, drop_sql, drop_can_fail)
  25403. values
  25404. (
  25405. "%SYSBLDNAME%", 5, "divide (real,TimeSeries)",
  25406. "%SYSBLDUSER%", 0,
  25407. "create function divide (real,TimeSeries)
  25408. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25409. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25410. ",
  25411. "f",
  25412. "drop function divide (real,TimeSeries);
  25413. ",
  25414. "f"
  25415. );
  25416. insert into sysbldobjdepends
  25417. (
  25418. bld_id,
  25419. obj_kind,
  25420. obj_signature,
  25421. obj_owner,
  25422. need_obj_kind,
  25423. need_obj_signature,
  25424. need_obj_owner)
  25425. values
  25426. (
  25427. "%SYSBLDNAME%",
  25428. 5, "divide (real,TimeSeries)",
  25429. "%SYSBLDUSER%",
  25430. 7, "TimeSeries",
  25431. "%SYSBLDUSER%"
  25432. );
  25433. insert into sysbldobjects
  25434. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25435. create_can_fail, drop_sql, drop_can_fail)
  25436. values
  25437. (
  25438. "%SYSBLDNAME%", 69, "divide (real,TimeSeries)",
  25439. "%SYSBLDUSER%", 0,
  25440. "grant execute on function divide (real,TimeSeries) to public;
  25441. ",
  25442. "f",
  25443. "",
  25444. "f"
  25445. );
  25446. insert into sysbldobjdepends
  25447. (
  25448. bld_id,
  25449. obj_kind,
  25450. obj_signature,
  25451. obj_owner,
  25452. need_obj_kind,
  25453. need_obj_signature,
  25454. need_obj_owner)
  25455. values
  25456. (
  25457. "%SYSBLDNAME%",
  25458. 69, "divide (real,TimeSeries)",
  25459. "%SYSBLDUSER%",
  25460. 5, "divide (real,TimeSeries)",
  25461. "%SYSBLDUSER%"
  25462. );
  25463. insert into sysbldobjects
  25464. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25465. create_can_fail, drop_sql, drop_can_fail)
  25466. values
  25467. (
  25468. "%SYSBLDNAME%", 5, "divide (TimeSeries,real)",
  25469. "%SYSBLDUSER%", 0,
  25470. "create function divide (TimeSeries,real)
  25471. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25472. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25473. ",
  25474. "f",
  25475. "drop function divide (TimeSeries,real);
  25476. ",
  25477. "f"
  25478. );
  25479. insert into sysbldobjdepends
  25480. (
  25481. bld_id,
  25482. obj_kind,
  25483. obj_signature,
  25484. obj_owner,
  25485. need_obj_kind,
  25486. need_obj_signature,
  25487. need_obj_owner)
  25488. values
  25489. (
  25490. "%SYSBLDNAME%",
  25491. 5, "divide (TimeSeries,real)",
  25492. "%SYSBLDUSER%",
  25493. 7, "TimeSeries",
  25494. "%SYSBLDUSER%"
  25495. );
  25496. insert into sysbldobjects
  25497. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25498. create_can_fail, drop_sql, drop_can_fail)
  25499. values
  25500. (
  25501. "%SYSBLDNAME%", 69, "divide (TimeSeries,real)",
  25502. "%SYSBLDUSER%", 0,
  25503. "grant execute on function divide (TimeSeries,real) to public;
  25504. ",
  25505. "f",
  25506. "",
  25507. "f"
  25508. );
  25509. insert into sysbldobjdepends
  25510. (
  25511. bld_id,
  25512. obj_kind,
  25513. obj_signature,
  25514. obj_owner,
  25515. need_obj_kind,
  25516. need_obj_signature,
  25517. need_obj_owner)
  25518. values
  25519. (
  25520. "%SYSBLDNAME%",
  25521. 69, "divide (TimeSeries,real)",
  25522. "%SYSBLDUSER%",
  25523. 5, "divide (TimeSeries,real)",
  25524. "%SYSBLDUSER%"
  25525. );
  25526. insert into sysbldobjects
  25527. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25528. create_can_fail, drop_sql, drop_can_fail)
  25529. values
  25530. (
  25531. "%SYSBLDNAME%", 5, "divide (smallint,TimeSeries)",
  25532. "%SYSBLDUSER%", 0,
  25533. "create function divide (smallint,TimeSeries)
  25534. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25535. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25536. ",
  25537. "f",
  25538. "drop function divide (smallint,TimeSeries);
  25539. ",
  25540. "f"
  25541. );
  25542. insert into sysbldobjdepends
  25543. (
  25544. bld_id,
  25545. obj_kind,
  25546. obj_signature,
  25547. obj_owner,
  25548. need_obj_kind,
  25549. need_obj_signature,
  25550. need_obj_owner)
  25551. values
  25552. (
  25553. "%SYSBLDNAME%",
  25554. 5, "divide (smallint,TimeSeries)",
  25555. "%SYSBLDUSER%",
  25556. 7, "TimeSeries",
  25557. "%SYSBLDUSER%"
  25558. );
  25559. insert into sysbldobjects
  25560. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25561. create_can_fail, drop_sql, drop_can_fail)
  25562. values
  25563. (
  25564. "%SYSBLDNAME%", 69, "divide (smallint,TimeSeries)",
  25565. "%SYSBLDUSER%", 0,
  25566. "grant execute on function divide (smallint,TimeSeries) to public;
  25567. ",
  25568. "f",
  25569. "",
  25570. "f"
  25571. );
  25572. insert into sysbldobjdepends
  25573. (
  25574. bld_id,
  25575. obj_kind,
  25576. obj_signature,
  25577. obj_owner,
  25578. need_obj_kind,
  25579. need_obj_signature,
  25580. need_obj_owner)
  25581. values
  25582. (
  25583. "%SYSBLDNAME%",
  25584. 69, "divide (smallint,TimeSeries)",
  25585. "%SYSBLDUSER%",
  25586. 5, "divide (smallint,TimeSeries)",
  25587. "%SYSBLDUSER%"
  25588. );
  25589. insert into sysbldobjects
  25590. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25591. create_can_fail, drop_sql, drop_can_fail)
  25592. values
  25593. (
  25594. "%SYSBLDNAME%", 5, "divide (TimeSeries,smallint)",
  25595. "%SYSBLDUSER%", 0,
  25596. "create function divide (TimeSeries,smallint)
  25597. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25598. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25599. ",
  25600. "f",
  25601. "drop function divide (TimeSeries,smallint);
  25602. ",
  25603. "f"
  25604. );
  25605. insert into sysbldobjdepends
  25606. (
  25607. bld_id,
  25608. obj_kind,
  25609. obj_signature,
  25610. obj_owner,
  25611. need_obj_kind,
  25612. need_obj_signature,
  25613. need_obj_owner)
  25614. values
  25615. (
  25616. "%SYSBLDNAME%",
  25617. 5, "divide (TimeSeries,smallint)",
  25618. "%SYSBLDUSER%",
  25619. 7, "TimeSeries",
  25620. "%SYSBLDUSER%"
  25621. );
  25622. insert into sysbldobjects
  25623. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25624. create_can_fail, drop_sql, drop_can_fail)
  25625. values
  25626. (
  25627. "%SYSBLDNAME%", 69, "divide (TimeSeries,smallint)",
  25628. "%SYSBLDUSER%", 0,
  25629. "grant execute on function divide (TimeSeries,smallint) to public;
  25630. ",
  25631. "f",
  25632. "",
  25633. "f"
  25634. );
  25635. insert into sysbldobjdepends
  25636. (
  25637. bld_id,
  25638. obj_kind,
  25639. obj_signature,
  25640. obj_owner,
  25641. need_obj_kind,
  25642. need_obj_signature,
  25643. need_obj_owner)
  25644. values
  25645. (
  25646. "%SYSBLDNAME%",
  25647. 69, "divide (TimeSeries,smallint)",
  25648. "%SYSBLDUSER%",
  25649. 5, "divide (TimeSeries,smallint)",
  25650. "%SYSBLDUSER%"
  25651. );
  25652. insert into sysbldobjects
  25653. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25654. create_can_fail, drop_sql, drop_can_fail)
  25655. values
  25656. (
  25657. "%SYSBLDNAME%", 5, "divide (row,TimeSeries)",
  25658. "%SYSBLDUSER%", 0,
  25659. "create function divide (row,TimeSeries)
  25660. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25661. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25662. ",
  25663. "f",
  25664. "drop function divide (row,TimeSeries);
  25665. ",
  25666. "f"
  25667. );
  25668. insert into sysbldobjdepends
  25669. (
  25670. bld_id,
  25671. obj_kind,
  25672. obj_signature,
  25673. obj_owner,
  25674. need_obj_kind,
  25675. need_obj_signature,
  25676. need_obj_owner)
  25677. values
  25678. (
  25679. "%SYSBLDNAME%",
  25680. 5, "divide (row,TimeSeries)",
  25681. "%SYSBLDUSER%",
  25682. 7, "TimeSeries",
  25683. "%SYSBLDUSER%"
  25684. );
  25685. insert into sysbldobjects
  25686. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25687. create_can_fail, drop_sql, drop_can_fail)
  25688. values
  25689. (
  25690. "%SYSBLDNAME%", 69, "divide (row,TimeSeries)",
  25691. "%SYSBLDUSER%", 0,
  25692. "grant execute on function divide (row,TimeSeries) to public;
  25693. ",
  25694. "f",
  25695. "",
  25696. "f"
  25697. );
  25698. insert into sysbldobjdepends
  25699. (
  25700. bld_id,
  25701. obj_kind,
  25702. obj_signature,
  25703. obj_owner,
  25704. need_obj_kind,
  25705. need_obj_signature,
  25706. need_obj_owner)
  25707. values
  25708. (
  25709. "%SYSBLDNAME%",
  25710. 69, "divide (row,TimeSeries)",
  25711. "%SYSBLDUSER%",
  25712. 5, "divide (row,TimeSeries)",
  25713. "%SYSBLDUSER%"
  25714. );
  25715. insert into sysbldobjects
  25716. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25717. create_can_fail, drop_sql, drop_can_fail)
  25718. values
  25719. (
  25720. "%SYSBLDNAME%", 5, "divide (TimeSeries,row)",
  25721. "%SYSBLDUSER%", 0,
  25722. "create function divide (TimeSeries,row)
  25723. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25724. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;
  25725. ",
  25726. "f",
  25727. "drop function divide (TimeSeries,row);
  25728. ",
  25729. "f"
  25730. );
  25731. insert into sysbldobjdepends
  25732. (
  25733. bld_id,
  25734. obj_kind,
  25735. obj_signature,
  25736. obj_owner,
  25737. need_obj_kind,
  25738. need_obj_signature,
  25739. need_obj_owner)
  25740. values
  25741. (
  25742. "%SYSBLDNAME%",
  25743. 5, "divide (TimeSeries,row)",
  25744. "%SYSBLDUSER%",
  25745. 7, "TimeSeries",
  25746. "%SYSBLDUSER%"
  25747. );
  25748. insert into sysbldobjects
  25749. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25750. create_can_fail, drop_sql, drop_can_fail)
  25751. values
  25752. (
  25753. "%SYSBLDNAME%", 69, "divide (TimeSeries,row)",
  25754. "%SYSBLDUSER%", 0,
  25755. "grant execute on function divide (TimeSeries,row) to public;
  25756. ",
  25757. "f",
  25758. "",
  25759. "f"
  25760. );
  25761. insert into sysbldobjdepends
  25762. (
  25763. bld_id,
  25764. obj_kind,
  25765. obj_signature,
  25766. obj_owner,
  25767. need_obj_kind,
  25768. need_obj_signature,
  25769. need_obj_owner)
  25770. values
  25771. (
  25772. "%SYSBLDNAME%",
  25773. 69, "divide (TimeSeries,row)",
  25774. "%SYSBLDUSER%",
  25775. 5, "divide (TimeSeries,row)",
  25776. "%SYSBLDUSER%"
  25777. );
  25778. insert into sysbldobjects
  25779. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25780. create_can_fail, drop_sql, drop_can_fail)
  25781. values
  25782. (
  25783. "%SYSBLDNAME%", 5, "pow (TimeSeries,TimeSeries)",
  25784. "%SYSBLDUSER%", 0,
  25785. "create function pow (TimeSeries,TimeSeries)
  25786. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25787. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  25788. ",
  25789. "f",
  25790. "drop function pow (TimeSeries,TimeSeries);
  25791. ",
  25792. "f"
  25793. );
  25794. insert into sysbldobjdepends
  25795. (
  25796. bld_id,
  25797. obj_kind,
  25798. obj_signature,
  25799. obj_owner,
  25800. need_obj_kind,
  25801. need_obj_signature,
  25802. need_obj_owner)
  25803. values
  25804. (
  25805. "%SYSBLDNAME%",
  25806. 5, "pow (TimeSeries,TimeSeries)",
  25807. "%SYSBLDUSER%",
  25808. 7, "TimeSeries",
  25809. "%SYSBLDUSER%"
  25810. );
  25811. insert into sysbldobjects
  25812. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25813. create_can_fail, drop_sql, drop_can_fail)
  25814. values
  25815. (
  25816. "%SYSBLDNAME%", 69, "pow (TimeSeries,TimeSeries)",
  25817. "%SYSBLDUSER%", 0,
  25818. "grant execute on function pow (TimeSeries,TimeSeries) to public;
  25819. ",
  25820. "f",
  25821. "",
  25822. "f"
  25823. );
  25824. insert into sysbldobjdepends
  25825. (
  25826. bld_id,
  25827. obj_kind,
  25828. obj_signature,
  25829. obj_owner,
  25830. need_obj_kind,
  25831. need_obj_signature,
  25832. need_obj_owner)
  25833. values
  25834. (
  25835. "%SYSBLDNAME%",
  25836. 69, "pow (TimeSeries,TimeSeries)",
  25837. "%SYSBLDUSER%",
  25838. 5, "pow (TimeSeries,TimeSeries)",
  25839. "%SYSBLDUSER%"
  25840. );
  25841. insert into sysbldobjects
  25842. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25843. create_can_fail, drop_sql, drop_can_fail)
  25844. values
  25845. (
  25846. "%SYSBLDNAME%", 5, "pow (decimal,TimeSeries)",
  25847. "%SYSBLDUSER%", 0,
  25848. "create function pow (decimal,TimeSeries)
  25849. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25850. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  25851. ",
  25852. "f",
  25853. "drop function pow (decimal,TimeSeries);
  25854. ",
  25855. "f"
  25856. );
  25857. insert into sysbldobjdepends
  25858. (
  25859. bld_id,
  25860. obj_kind,
  25861. obj_signature,
  25862. obj_owner,
  25863. need_obj_kind,
  25864. need_obj_signature,
  25865. need_obj_owner)
  25866. values
  25867. (
  25868. "%SYSBLDNAME%",
  25869. 5, "pow (decimal,TimeSeries)",
  25870. "%SYSBLDUSER%",
  25871. 7, "TimeSeries",
  25872. "%SYSBLDUSER%"
  25873. );
  25874. insert into sysbldobjects
  25875. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25876. create_can_fail, drop_sql, drop_can_fail)
  25877. values
  25878. (
  25879. "%SYSBLDNAME%", 69, "pow (decimal,TimeSeries)",
  25880. "%SYSBLDUSER%", 0,
  25881. "grant execute on function pow (decimal,TimeSeries) to public;
  25882. ",
  25883. "f",
  25884. "",
  25885. "f"
  25886. );
  25887. insert into sysbldobjdepends
  25888. (
  25889. bld_id,
  25890. obj_kind,
  25891. obj_signature,
  25892. obj_owner,
  25893. need_obj_kind,
  25894. need_obj_signature,
  25895. need_obj_owner)
  25896. values
  25897. (
  25898. "%SYSBLDNAME%",
  25899. 69, "pow (decimal,TimeSeries)",
  25900. "%SYSBLDUSER%",
  25901. 5, "pow (decimal,TimeSeries)",
  25902. "%SYSBLDUSER%"
  25903. );
  25904. insert into sysbldobjects
  25905. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25906. create_can_fail, drop_sql, drop_can_fail)
  25907. values
  25908. (
  25909. "%SYSBLDNAME%", 5, "pow (float,TimeSeries)",
  25910. "%SYSBLDUSER%", 0,
  25911. "create function pow (float,TimeSeries)
  25912. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25913. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  25914. ",
  25915. "f",
  25916. "drop function pow (float,TimeSeries);
  25917. ",
  25918. "f"
  25919. );
  25920. insert into sysbldobjdepends
  25921. (
  25922. bld_id,
  25923. obj_kind,
  25924. obj_signature,
  25925. obj_owner,
  25926. need_obj_kind,
  25927. need_obj_signature,
  25928. need_obj_owner)
  25929. values
  25930. (
  25931. "%SYSBLDNAME%",
  25932. 5, "pow (float,TimeSeries)",
  25933. "%SYSBLDUSER%",
  25934. 7, "TimeSeries",
  25935. "%SYSBLDUSER%"
  25936. );
  25937. insert into sysbldobjects
  25938. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25939. create_can_fail, drop_sql, drop_can_fail)
  25940. values
  25941. (
  25942. "%SYSBLDNAME%", 69, "pow (float,TimeSeries)",
  25943. "%SYSBLDUSER%", 0,
  25944. "grant execute on function pow (float,TimeSeries) to public;
  25945. ",
  25946. "f",
  25947. "",
  25948. "f"
  25949. );
  25950. insert into sysbldobjdepends
  25951. (
  25952. bld_id,
  25953. obj_kind,
  25954. obj_signature,
  25955. obj_owner,
  25956. need_obj_kind,
  25957. need_obj_signature,
  25958. need_obj_owner)
  25959. values
  25960. (
  25961. "%SYSBLDNAME%",
  25962. 69, "pow (float,TimeSeries)",
  25963. "%SYSBLDUSER%",
  25964. 5, "pow (float,TimeSeries)",
  25965. "%SYSBLDUSER%"
  25966. );
  25967. insert into sysbldobjects
  25968. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  25969. create_can_fail, drop_sql, drop_can_fail)
  25970. values
  25971. (
  25972. "%SYSBLDNAME%", 5, "pow (TimeSeries,float)",
  25973. "%SYSBLDUSER%", 0,
  25974. "create function pow (TimeSeries,float)
  25975. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  25976. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  25977. ",
  25978. "f",
  25979. "drop function pow (TimeSeries,float);
  25980. ",
  25981. "f"
  25982. );
  25983. insert into sysbldobjdepends
  25984. (
  25985. bld_id,
  25986. obj_kind,
  25987. obj_signature,
  25988. obj_owner,
  25989. need_obj_kind,
  25990. need_obj_signature,
  25991. need_obj_owner)
  25992. values
  25993. (
  25994. "%SYSBLDNAME%",
  25995. 5, "pow (TimeSeries,float)",
  25996. "%SYSBLDUSER%",
  25997. 7, "TimeSeries",
  25998. "%SYSBLDUSER%"
  25999. );
  26000. insert into sysbldobjects
  26001. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26002. create_can_fail, drop_sql, drop_can_fail)
  26003. values
  26004. (
  26005. "%SYSBLDNAME%", 69, "pow (TimeSeries,float)",
  26006. "%SYSBLDUSER%", 0,
  26007. "grant execute on function pow (TimeSeries,float) to public;
  26008. ",
  26009. "f",
  26010. "",
  26011. "f"
  26012. );
  26013. insert into sysbldobjdepends
  26014. (
  26015. bld_id,
  26016. obj_kind,
  26017. obj_signature,
  26018. obj_owner,
  26019. need_obj_kind,
  26020. need_obj_signature,
  26021. need_obj_owner)
  26022. values
  26023. (
  26024. "%SYSBLDNAME%",
  26025. 69, "pow (TimeSeries,float)",
  26026. "%SYSBLDUSER%",
  26027. 5, "pow (TimeSeries,float)",
  26028. "%SYSBLDUSER%"
  26029. );
  26030. insert into sysbldobjects
  26031. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26032. create_can_fail, drop_sql, drop_can_fail)
  26033. values
  26034. (
  26035. "%SYSBLDNAME%", 5, "pow (int,TimeSeries)",
  26036. "%SYSBLDUSER%", 0,
  26037. "create function pow (int,TimeSeries)
  26038. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26039. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26040. ",
  26041. "f",
  26042. "drop function pow (int,TimeSeries);
  26043. ",
  26044. "f"
  26045. );
  26046. insert into sysbldobjdepends
  26047. (
  26048. bld_id,
  26049. obj_kind,
  26050. obj_signature,
  26051. obj_owner,
  26052. need_obj_kind,
  26053. need_obj_signature,
  26054. need_obj_owner)
  26055. values
  26056. (
  26057. "%SYSBLDNAME%",
  26058. 5, "pow (int,TimeSeries)",
  26059. "%SYSBLDUSER%",
  26060. 7, "TimeSeries",
  26061. "%SYSBLDUSER%"
  26062. );
  26063. insert into sysbldobjects
  26064. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26065. create_can_fail, drop_sql, drop_can_fail)
  26066. values
  26067. (
  26068. "%SYSBLDNAME%", 69, "pow (int,TimeSeries)",
  26069. "%SYSBLDUSER%", 0,
  26070. "grant execute on function pow (int,TimeSeries) to public;
  26071. ",
  26072. "f",
  26073. "",
  26074. "f"
  26075. );
  26076. insert into sysbldobjdepends
  26077. (
  26078. bld_id,
  26079. obj_kind,
  26080. obj_signature,
  26081. obj_owner,
  26082. need_obj_kind,
  26083. need_obj_signature,
  26084. need_obj_owner)
  26085. values
  26086. (
  26087. "%SYSBLDNAME%",
  26088. 69, "pow (int,TimeSeries)",
  26089. "%SYSBLDUSER%",
  26090. 5, "pow (int,TimeSeries)",
  26091. "%SYSBLDUSER%"
  26092. );
  26093. insert into sysbldobjects
  26094. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26095. create_can_fail, drop_sql, drop_can_fail)
  26096. values
  26097. (
  26098. "%SYSBLDNAME%", 5, "pow (TimeSeries,int)",
  26099. "%SYSBLDUSER%", 0,
  26100. "create function pow (TimeSeries,int)
  26101. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26102. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26103. ",
  26104. "f",
  26105. "drop function pow (TimeSeries,int);
  26106. ",
  26107. "f"
  26108. );
  26109. insert into sysbldobjdepends
  26110. (
  26111. bld_id,
  26112. obj_kind,
  26113. obj_signature,
  26114. obj_owner,
  26115. need_obj_kind,
  26116. need_obj_signature,
  26117. need_obj_owner)
  26118. values
  26119. (
  26120. "%SYSBLDNAME%",
  26121. 5, "pow (TimeSeries,int)",
  26122. "%SYSBLDUSER%",
  26123. 7, "TimeSeries",
  26124. "%SYSBLDUSER%"
  26125. );
  26126. insert into sysbldobjects
  26127. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26128. create_can_fail, drop_sql, drop_can_fail)
  26129. values
  26130. (
  26131. "%SYSBLDNAME%", 69, "pow (TimeSeries,int)",
  26132. "%SYSBLDUSER%", 0,
  26133. "grant execute on function pow (TimeSeries,int) to public;
  26134. ",
  26135. "f",
  26136. "",
  26137. "f"
  26138. );
  26139. insert into sysbldobjdepends
  26140. (
  26141. bld_id,
  26142. obj_kind,
  26143. obj_signature,
  26144. obj_owner,
  26145. need_obj_kind,
  26146. need_obj_signature,
  26147. need_obj_owner)
  26148. values
  26149. (
  26150. "%SYSBLDNAME%",
  26151. 69, "pow (TimeSeries,int)",
  26152. "%SYSBLDUSER%",
  26153. 5, "pow (TimeSeries,int)",
  26154. "%SYSBLDUSER%"
  26155. );
  26156. insert into sysbldobjects
  26157. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26158. create_can_fail, drop_sql, drop_can_fail)
  26159. values
  26160. (
  26161. "%SYSBLDNAME%", 5, "pow (money,TimeSeries)",
  26162. "%SYSBLDUSER%", 0,
  26163. "create function pow (money,TimeSeries)
  26164. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26165. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26166. ",
  26167. "f",
  26168. "drop function pow (money,TimeSeries);
  26169. ",
  26170. "f"
  26171. );
  26172. insert into sysbldobjdepends
  26173. (
  26174. bld_id,
  26175. obj_kind,
  26176. obj_signature,
  26177. obj_owner,
  26178. need_obj_kind,
  26179. need_obj_signature,
  26180. need_obj_owner)
  26181. values
  26182. (
  26183. "%SYSBLDNAME%",
  26184. 5, "pow (money,TimeSeries)",
  26185. "%SYSBLDUSER%",
  26186. 7, "TimeSeries",
  26187. "%SYSBLDUSER%"
  26188. );
  26189. insert into sysbldobjects
  26190. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26191. create_can_fail, drop_sql, drop_can_fail)
  26192. values
  26193. (
  26194. "%SYSBLDNAME%", 69, "pow (money,TimeSeries)",
  26195. "%SYSBLDUSER%", 0,
  26196. "grant execute on function pow (money,TimeSeries) to public;
  26197. ",
  26198. "f",
  26199. "",
  26200. "f"
  26201. );
  26202. insert into sysbldobjdepends
  26203. (
  26204. bld_id,
  26205. obj_kind,
  26206. obj_signature,
  26207. obj_owner,
  26208. need_obj_kind,
  26209. need_obj_signature,
  26210. need_obj_owner)
  26211. values
  26212. (
  26213. "%SYSBLDNAME%",
  26214. 69, "pow (money,TimeSeries)",
  26215. "%SYSBLDUSER%",
  26216. 5, "pow (money,TimeSeries)",
  26217. "%SYSBLDUSER%"
  26218. );
  26219. insert into sysbldobjects
  26220. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26221. create_can_fail, drop_sql, drop_can_fail)
  26222. values
  26223. (
  26224. "%SYSBLDNAME%", 5, "pow (TimeSeries,money)",
  26225. "%SYSBLDUSER%", 0,
  26226. "create function pow (TimeSeries,money)
  26227. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26228. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26229. ",
  26230. "f",
  26231. "drop function pow (TimeSeries,money);
  26232. ",
  26233. "f"
  26234. );
  26235. insert into sysbldobjdepends
  26236. (
  26237. bld_id,
  26238. obj_kind,
  26239. obj_signature,
  26240. obj_owner,
  26241. need_obj_kind,
  26242. need_obj_signature,
  26243. need_obj_owner)
  26244. values
  26245. (
  26246. "%SYSBLDNAME%",
  26247. 5, "pow (TimeSeries,money)",
  26248. "%SYSBLDUSER%",
  26249. 7, "TimeSeries",
  26250. "%SYSBLDUSER%"
  26251. );
  26252. insert into sysbldobjects
  26253. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26254. create_can_fail, drop_sql, drop_can_fail)
  26255. values
  26256. (
  26257. "%SYSBLDNAME%", 69, "pow (TimeSeries,money)",
  26258. "%SYSBLDUSER%", 0,
  26259. "grant execute on function pow (TimeSeries,money) to public;
  26260. ",
  26261. "f",
  26262. "",
  26263. "f"
  26264. );
  26265. insert into sysbldobjdepends
  26266. (
  26267. bld_id,
  26268. obj_kind,
  26269. obj_signature,
  26270. obj_owner,
  26271. need_obj_kind,
  26272. need_obj_signature,
  26273. need_obj_owner)
  26274. values
  26275. (
  26276. "%SYSBLDNAME%",
  26277. 69, "pow (TimeSeries,money)",
  26278. "%SYSBLDUSER%",
  26279. 5, "pow (TimeSeries,money)",
  26280. "%SYSBLDUSER%"
  26281. );
  26282. insert into sysbldobjects
  26283. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26284. create_can_fail, drop_sql, drop_can_fail)
  26285. values
  26286. (
  26287. "%SYSBLDNAME%", 5, "pow (real,TimeSeries)",
  26288. "%SYSBLDUSER%", 0,
  26289. "create function pow (real,TimeSeries)
  26290. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26291. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26292. ",
  26293. "f",
  26294. "drop function pow (real,TimeSeries);
  26295. ",
  26296. "f"
  26297. );
  26298. insert into sysbldobjdepends
  26299. (
  26300. bld_id,
  26301. obj_kind,
  26302. obj_signature,
  26303. obj_owner,
  26304. need_obj_kind,
  26305. need_obj_signature,
  26306. need_obj_owner)
  26307. values
  26308. (
  26309. "%SYSBLDNAME%",
  26310. 5, "pow (real,TimeSeries)",
  26311. "%SYSBLDUSER%",
  26312. 7, "TimeSeries",
  26313. "%SYSBLDUSER%"
  26314. );
  26315. insert into sysbldobjects
  26316. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26317. create_can_fail, drop_sql, drop_can_fail)
  26318. values
  26319. (
  26320. "%SYSBLDNAME%", 69, "pow (real,TimeSeries)",
  26321. "%SYSBLDUSER%", 0,
  26322. "grant execute on function pow (real,TimeSeries) to public;
  26323. ",
  26324. "f",
  26325. "",
  26326. "f"
  26327. );
  26328. insert into sysbldobjdepends
  26329. (
  26330. bld_id,
  26331. obj_kind,
  26332. obj_signature,
  26333. obj_owner,
  26334. need_obj_kind,
  26335. need_obj_signature,
  26336. need_obj_owner)
  26337. values
  26338. (
  26339. "%SYSBLDNAME%",
  26340. 69, "pow (real,TimeSeries)",
  26341. "%SYSBLDUSER%",
  26342. 5, "pow (real,TimeSeries)",
  26343. "%SYSBLDUSER%"
  26344. );
  26345. insert into sysbldobjects
  26346. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26347. create_can_fail, drop_sql, drop_can_fail)
  26348. values
  26349. (
  26350. "%SYSBLDNAME%", 5, "pow (TimeSeries,real)",
  26351. "%SYSBLDUSER%", 0,
  26352. "create function pow (TimeSeries,real)
  26353. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26354. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26355. ",
  26356. "f",
  26357. "drop function pow (TimeSeries,real);
  26358. ",
  26359. "f"
  26360. );
  26361. insert into sysbldobjdepends
  26362. (
  26363. bld_id,
  26364. obj_kind,
  26365. obj_signature,
  26366. obj_owner,
  26367. need_obj_kind,
  26368. need_obj_signature,
  26369. need_obj_owner)
  26370. values
  26371. (
  26372. "%SYSBLDNAME%",
  26373. 5, "pow (TimeSeries,real)",
  26374. "%SYSBLDUSER%",
  26375. 7, "TimeSeries",
  26376. "%SYSBLDUSER%"
  26377. );
  26378. insert into sysbldobjects
  26379. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26380. create_can_fail, drop_sql, drop_can_fail)
  26381. values
  26382. (
  26383. "%SYSBLDNAME%", 69, "pow (TimeSeries,real)",
  26384. "%SYSBLDUSER%", 0,
  26385. "grant execute on function pow (TimeSeries,real) to public;
  26386. ",
  26387. "f",
  26388. "",
  26389. "f"
  26390. );
  26391. insert into sysbldobjdepends
  26392. (
  26393. bld_id,
  26394. obj_kind,
  26395. obj_signature,
  26396. obj_owner,
  26397. need_obj_kind,
  26398. need_obj_signature,
  26399. need_obj_owner)
  26400. values
  26401. (
  26402. "%SYSBLDNAME%",
  26403. 69, "pow (TimeSeries,real)",
  26404. "%SYSBLDUSER%",
  26405. 5, "pow (TimeSeries,real)",
  26406. "%SYSBLDUSER%"
  26407. );
  26408. insert into sysbldobjects
  26409. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26410. create_can_fail, drop_sql, drop_can_fail)
  26411. values
  26412. (
  26413. "%SYSBLDNAME%", 5, "pow (smallint,TimeSeries)",
  26414. "%SYSBLDUSER%", 0,
  26415. "create function pow (smallint,TimeSeries)
  26416. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26417. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26418. ",
  26419. "f",
  26420. "drop function pow (smallint,TimeSeries);
  26421. ",
  26422. "f"
  26423. );
  26424. insert into sysbldobjdepends
  26425. (
  26426. bld_id,
  26427. obj_kind,
  26428. obj_signature,
  26429. obj_owner,
  26430. need_obj_kind,
  26431. need_obj_signature,
  26432. need_obj_owner)
  26433. values
  26434. (
  26435. "%SYSBLDNAME%",
  26436. 5, "pow (smallint,TimeSeries)",
  26437. "%SYSBLDUSER%",
  26438. 7, "TimeSeries",
  26439. "%SYSBLDUSER%"
  26440. );
  26441. insert into sysbldobjects
  26442. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26443. create_can_fail, drop_sql, drop_can_fail)
  26444. values
  26445. (
  26446. "%SYSBLDNAME%", 69, "pow (smallint,TimeSeries)",
  26447. "%SYSBLDUSER%", 0,
  26448. "grant execute on function pow (smallint,TimeSeries) to public;
  26449. ",
  26450. "f",
  26451. "",
  26452. "f"
  26453. );
  26454. insert into sysbldobjdepends
  26455. (
  26456. bld_id,
  26457. obj_kind,
  26458. obj_signature,
  26459. obj_owner,
  26460. need_obj_kind,
  26461. need_obj_signature,
  26462. need_obj_owner)
  26463. values
  26464. (
  26465. "%SYSBLDNAME%",
  26466. 69, "pow (smallint,TimeSeries)",
  26467. "%SYSBLDUSER%",
  26468. 5, "pow (smallint,TimeSeries)",
  26469. "%SYSBLDUSER%"
  26470. );
  26471. insert into sysbldobjects
  26472. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26473. create_can_fail, drop_sql, drop_can_fail)
  26474. values
  26475. (
  26476. "%SYSBLDNAME%", 5, "pow (TimeSeries,smallint)",
  26477. "%SYSBLDUSER%", 0,
  26478. "create function pow (TimeSeries,smallint)
  26479. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26480. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26481. ",
  26482. "f",
  26483. "drop function pow (TimeSeries,smallint);
  26484. ",
  26485. "f"
  26486. );
  26487. insert into sysbldobjdepends
  26488. (
  26489. bld_id,
  26490. obj_kind,
  26491. obj_signature,
  26492. obj_owner,
  26493. need_obj_kind,
  26494. need_obj_signature,
  26495. need_obj_owner)
  26496. values
  26497. (
  26498. "%SYSBLDNAME%",
  26499. 5, "pow (TimeSeries,smallint)",
  26500. "%SYSBLDUSER%",
  26501. 7, "TimeSeries",
  26502. "%SYSBLDUSER%"
  26503. );
  26504. insert into sysbldobjects
  26505. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26506. create_can_fail, drop_sql, drop_can_fail)
  26507. values
  26508. (
  26509. "%SYSBLDNAME%", 69, "pow (TimeSeries,smallint)",
  26510. "%SYSBLDUSER%", 0,
  26511. "grant execute on function pow (TimeSeries,smallint) to public;
  26512. ",
  26513. "f",
  26514. "",
  26515. "f"
  26516. );
  26517. insert into sysbldobjdepends
  26518. (
  26519. bld_id,
  26520. obj_kind,
  26521. obj_signature,
  26522. obj_owner,
  26523. need_obj_kind,
  26524. need_obj_signature,
  26525. need_obj_owner)
  26526. values
  26527. (
  26528. "%SYSBLDNAME%",
  26529. 69, "pow (TimeSeries,smallint)",
  26530. "%SYSBLDUSER%",
  26531. 5, "pow (TimeSeries,smallint)",
  26532. "%SYSBLDUSER%"
  26533. );
  26534. insert into sysbldobjects
  26535. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26536. create_can_fail, drop_sql, drop_can_fail)
  26537. values
  26538. (
  26539. "%SYSBLDNAME%", 5, "pow (row,TimeSeries)",
  26540. "%SYSBLDUSER%", 0,
  26541. "create function pow (row,TimeSeries)
  26542. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26543. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26544. ",
  26545. "f",
  26546. "drop function pow (row,TimeSeries);
  26547. ",
  26548. "f"
  26549. );
  26550. insert into sysbldobjdepends
  26551. (
  26552. bld_id,
  26553. obj_kind,
  26554. obj_signature,
  26555. obj_owner,
  26556. need_obj_kind,
  26557. need_obj_signature,
  26558. need_obj_owner)
  26559. values
  26560. (
  26561. "%SYSBLDNAME%",
  26562. 5, "pow (row,TimeSeries)",
  26563. "%SYSBLDUSER%",
  26564. 7, "TimeSeries",
  26565. "%SYSBLDUSER%"
  26566. );
  26567. insert into sysbldobjects
  26568. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26569. create_can_fail, drop_sql, drop_can_fail)
  26570. values
  26571. (
  26572. "%SYSBLDNAME%", 69, "pow (row,TimeSeries)",
  26573. "%SYSBLDUSER%", 0,
  26574. "grant execute on function pow (row,TimeSeries) to public;
  26575. ",
  26576. "f",
  26577. "",
  26578. "f"
  26579. );
  26580. insert into sysbldobjdepends
  26581. (
  26582. bld_id,
  26583. obj_kind,
  26584. obj_signature,
  26585. obj_owner,
  26586. need_obj_kind,
  26587. need_obj_signature,
  26588. need_obj_owner)
  26589. values
  26590. (
  26591. "%SYSBLDNAME%",
  26592. 69, "pow (row,TimeSeries)",
  26593. "%SYSBLDUSER%",
  26594. 5, "pow (row,TimeSeries)",
  26595. "%SYSBLDUSER%"
  26596. );
  26597. insert into sysbldobjects
  26598. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26599. create_can_fail, drop_sql, drop_can_fail)
  26600. values
  26601. (
  26602. "%SYSBLDNAME%", 5, "pow (TimeSeries,row)",
  26603. "%SYSBLDUSER%", 0,
  26604. "create function pow (TimeSeries,row)
  26605. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26606. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;
  26607. ",
  26608. "f",
  26609. "drop function pow (TimeSeries,row);
  26610. ",
  26611. "f"
  26612. );
  26613. insert into sysbldobjdepends
  26614. (
  26615. bld_id,
  26616. obj_kind,
  26617. obj_signature,
  26618. obj_owner,
  26619. need_obj_kind,
  26620. need_obj_signature,
  26621. need_obj_owner)
  26622. values
  26623. (
  26624. "%SYSBLDNAME%",
  26625. 5, "pow (TimeSeries,row)",
  26626. "%SYSBLDUSER%",
  26627. 7, "TimeSeries",
  26628. "%SYSBLDUSER%"
  26629. );
  26630. insert into sysbldobjects
  26631. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26632. create_can_fail, drop_sql, drop_can_fail)
  26633. values
  26634. (
  26635. "%SYSBLDNAME%", 69, "pow (TimeSeries,row)",
  26636. "%SYSBLDUSER%", 0,
  26637. "grant execute on function pow (TimeSeries,row) to public;
  26638. ",
  26639. "f",
  26640. "",
  26641. "f"
  26642. );
  26643. insert into sysbldobjdepends
  26644. (
  26645. bld_id,
  26646. obj_kind,
  26647. obj_signature,
  26648. obj_owner,
  26649. need_obj_kind,
  26650. need_obj_signature,
  26651. need_obj_owner)
  26652. values
  26653. (
  26654. "%SYSBLDNAME%",
  26655. 69, "pow (TimeSeries,row)",
  26656. "%SYSBLDUSER%",
  26657. 5, "pow (TimeSeries,row)",
  26658. "%SYSBLDUSER%"
  26659. );
  26660. insert into sysbldobjects
  26661. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26662. create_can_fail, drop_sql, drop_can_fail)
  26663. values
  26664. (
  26665. "%SYSBLDNAME%", 5, "root (TimeSeries,TimeSeries)",
  26666. "%SYSBLDUSER%", 0,
  26667. "create function root (TimeSeries,TimeSeries)
  26668. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26669. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26670. ",
  26671. "f",
  26672. "drop function root (TimeSeries,TimeSeries);
  26673. ",
  26674. "f"
  26675. );
  26676. insert into sysbldobjdepends
  26677. (
  26678. bld_id,
  26679. obj_kind,
  26680. obj_signature,
  26681. obj_owner,
  26682. need_obj_kind,
  26683. need_obj_signature,
  26684. need_obj_owner)
  26685. values
  26686. (
  26687. "%SYSBLDNAME%",
  26688. 5, "root (TimeSeries,TimeSeries)",
  26689. "%SYSBLDUSER%",
  26690. 7, "TimeSeries",
  26691. "%SYSBLDUSER%"
  26692. );
  26693. insert into sysbldobjects
  26694. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26695. create_can_fail, drop_sql, drop_can_fail)
  26696. values
  26697. (
  26698. "%SYSBLDNAME%", 69, "root (TimeSeries,TimeSeries)",
  26699. "%SYSBLDUSER%", 0,
  26700. "grant execute on function root (TimeSeries,TimeSeries) to public;
  26701. ",
  26702. "f",
  26703. "",
  26704. "f"
  26705. );
  26706. insert into sysbldobjdepends
  26707. (
  26708. bld_id,
  26709. obj_kind,
  26710. obj_signature,
  26711. obj_owner,
  26712. need_obj_kind,
  26713. need_obj_signature,
  26714. need_obj_owner)
  26715. values
  26716. (
  26717. "%SYSBLDNAME%",
  26718. 69, "root (TimeSeries,TimeSeries)",
  26719. "%SYSBLDUSER%",
  26720. 5, "root (TimeSeries,TimeSeries)",
  26721. "%SYSBLDUSER%"
  26722. );
  26723. insert into sysbldobjects
  26724. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26725. create_can_fail, drop_sql, drop_can_fail)
  26726. values
  26727. (
  26728. "%SYSBLDNAME%", 5, "root (decimal,TimeSeries)",
  26729. "%SYSBLDUSER%", 0,
  26730. "create function root (decimal,TimeSeries)
  26731. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26732. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26733. ",
  26734. "f",
  26735. "drop function root (decimal,TimeSeries);
  26736. ",
  26737. "f"
  26738. );
  26739. insert into sysbldobjdepends
  26740. (
  26741. bld_id,
  26742. obj_kind,
  26743. obj_signature,
  26744. obj_owner,
  26745. need_obj_kind,
  26746. need_obj_signature,
  26747. need_obj_owner)
  26748. values
  26749. (
  26750. "%SYSBLDNAME%",
  26751. 5, "root (decimal,TimeSeries)",
  26752. "%SYSBLDUSER%",
  26753. 7, "TimeSeries",
  26754. "%SYSBLDUSER%"
  26755. );
  26756. insert into sysbldobjects
  26757. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26758. create_can_fail, drop_sql, drop_can_fail)
  26759. values
  26760. (
  26761. "%SYSBLDNAME%", 69, "root (decimal,TimeSeries)",
  26762. "%SYSBLDUSER%", 0,
  26763. "grant execute on function root (decimal,TimeSeries) to public;
  26764. ",
  26765. "f",
  26766. "",
  26767. "f"
  26768. );
  26769. insert into sysbldobjdepends
  26770. (
  26771. bld_id,
  26772. obj_kind,
  26773. obj_signature,
  26774. obj_owner,
  26775. need_obj_kind,
  26776. need_obj_signature,
  26777. need_obj_owner)
  26778. values
  26779. (
  26780. "%SYSBLDNAME%",
  26781. 69, "root (decimal,TimeSeries)",
  26782. "%SYSBLDUSER%",
  26783. 5, "root (decimal,TimeSeries)",
  26784. "%SYSBLDUSER%"
  26785. );
  26786. insert into sysbldobjects
  26787. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26788. create_can_fail, drop_sql, drop_can_fail)
  26789. values
  26790. (
  26791. "%SYSBLDNAME%", 5, "root (TimeSeries,decimal)",
  26792. "%SYSBLDUSER%", 0,
  26793. "create function root (TimeSeries,decimal)
  26794. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26795. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26796. ",
  26797. "f",
  26798. "drop function root (TimeSeries,decimal);
  26799. ",
  26800. "f"
  26801. );
  26802. insert into sysbldobjdepends
  26803. (
  26804. bld_id,
  26805. obj_kind,
  26806. obj_signature,
  26807. obj_owner,
  26808. need_obj_kind,
  26809. need_obj_signature,
  26810. need_obj_owner)
  26811. values
  26812. (
  26813. "%SYSBLDNAME%",
  26814. 5, "root (TimeSeries,decimal)",
  26815. "%SYSBLDUSER%",
  26816. 7, "TimeSeries",
  26817. "%SYSBLDUSER%"
  26818. );
  26819. insert into sysbldobjects
  26820. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26821. create_can_fail, drop_sql, drop_can_fail)
  26822. values
  26823. (
  26824. "%SYSBLDNAME%", 69, "root (TimeSeries,decimal)",
  26825. "%SYSBLDUSER%", 0,
  26826. "grant execute on function root (TimeSeries,decimal) to public;
  26827. ",
  26828. "f",
  26829. "",
  26830. "f"
  26831. );
  26832. insert into sysbldobjdepends
  26833. (
  26834. bld_id,
  26835. obj_kind,
  26836. obj_signature,
  26837. obj_owner,
  26838. need_obj_kind,
  26839. need_obj_signature,
  26840. need_obj_owner)
  26841. values
  26842. (
  26843. "%SYSBLDNAME%",
  26844. 69, "root (TimeSeries,decimal)",
  26845. "%SYSBLDUSER%",
  26846. 5, "root (TimeSeries,decimal)",
  26847. "%SYSBLDUSER%"
  26848. );
  26849. insert into sysbldobjects
  26850. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26851. create_can_fail, drop_sql, drop_can_fail)
  26852. values
  26853. (
  26854. "%SYSBLDNAME%", 5, "root (float,TimeSeries)",
  26855. "%SYSBLDUSER%", 0,
  26856. "create function root (float,TimeSeries)
  26857. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26858. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26859. ",
  26860. "f",
  26861. "drop function root (float,TimeSeries);
  26862. ",
  26863. "f"
  26864. );
  26865. insert into sysbldobjdepends
  26866. (
  26867. bld_id,
  26868. obj_kind,
  26869. obj_signature,
  26870. obj_owner,
  26871. need_obj_kind,
  26872. need_obj_signature,
  26873. need_obj_owner)
  26874. values
  26875. (
  26876. "%SYSBLDNAME%",
  26877. 5, "root (float,TimeSeries)",
  26878. "%SYSBLDUSER%",
  26879. 7, "TimeSeries",
  26880. "%SYSBLDUSER%"
  26881. );
  26882. insert into sysbldobjects
  26883. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26884. create_can_fail, drop_sql, drop_can_fail)
  26885. values
  26886. (
  26887. "%SYSBLDNAME%", 69, "root (float,TimeSeries)",
  26888. "%SYSBLDUSER%", 0,
  26889. "grant execute on function root (float,TimeSeries) to public;
  26890. ",
  26891. "f",
  26892. "",
  26893. "f"
  26894. );
  26895. insert into sysbldobjdepends
  26896. (
  26897. bld_id,
  26898. obj_kind,
  26899. obj_signature,
  26900. obj_owner,
  26901. need_obj_kind,
  26902. need_obj_signature,
  26903. need_obj_owner)
  26904. values
  26905. (
  26906. "%SYSBLDNAME%",
  26907. 69, "root (float,TimeSeries)",
  26908. "%SYSBLDUSER%",
  26909. 5, "root (float,TimeSeries)",
  26910. "%SYSBLDUSER%"
  26911. );
  26912. insert into sysbldobjects
  26913. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26914. create_can_fail, drop_sql, drop_can_fail)
  26915. values
  26916. (
  26917. "%SYSBLDNAME%", 5, "root (TimeSeries,float)",
  26918. "%SYSBLDUSER%", 0,
  26919. "create function root (TimeSeries,float)
  26920. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26921. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26922. ",
  26923. "f",
  26924. "drop function root (TimeSeries,float);
  26925. ",
  26926. "f"
  26927. );
  26928. insert into sysbldobjdepends
  26929. (
  26930. bld_id,
  26931. obj_kind,
  26932. obj_signature,
  26933. obj_owner,
  26934. need_obj_kind,
  26935. need_obj_signature,
  26936. need_obj_owner)
  26937. values
  26938. (
  26939. "%SYSBLDNAME%",
  26940. 5, "root (TimeSeries,float)",
  26941. "%SYSBLDUSER%",
  26942. 7, "TimeSeries",
  26943. "%SYSBLDUSER%"
  26944. );
  26945. insert into sysbldobjects
  26946. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26947. create_can_fail, drop_sql, drop_can_fail)
  26948. values
  26949. (
  26950. "%SYSBLDNAME%", 69, "root (TimeSeries,float)",
  26951. "%SYSBLDUSER%", 0,
  26952. "grant execute on function root (TimeSeries,float) to public;
  26953. ",
  26954. "f",
  26955. "",
  26956. "f"
  26957. );
  26958. insert into sysbldobjdepends
  26959. (
  26960. bld_id,
  26961. obj_kind,
  26962. obj_signature,
  26963. obj_owner,
  26964. need_obj_kind,
  26965. need_obj_signature,
  26966. need_obj_owner)
  26967. values
  26968. (
  26969. "%SYSBLDNAME%",
  26970. 69, "root (TimeSeries,float)",
  26971. "%SYSBLDUSER%",
  26972. 5, "root (TimeSeries,float)",
  26973. "%SYSBLDUSER%"
  26974. );
  26975. insert into sysbldobjects
  26976. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  26977. create_can_fail, drop_sql, drop_can_fail)
  26978. values
  26979. (
  26980. "%SYSBLDNAME%", 5, "root (int,TimeSeries)",
  26981. "%SYSBLDUSER%", 0,
  26982. "create function root (int,TimeSeries)
  26983. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  26984. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  26985. ",
  26986. "f",
  26987. "drop function root (int,TimeSeries);
  26988. ",
  26989. "f"
  26990. );
  26991. insert into sysbldobjdepends
  26992. (
  26993. bld_id,
  26994. obj_kind,
  26995. obj_signature,
  26996. obj_owner,
  26997. need_obj_kind,
  26998. need_obj_signature,
  26999. need_obj_owner)
  27000. values
  27001. (
  27002. "%SYSBLDNAME%",
  27003. 5, "root (int,TimeSeries)",
  27004. "%SYSBLDUSER%",
  27005. 7, "TimeSeries",
  27006. "%SYSBLDUSER%"
  27007. );
  27008. insert into sysbldobjects
  27009. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27010. create_can_fail, drop_sql, drop_can_fail)
  27011. values
  27012. (
  27013. "%SYSBLDNAME%", 69, "root (int,TimeSeries)",
  27014. "%SYSBLDUSER%", 0,
  27015. "grant execute on function root (int,TimeSeries) to public;
  27016. ",
  27017. "f",
  27018. "",
  27019. "f"
  27020. );
  27021. insert into sysbldobjdepends
  27022. (
  27023. bld_id,
  27024. obj_kind,
  27025. obj_signature,
  27026. obj_owner,
  27027. need_obj_kind,
  27028. need_obj_signature,
  27029. need_obj_owner)
  27030. values
  27031. (
  27032. "%SYSBLDNAME%",
  27033. 69, "root (int,TimeSeries)",
  27034. "%SYSBLDUSER%",
  27035. 5, "root (int,TimeSeries)",
  27036. "%SYSBLDUSER%"
  27037. );
  27038. insert into sysbldobjects
  27039. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27040. create_can_fail, drop_sql, drop_can_fail)
  27041. values
  27042. (
  27043. "%SYSBLDNAME%", 5, "root (TimeSeries,int)",
  27044. "%SYSBLDUSER%", 0,
  27045. "create function root (TimeSeries,int)
  27046. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27047. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27048. ",
  27049. "f",
  27050. "drop function root (TimeSeries,int);
  27051. ",
  27052. "f"
  27053. );
  27054. insert into sysbldobjdepends
  27055. (
  27056. bld_id,
  27057. obj_kind,
  27058. obj_signature,
  27059. obj_owner,
  27060. need_obj_kind,
  27061. need_obj_signature,
  27062. need_obj_owner)
  27063. values
  27064. (
  27065. "%SYSBLDNAME%",
  27066. 5, "root (TimeSeries,int)",
  27067. "%SYSBLDUSER%",
  27068. 7, "TimeSeries",
  27069. "%SYSBLDUSER%"
  27070. );
  27071. insert into sysbldobjects
  27072. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27073. create_can_fail, drop_sql, drop_can_fail)
  27074. values
  27075. (
  27076. "%SYSBLDNAME%", 69, "root (TimeSeries,int)",
  27077. "%SYSBLDUSER%", 0,
  27078. "grant execute on function root (TimeSeries,int) to public;
  27079. ",
  27080. "f",
  27081. "",
  27082. "f"
  27083. );
  27084. insert into sysbldobjdepends
  27085. (
  27086. bld_id,
  27087. obj_kind,
  27088. obj_signature,
  27089. obj_owner,
  27090. need_obj_kind,
  27091. need_obj_signature,
  27092. need_obj_owner)
  27093. values
  27094. (
  27095. "%SYSBLDNAME%",
  27096. 69, "root (TimeSeries,int)",
  27097. "%SYSBLDUSER%",
  27098. 5, "root (TimeSeries,int)",
  27099. "%SYSBLDUSER%"
  27100. );
  27101. insert into sysbldobjects
  27102. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27103. create_can_fail, drop_sql, drop_can_fail)
  27104. values
  27105. (
  27106. "%SYSBLDNAME%", 5, "root (money,TimeSeries)",
  27107. "%SYSBLDUSER%", 0,
  27108. "create function root (money,TimeSeries)
  27109. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27110. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27111. ",
  27112. "f",
  27113. "drop function root (money,TimeSeries);
  27114. ",
  27115. "f"
  27116. );
  27117. insert into sysbldobjdepends
  27118. (
  27119. bld_id,
  27120. obj_kind,
  27121. obj_signature,
  27122. obj_owner,
  27123. need_obj_kind,
  27124. need_obj_signature,
  27125. need_obj_owner)
  27126. values
  27127. (
  27128. "%SYSBLDNAME%",
  27129. 5, "root (money,TimeSeries)",
  27130. "%SYSBLDUSER%",
  27131. 7, "TimeSeries",
  27132. "%SYSBLDUSER%"
  27133. );
  27134. insert into sysbldobjects
  27135. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27136. create_can_fail, drop_sql, drop_can_fail)
  27137. values
  27138. (
  27139. "%SYSBLDNAME%", 69, "root (money,TimeSeries)",
  27140. "%SYSBLDUSER%", 0,
  27141. "grant execute on function root (money,TimeSeries) to public;
  27142. ",
  27143. "f",
  27144. "",
  27145. "f"
  27146. );
  27147. insert into sysbldobjdepends
  27148. (
  27149. bld_id,
  27150. obj_kind,
  27151. obj_signature,
  27152. obj_owner,
  27153. need_obj_kind,
  27154. need_obj_signature,
  27155. need_obj_owner)
  27156. values
  27157. (
  27158. "%SYSBLDNAME%",
  27159. 69, "root (money,TimeSeries)",
  27160. "%SYSBLDUSER%",
  27161. 5, "root (money,TimeSeries)",
  27162. "%SYSBLDUSER%"
  27163. );
  27164. insert into sysbldobjects
  27165. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27166. create_can_fail, drop_sql, drop_can_fail)
  27167. values
  27168. (
  27169. "%SYSBLDNAME%", 5, "root (TimeSeries,money)",
  27170. "%SYSBLDUSER%", 0,
  27171. "create function root (TimeSeries,money)
  27172. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27173. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27174. ",
  27175. "f",
  27176. "drop function root (TimeSeries,money);
  27177. ",
  27178. "f"
  27179. );
  27180. insert into sysbldobjdepends
  27181. (
  27182. bld_id,
  27183. obj_kind,
  27184. obj_signature,
  27185. obj_owner,
  27186. need_obj_kind,
  27187. need_obj_signature,
  27188. need_obj_owner)
  27189. values
  27190. (
  27191. "%SYSBLDNAME%",
  27192. 5, "root (TimeSeries,money)",
  27193. "%SYSBLDUSER%",
  27194. 7, "TimeSeries",
  27195. "%SYSBLDUSER%"
  27196. );
  27197. insert into sysbldobjects
  27198. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27199. create_can_fail, drop_sql, drop_can_fail)
  27200. values
  27201. (
  27202. "%SYSBLDNAME%", 69, "root (TimeSeries,money)",
  27203. "%SYSBLDUSER%", 0,
  27204. "grant execute on function root (TimeSeries,money) to public;
  27205. ",
  27206. "f",
  27207. "",
  27208. "f"
  27209. );
  27210. insert into sysbldobjdepends
  27211. (
  27212. bld_id,
  27213. obj_kind,
  27214. obj_signature,
  27215. obj_owner,
  27216. need_obj_kind,
  27217. need_obj_signature,
  27218. need_obj_owner)
  27219. values
  27220. (
  27221. "%SYSBLDNAME%",
  27222. 69, "root (TimeSeries,money)",
  27223. "%SYSBLDUSER%",
  27224. 5, "root (TimeSeries,money)",
  27225. "%SYSBLDUSER%"
  27226. );
  27227. insert into sysbldobjects
  27228. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27229. create_can_fail, drop_sql, drop_can_fail)
  27230. values
  27231. (
  27232. "%SYSBLDNAME%", 5, "root (real,TimeSeries)",
  27233. "%SYSBLDUSER%", 0,
  27234. "create function root (real,TimeSeries)
  27235. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27236. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27237. ",
  27238. "f",
  27239. "drop function root (real,TimeSeries);
  27240. ",
  27241. "f"
  27242. );
  27243. insert into sysbldobjdepends
  27244. (
  27245. bld_id,
  27246. obj_kind,
  27247. obj_signature,
  27248. obj_owner,
  27249. need_obj_kind,
  27250. need_obj_signature,
  27251. need_obj_owner)
  27252. values
  27253. (
  27254. "%SYSBLDNAME%",
  27255. 5, "root (real,TimeSeries)",
  27256. "%SYSBLDUSER%",
  27257. 7, "TimeSeries",
  27258. "%SYSBLDUSER%"
  27259. );
  27260. insert into sysbldobjects
  27261. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27262. create_can_fail, drop_sql, drop_can_fail)
  27263. values
  27264. (
  27265. "%SYSBLDNAME%", 69, "root (real,TimeSeries)",
  27266. "%SYSBLDUSER%", 0,
  27267. "grant execute on function root (real,TimeSeries) to public;
  27268. ",
  27269. "f",
  27270. "",
  27271. "f"
  27272. );
  27273. insert into sysbldobjdepends
  27274. (
  27275. bld_id,
  27276. obj_kind,
  27277. obj_signature,
  27278. obj_owner,
  27279. need_obj_kind,
  27280. need_obj_signature,
  27281. need_obj_owner)
  27282. values
  27283. (
  27284. "%SYSBLDNAME%",
  27285. 69, "root (real,TimeSeries)",
  27286. "%SYSBLDUSER%",
  27287. 5, "root (real,TimeSeries)",
  27288. "%SYSBLDUSER%"
  27289. );
  27290. insert into sysbldobjects
  27291. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27292. create_can_fail, drop_sql, drop_can_fail)
  27293. values
  27294. (
  27295. "%SYSBLDNAME%", 5, "root (TimeSeries,real)",
  27296. "%SYSBLDUSER%", 0,
  27297. "create function root (TimeSeries,real)
  27298. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27299. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27300. ",
  27301. "f",
  27302. "drop function root (TimeSeries,real);
  27303. ",
  27304. "f"
  27305. );
  27306. insert into sysbldobjdepends
  27307. (
  27308. bld_id,
  27309. obj_kind,
  27310. obj_signature,
  27311. obj_owner,
  27312. need_obj_kind,
  27313. need_obj_signature,
  27314. need_obj_owner)
  27315. values
  27316. (
  27317. "%SYSBLDNAME%",
  27318. 5, "root (TimeSeries,real)",
  27319. "%SYSBLDUSER%",
  27320. 7, "TimeSeries",
  27321. "%SYSBLDUSER%"
  27322. );
  27323. insert into sysbldobjects
  27324. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27325. create_can_fail, drop_sql, drop_can_fail)
  27326. values
  27327. (
  27328. "%SYSBLDNAME%", 69, "root (TimeSeries,real)",
  27329. "%SYSBLDUSER%", 0,
  27330. "grant execute on function root (TimeSeries,real) to public;
  27331. ",
  27332. "f",
  27333. "",
  27334. "f"
  27335. );
  27336. insert into sysbldobjdepends
  27337. (
  27338. bld_id,
  27339. obj_kind,
  27340. obj_signature,
  27341. obj_owner,
  27342. need_obj_kind,
  27343. need_obj_signature,
  27344. need_obj_owner)
  27345. values
  27346. (
  27347. "%SYSBLDNAME%",
  27348. 69, "root (TimeSeries,real)",
  27349. "%SYSBLDUSER%",
  27350. 5, "root (TimeSeries,real)",
  27351. "%SYSBLDUSER%"
  27352. );
  27353. insert into sysbldobjects
  27354. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27355. create_can_fail, drop_sql, drop_can_fail)
  27356. values
  27357. (
  27358. "%SYSBLDNAME%", 5, "root (smallint,TimeSeries)",
  27359. "%SYSBLDUSER%", 0,
  27360. "create function root (smallint,TimeSeries)
  27361. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27362. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27363. ",
  27364. "f",
  27365. "drop function root (smallint,TimeSeries);
  27366. ",
  27367. "f"
  27368. );
  27369. insert into sysbldobjdepends
  27370. (
  27371. bld_id,
  27372. obj_kind,
  27373. obj_signature,
  27374. obj_owner,
  27375. need_obj_kind,
  27376. need_obj_signature,
  27377. need_obj_owner)
  27378. values
  27379. (
  27380. "%SYSBLDNAME%",
  27381. 5, "root (smallint,TimeSeries)",
  27382. "%SYSBLDUSER%",
  27383. 7, "TimeSeries",
  27384. "%SYSBLDUSER%"
  27385. );
  27386. insert into sysbldobjects
  27387. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27388. create_can_fail, drop_sql, drop_can_fail)
  27389. values
  27390. (
  27391. "%SYSBLDNAME%", 69, "root (smallint,TimeSeries)",
  27392. "%SYSBLDUSER%", 0,
  27393. "grant execute on function root (smallint,TimeSeries) to public;
  27394. ",
  27395. "f",
  27396. "",
  27397. "f"
  27398. );
  27399. insert into sysbldobjdepends
  27400. (
  27401. bld_id,
  27402. obj_kind,
  27403. obj_signature,
  27404. obj_owner,
  27405. need_obj_kind,
  27406. need_obj_signature,
  27407. need_obj_owner)
  27408. values
  27409. (
  27410. "%SYSBLDNAME%",
  27411. 69, "root (smallint,TimeSeries)",
  27412. "%SYSBLDUSER%",
  27413. 5, "root (smallint,TimeSeries)",
  27414. "%SYSBLDUSER%"
  27415. );
  27416. insert into sysbldobjects
  27417. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27418. create_can_fail, drop_sql, drop_can_fail)
  27419. values
  27420. (
  27421. "%SYSBLDNAME%", 5, "root (TimeSeries,smallint)",
  27422. "%SYSBLDUSER%", 0,
  27423. "create function root (TimeSeries,smallint)
  27424. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27425. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27426. ",
  27427. "f",
  27428. "drop function root (TimeSeries,smallint);
  27429. ",
  27430. "f"
  27431. );
  27432. insert into sysbldobjdepends
  27433. (
  27434. bld_id,
  27435. obj_kind,
  27436. obj_signature,
  27437. obj_owner,
  27438. need_obj_kind,
  27439. need_obj_signature,
  27440. need_obj_owner)
  27441. values
  27442. (
  27443. "%SYSBLDNAME%",
  27444. 5, "root (TimeSeries,smallint)",
  27445. "%SYSBLDUSER%",
  27446. 7, "TimeSeries",
  27447. "%SYSBLDUSER%"
  27448. );
  27449. insert into sysbldobjects
  27450. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27451. create_can_fail, drop_sql, drop_can_fail)
  27452. values
  27453. (
  27454. "%SYSBLDNAME%", 69, "root (TimeSeries,smallint)",
  27455. "%SYSBLDUSER%", 0,
  27456. "grant execute on function root (TimeSeries,smallint) to public;
  27457. ",
  27458. "f",
  27459. "",
  27460. "f"
  27461. );
  27462. insert into sysbldobjdepends
  27463. (
  27464. bld_id,
  27465. obj_kind,
  27466. obj_signature,
  27467. obj_owner,
  27468. need_obj_kind,
  27469. need_obj_signature,
  27470. need_obj_owner)
  27471. values
  27472. (
  27473. "%SYSBLDNAME%",
  27474. 69, "root (TimeSeries,smallint)",
  27475. "%SYSBLDUSER%",
  27476. 5, "root (TimeSeries,smallint)",
  27477. "%SYSBLDUSER%"
  27478. );
  27479. insert into sysbldobjects
  27480. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27481. create_can_fail, drop_sql, drop_can_fail)
  27482. values
  27483. (
  27484. "%SYSBLDNAME%", 5, "root (row,TimeSeries)",
  27485. "%SYSBLDUSER%", 0,
  27486. "create function root (row,TimeSeries)
  27487. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27488. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27489. ",
  27490. "f",
  27491. "drop function root (row,TimeSeries);
  27492. ",
  27493. "f"
  27494. );
  27495. insert into sysbldobjdepends
  27496. (
  27497. bld_id,
  27498. obj_kind,
  27499. obj_signature,
  27500. obj_owner,
  27501. need_obj_kind,
  27502. need_obj_signature,
  27503. need_obj_owner)
  27504. values
  27505. (
  27506. "%SYSBLDNAME%",
  27507. 5, "root (row,TimeSeries)",
  27508. "%SYSBLDUSER%",
  27509. 7, "TimeSeries",
  27510. "%SYSBLDUSER%"
  27511. );
  27512. insert into sysbldobjects
  27513. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27514. create_can_fail, drop_sql, drop_can_fail)
  27515. values
  27516. (
  27517. "%SYSBLDNAME%", 69, "root (row,TimeSeries)",
  27518. "%SYSBLDUSER%", 0,
  27519. "grant execute on function root (row,TimeSeries) to public;
  27520. ",
  27521. "f",
  27522. "",
  27523. "f"
  27524. );
  27525. insert into sysbldobjdepends
  27526. (
  27527. bld_id,
  27528. obj_kind,
  27529. obj_signature,
  27530. obj_owner,
  27531. need_obj_kind,
  27532. need_obj_signature,
  27533. need_obj_owner)
  27534. values
  27535. (
  27536. "%SYSBLDNAME%",
  27537. 69, "root (row,TimeSeries)",
  27538. "%SYSBLDUSER%",
  27539. 5, "root (row,TimeSeries)",
  27540. "%SYSBLDUSER%"
  27541. );
  27542. insert into sysbldobjects
  27543. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27544. create_can_fail, drop_sql, drop_can_fail)
  27545. values
  27546. (
  27547. "%SYSBLDNAME%", 5, "root (TimeSeries,row)",
  27548. "%SYSBLDUSER%", 0,
  27549. "create function root (TimeSeries,row)
  27550. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27551. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;
  27552. ",
  27553. "f",
  27554. "drop function root (TimeSeries,row);
  27555. ",
  27556. "f"
  27557. );
  27558. insert into sysbldobjdepends
  27559. (
  27560. bld_id,
  27561. obj_kind,
  27562. obj_signature,
  27563. obj_owner,
  27564. need_obj_kind,
  27565. need_obj_signature,
  27566. need_obj_owner)
  27567. values
  27568. (
  27569. "%SYSBLDNAME%",
  27570. 5, "root (TimeSeries,row)",
  27571. "%SYSBLDUSER%",
  27572. 7, "TimeSeries",
  27573. "%SYSBLDUSER%"
  27574. );
  27575. insert into sysbldobjects
  27576. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27577. create_can_fail, drop_sql, drop_can_fail)
  27578. values
  27579. (
  27580. "%SYSBLDNAME%", 69, "root (TimeSeries,row)",
  27581. "%SYSBLDUSER%", 0,
  27582. "grant execute on function root (TimeSeries,row) to public;
  27583. ",
  27584. "f",
  27585. "",
  27586. "f"
  27587. );
  27588. insert into sysbldobjdepends
  27589. (
  27590. bld_id,
  27591. obj_kind,
  27592. obj_signature,
  27593. obj_owner,
  27594. need_obj_kind,
  27595. need_obj_signature,
  27596. need_obj_owner)
  27597. values
  27598. (
  27599. "%SYSBLDNAME%",
  27600. 69, "root (TimeSeries,row)",
  27601. "%SYSBLDUSER%",
  27602. 5, "root (TimeSeries,row)",
  27603. "%SYSBLDUSER%"
  27604. );
  27605. insert into sysbldobjects
  27606. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27607. create_can_fail, drop_sql, drop_can_fail)
  27608. values
  27609. (
  27610. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,TimeSeries)",
  27611. "%SYSBLDUSER%", 0,
  27612. "create function atan2 (TimeSeries,TimeSeries)
  27613. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27614. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27615. ",
  27616. "f",
  27617. "drop function atan2 (TimeSeries,TimeSeries);
  27618. ",
  27619. "f"
  27620. );
  27621. insert into sysbldobjdepends
  27622. (
  27623. bld_id,
  27624. obj_kind,
  27625. obj_signature,
  27626. obj_owner,
  27627. need_obj_kind,
  27628. need_obj_signature,
  27629. need_obj_owner)
  27630. values
  27631. (
  27632. "%SYSBLDNAME%",
  27633. 5, "atan2 (TimeSeries,TimeSeries)",
  27634. "%SYSBLDUSER%",
  27635. 7, "TimeSeries",
  27636. "%SYSBLDUSER%"
  27637. );
  27638. insert into sysbldobjects
  27639. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27640. create_can_fail, drop_sql, drop_can_fail)
  27641. values
  27642. (
  27643. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,TimeSeries)",
  27644. "%SYSBLDUSER%", 0,
  27645. "grant execute on function atan2 (TimeSeries,TimeSeries) to public;
  27646. ",
  27647. "f",
  27648. "",
  27649. "f"
  27650. );
  27651. insert into sysbldobjdepends
  27652. (
  27653. bld_id,
  27654. obj_kind,
  27655. obj_signature,
  27656. obj_owner,
  27657. need_obj_kind,
  27658. need_obj_signature,
  27659. need_obj_owner)
  27660. values
  27661. (
  27662. "%SYSBLDNAME%",
  27663. 69, "atan2 (TimeSeries,TimeSeries)",
  27664. "%SYSBLDUSER%",
  27665. 5, "atan2 (TimeSeries,TimeSeries)",
  27666. "%SYSBLDUSER%"
  27667. );
  27668. insert into sysbldobjects
  27669. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27670. create_can_fail, drop_sql, drop_can_fail)
  27671. values
  27672. (
  27673. "%SYSBLDNAME%", 5, "atan2 (decimal,TimeSeries)",
  27674. "%SYSBLDUSER%", 0,
  27675. "create function atan2 (decimal,TimeSeries)
  27676. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27677. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27678. ",
  27679. "f",
  27680. "drop function atan2 (decimal,TimeSeries);
  27681. ",
  27682. "f"
  27683. );
  27684. insert into sysbldobjdepends
  27685. (
  27686. bld_id,
  27687. obj_kind,
  27688. obj_signature,
  27689. obj_owner,
  27690. need_obj_kind,
  27691. need_obj_signature,
  27692. need_obj_owner)
  27693. values
  27694. (
  27695. "%SYSBLDNAME%",
  27696. 5, "atan2 (decimal,TimeSeries)",
  27697. "%SYSBLDUSER%",
  27698. 7, "TimeSeries",
  27699. "%SYSBLDUSER%"
  27700. );
  27701. insert into sysbldobjects
  27702. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27703. create_can_fail, drop_sql, drop_can_fail)
  27704. values
  27705. (
  27706. "%SYSBLDNAME%", 69, "atan2 (decimal,TimeSeries)",
  27707. "%SYSBLDUSER%", 0,
  27708. "grant execute on function atan2 (decimal,TimeSeries) to public;
  27709. ",
  27710. "f",
  27711. "",
  27712. "f"
  27713. );
  27714. insert into sysbldobjdepends
  27715. (
  27716. bld_id,
  27717. obj_kind,
  27718. obj_signature,
  27719. obj_owner,
  27720. need_obj_kind,
  27721. need_obj_signature,
  27722. need_obj_owner)
  27723. values
  27724. (
  27725. "%SYSBLDNAME%",
  27726. 69, "atan2 (decimal,TimeSeries)",
  27727. "%SYSBLDUSER%",
  27728. 5, "atan2 (decimal,TimeSeries)",
  27729. "%SYSBLDUSER%"
  27730. );
  27731. insert into sysbldobjects
  27732. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27733. create_can_fail, drop_sql, drop_can_fail)
  27734. values
  27735. (
  27736. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,decimal)",
  27737. "%SYSBLDUSER%", 0,
  27738. "create function atan2 (TimeSeries,decimal)
  27739. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27740. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27741. ",
  27742. "f",
  27743. "drop function atan2 (TimeSeries,decimal);
  27744. ",
  27745. "f"
  27746. );
  27747. insert into sysbldobjdepends
  27748. (
  27749. bld_id,
  27750. obj_kind,
  27751. obj_signature,
  27752. obj_owner,
  27753. need_obj_kind,
  27754. need_obj_signature,
  27755. need_obj_owner)
  27756. values
  27757. (
  27758. "%SYSBLDNAME%",
  27759. 5, "atan2 (TimeSeries,decimal)",
  27760. "%SYSBLDUSER%",
  27761. 7, "TimeSeries",
  27762. "%SYSBLDUSER%"
  27763. );
  27764. insert into sysbldobjects
  27765. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27766. create_can_fail, drop_sql, drop_can_fail)
  27767. values
  27768. (
  27769. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,decimal)",
  27770. "%SYSBLDUSER%", 0,
  27771. "grant execute on function atan2 (TimeSeries,decimal) to public;
  27772. ",
  27773. "f",
  27774. "",
  27775. "f"
  27776. );
  27777. insert into sysbldobjdepends
  27778. (
  27779. bld_id,
  27780. obj_kind,
  27781. obj_signature,
  27782. obj_owner,
  27783. need_obj_kind,
  27784. need_obj_signature,
  27785. need_obj_owner)
  27786. values
  27787. (
  27788. "%SYSBLDNAME%",
  27789. 69, "atan2 (TimeSeries,decimal)",
  27790. "%SYSBLDUSER%",
  27791. 5, "atan2 (TimeSeries,decimal)",
  27792. "%SYSBLDUSER%"
  27793. );
  27794. insert into sysbldobjects
  27795. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27796. create_can_fail, drop_sql, drop_can_fail)
  27797. values
  27798. (
  27799. "%SYSBLDNAME%", 5, "atan2 (float,TimeSeries)",
  27800. "%SYSBLDUSER%", 0,
  27801. "create function atan2 (float,TimeSeries)
  27802. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27803. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27804. ",
  27805. "f",
  27806. "drop function atan2 (float,TimeSeries);
  27807. ",
  27808. "f"
  27809. );
  27810. insert into sysbldobjdepends
  27811. (
  27812. bld_id,
  27813. obj_kind,
  27814. obj_signature,
  27815. obj_owner,
  27816. need_obj_kind,
  27817. need_obj_signature,
  27818. need_obj_owner)
  27819. values
  27820. (
  27821. "%SYSBLDNAME%",
  27822. 5, "atan2 (float,TimeSeries)",
  27823. "%SYSBLDUSER%",
  27824. 7, "TimeSeries",
  27825. "%SYSBLDUSER%"
  27826. );
  27827. insert into sysbldobjects
  27828. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27829. create_can_fail, drop_sql, drop_can_fail)
  27830. values
  27831. (
  27832. "%SYSBLDNAME%", 69, "atan2 (float,TimeSeries)",
  27833. "%SYSBLDUSER%", 0,
  27834. "grant execute on function atan2 (float,TimeSeries) to public;
  27835. ",
  27836. "f",
  27837. "",
  27838. "f"
  27839. );
  27840. insert into sysbldobjdepends
  27841. (
  27842. bld_id,
  27843. obj_kind,
  27844. obj_signature,
  27845. obj_owner,
  27846. need_obj_kind,
  27847. need_obj_signature,
  27848. need_obj_owner)
  27849. values
  27850. (
  27851. "%SYSBLDNAME%",
  27852. 69, "atan2 (float,TimeSeries)",
  27853. "%SYSBLDUSER%",
  27854. 5, "atan2 (float,TimeSeries)",
  27855. "%SYSBLDUSER%"
  27856. );
  27857. insert into sysbldobjects
  27858. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27859. create_can_fail, drop_sql, drop_can_fail)
  27860. values
  27861. (
  27862. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,float)",
  27863. "%SYSBLDUSER%", 0,
  27864. "create function atan2 (TimeSeries,float)
  27865. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27866. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27867. ",
  27868. "f",
  27869. "drop function atan2 (TimeSeries,float);
  27870. ",
  27871. "f"
  27872. );
  27873. insert into sysbldobjdepends
  27874. (
  27875. bld_id,
  27876. obj_kind,
  27877. obj_signature,
  27878. obj_owner,
  27879. need_obj_kind,
  27880. need_obj_signature,
  27881. need_obj_owner)
  27882. values
  27883. (
  27884. "%SYSBLDNAME%",
  27885. 5, "atan2 (TimeSeries,float)",
  27886. "%SYSBLDUSER%",
  27887. 7, "TimeSeries",
  27888. "%SYSBLDUSER%"
  27889. );
  27890. insert into sysbldobjects
  27891. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27892. create_can_fail, drop_sql, drop_can_fail)
  27893. values
  27894. (
  27895. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,float)",
  27896. "%SYSBLDUSER%", 0,
  27897. "grant execute on function atan2 (TimeSeries,float) to public;
  27898. ",
  27899. "f",
  27900. "",
  27901. "f"
  27902. );
  27903. insert into sysbldobjdepends
  27904. (
  27905. bld_id,
  27906. obj_kind,
  27907. obj_signature,
  27908. obj_owner,
  27909. need_obj_kind,
  27910. need_obj_signature,
  27911. need_obj_owner)
  27912. values
  27913. (
  27914. "%SYSBLDNAME%",
  27915. 69, "atan2 (TimeSeries,float)",
  27916. "%SYSBLDUSER%",
  27917. 5, "atan2 (TimeSeries,float)",
  27918. "%SYSBLDUSER%"
  27919. );
  27920. insert into sysbldobjects
  27921. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27922. create_can_fail, drop_sql, drop_can_fail)
  27923. values
  27924. (
  27925. "%SYSBLDNAME%", 5, "atan2 (int,TimeSeries)",
  27926. "%SYSBLDUSER%", 0,
  27927. "create function atan2 (int,TimeSeries)
  27928. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27929. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27930. ",
  27931. "f",
  27932. "drop function atan2 (int,TimeSeries);
  27933. ",
  27934. "f"
  27935. );
  27936. insert into sysbldobjdepends
  27937. (
  27938. bld_id,
  27939. obj_kind,
  27940. obj_signature,
  27941. obj_owner,
  27942. need_obj_kind,
  27943. need_obj_signature,
  27944. need_obj_owner)
  27945. values
  27946. (
  27947. "%SYSBLDNAME%",
  27948. 5, "atan2 (int,TimeSeries)",
  27949. "%SYSBLDUSER%",
  27950. 7, "TimeSeries",
  27951. "%SYSBLDUSER%"
  27952. );
  27953. insert into sysbldobjects
  27954. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27955. create_can_fail, drop_sql, drop_can_fail)
  27956. values
  27957. (
  27958. "%SYSBLDNAME%", 69, "atan2 (int,TimeSeries)",
  27959. "%SYSBLDUSER%", 0,
  27960. "grant execute on function atan2 (int,TimeSeries) to public;
  27961. ",
  27962. "f",
  27963. "",
  27964. "f"
  27965. );
  27966. insert into sysbldobjdepends
  27967. (
  27968. bld_id,
  27969. obj_kind,
  27970. obj_signature,
  27971. obj_owner,
  27972. need_obj_kind,
  27973. need_obj_signature,
  27974. need_obj_owner)
  27975. values
  27976. (
  27977. "%SYSBLDNAME%",
  27978. 69, "atan2 (int,TimeSeries)",
  27979. "%SYSBLDUSER%",
  27980. 5, "atan2 (int,TimeSeries)",
  27981. "%SYSBLDUSER%"
  27982. );
  27983. insert into sysbldobjects
  27984. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  27985. create_can_fail, drop_sql, drop_can_fail)
  27986. values
  27987. (
  27988. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,int)",
  27989. "%SYSBLDUSER%", 0,
  27990. "create function atan2 (TimeSeries,int)
  27991. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  27992. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  27993. ",
  27994. "f",
  27995. "drop function atan2 (TimeSeries,int);
  27996. ",
  27997. "f"
  27998. );
  27999. insert into sysbldobjdepends
  28000. (
  28001. bld_id,
  28002. obj_kind,
  28003. obj_signature,
  28004. obj_owner,
  28005. need_obj_kind,
  28006. need_obj_signature,
  28007. need_obj_owner)
  28008. values
  28009. (
  28010. "%SYSBLDNAME%",
  28011. 5, "atan2 (TimeSeries,int)",
  28012. "%SYSBLDUSER%",
  28013. 7, "TimeSeries",
  28014. "%SYSBLDUSER%"
  28015. );
  28016. insert into sysbldobjects
  28017. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28018. create_can_fail, drop_sql, drop_can_fail)
  28019. values
  28020. (
  28021. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,int)",
  28022. "%SYSBLDUSER%", 0,
  28023. "grant execute on function atan2 (TimeSeries,int) to public;
  28024. ",
  28025. "f",
  28026. "",
  28027. "f"
  28028. );
  28029. insert into sysbldobjdepends
  28030. (
  28031. bld_id,
  28032. obj_kind,
  28033. obj_signature,
  28034. obj_owner,
  28035. need_obj_kind,
  28036. need_obj_signature,
  28037. need_obj_owner)
  28038. values
  28039. (
  28040. "%SYSBLDNAME%",
  28041. 69, "atan2 (TimeSeries,int)",
  28042. "%SYSBLDUSER%",
  28043. 5, "atan2 (TimeSeries,int)",
  28044. "%SYSBLDUSER%"
  28045. );
  28046. insert into sysbldobjects
  28047. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28048. create_can_fail, drop_sql, drop_can_fail)
  28049. values
  28050. (
  28051. "%SYSBLDNAME%", 5, "atan2 (money,TimeSeries)",
  28052. "%SYSBLDUSER%", 0,
  28053. "create function atan2 (money,TimeSeries)
  28054. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28055. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28056. ",
  28057. "f",
  28058. "drop function atan2 (money,TimeSeries);
  28059. ",
  28060. "f"
  28061. );
  28062. insert into sysbldobjdepends
  28063. (
  28064. bld_id,
  28065. obj_kind,
  28066. obj_signature,
  28067. obj_owner,
  28068. need_obj_kind,
  28069. need_obj_signature,
  28070. need_obj_owner)
  28071. values
  28072. (
  28073. "%SYSBLDNAME%",
  28074. 5, "atan2 (money,TimeSeries)",
  28075. "%SYSBLDUSER%",
  28076. 7, "TimeSeries",
  28077. "%SYSBLDUSER%"
  28078. );
  28079. insert into sysbldobjects
  28080. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28081. create_can_fail, drop_sql, drop_can_fail)
  28082. values
  28083. (
  28084. "%SYSBLDNAME%", 69, "atan2 (money,TimeSeries)",
  28085. "%SYSBLDUSER%", 0,
  28086. "grant execute on function atan2 (money,TimeSeries) to public;
  28087. ",
  28088. "f",
  28089. "",
  28090. "f"
  28091. );
  28092. insert into sysbldobjdepends
  28093. (
  28094. bld_id,
  28095. obj_kind,
  28096. obj_signature,
  28097. obj_owner,
  28098. need_obj_kind,
  28099. need_obj_signature,
  28100. need_obj_owner)
  28101. values
  28102. (
  28103. "%SYSBLDNAME%",
  28104. 69, "atan2 (money,TimeSeries)",
  28105. "%SYSBLDUSER%",
  28106. 5, "atan2 (money,TimeSeries)",
  28107. "%SYSBLDUSER%"
  28108. );
  28109. insert into sysbldobjects
  28110. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28111. create_can_fail, drop_sql, drop_can_fail)
  28112. values
  28113. (
  28114. "%SYSBLDNAME%", 5, "atan2 (real,TimeSeries)",
  28115. "%SYSBLDUSER%", 0,
  28116. "create function atan2 (real,TimeSeries)
  28117. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28118. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28119. ",
  28120. "f",
  28121. "drop function atan2 (real,TimeSeries);
  28122. ",
  28123. "f"
  28124. );
  28125. insert into sysbldobjdepends
  28126. (
  28127. bld_id,
  28128. obj_kind,
  28129. obj_signature,
  28130. obj_owner,
  28131. need_obj_kind,
  28132. need_obj_signature,
  28133. need_obj_owner)
  28134. values
  28135. (
  28136. "%SYSBLDNAME%",
  28137. 5, "atan2 (real,TimeSeries)",
  28138. "%SYSBLDUSER%",
  28139. 7, "TimeSeries",
  28140. "%SYSBLDUSER%"
  28141. );
  28142. insert into sysbldobjects
  28143. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28144. create_can_fail, drop_sql, drop_can_fail)
  28145. values
  28146. (
  28147. "%SYSBLDNAME%", 69, "atan2 (real,TimeSeries)",
  28148. "%SYSBLDUSER%", 0,
  28149. "grant execute on function atan2 (real,TimeSeries) to public;
  28150. ",
  28151. "f",
  28152. "",
  28153. "f"
  28154. );
  28155. insert into sysbldobjdepends
  28156. (
  28157. bld_id,
  28158. obj_kind,
  28159. obj_signature,
  28160. obj_owner,
  28161. need_obj_kind,
  28162. need_obj_signature,
  28163. need_obj_owner)
  28164. values
  28165. (
  28166. "%SYSBLDNAME%",
  28167. 69, "atan2 (real,TimeSeries)",
  28168. "%SYSBLDUSER%",
  28169. 5, "atan2 (real,TimeSeries)",
  28170. "%SYSBLDUSER%"
  28171. );
  28172. insert into sysbldobjects
  28173. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28174. create_can_fail, drop_sql, drop_can_fail)
  28175. values
  28176. (
  28177. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,real)",
  28178. "%SYSBLDUSER%", 0,
  28179. "create function atan2 (TimeSeries,real)
  28180. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28181. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28182. ",
  28183. "f",
  28184. "drop function atan2 (TimeSeries,real);
  28185. ",
  28186. "f"
  28187. );
  28188. insert into sysbldobjdepends
  28189. (
  28190. bld_id,
  28191. obj_kind,
  28192. obj_signature,
  28193. obj_owner,
  28194. need_obj_kind,
  28195. need_obj_signature,
  28196. need_obj_owner)
  28197. values
  28198. (
  28199. "%SYSBLDNAME%",
  28200. 5, "atan2 (TimeSeries,real)",
  28201. "%SYSBLDUSER%",
  28202. 7, "TimeSeries",
  28203. "%SYSBLDUSER%"
  28204. );
  28205. insert into sysbldobjects
  28206. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28207. create_can_fail, drop_sql, drop_can_fail)
  28208. values
  28209. (
  28210. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,real)",
  28211. "%SYSBLDUSER%", 0,
  28212. "grant execute on function atan2 (TimeSeries,real) to public;
  28213. ",
  28214. "f",
  28215. "",
  28216. "f"
  28217. );
  28218. insert into sysbldobjdepends
  28219. (
  28220. bld_id,
  28221. obj_kind,
  28222. obj_signature,
  28223. obj_owner,
  28224. need_obj_kind,
  28225. need_obj_signature,
  28226. need_obj_owner)
  28227. values
  28228. (
  28229. "%SYSBLDNAME%",
  28230. 69, "atan2 (TimeSeries,real)",
  28231. "%SYSBLDUSER%",
  28232. 5, "atan2 (TimeSeries,real)",
  28233. "%SYSBLDUSER%"
  28234. );
  28235. insert into sysbldobjects
  28236. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28237. create_can_fail, drop_sql, drop_can_fail)
  28238. values
  28239. (
  28240. "%SYSBLDNAME%", 5, "atan2 (smallint,TimeSeries)",
  28241. "%SYSBLDUSER%", 0,
  28242. "create function atan2 (smallint,TimeSeries)
  28243. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28244. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28245. ",
  28246. "f",
  28247. "drop function atan2 (smallint,TimeSeries);
  28248. ",
  28249. "f"
  28250. );
  28251. insert into sysbldobjdepends
  28252. (
  28253. bld_id,
  28254. obj_kind,
  28255. obj_signature,
  28256. obj_owner,
  28257. need_obj_kind,
  28258. need_obj_signature,
  28259. need_obj_owner)
  28260. values
  28261. (
  28262. "%SYSBLDNAME%",
  28263. 5, "atan2 (smallint,TimeSeries)",
  28264. "%SYSBLDUSER%",
  28265. 7, "TimeSeries",
  28266. "%SYSBLDUSER%"
  28267. );
  28268. insert into sysbldobjects
  28269. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28270. create_can_fail, drop_sql, drop_can_fail)
  28271. values
  28272. (
  28273. "%SYSBLDNAME%", 69, "atan2 (smallint,TimeSeries)",
  28274. "%SYSBLDUSER%", 0,
  28275. "grant execute on function atan2 (smallint,TimeSeries) to public;
  28276. ",
  28277. "f",
  28278. "",
  28279. "f"
  28280. );
  28281. insert into sysbldobjdepends
  28282. (
  28283. bld_id,
  28284. obj_kind,
  28285. obj_signature,
  28286. obj_owner,
  28287. need_obj_kind,
  28288. need_obj_signature,
  28289. need_obj_owner)
  28290. values
  28291. (
  28292. "%SYSBLDNAME%",
  28293. 69, "atan2 (smallint,TimeSeries)",
  28294. "%SYSBLDUSER%",
  28295. 5, "atan2 (smallint,TimeSeries)",
  28296. "%SYSBLDUSER%"
  28297. );
  28298. insert into sysbldobjects
  28299. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28300. create_can_fail, drop_sql, drop_can_fail)
  28301. values
  28302. (
  28303. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,smallint)",
  28304. "%SYSBLDUSER%", 0,
  28305. "create function atan2 (TimeSeries,smallint)
  28306. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28307. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28308. ",
  28309. "f",
  28310. "drop function atan2 (TimeSeries,smallint);
  28311. ",
  28312. "f"
  28313. );
  28314. insert into sysbldobjdepends
  28315. (
  28316. bld_id,
  28317. obj_kind,
  28318. obj_signature,
  28319. obj_owner,
  28320. need_obj_kind,
  28321. need_obj_signature,
  28322. need_obj_owner)
  28323. values
  28324. (
  28325. "%SYSBLDNAME%",
  28326. 5, "atan2 (TimeSeries,smallint)",
  28327. "%SYSBLDUSER%",
  28328. 7, "TimeSeries",
  28329. "%SYSBLDUSER%"
  28330. );
  28331. insert into sysbldobjects
  28332. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28333. create_can_fail, drop_sql, drop_can_fail)
  28334. values
  28335. (
  28336. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,smallint)",
  28337. "%SYSBLDUSER%", 0,
  28338. "grant execute on function atan2 (TimeSeries,smallint) to public;
  28339. ",
  28340. "f",
  28341. "",
  28342. "f"
  28343. );
  28344. insert into sysbldobjdepends
  28345. (
  28346. bld_id,
  28347. obj_kind,
  28348. obj_signature,
  28349. obj_owner,
  28350. need_obj_kind,
  28351. need_obj_signature,
  28352. need_obj_owner)
  28353. values
  28354. (
  28355. "%SYSBLDNAME%",
  28356. 69, "atan2 (TimeSeries,smallint)",
  28357. "%SYSBLDUSER%",
  28358. 5, "atan2 (TimeSeries,smallint)",
  28359. "%SYSBLDUSER%"
  28360. );
  28361. insert into sysbldobjects
  28362. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28363. create_can_fail, drop_sql, drop_can_fail)
  28364. values
  28365. (
  28366. "%SYSBLDNAME%", 5, "atan2 (row,TimeSeries)",
  28367. "%SYSBLDUSER%", 0,
  28368. "create function atan2 (row,TimeSeries)
  28369. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28370. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28371. ",
  28372. "f",
  28373. "drop function atan2 (row,TimeSeries);
  28374. ",
  28375. "f"
  28376. );
  28377. insert into sysbldobjdepends
  28378. (
  28379. bld_id,
  28380. obj_kind,
  28381. obj_signature,
  28382. obj_owner,
  28383. need_obj_kind,
  28384. need_obj_signature,
  28385. need_obj_owner)
  28386. values
  28387. (
  28388. "%SYSBLDNAME%",
  28389. 5, "atan2 (row,TimeSeries)",
  28390. "%SYSBLDUSER%",
  28391. 7, "TimeSeries",
  28392. "%SYSBLDUSER%"
  28393. );
  28394. insert into sysbldobjects
  28395. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28396. create_can_fail, drop_sql, drop_can_fail)
  28397. values
  28398. (
  28399. "%SYSBLDNAME%", 69, "atan2 (row,TimeSeries)",
  28400. "%SYSBLDUSER%", 0,
  28401. "grant execute on function atan2 (row,TimeSeries) to public;
  28402. ",
  28403. "f",
  28404. "",
  28405. "f"
  28406. );
  28407. insert into sysbldobjdepends
  28408. (
  28409. bld_id,
  28410. obj_kind,
  28411. obj_signature,
  28412. obj_owner,
  28413. need_obj_kind,
  28414. need_obj_signature,
  28415. need_obj_owner)
  28416. values
  28417. (
  28418. "%SYSBLDNAME%",
  28419. 69, "atan2 (row,TimeSeries)",
  28420. "%SYSBLDUSER%",
  28421. 5, "atan2 (row,TimeSeries)",
  28422. "%SYSBLDUSER%"
  28423. );
  28424. insert into sysbldobjects
  28425. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28426. create_can_fail, drop_sql, drop_can_fail)
  28427. values
  28428. (
  28429. "%SYSBLDNAME%", 5, "atan2 (TimeSeries,row)",
  28430. "%SYSBLDUSER%", 0,
  28431. "create function atan2 (TimeSeries,row)
  28432. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28433. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;
  28434. ",
  28435. "f",
  28436. "drop function atan2 (TimeSeries,row);
  28437. ",
  28438. "f"
  28439. );
  28440. insert into sysbldobjdepends
  28441. (
  28442. bld_id,
  28443. obj_kind,
  28444. obj_signature,
  28445. obj_owner,
  28446. need_obj_kind,
  28447. need_obj_signature,
  28448. need_obj_owner)
  28449. values
  28450. (
  28451. "%SYSBLDNAME%",
  28452. 5, "atan2 (TimeSeries,row)",
  28453. "%SYSBLDUSER%",
  28454. 7, "TimeSeries",
  28455. "%SYSBLDUSER%"
  28456. );
  28457. insert into sysbldobjects
  28458. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28459. create_can_fail, drop_sql, drop_can_fail)
  28460. values
  28461. (
  28462. "%SYSBLDNAME%", 69, "atan2 (TimeSeries,row)",
  28463. "%SYSBLDUSER%", 0,
  28464. "grant execute on function atan2 (TimeSeries,row) to public;
  28465. ",
  28466. "f",
  28467. "",
  28468. "f"
  28469. );
  28470. insert into sysbldobjdepends
  28471. (
  28472. bld_id,
  28473. obj_kind,
  28474. obj_signature,
  28475. obj_owner,
  28476. need_obj_kind,
  28477. need_obj_signature,
  28478. need_obj_owner)
  28479. values
  28480. (
  28481. "%SYSBLDNAME%",
  28482. 69, "atan2 (TimeSeries,row)",
  28483. "%SYSBLDUSER%",
  28484. 5, "atan2 (TimeSeries,row)",
  28485. "%SYSBLDUSER%"
  28486. );
  28487. insert into sysbldobjects
  28488. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28489. create_can_fail, drop_sql, drop_can_fail)
  28490. values
  28491. (
  28492. "%SYSBLDNAME%", 5, "negate (TimeSeries)",
  28493. "%SYSBLDUSER%", 0,
  28494. "create function negate (TimeSeries)
  28495. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28496. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_negate)"" language c;
  28497. ",
  28498. "f",
  28499. "drop function negate (TimeSeries);
  28500. ",
  28501. "f"
  28502. );
  28503. insert into sysbldobjdepends
  28504. (
  28505. bld_id,
  28506. obj_kind,
  28507. obj_signature,
  28508. obj_owner,
  28509. need_obj_kind,
  28510. need_obj_signature,
  28511. need_obj_owner)
  28512. values
  28513. (
  28514. "%SYSBLDNAME%",
  28515. 5, "negate (TimeSeries)",
  28516. "%SYSBLDUSER%",
  28517. 7, "TimeSeries",
  28518. "%SYSBLDUSER%"
  28519. );
  28520. insert into sysbldobjects
  28521. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28522. create_can_fail, drop_sql, drop_can_fail)
  28523. values
  28524. (
  28525. "%SYSBLDNAME%", 69, "negate (TimeSeries)",
  28526. "%SYSBLDUSER%", 0,
  28527. "grant execute on function negate (TimeSeries) to public;
  28528. ",
  28529. "f",
  28530. "",
  28531. "f"
  28532. );
  28533. insert into sysbldobjdepends
  28534. (
  28535. bld_id,
  28536. obj_kind,
  28537. obj_signature,
  28538. obj_owner,
  28539. need_obj_kind,
  28540. need_obj_signature,
  28541. need_obj_owner)
  28542. values
  28543. (
  28544. "%SYSBLDNAME%",
  28545. 69, "negate (TimeSeries)",
  28546. "%SYSBLDUSER%",
  28547. 5, "negate (TimeSeries)",
  28548. "%SYSBLDUSER%"
  28549. );
  28550. insert into sysbldobjects
  28551. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28552. create_can_fail, drop_sql, drop_can_fail)
  28553. values
  28554. (
  28555. "%SYSBLDNAME%", 5, "positive (TimeSeries)",
  28556. "%SYSBLDUSER%", 0,
  28557. "create function positive (TimeSeries)
  28558. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28559. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_positive)"" language c;
  28560. ",
  28561. "f",
  28562. "drop function positive (TimeSeries);
  28563. ",
  28564. "f"
  28565. );
  28566. insert into sysbldobjdepends
  28567. (
  28568. bld_id,
  28569. obj_kind,
  28570. obj_signature,
  28571. obj_owner,
  28572. need_obj_kind,
  28573. need_obj_signature,
  28574. need_obj_owner)
  28575. values
  28576. (
  28577. "%SYSBLDNAME%",
  28578. 5, "positive (TimeSeries)",
  28579. "%SYSBLDUSER%",
  28580. 7, "TimeSeries",
  28581. "%SYSBLDUSER%"
  28582. );
  28583. insert into sysbldobjects
  28584. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28585. create_can_fail, drop_sql, drop_can_fail)
  28586. values
  28587. (
  28588. "%SYSBLDNAME%", 69, "positive (TimeSeries)",
  28589. "%SYSBLDUSER%", 0,
  28590. "grant execute on function positive (TimeSeries) to public;
  28591. ",
  28592. "f",
  28593. "",
  28594. "f"
  28595. );
  28596. insert into sysbldobjdepends
  28597. (
  28598. bld_id,
  28599. obj_kind,
  28600. obj_signature,
  28601. obj_owner,
  28602. need_obj_kind,
  28603. need_obj_signature,
  28604. need_obj_owner)
  28605. values
  28606. (
  28607. "%SYSBLDNAME%",
  28608. 69, "positive (TimeSeries)",
  28609. "%SYSBLDUSER%",
  28610. 5, "positive (TimeSeries)",
  28611. "%SYSBLDUSER%"
  28612. );
  28613. insert into sysbldobjects
  28614. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28615. create_can_fail, drop_sql, drop_can_fail)
  28616. values
  28617. (
  28618. "%SYSBLDNAME%", 5, "abs (TimeSeries)",
  28619. "%SYSBLDUSER%", 0,
  28620. "create function abs (TimeSeries)
  28621. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28622. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_abs)"" language c;
  28623. ",
  28624. "f",
  28625. "drop function abs (TimeSeries);
  28626. ",
  28627. "f"
  28628. );
  28629. insert into sysbldobjdepends
  28630. (
  28631. bld_id,
  28632. obj_kind,
  28633. obj_signature,
  28634. obj_owner,
  28635. need_obj_kind,
  28636. need_obj_signature,
  28637. need_obj_owner)
  28638. values
  28639. (
  28640. "%SYSBLDNAME%",
  28641. 5, "abs (TimeSeries)",
  28642. "%SYSBLDUSER%",
  28643. 7, "TimeSeries",
  28644. "%SYSBLDUSER%"
  28645. );
  28646. insert into sysbldobjects
  28647. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28648. create_can_fail, drop_sql, drop_can_fail)
  28649. values
  28650. (
  28651. "%SYSBLDNAME%", 69, "abs (TimeSeries)",
  28652. "%SYSBLDUSER%", 0,
  28653. "grant execute on function abs (TimeSeries) to public;
  28654. ",
  28655. "f",
  28656. "",
  28657. "f"
  28658. );
  28659. insert into sysbldobjdepends
  28660. (
  28661. bld_id,
  28662. obj_kind,
  28663. obj_signature,
  28664. obj_owner,
  28665. need_obj_kind,
  28666. need_obj_signature,
  28667. need_obj_owner)
  28668. values
  28669. (
  28670. "%SYSBLDNAME%",
  28671. 69, "abs (TimeSeries)",
  28672. "%SYSBLDUSER%",
  28673. 5, "abs (TimeSeries)",
  28674. "%SYSBLDUSER%"
  28675. );
  28676. insert into sysbldobjects
  28677. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28678. create_can_fail, drop_sql, drop_can_fail)
  28679. values
  28680. (
  28681. "%SYSBLDNAME%", 5, "sqrt (TimeSeries)",
  28682. "%SYSBLDUSER%", 0,
  28683. "create function sqrt (TimeSeries)
  28684. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28685. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_sqrt)"" language c;
  28686. ",
  28687. "f",
  28688. "drop function sqrt (TimeSeries);
  28689. ",
  28690. "f"
  28691. );
  28692. insert into sysbldobjdepends
  28693. (
  28694. bld_id,
  28695. obj_kind,
  28696. obj_signature,
  28697. obj_owner,
  28698. need_obj_kind,
  28699. need_obj_signature,
  28700. need_obj_owner)
  28701. values
  28702. (
  28703. "%SYSBLDNAME%",
  28704. 5, "sqrt (TimeSeries)",
  28705. "%SYSBLDUSER%",
  28706. 7, "TimeSeries",
  28707. "%SYSBLDUSER%"
  28708. );
  28709. insert into sysbldobjects
  28710. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28711. create_can_fail, drop_sql, drop_can_fail)
  28712. values
  28713. (
  28714. "%SYSBLDNAME%", 69, "sqrt (TimeSeries)",
  28715. "%SYSBLDUSER%", 0,
  28716. "grant execute on function sqrt (TimeSeries) to public;
  28717. ",
  28718. "f",
  28719. "",
  28720. "f"
  28721. );
  28722. insert into sysbldobjdepends
  28723. (
  28724. bld_id,
  28725. obj_kind,
  28726. obj_signature,
  28727. obj_owner,
  28728. need_obj_kind,
  28729. need_obj_signature,
  28730. need_obj_owner)
  28731. values
  28732. (
  28733. "%SYSBLDNAME%",
  28734. 69, "sqrt (TimeSeries)",
  28735. "%SYSBLDUSER%",
  28736. 5, "sqrt (TimeSeries)",
  28737. "%SYSBLDUSER%"
  28738. );
  28739. insert into sysbldobjects
  28740. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28741. create_can_fail, drop_sql, drop_can_fail)
  28742. values
  28743. (
  28744. "%SYSBLDNAME%", 5, "exp (TimeSeries)",
  28745. "%SYSBLDUSER%", 0,
  28746. "create function exp (TimeSeries)
  28747. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28748. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_exp)"" language c;
  28749. ",
  28750. "f",
  28751. "drop function exp (TimeSeries);
  28752. ",
  28753. "f"
  28754. );
  28755. insert into sysbldobjdepends
  28756. (
  28757. bld_id,
  28758. obj_kind,
  28759. obj_signature,
  28760. obj_owner,
  28761. need_obj_kind,
  28762. need_obj_signature,
  28763. need_obj_owner)
  28764. values
  28765. (
  28766. "%SYSBLDNAME%",
  28767. 5, "exp (TimeSeries)",
  28768. "%SYSBLDUSER%",
  28769. 7, "TimeSeries",
  28770. "%SYSBLDUSER%"
  28771. );
  28772. insert into sysbldobjects
  28773. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28774. create_can_fail, drop_sql, drop_can_fail)
  28775. values
  28776. (
  28777. "%SYSBLDNAME%", 69, "exp (TimeSeries)",
  28778. "%SYSBLDUSER%", 0,
  28779. "grant execute on function exp (TimeSeries) to public;
  28780. ",
  28781. "f",
  28782. "",
  28783. "f"
  28784. );
  28785. insert into sysbldobjdepends
  28786. (
  28787. bld_id,
  28788. obj_kind,
  28789. obj_signature,
  28790. obj_owner,
  28791. need_obj_kind,
  28792. need_obj_signature,
  28793. need_obj_owner)
  28794. values
  28795. (
  28796. "%SYSBLDNAME%",
  28797. 69, "exp (TimeSeries)",
  28798. "%SYSBLDUSER%",
  28799. 5, "exp (TimeSeries)",
  28800. "%SYSBLDUSER%"
  28801. );
  28802. insert into sysbldobjects
  28803. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28804. create_can_fail, drop_sql, drop_can_fail)
  28805. values
  28806. (
  28807. "%SYSBLDNAME%", 5, "logn (TimeSeries)",
  28808. "%SYSBLDUSER%", 0,
  28809. "create function logn (TimeSeries)
  28810. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28811. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_logn)"" language c;
  28812. ",
  28813. "f",
  28814. "drop function logn (TimeSeries);
  28815. ",
  28816. "f"
  28817. );
  28818. insert into sysbldobjdepends
  28819. (
  28820. bld_id,
  28821. obj_kind,
  28822. obj_signature,
  28823. obj_owner,
  28824. need_obj_kind,
  28825. need_obj_signature,
  28826. need_obj_owner)
  28827. values
  28828. (
  28829. "%SYSBLDNAME%",
  28830. 5, "logn (TimeSeries)",
  28831. "%SYSBLDUSER%",
  28832. 7, "TimeSeries",
  28833. "%SYSBLDUSER%"
  28834. );
  28835. insert into sysbldobjects
  28836. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28837. create_can_fail, drop_sql, drop_can_fail)
  28838. values
  28839. (
  28840. "%SYSBLDNAME%", 69, "logn (TimeSeries)",
  28841. "%SYSBLDUSER%", 0,
  28842. "grant execute on function logn (TimeSeries) to public;
  28843. ",
  28844. "f",
  28845. "",
  28846. "f"
  28847. );
  28848. insert into sysbldobjdepends
  28849. (
  28850. bld_id,
  28851. obj_kind,
  28852. obj_signature,
  28853. obj_owner,
  28854. need_obj_kind,
  28855. need_obj_signature,
  28856. need_obj_owner)
  28857. values
  28858. (
  28859. "%SYSBLDNAME%",
  28860. 69, "logn (TimeSeries)",
  28861. "%SYSBLDUSER%",
  28862. 5, "logn (TimeSeries)",
  28863. "%SYSBLDUSER%"
  28864. );
  28865. insert into sysbldobjects
  28866. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28867. create_can_fail, drop_sql, drop_can_fail)
  28868. values
  28869. (
  28870. "%SYSBLDNAME%", 5, "log10 (TimeSeries)",
  28871. "%SYSBLDUSER%", 0,
  28872. "create function log10 (TimeSeries)
  28873. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28874. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_log10)"" language c;
  28875. ",
  28876. "f",
  28877. "drop function log10 (TimeSeries);
  28878. ",
  28879. "f"
  28880. );
  28881. insert into sysbldobjdepends
  28882. (
  28883. bld_id,
  28884. obj_kind,
  28885. obj_signature,
  28886. obj_owner,
  28887. need_obj_kind,
  28888. need_obj_signature,
  28889. need_obj_owner)
  28890. values
  28891. (
  28892. "%SYSBLDNAME%",
  28893. 5, "log10 (TimeSeries)",
  28894. "%SYSBLDUSER%",
  28895. 7, "TimeSeries",
  28896. "%SYSBLDUSER%"
  28897. );
  28898. insert into sysbldobjects
  28899. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28900. create_can_fail, drop_sql, drop_can_fail)
  28901. values
  28902. (
  28903. "%SYSBLDNAME%", 69, "log10 (TimeSeries)",
  28904. "%SYSBLDUSER%", 0,
  28905. "grant execute on function log10 (TimeSeries) to public;
  28906. ",
  28907. "f",
  28908. "",
  28909. "f"
  28910. );
  28911. insert into sysbldobjdepends
  28912. (
  28913. bld_id,
  28914. obj_kind,
  28915. obj_signature,
  28916. obj_owner,
  28917. need_obj_kind,
  28918. need_obj_signature,
  28919. need_obj_owner)
  28920. values
  28921. (
  28922. "%SYSBLDNAME%",
  28923. 69, "log10 (TimeSeries)",
  28924. "%SYSBLDUSER%",
  28925. 5, "log10 (TimeSeries)",
  28926. "%SYSBLDUSER%"
  28927. );
  28928. insert into sysbldobjects
  28929. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28930. create_can_fail, drop_sql, drop_can_fail)
  28931. values
  28932. (
  28933. "%SYSBLDNAME%", 5, "cos (TimeSeries)",
  28934. "%SYSBLDUSER%", 0,
  28935. "create function cos (TimeSeries)
  28936. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  28937. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_cos)"" language c;
  28938. ",
  28939. "f",
  28940. "drop function cos (TimeSeries);
  28941. ",
  28942. "f"
  28943. );
  28944. insert into sysbldobjdepends
  28945. (
  28946. bld_id,
  28947. obj_kind,
  28948. obj_signature,
  28949. obj_owner,
  28950. need_obj_kind,
  28951. need_obj_signature,
  28952. need_obj_owner)
  28953. values
  28954. (
  28955. "%SYSBLDNAME%",
  28956. 5, "cos (TimeSeries)",
  28957. "%SYSBLDUSER%",
  28958. 7, "TimeSeries",
  28959. "%SYSBLDUSER%"
  28960. );
  28961. insert into sysbldobjects
  28962. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28963. create_can_fail, drop_sql, drop_can_fail)
  28964. values
  28965. (
  28966. "%SYSBLDNAME%", 69, "cos (TimeSeries)",
  28967. "%SYSBLDUSER%", 0,
  28968. "grant execute on function cos (TimeSeries) to public;
  28969. ",
  28970. "f",
  28971. "",
  28972. "f"
  28973. );
  28974. insert into sysbldobjdepends
  28975. (
  28976. bld_id,
  28977. obj_kind,
  28978. obj_signature,
  28979. obj_owner,
  28980. need_obj_kind,
  28981. need_obj_signature,
  28982. need_obj_owner)
  28983. values
  28984. (
  28985. "%SYSBLDNAME%",
  28986. 69, "cos (TimeSeries)",
  28987. "%SYSBLDUSER%",
  28988. 5, "cos (TimeSeries)",
  28989. "%SYSBLDUSER%"
  28990. );
  28991. insert into sysbldobjects
  28992. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  28993. create_can_fail, drop_sql, drop_can_fail)
  28994. values
  28995. (
  28996. "%SYSBLDNAME%", 5, "sin (TimeSeries)",
  28997. "%SYSBLDUSER%", 0,
  28998. "create function sin (TimeSeries)
  28999. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  29000. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_sin)"" language c;
  29001. ",
  29002. "f",
  29003. "drop function sin (TimeSeries);
  29004. ",
  29005. "f"
  29006. );
  29007. insert into sysbldobjdepends
  29008. (
  29009. bld_id,
  29010. obj_kind,
  29011. obj_signature,
  29012. obj_owner,
  29013. need_obj_kind,
  29014. need_obj_signature,
  29015. need_obj_owner)
  29016. values
  29017. (
  29018. "%SYSBLDNAME%",
  29019. 5, "sin (TimeSeries)",
  29020. "%SYSBLDUSER%",
  29021. 7, "TimeSeries",
  29022. "%SYSBLDUSER%"
  29023. );
  29024. insert into sysbldobjects
  29025. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29026. create_can_fail, drop_sql, drop_can_fail)
  29027. values
  29028. (
  29029. "%SYSBLDNAME%", 69, "sin (TimeSeries)",
  29030. "%SYSBLDUSER%", 0,
  29031. "grant execute on function sin (TimeSeries) to public;
  29032. ",
  29033. "f",
  29034. "",
  29035. "f"
  29036. );
  29037. insert into sysbldobjdepends
  29038. (
  29039. bld_id,
  29040. obj_kind,
  29041. obj_signature,
  29042. obj_owner,
  29043. need_obj_kind,
  29044. need_obj_signature,
  29045. need_obj_owner)
  29046. values
  29047. (
  29048. "%SYSBLDNAME%",
  29049. 69, "sin (TimeSeries)",
  29050. "%SYSBLDUSER%",
  29051. 5, "sin (TimeSeries)",
  29052. "%SYSBLDUSER%"
  29053. );
  29054. insert into sysbldobjects
  29055. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29056. create_can_fail, drop_sql, drop_can_fail)
  29057. values
  29058. (
  29059. "%SYSBLDNAME%", 5, "tan (TimeSeries)",
  29060. "%SYSBLDUSER%", 0,
  29061. "create function tan (TimeSeries)
  29062. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  29063. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_tan)"" language c;
  29064. ",
  29065. "f",
  29066. "drop function tan (TimeSeries);
  29067. ",
  29068. "f"
  29069. );
  29070. insert into sysbldobjdepends
  29071. (
  29072. bld_id,
  29073. obj_kind,
  29074. obj_signature,
  29075. obj_owner,
  29076. need_obj_kind,
  29077. need_obj_signature,
  29078. need_obj_owner)
  29079. values
  29080. (
  29081. "%SYSBLDNAME%",
  29082. 5, "tan (TimeSeries)",
  29083. "%SYSBLDUSER%",
  29084. 7, "TimeSeries",
  29085. "%SYSBLDUSER%"
  29086. );
  29087. insert into sysbldobjects
  29088. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29089. create_can_fail, drop_sql, drop_can_fail)
  29090. values
  29091. (
  29092. "%SYSBLDNAME%", 69, "tan (TimeSeries)",
  29093. "%SYSBLDUSER%", 0,
  29094. "grant execute on function tan (TimeSeries) to public;
  29095. ",
  29096. "f",
  29097. "",
  29098. "f"
  29099. );
  29100. insert into sysbldobjdepends
  29101. (
  29102. bld_id,
  29103. obj_kind,
  29104. obj_signature,
  29105. obj_owner,
  29106. need_obj_kind,
  29107. need_obj_signature,
  29108. need_obj_owner)
  29109. values
  29110. (
  29111. "%SYSBLDNAME%",
  29112. 69, "tan (TimeSeries)",
  29113. "%SYSBLDUSER%",
  29114. 5, "tan (TimeSeries)",
  29115. "%SYSBLDUSER%"
  29116. );
  29117. insert into sysbldobjects
  29118. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29119. create_can_fail, drop_sql, drop_can_fail)
  29120. values
  29121. (
  29122. "%SYSBLDNAME%", 5, "asin (TimeSeries)",
  29123. "%SYSBLDUSER%", 0,
  29124. "create function asin (TimeSeries)
  29125. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  29126. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_asin)"" language c;
  29127. ",
  29128. "f",
  29129. "drop function asin (TimeSeries);
  29130. ",
  29131. "f"
  29132. );
  29133. insert into sysbldobjdepends
  29134. (
  29135. bld_id,
  29136. obj_kind,
  29137. obj_signature,
  29138. obj_owner,
  29139. need_obj_kind,
  29140. need_obj_signature,
  29141. need_obj_owner)
  29142. values
  29143. (
  29144. "%SYSBLDNAME%",
  29145. 5, "asin (TimeSeries)",
  29146. "%SYSBLDUSER%",
  29147. 7, "TimeSeries",
  29148. "%SYSBLDUSER%"
  29149. );
  29150. insert into sysbldobjects
  29151. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29152. create_can_fail, drop_sql, drop_can_fail)
  29153. values
  29154. (
  29155. "%SYSBLDNAME%", 69, "asin (TimeSeries)",
  29156. "%SYSBLDUSER%", 0,
  29157. "grant execute on function asin (TimeSeries) to public;
  29158. ",
  29159. "f",
  29160. "",
  29161. "f"
  29162. );
  29163. insert into sysbldobjdepends
  29164. (
  29165. bld_id,
  29166. obj_kind,
  29167. obj_signature,
  29168. obj_owner,
  29169. need_obj_kind,
  29170. need_obj_signature,
  29171. need_obj_owner)
  29172. values
  29173. (
  29174. "%SYSBLDNAME%",
  29175. 69, "asin (TimeSeries)",
  29176. "%SYSBLDUSER%",
  29177. 5, "asin (TimeSeries)",
  29178. "%SYSBLDUSER%"
  29179. );
  29180. insert into sysbldobjects
  29181. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29182. create_can_fail, drop_sql, drop_can_fail)
  29183. values
  29184. (
  29185. "%SYSBLDNAME%", 5, "acos (TimeSeries)",
  29186. "%SYSBLDUSER%", 0,
  29187. "create function acos (TimeSeries)
  29188. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  29189. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_acos)"" language c;
  29190. ",
  29191. "f",
  29192. "drop function acos (TimeSeries);
  29193. ",
  29194. "f"
  29195. );
  29196. insert into sysbldobjdepends
  29197. (
  29198. bld_id,
  29199. obj_kind,
  29200. obj_signature,
  29201. obj_owner,
  29202. need_obj_kind,
  29203. need_obj_signature,
  29204. need_obj_owner)
  29205. values
  29206. (
  29207. "%SYSBLDNAME%",
  29208. 5, "acos (TimeSeries)",
  29209. "%SYSBLDUSER%",
  29210. 7, "TimeSeries",
  29211. "%SYSBLDUSER%"
  29212. );
  29213. insert into sysbldobjects
  29214. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29215. create_can_fail, drop_sql, drop_can_fail)
  29216. values
  29217. (
  29218. "%SYSBLDNAME%", 69, "acos (TimeSeries)",
  29219. "%SYSBLDUSER%", 0,
  29220. "grant execute on function acos (TimeSeries) to public;
  29221. ",
  29222. "f",
  29223. "",
  29224. "f"
  29225. );
  29226. insert into sysbldobjdepends
  29227. (
  29228. bld_id,
  29229. obj_kind,
  29230. obj_signature,
  29231. obj_owner,
  29232. need_obj_kind,
  29233. need_obj_signature,
  29234. need_obj_owner)
  29235. values
  29236. (
  29237. "%SYSBLDNAME%",
  29238. 69, "acos (TimeSeries)",
  29239. "%SYSBLDUSER%",
  29240. 5, "acos (TimeSeries)",
  29241. "%SYSBLDUSER%"
  29242. );
  29243. insert into sysbldobjects
  29244. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29245. create_can_fail, drop_sql, drop_can_fail)
  29246. values
  29247. (
  29248. "%SYSBLDNAME%", 5, "atan (TimeSeries)",
  29249. "%SYSBLDUSER%", 0,
  29250. "create function atan (TimeSeries)
  29251. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  29252. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_atan)"" language c;
  29253. ",
  29254. "f",
  29255. "drop function atan (TimeSeries);
  29256. ",
  29257. "f"
  29258. );
  29259. insert into sysbldobjdepends
  29260. (
  29261. bld_id,
  29262. obj_kind,
  29263. obj_signature,
  29264. obj_owner,
  29265. need_obj_kind,
  29266. need_obj_signature,
  29267. need_obj_owner)
  29268. values
  29269. (
  29270. "%SYSBLDNAME%",
  29271. 5, "atan (TimeSeries)",
  29272. "%SYSBLDUSER%",
  29273. 7, "TimeSeries",
  29274. "%SYSBLDUSER%"
  29275. );
  29276. insert into sysbldobjects
  29277. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29278. create_can_fail, drop_sql, drop_can_fail)
  29279. values
  29280. (
  29281. "%SYSBLDNAME%", 69, "atan (TimeSeries)",
  29282. "%SYSBLDUSER%", 0,
  29283. "grant execute on function atan (TimeSeries) to public;
  29284. ",
  29285. "f",
  29286. "",
  29287. "f"
  29288. );
  29289. insert into sysbldobjdepends
  29290. (
  29291. bld_id,
  29292. obj_kind,
  29293. obj_signature,
  29294. obj_owner,
  29295. need_obj_kind,
  29296. need_obj_signature,
  29297. need_obj_owner)
  29298. values
  29299. (
  29300. "%SYSBLDNAME%",
  29301. 69, "atan (TimeSeries)",
  29302. "%SYSBLDUSER%",
  29303. 5, "atan (TimeSeries)",
  29304. "%SYSBLDUSER%"
  29305. );
  29306. insert into sysbldobjects
  29307. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29308. create_can_fail, drop_sql, drop_can_fail)
  29309. values
  29310. (
  29311. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
  29312. "%SYSBLDUSER%", 0,
  29313. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)
  29314. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29315. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29316. ",
  29317. "f",
  29318. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries);
  29319. ",
  29320. "f"
  29321. );
  29322. insert into sysbldobjdepends
  29323. (
  29324. bld_id,
  29325. obj_kind,
  29326. obj_signature,
  29327. obj_owner,
  29328. need_obj_kind,
  29329. need_obj_signature,
  29330. need_obj_owner)
  29331. values
  29332. (
  29333. "%SYSBLDNAME%",
  29334. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
  29335. "%SYSBLDUSER%",
  29336. 7, "TimeSeries",
  29337. "%SYSBLDUSER%"
  29338. );
  29339. insert into sysbldobjects
  29340. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29341. create_can_fail, drop_sql, drop_can_fail)
  29342. values
  29343. (
  29344. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
  29345. "%SYSBLDUSER%", 0,
  29346. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries) to public;
  29347. ",
  29348. "f",
  29349. "",
  29350. "f"
  29351. );
  29352. insert into sysbldobjdepends
  29353. (
  29354. bld_id,
  29355. obj_kind,
  29356. obj_signature,
  29357. obj_owner,
  29358. need_obj_kind,
  29359. need_obj_signature,
  29360. need_obj_owner)
  29361. values
  29362. (
  29363. "%SYSBLDNAME%",
  29364. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
  29365. "%SYSBLDUSER%",
  29366. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
  29367. "%SYSBLDUSER%"
  29368. );
  29369. insert into sysbldobjects
  29370. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29371. create_can_fail, drop_sql, drop_can_fail)
  29372. values
  29373. (
  29374. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
  29375. "%SYSBLDUSER%", 0,
  29376. "create function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)
  29377. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29378. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29379. ",
  29380. "f",
  29381. "drop function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries);
  29382. ",
  29383. "f"
  29384. );
  29385. insert into sysbldobjdepends
  29386. (
  29387. bld_id,
  29388. obj_kind,
  29389. obj_signature,
  29390. obj_owner,
  29391. need_obj_kind,
  29392. need_obj_signature,
  29393. need_obj_owner)
  29394. values
  29395. (
  29396. "%SYSBLDNAME%",
  29397. 5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
  29398. "%SYSBLDUSER%",
  29399. 7, "TimeSeries",
  29400. "%SYSBLDUSER%"
  29401. );
  29402. insert into sysbldobjects
  29403. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29404. create_can_fail, drop_sql, drop_can_fail)
  29405. values
  29406. (
  29407. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
  29408. "%SYSBLDUSER%", 0,
  29409. "grant execute on function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries) to public;
  29410. ",
  29411. "f",
  29412. "",
  29413. "f"
  29414. );
  29415. insert into sysbldobjdepends
  29416. (
  29417. bld_id,
  29418. obj_kind,
  29419. obj_signature,
  29420. obj_owner,
  29421. need_obj_kind,
  29422. need_obj_signature,
  29423. need_obj_owner)
  29424. values
  29425. (
  29426. "%SYSBLDNAME%",
  29427. 69, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
  29428. "%SYSBLDUSER%",
  29429. 5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
  29430. "%SYSBLDUSER%"
  29431. );
  29432. insert into sysbldobjects
  29433. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29434. create_can_fail, drop_sql, drop_can_fail)
  29435. values
  29436. (
  29437. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
  29438. "%SYSBLDUSER%", 0,
  29439. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)
  29440. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29441. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29442. ",
  29443. "f",
  29444. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal);
  29445. ",
  29446. "f"
  29447. );
  29448. insert into sysbldobjdepends
  29449. (
  29450. bld_id,
  29451. obj_kind,
  29452. obj_signature,
  29453. obj_owner,
  29454. need_obj_kind,
  29455. need_obj_signature,
  29456. need_obj_owner)
  29457. values
  29458. (
  29459. "%SYSBLDNAME%",
  29460. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
  29461. "%SYSBLDUSER%",
  29462. 7, "TimeSeries",
  29463. "%SYSBLDUSER%"
  29464. );
  29465. insert into sysbldobjects
  29466. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29467. create_can_fail, drop_sql, drop_can_fail)
  29468. values
  29469. (
  29470. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
  29471. "%SYSBLDUSER%", 0,
  29472. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal) to public;
  29473. ",
  29474. "f",
  29475. "",
  29476. "f"
  29477. );
  29478. insert into sysbldobjdepends
  29479. (
  29480. bld_id,
  29481. obj_kind,
  29482. obj_signature,
  29483. obj_owner,
  29484. need_obj_kind,
  29485. need_obj_signature,
  29486. need_obj_owner)
  29487. values
  29488. (
  29489. "%SYSBLDNAME%",
  29490. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
  29491. "%SYSBLDUSER%",
  29492. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
  29493. "%SYSBLDUSER%"
  29494. );
  29495. insert into sysbldobjects
  29496. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29497. create_can_fail, drop_sql, drop_can_fail)
  29498. values
  29499. (
  29500. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
  29501. "%SYSBLDUSER%", 0,
  29502. "create function ApplyBinaryTsOp (lvarchar,float,TimeSeries)
  29503. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29504. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29505. ",
  29506. "f",
  29507. "drop function ApplyBinaryTsOp (lvarchar,float,TimeSeries);
  29508. ",
  29509. "f"
  29510. );
  29511. insert into sysbldobjdepends
  29512. (
  29513. bld_id,
  29514. obj_kind,
  29515. obj_signature,
  29516. obj_owner,
  29517. need_obj_kind,
  29518. need_obj_signature,
  29519. need_obj_owner)
  29520. values
  29521. (
  29522. "%SYSBLDNAME%",
  29523. 5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
  29524. "%SYSBLDUSER%",
  29525. 7, "TimeSeries",
  29526. "%SYSBLDUSER%"
  29527. );
  29528. insert into sysbldobjects
  29529. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29530. create_can_fail, drop_sql, drop_can_fail)
  29531. values
  29532. (
  29533. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
  29534. "%SYSBLDUSER%", 0,
  29535. "grant execute on function ApplyBinaryTsOp (lvarchar,float,TimeSeries) to public;
  29536. ",
  29537. "f",
  29538. "",
  29539. "f"
  29540. );
  29541. insert into sysbldobjdepends
  29542. (
  29543. bld_id,
  29544. obj_kind,
  29545. obj_signature,
  29546. obj_owner,
  29547. need_obj_kind,
  29548. need_obj_signature,
  29549. need_obj_owner)
  29550. values
  29551. (
  29552. "%SYSBLDNAME%",
  29553. 69, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
  29554. "%SYSBLDUSER%",
  29555. 5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
  29556. "%SYSBLDUSER%"
  29557. );
  29558. insert into sysbldobjects
  29559. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29560. create_can_fail, drop_sql, drop_can_fail)
  29561. values
  29562. (
  29563. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
  29564. "%SYSBLDUSER%", 0,
  29565. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,float)
  29566. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29567. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29568. ",
  29569. "f",
  29570. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,float);
  29571. ",
  29572. "f"
  29573. );
  29574. insert into sysbldobjdepends
  29575. (
  29576. bld_id,
  29577. obj_kind,
  29578. obj_signature,
  29579. obj_owner,
  29580. need_obj_kind,
  29581. need_obj_signature,
  29582. need_obj_owner)
  29583. values
  29584. (
  29585. "%SYSBLDNAME%",
  29586. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
  29587. "%SYSBLDUSER%",
  29588. 7, "TimeSeries",
  29589. "%SYSBLDUSER%"
  29590. );
  29591. insert into sysbldobjects
  29592. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29593. create_can_fail, drop_sql, drop_can_fail)
  29594. values
  29595. (
  29596. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
  29597. "%SYSBLDUSER%", 0,
  29598. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,float) to public;
  29599. ",
  29600. "f",
  29601. "",
  29602. "f"
  29603. );
  29604. insert into sysbldobjdepends
  29605. (
  29606. bld_id,
  29607. obj_kind,
  29608. obj_signature,
  29609. obj_owner,
  29610. need_obj_kind,
  29611. need_obj_signature,
  29612. need_obj_owner)
  29613. values
  29614. (
  29615. "%SYSBLDNAME%",
  29616. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
  29617. "%SYSBLDUSER%",
  29618. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
  29619. "%SYSBLDUSER%"
  29620. );
  29621. insert into sysbldobjects
  29622. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29623. create_can_fail, drop_sql, drop_can_fail)
  29624. values
  29625. (
  29626. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
  29627. "%SYSBLDUSER%", 0,
  29628. "create function ApplyBinaryTsOp (lvarchar,int,TimeSeries)
  29629. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29630. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29631. ",
  29632. "f",
  29633. "drop function ApplyBinaryTsOp (lvarchar,int,TimeSeries);
  29634. ",
  29635. "f"
  29636. );
  29637. insert into sysbldobjdepends
  29638. (
  29639. bld_id,
  29640. obj_kind,
  29641. obj_signature,
  29642. obj_owner,
  29643. need_obj_kind,
  29644. need_obj_signature,
  29645. need_obj_owner)
  29646. values
  29647. (
  29648. "%SYSBLDNAME%",
  29649. 5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
  29650. "%SYSBLDUSER%",
  29651. 7, "TimeSeries",
  29652. "%SYSBLDUSER%"
  29653. );
  29654. insert into sysbldobjects
  29655. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29656. create_can_fail, drop_sql, drop_can_fail)
  29657. values
  29658. (
  29659. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
  29660. "%SYSBLDUSER%", 0,
  29661. "grant execute on function ApplyBinaryTsOp (lvarchar,int,TimeSeries) to public;
  29662. ",
  29663. "f",
  29664. "",
  29665. "f"
  29666. );
  29667. insert into sysbldobjdepends
  29668. (
  29669. bld_id,
  29670. obj_kind,
  29671. obj_signature,
  29672. obj_owner,
  29673. need_obj_kind,
  29674. need_obj_signature,
  29675. need_obj_owner)
  29676. values
  29677. (
  29678. "%SYSBLDNAME%",
  29679. 69, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
  29680. "%SYSBLDUSER%",
  29681. 5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
  29682. "%SYSBLDUSER%"
  29683. );
  29684. insert into sysbldobjects
  29685. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29686. create_can_fail, drop_sql, drop_can_fail)
  29687. values
  29688. (
  29689. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
  29690. "%SYSBLDUSER%", 0,
  29691. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,int)
  29692. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29693. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29694. ",
  29695. "f",
  29696. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,int);
  29697. ",
  29698. "f"
  29699. );
  29700. insert into sysbldobjdepends
  29701. (
  29702. bld_id,
  29703. obj_kind,
  29704. obj_signature,
  29705. obj_owner,
  29706. need_obj_kind,
  29707. need_obj_signature,
  29708. need_obj_owner)
  29709. values
  29710. (
  29711. "%SYSBLDNAME%",
  29712. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
  29713. "%SYSBLDUSER%",
  29714. 7, "TimeSeries",
  29715. "%SYSBLDUSER%"
  29716. );
  29717. insert into sysbldobjects
  29718. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29719. create_can_fail, drop_sql, drop_can_fail)
  29720. values
  29721. (
  29722. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
  29723. "%SYSBLDUSER%", 0,
  29724. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,int) to public;
  29725. ",
  29726. "f",
  29727. "",
  29728. "f"
  29729. );
  29730. insert into sysbldobjdepends
  29731. (
  29732. bld_id,
  29733. obj_kind,
  29734. obj_signature,
  29735. obj_owner,
  29736. need_obj_kind,
  29737. need_obj_signature,
  29738. need_obj_owner)
  29739. values
  29740. (
  29741. "%SYSBLDNAME%",
  29742. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
  29743. "%SYSBLDUSER%",
  29744. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
  29745. "%SYSBLDUSER%"
  29746. );
  29747. insert into sysbldobjects
  29748. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29749. create_can_fail, drop_sql, drop_can_fail)
  29750. values
  29751. (
  29752. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
  29753. "%SYSBLDUSER%", 0,
  29754. "create function ApplyBinaryTsOp (lvarchar,money,TimeSeries)
  29755. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29756. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29757. ",
  29758. "f",
  29759. "drop function ApplyBinaryTsOp (lvarchar,money,TimeSeries);
  29760. ",
  29761. "f"
  29762. );
  29763. insert into sysbldobjdepends
  29764. (
  29765. bld_id,
  29766. obj_kind,
  29767. obj_signature,
  29768. obj_owner,
  29769. need_obj_kind,
  29770. need_obj_signature,
  29771. need_obj_owner)
  29772. values
  29773. (
  29774. "%SYSBLDNAME%",
  29775. 5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
  29776. "%SYSBLDUSER%",
  29777. 7, "TimeSeries",
  29778. "%SYSBLDUSER%"
  29779. );
  29780. insert into sysbldobjects
  29781. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29782. create_can_fail, drop_sql, drop_can_fail)
  29783. values
  29784. (
  29785. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
  29786. "%SYSBLDUSER%", 0,
  29787. "grant execute on function ApplyBinaryTsOp (lvarchar,money,TimeSeries) to public;
  29788. ",
  29789. "f",
  29790. "",
  29791. "f"
  29792. );
  29793. insert into sysbldobjdepends
  29794. (
  29795. bld_id,
  29796. obj_kind,
  29797. obj_signature,
  29798. obj_owner,
  29799. need_obj_kind,
  29800. need_obj_signature,
  29801. need_obj_owner)
  29802. values
  29803. (
  29804. "%SYSBLDNAME%",
  29805. 69, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
  29806. "%SYSBLDUSER%",
  29807. 5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
  29808. "%SYSBLDUSER%"
  29809. );
  29810. insert into sysbldobjects
  29811. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29812. create_can_fail, drop_sql, drop_can_fail)
  29813. values
  29814. (
  29815. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
  29816. "%SYSBLDUSER%", 0,
  29817. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,money)
  29818. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29819. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29820. ",
  29821. "f",
  29822. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,money);
  29823. ",
  29824. "f"
  29825. );
  29826. insert into sysbldobjdepends
  29827. (
  29828. bld_id,
  29829. obj_kind,
  29830. obj_signature,
  29831. obj_owner,
  29832. need_obj_kind,
  29833. need_obj_signature,
  29834. need_obj_owner)
  29835. values
  29836. (
  29837. "%SYSBLDNAME%",
  29838. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
  29839. "%SYSBLDUSER%",
  29840. 7, "TimeSeries",
  29841. "%SYSBLDUSER%"
  29842. );
  29843. insert into sysbldobjects
  29844. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29845. create_can_fail, drop_sql, drop_can_fail)
  29846. values
  29847. (
  29848. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
  29849. "%SYSBLDUSER%", 0,
  29850. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,money) to public;
  29851. ",
  29852. "f",
  29853. "",
  29854. "f"
  29855. );
  29856. insert into sysbldobjdepends
  29857. (
  29858. bld_id,
  29859. obj_kind,
  29860. obj_signature,
  29861. obj_owner,
  29862. need_obj_kind,
  29863. need_obj_signature,
  29864. need_obj_owner)
  29865. values
  29866. (
  29867. "%SYSBLDNAME%",
  29868. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
  29869. "%SYSBLDUSER%",
  29870. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
  29871. "%SYSBLDUSER%"
  29872. );
  29873. insert into sysbldobjects
  29874. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29875. create_can_fail, drop_sql, drop_can_fail)
  29876. values
  29877. (
  29878. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
  29879. "%SYSBLDUSER%", 0,
  29880. "create function ApplyBinaryTsOp (lvarchar,real,TimeSeries)
  29881. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29882. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29883. ",
  29884. "f",
  29885. "drop function ApplyBinaryTsOp (lvarchar,real,TimeSeries);
  29886. ",
  29887. "f"
  29888. );
  29889. insert into sysbldobjdepends
  29890. (
  29891. bld_id,
  29892. obj_kind,
  29893. obj_signature,
  29894. obj_owner,
  29895. need_obj_kind,
  29896. need_obj_signature,
  29897. need_obj_owner)
  29898. values
  29899. (
  29900. "%SYSBLDNAME%",
  29901. 5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
  29902. "%SYSBLDUSER%",
  29903. 7, "TimeSeries",
  29904. "%SYSBLDUSER%"
  29905. );
  29906. insert into sysbldobjects
  29907. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29908. create_can_fail, drop_sql, drop_can_fail)
  29909. values
  29910. (
  29911. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
  29912. "%SYSBLDUSER%", 0,
  29913. "grant execute on function ApplyBinaryTsOp (lvarchar,real,TimeSeries) to public;
  29914. ",
  29915. "f",
  29916. "",
  29917. "f"
  29918. );
  29919. insert into sysbldobjdepends
  29920. (
  29921. bld_id,
  29922. obj_kind,
  29923. obj_signature,
  29924. obj_owner,
  29925. need_obj_kind,
  29926. need_obj_signature,
  29927. need_obj_owner)
  29928. values
  29929. (
  29930. "%SYSBLDNAME%",
  29931. 69, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
  29932. "%SYSBLDUSER%",
  29933. 5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
  29934. "%SYSBLDUSER%"
  29935. );
  29936. insert into sysbldobjects
  29937. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29938. create_can_fail, drop_sql, drop_can_fail)
  29939. values
  29940. (
  29941. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
  29942. "%SYSBLDUSER%", 0,
  29943. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,real)
  29944. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  29945. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  29946. ",
  29947. "f",
  29948. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,real);
  29949. ",
  29950. "f"
  29951. );
  29952. insert into sysbldobjdepends
  29953. (
  29954. bld_id,
  29955. obj_kind,
  29956. obj_signature,
  29957. obj_owner,
  29958. need_obj_kind,
  29959. need_obj_signature,
  29960. need_obj_owner)
  29961. values
  29962. (
  29963. "%SYSBLDNAME%",
  29964. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
  29965. "%SYSBLDUSER%",
  29966. 7, "TimeSeries",
  29967. "%SYSBLDUSER%"
  29968. );
  29969. insert into sysbldobjects
  29970. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  29971. create_can_fail, drop_sql, drop_can_fail)
  29972. values
  29973. (
  29974. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
  29975. "%SYSBLDUSER%", 0,
  29976. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,real) to public;
  29977. ",
  29978. "f",
  29979. "",
  29980. "f"
  29981. );
  29982. insert into sysbldobjdepends
  29983. (
  29984. bld_id,
  29985. obj_kind,
  29986. obj_signature,
  29987. obj_owner,
  29988. need_obj_kind,
  29989. need_obj_signature,
  29990. need_obj_owner)
  29991. values
  29992. (
  29993. "%SYSBLDNAME%",
  29994. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
  29995. "%SYSBLDUSER%",
  29996. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
  29997. "%SYSBLDUSER%"
  29998. );
  29999. insert into sysbldobjects
  30000. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30001. create_can_fail, drop_sql, drop_can_fail)
  30002. values
  30003. (
  30004. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
  30005. "%SYSBLDUSER%", 0,
  30006. "create function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)
  30007. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30008. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30009. ",
  30010. "f",
  30011. "drop function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries);
  30012. ",
  30013. "f"
  30014. );
  30015. insert into sysbldobjdepends
  30016. (
  30017. bld_id,
  30018. obj_kind,
  30019. obj_signature,
  30020. obj_owner,
  30021. need_obj_kind,
  30022. need_obj_signature,
  30023. need_obj_owner)
  30024. values
  30025. (
  30026. "%SYSBLDNAME%",
  30027. 5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
  30028. "%SYSBLDUSER%",
  30029. 7, "TimeSeries",
  30030. "%SYSBLDUSER%"
  30031. );
  30032. insert into sysbldobjects
  30033. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30034. create_can_fail, drop_sql, drop_can_fail)
  30035. values
  30036. (
  30037. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
  30038. "%SYSBLDUSER%", 0,
  30039. "grant execute on function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries) to public;
  30040. ",
  30041. "f",
  30042. "",
  30043. "f"
  30044. );
  30045. insert into sysbldobjdepends
  30046. (
  30047. bld_id,
  30048. obj_kind,
  30049. obj_signature,
  30050. obj_owner,
  30051. need_obj_kind,
  30052. need_obj_signature,
  30053. need_obj_owner)
  30054. values
  30055. (
  30056. "%SYSBLDNAME%",
  30057. 69, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
  30058. "%SYSBLDUSER%",
  30059. 5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
  30060. "%SYSBLDUSER%"
  30061. );
  30062. insert into sysbldobjects
  30063. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30064. create_can_fail, drop_sql, drop_can_fail)
  30065. values
  30066. (
  30067. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
  30068. "%SYSBLDUSER%", 0,
  30069. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)
  30070. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30071. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30072. ",
  30073. "f",
  30074. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint);
  30075. ",
  30076. "f"
  30077. );
  30078. insert into sysbldobjdepends
  30079. (
  30080. bld_id,
  30081. obj_kind,
  30082. obj_signature,
  30083. obj_owner,
  30084. need_obj_kind,
  30085. need_obj_signature,
  30086. need_obj_owner)
  30087. values
  30088. (
  30089. "%SYSBLDNAME%",
  30090. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
  30091. "%SYSBLDUSER%",
  30092. 7, "TimeSeries",
  30093. "%SYSBLDUSER%"
  30094. );
  30095. insert into sysbldobjects
  30096. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30097. create_can_fail, drop_sql, drop_can_fail)
  30098. values
  30099. (
  30100. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
  30101. "%SYSBLDUSER%", 0,
  30102. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint) to public;
  30103. ",
  30104. "f",
  30105. "",
  30106. "f"
  30107. );
  30108. insert into sysbldobjdepends
  30109. (
  30110. bld_id,
  30111. obj_kind,
  30112. obj_signature,
  30113. obj_owner,
  30114. need_obj_kind,
  30115. need_obj_signature,
  30116. need_obj_owner)
  30117. values
  30118. (
  30119. "%SYSBLDNAME%",
  30120. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
  30121. "%SYSBLDUSER%",
  30122. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
  30123. "%SYSBLDUSER%"
  30124. );
  30125. insert into sysbldobjects
  30126. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30127. create_can_fail, drop_sql, drop_can_fail)
  30128. values
  30129. (
  30130. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
  30131. "%SYSBLDUSER%", 0,
  30132. "create function ApplyBinaryTsOp (lvarchar,int8,TimeSeries)
  30133. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30134. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30135. ",
  30136. "f",
  30137. "drop function ApplyBinaryTsOp (lvarchar,int8,TimeSeries);
  30138. ",
  30139. "f"
  30140. );
  30141. insert into sysbldobjdepends
  30142. (
  30143. bld_id,
  30144. obj_kind,
  30145. obj_signature,
  30146. obj_owner,
  30147. need_obj_kind,
  30148. need_obj_signature,
  30149. need_obj_owner)
  30150. values
  30151. (
  30152. "%SYSBLDNAME%",
  30153. 5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
  30154. "%SYSBLDUSER%",
  30155. 7, "TimeSeries",
  30156. "%SYSBLDUSER%"
  30157. );
  30158. insert into sysbldobjects
  30159. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30160. create_can_fail, drop_sql, drop_can_fail)
  30161. values
  30162. (
  30163. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
  30164. "%SYSBLDUSER%", 0,
  30165. "grant execute on function ApplyBinaryTsOp (lvarchar,int8,TimeSeries) to public;
  30166. ",
  30167. "f",
  30168. "",
  30169. "f"
  30170. );
  30171. insert into sysbldobjdepends
  30172. (
  30173. bld_id,
  30174. obj_kind,
  30175. obj_signature,
  30176. obj_owner,
  30177. need_obj_kind,
  30178. need_obj_signature,
  30179. need_obj_owner)
  30180. values
  30181. (
  30182. "%SYSBLDNAME%",
  30183. 69, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
  30184. "%SYSBLDUSER%",
  30185. 5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
  30186. "%SYSBLDUSER%"
  30187. );
  30188. insert into sysbldobjects
  30189. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30190. create_can_fail, drop_sql, drop_can_fail)
  30191. values
  30192. (
  30193. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
  30194. "%SYSBLDUSER%", 0,
  30195. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,int8)
  30196. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30197. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30198. ",
  30199. "f",
  30200. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,int8);
  30201. ",
  30202. "f"
  30203. );
  30204. insert into sysbldobjdepends
  30205. (
  30206. bld_id,
  30207. obj_kind,
  30208. obj_signature,
  30209. obj_owner,
  30210. need_obj_kind,
  30211. need_obj_signature,
  30212. need_obj_owner)
  30213. values
  30214. (
  30215. "%SYSBLDNAME%",
  30216. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
  30217. "%SYSBLDUSER%",
  30218. 7, "TimeSeries",
  30219. "%SYSBLDUSER%"
  30220. );
  30221. insert into sysbldobjects
  30222. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30223. create_can_fail, drop_sql, drop_can_fail)
  30224. values
  30225. (
  30226. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
  30227. "%SYSBLDUSER%", 0,
  30228. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,int8) to public;
  30229. ",
  30230. "f",
  30231. "",
  30232. "f"
  30233. );
  30234. insert into sysbldobjdepends
  30235. (
  30236. bld_id,
  30237. obj_kind,
  30238. obj_signature,
  30239. obj_owner,
  30240. need_obj_kind,
  30241. need_obj_signature,
  30242. need_obj_owner)
  30243. values
  30244. (
  30245. "%SYSBLDNAME%",
  30246. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
  30247. "%SYSBLDUSER%",
  30248. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
  30249. "%SYSBLDUSER%"
  30250. );
  30251. insert into sysbldobjects
  30252. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30253. create_can_fail, drop_sql, drop_can_fail)
  30254. values
  30255. (
  30256. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
  30257. "%SYSBLDUSER%", 0,
  30258. "create function ApplyBinaryTsOp (lvarchar,row,TimeSeries)
  30259. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30260. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30261. ",
  30262. "f",
  30263. "drop function ApplyBinaryTsOp (lvarchar,row,TimeSeries);
  30264. ",
  30265. "f"
  30266. );
  30267. insert into sysbldobjdepends
  30268. (
  30269. bld_id,
  30270. obj_kind,
  30271. obj_signature,
  30272. obj_owner,
  30273. need_obj_kind,
  30274. need_obj_signature,
  30275. need_obj_owner)
  30276. values
  30277. (
  30278. "%SYSBLDNAME%",
  30279. 5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
  30280. "%SYSBLDUSER%",
  30281. 7, "TimeSeries",
  30282. "%SYSBLDUSER%"
  30283. );
  30284. insert into sysbldobjects
  30285. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30286. create_can_fail, drop_sql, drop_can_fail)
  30287. values
  30288. (
  30289. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
  30290. "%SYSBLDUSER%", 0,
  30291. "grant execute on function ApplyBinaryTsOp (lvarchar,row,TimeSeries) to public;
  30292. ",
  30293. "f",
  30294. "",
  30295. "f"
  30296. );
  30297. insert into sysbldobjdepends
  30298. (
  30299. bld_id,
  30300. obj_kind,
  30301. obj_signature,
  30302. obj_owner,
  30303. need_obj_kind,
  30304. need_obj_signature,
  30305. need_obj_owner)
  30306. values
  30307. (
  30308. "%SYSBLDNAME%",
  30309. 69, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
  30310. "%SYSBLDUSER%",
  30311. 5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
  30312. "%SYSBLDUSER%"
  30313. );
  30314. insert into sysbldobjects
  30315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30316. create_can_fail, drop_sql, drop_can_fail)
  30317. values
  30318. (
  30319. "%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
  30320. "%SYSBLDUSER%", 0,
  30321. "create function ApplyBinaryTsOp (lvarchar,TimeSeries,row)
  30322. returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
  30323. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;
  30324. ",
  30325. "f",
  30326. "drop function ApplyBinaryTsOp (lvarchar,TimeSeries,row);
  30327. ",
  30328. "f"
  30329. );
  30330. insert into sysbldobjdepends
  30331. (
  30332. bld_id,
  30333. obj_kind,
  30334. obj_signature,
  30335. obj_owner,
  30336. need_obj_kind,
  30337. need_obj_signature,
  30338. need_obj_owner)
  30339. values
  30340. (
  30341. "%SYSBLDNAME%",
  30342. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
  30343. "%SYSBLDUSER%",
  30344. 7, "TimeSeries",
  30345. "%SYSBLDUSER%"
  30346. );
  30347. insert into sysbldobjects
  30348. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30349. create_can_fail, drop_sql, drop_can_fail)
  30350. values
  30351. (
  30352. "%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
  30353. "%SYSBLDUSER%", 0,
  30354. "grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,row) to public;
  30355. ",
  30356. "f",
  30357. "",
  30358. "f"
  30359. );
  30360. insert into sysbldobjdepends
  30361. (
  30362. bld_id,
  30363. obj_kind,
  30364. obj_signature,
  30365. obj_owner,
  30366. need_obj_kind,
  30367. need_obj_signature,
  30368. need_obj_owner)
  30369. values
  30370. (
  30371. "%SYSBLDNAME%",
  30372. 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
  30373. "%SYSBLDUSER%",
  30374. 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
  30375. "%SYSBLDUSER%"
  30376. );
  30377. insert into sysbldobjects
  30378. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30379. create_can_fail, drop_sql, drop_can_fail)
  30380. values
  30381. (
  30382. "%SYSBLDNAME%", 5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
  30383. "%SYSBLDUSER%", 0,
  30384. "create function ApplyUnaryTsOp (lvarchar,TimeSeries)
  30385. returns TimeSeries with (not variant, notemplatearg, handlesnulls, handlesnulls, parallelizable)
  30386. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_unary_operation)"" language c;
  30387. ",
  30388. "f",
  30389. "drop function ApplyUnaryTsOp (lvarchar,TimeSeries);
  30390. ",
  30391. "f"
  30392. );
  30393. insert into sysbldobjdepends
  30394. (
  30395. bld_id,
  30396. obj_kind,
  30397. obj_signature,
  30398. obj_owner,
  30399. need_obj_kind,
  30400. need_obj_signature,
  30401. need_obj_owner)
  30402. values
  30403. (
  30404. "%SYSBLDNAME%",
  30405. 5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
  30406. "%SYSBLDUSER%",
  30407. 7, "TimeSeries",
  30408. "%SYSBLDUSER%"
  30409. );
  30410. insert into sysbldobjects
  30411. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30412. create_can_fail, drop_sql, drop_can_fail)
  30413. values
  30414. (
  30415. "%SYSBLDNAME%", 69, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
  30416. "%SYSBLDUSER%", 0,
  30417. "grant execute on function ApplyUnaryTsOp (lvarchar,TimeSeries) to public;
  30418. ",
  30419. "f",
  30420. "",
  30421. "f"
  30422. );
  30423. insert into sysbldobjdepends
  30424. (
  30425. bld_id,
  30426. obj_kind,
  30427. obj_signature,
  30428. obj_owner,
  30429. need_obj_kind,
  30430. need_obj_signature,
  30431. need_obj_owner)
  30432. values
  30433. (
  30434. "%SYSBLDNAME%",
  30435. 69, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
  30436. "%SYSBLDUSER%",
  30437. 5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
  30438. "%SYSBLDUSER%"
  30439. );
  30440. insert into sysbldobjects
  30441. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30442. create_can_fail, drop_sql, drop_can_fail)
  30443. values
  30444. (
  30445. "%SYSBLDNAME%", 5, "ApplyOpToTsSet (lvarchar,multiset)",
  30446. "%SYSBLDUSER%", 0,
  30447. "create function ApplyOpToTsSet (lvarchar,multiset)
  30448. returns TimeSeries with (not variant, notemplatearg, handlesnulls)
  30449. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_op_to_set)"" language c;
  30450. ",
  30451. "f",
  30452. "drop function ApplyOpToTsSet (lvarchar,multiset);
  30453. ",
  30454. "f"
  30455. );
  30456. insert into sysbldobjdepends
  30457. (
  30458. bld_id,
  30459. obj_kind,
  30460. obj_signature,
  30461. obj_owner,
  30462. need_obj_kind,
  30463. need_obj_signature,
  30464. need_obj_owner)
  30465. values
  30466. (
  30467. "%SYSBLDNAME%",
  30468. 5, "ApplyOpToTsSet (lvarchar,multiset)",
  30469. "%SYSBLDUSER%",
  30470. 7, "TimeSeries",
  30471. "%SYSBLDUSER%"
  30472. );
  30473. insert into sysbldobjects
  30474. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30475. create_can_fail, drop_sql, drop_can_fail)
  30476. values
  30477. (
  30478. "%SYSBLDNAME%", 69, "ApplyOpToTsSet (lvarchar,multiset)",
  30479. "%SYSBLDUSER%", 0,
  30480. "grant execute on function ApplyOpToTsSet (lvarchar,multiset) to public;
  30481. ",
  30482. "f",
  30483. "",
  30484. "f"
  30485. );
  30486. insert into sysbldobjdepends
  30487. (
  30488. bld_id,
  30489. obj_kind,
  30490. obj_signature,
  30491. obj_owner,
  30492. need_obj_kind,
  30493. need_obj_signature,
  30494. need_obj_owner)
  30495. values
  30496. (
  30497. "%SYSBLDNAME%",
  30498. 69, "ApplyOpToTsSet (lvarchar,multiset)",
  30499. "%SYSBLDUSER%",
  30500. 5, "ApplyOpToTsSet (lvarchar,multiset)",
  30501. "%SYSBLDUSER%"
  30502. );
  30503. insert into sysbldobjects
  30504. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30505. create_can_fail, drop_sql, drop_can_fail)
  30506. values
  30507. (
  30508. "%SYSBLDNAME%", 5, "round (TimeSeries,int)",
  30509. "%SYSBLDUSER%", 0,
  30510. "create function round (TimeSeries,int default 0)
  30511. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  30512. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_round)"" language c;
  30513. ",
  30514. "f",
  30515. "drop function round (TimeSeries,int);
  30516. ",
  30517. "f"
  30518. );
  30519. insert into sysbldobjdepends
  30520. (
  30521. bld_id,
  30522. obj_kind,
  30523. obj_signature,
  30524. obj_owner,
  30525. need_obj_kind,
  30526. need_obj_signature,
  30527. need_obj_owner)
  30528. values
  30529. (
  30530. "%SYSBLDNAME%",
  30531. 5, "round (TimeSeries,int)",
  30532. "%SYSBLDUSER%",
  30533. 7, "TimeSeries",
  30534. "%SYSBLDUSER%"
  30535. );
  30536. insert into sysbldobjects
  30537. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30538. create_can_fail, drop_sql, drop_can_fail)
  30539. values
  30540. (
  30541. "%SYSBLDNAME%", 69, "round (TimeSeries,int)",
  30542. "%SYSBLDUSER%", 0,
  30543. "grant execute on function round (TimeSeries,int) to public;
  30544. ",
  30545. "f",
  30546. "",
  30547. "f"
  30548. );
  30549. insert into sysbldobjdepends
  30550. (
  30551. bld_id,
  30552. obj_kind,
  30553. obj_signature,
  30554. obj_owner,
  30555. need_obj_kind,
  30556. need_obj_signature,
  30557. need_obj_owner)
  30558. values
  30559. (
  30560. "%SYSBLDNAME%",
  30561. 69, "round (TimeSeries,int)",
  30562. "%SYSBLDUSER%",
  30563. 5, "round (TimeSeries,int)",
  30564. "%SYSBLDUSER%"
  30565. );
  30566. insert into sysbldobjects
  30567. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30568. create_can_fail, drop_sql, drop_can_fail)
  30569. values
  30570. (
  30571. "%SYSBLDNAME%", 5, "trunc (TimeSeries,int)",
  30572. "%SYSBLDUSER%", 0,
  30573. "create function trunc (TimeSeries,int default 0)
  30574. returns TimeSeries with (not variant, notemplatearg, parallelizable)
  30575. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_trunc)"" language c;
  30576. ",
  30577. "f",
  30578. "drop function trunc (TimeSeries,int);
  30579. ",
  30580. "f"
  30581. );
  30582. insert into sysbldobjdepends
  30583. (
  30584. bld_id,
  30585. obj_kind,
  30586. obj_signature,
  30587. obj_owner,
  30588. need_obj_kind,
  30589. need_obj_signature,
  30590. need_obj_owner)
  30591. values
  30592. (
  30593. "%SYSBLDNAME%",
  30594. 5, "trunc (TimeSeries,int)",
  30595. "%SYSBLDUSER%",
  30596. 7, "TimeSeries",
  30597. "%SYSBLDUSER%"
  30598. );
  30599. insert into sysbldobjects
  30600. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30601. create_can_fail, drop_sql, drop_can_fail)
  30602. values
  30603. (
  30604. "%SYSBLDNAME%", 69, "trunc (TimeSeries,int)",
  30605. "%SYSBLDUSER%", 0,
  30606. "grant execute on function trunc (TimeSeries,int) to public;
  30607. ",
  30608. "f",
  30609. "",
  30610. "f"
  30611. );
  30612. insert into sysbldobjdepends
  30613. (
  30614. bld_id,
  30615. obj_kind,
  30616. obj_signature,
  30617. obj_owner,
  30618. need_obj_kind,
  30619. need_obj_signature,
  30620. need_obj_owner)
  30621. values
  30622. (
  30623. "%SYSBLDNAME%",
  30624. 69, "trunc (TimeSeries,int)",
  30625. "%SYSBLDUSER%",
  30626. 5, "trunc (TimeSeries,int)",
  30627. "%SYSBLDUSER%"
  30628. );
  30629. insert into sysbldobjects
  30630. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30631. create_can_fail, drop_sql, drop_can_fail)
  30632. values
  30633. (
  30634. "%SYSBLDNAME%", 5, "TSSetTraceLevel (lvarchar)",
  30635. "%SYSBLDUSER%", 0,
  30636. "create function TSSetTraceLevel (lvarchar)
  30637. returns int
  30638. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tracelevel_set)"" language c;
  30639. ",
  30640. "f",
  30641. "drop function TSSetTraceLevel (lvarchar);
  30642. ",
  30643. "f"
  30644. );
  30645. insert into sysbldobjects
  30646. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30647. create_can_fail, drop_sql, drop_can_fail)
  30648. values
  30649. (
  30650. "%SYSBLDNAME%", 69, "TSSetTraceLevel (lvarchar)",
  30651. "%SYSBLDUSER%", 0,
  30652. "grant execute on function TSSetTraceLevel (lvarchar) to public;
  30653. ",
  30654. "f",
  30655. "",
  30656. "f"
  30657. );
  30658. insert into sysbldobjdepends
  30659. (
  30660. bld_id,
  30661. obj_kind,
  30662. obj_signature,
  30663. obj_owner,
  30664. need_obj_kind,
  30665. need_obj_signature,
  30666. need_obj_owner)
  30667. values
  30668. (
  30669. "%SYSBLDNAME%",
  30670. 69, "TSSetTraceLevel (lvarchar)",
  30671. "%SYSBLDUSER%",
  30672. 5, "TSSetTraceLevel (lvarchar)",
  30673. "%SYSBLDUSER%"
  30674. );
  30675. insert into sysbldobjects
  30676. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30677. create_can_fail, drop_sql, drop_can_fail)
  30678. values
  30679. (
  30680. "%SYSBLDNAME%", 5, "TSSetTraceFile (lvarchar)",
  30681. "%SYSBLDUSER%", 0,
  30682. "create function TSSetTraceFile (lvarchar)
  30683. returns int
  30684. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tracefile_set)"" language c;
  30685. ",
  30686. "f",
  30687. "drop function TSSetTraceFile (lvarchar);
  30688. ",
  30689. "f"
  30690. );
  30691. insert into sysbldobjects
  30692. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30693. create_can_fail, drop_sql, drop_can_fail)
  30694. values
  30695. (
  30696. "%SYSBLDNAME%", 69, "TSSetTraceFile (lvarchar)",
  30697. "%SYSBLDUSER%", 0,
  30698. "grant execute on function TSSetTraceFile (lvarchar) to public;
  30699. ",
  30700. "f",
  30701. "",
  30702. "f"
  30703. );
  30704. insert into sysbldobjdepends
  30705. (
  30706. bld_id,
  30707. obj_kind,
  30708. obj_signature,
  30709. obj_owner,
  30710. need_obj_kind,
  30711. need_obj_signature,
  30712. need_obj_owner)
  30713. values
  30714. (
  30715. "%SYSBLDNAME%",
  30716. 69, "TSSetTraceFile (lvarchar)",
  30717. "%SYSBLDUSER%",
  30718. 5, "TSSetTraceFile (lvarchar)",
  30719. "%SYSBLDUSER%"
  30720. );
  30721. insert into sysbldobjects
  30722. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30723. create_can_fail, drop_sql, drop_can_fail)
  30724. values
  30725. (
  30726. "%SYSBLDNAME%", 5, "CalStartDate (lvarchar)",
  30727. "%SYSBLDUSER%", 0,
  30728. "create function CalStartDate (lvarchar)
  30729. returns datetime year to fraction(5) with (not variant)
  30730. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_startdate_sql)"" language c;
  30731. ",
  30732. "f",
  30733. "drop function CalStartDate (lvarchar);
  30734. ",
  30735. "f"
  30736. );
  30737. insert into sysbldobjects
  30738. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30739. create_can_fail, drop_sql, drop_can_fail)
  30740. values
  30741. (
  30742. "%SYSBLDNAME%", 69, "CalStartDate (lvarchar)",
  30743. "%SYSBLDUSER%", 0,
  30744. "grant execute on function CalStartDate (lvarchar) to public;
  30745. ",
  30746. "f",
  30747. "",
  30748. "f"
  30749. );
  30750. insert into sysbldobjdepends
  30751. (
  30752. bld_id,
  30753. obj_kind,
  30754. obj_signature,
  30755. obj_owner,
  30756. need_obj_kind,
  30757. need_obj_signature,
  30758. need_obj_owner)
  30759. values
  30760. (
  30761. "%SYSBLDNAME%",
  30762. 69, "CalStartDate (lvarchar)",
  30763. "%SYSBLDUSER%",
  30764. 5, "CalStartDate (lvarchar)",
  30765. "%SYSBLDUSER%"
  30766. );
  30767. insert into sysbldobjects
  30768. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30769. create_can_fail, drop_sql, drop_can_fail)
  30770. values
  30771. (
  30772. "%SYSBLDNAME%", 5, "CalPattStartDate (lvarchar)",
  30773. "%SYSBLDUSER%", 0,
  30774. "create function CalPattStartDate (lvarchar)
  30775. returns datetime year to fraction(5) with (not variant)
  30776. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattstartdate_sql)"" language c;
  30777. ",
  30778. "f",
  30779. "drop function CalPattStartDate (lvarchar);
  30780. ",
  30781. "f"
  30782. );
  30783. insert into sysbldobjects
  30784. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30785. create_can_fail, drop_sql, drop_can_fail)
  30786. values
  30787. (
  30788. "%SYSBLDNAME%", 69, "CalPattStartDate (lvarchar)",
  30789. "%SYSBLDUSER%", 0,
  30790. "grant execute on function CalPattStartDate (lvarchar) to public;
  30791. ",
  30792. "f",
  30793. "",
  30794. "f"
  30795. );
  30796. insert into sysbldobjdepends
  30797. (
  30798. bld_id,
  30799. obj_kind,
  30800. obj_signature,
  30801. obj_owner,
  30802. need_obj_kind,
  30803. need_obj_signature,
  30804. need_obj_owner)
  30805. values
  30806. (
  30807. "%SYSBLDNAME%",
  30808. 69, "CalPattStartDate (lvarchar)",
  30809. "%SYSBLDUSER%",
  30810. 5, "CalPattStartDate (lvarchar)",
  30811. "%SYSBLDUSER%"
  30812. );
  30813. insert into sysbldobjects
  30814. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30815. create_can_fail, drop_sql, drop_can_fail)
  30816. values
  30817. (
  30818. "%SYSBLDNAME%", 5, "TimeSeriesSDAPI ()",
  30819. "%SYSBLDUSER%", 0,
  30820. "create function TimeSeriesSDAPI ()
  30821. returns datetime year to fraction(5) with (not variant, internal, handlesnulls)
  30822. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_startdate_api)"" language c;
  30823. ",
  30824. "f",
  30825. "drop function TimeSeriesSDAPI ();
  30826. ",
  30827. "f"
  30828. );
  30829. insert into sysbldobjects
  30830. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30831. create_can_fail, drop_sql, drop_can_fail)
  30832. values
  30833. (
  30834. "%SYSBLDNAME%", 69, "TimeSeriesSDAPI ()",
  30835. "%SYSBLDUSER%", 0,
  30836. "grant execute on function TimeSeriesSDAPI () to public;
  30837. ",
  30838. "f",
  30839. "",
  30840. "f"
  30841. );
  30842. insert into sysbldobjdepends
  30843. (
  30844. bld_id,
  30845. obj_kind,
  30846. obj_signature,
  30847. obj_owner,
  30848. need_obj_kind,
  30849. need_obj_signature,
  30850. need_obj_owner)
  30851. values
  30852. (
  30853. "%SYSBLDNAME%",
  30854. 69, "TimeSeriesSDAPI ()",
  30855. "%SYSBLDUSER%",
  30856. 5, "TimeSeriesSDAPI ()",
  30857. "%SYSBLDUSER%"
  30858. );
  30859. insert into sysbldobjects
  30860. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30861. create_can_fail, drop_sql, drop_can_fail)
  30862. values
  30863. (
  30864. "%SYSBLDNAME%", 5, "TimeSeriesPSDAPI ()",
  30865. "%SYSBLDUSER%", 0,
  30866. "create function TimeSeriesPSDAPI ()
  30867. returns datetime year to fraction(5) with (not variant, internal, handlesnulls)
  30868. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattstartdate_api)"" language c;
  30869. ",
  30870. "f",
  30871. "drop function TimeSeriesPSDAPI ();
  30872. ",
  30873. "f"
  30874. );
  30875. insert into sysbldobjects
  30876. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30877. create_can_fail, drop_sql, drop_can_fail)
  30878. values
  30879. (
  30880. "%SYSBLDNAME%", 69, "TimeSeriesPSDAPI ()",
  30881. "%SYSBLDUSER%", 0,
  30882. "grant execute on function TimeSeriesPSDAPI () to public;
  30883. ",
  30884. "f",
  30885. "",
  30886. "f"
  30887. );
  30888. insert into sysbldobjdepends
  30889. (
  30890. bld_id,
  30891. obj_kind,
  30892. obj_signature,
  30893. obj_owner,
  30894. need_obj_kind,
  30895. need_obj_signature,
  30896. need_obj_owner)
  30897. values
  30898. (
  30899. "%SYSBLDNAME%",
  30900. 69, "TimeSeriesPSDAPI ()",
  30901. "%SYSBLDUSER%",
  30902. 5, "TimeSeriesPSDAPI ()",
  30903. "%SYSBLDUSER%"
  30904. );
  30905. insert into sysbldobjects
  30906. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30907. create_can_fail, drop_sql, drop_can_fail)
  30908. values
  30909. (
  30910. "%SYSBLDNAME%", 5, "GetThreshold (TimeSeries)",
  30911. "%SYSBLDUSER%", 0,
  30912. "create function GetThreshold (TimeSeries)
  30913. returns int with (not variant, parallelizable)
  30914. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_threshold_sql)"" language c;
  30915. ",
  30916. "f",
  30917. "drop function GetThreshold (TimeSeries);
  30918. ",
  30919. "f"
  30920. );
  30921. insert into sysbldobjdepends
  30922. (
  30923. bld_id,
  30924. obj_kind,
  30925. obj_signature,
  30926. obj_owner,
  30927. need_obj_kind,
  30928. need_obj_signature,
  30929. need_obj_owner)
  30930. values
  30931. (
  30932. "%SYSBLDNAME%",
  30933. 5, "GetThreshold (TimeSeries)",
  30934. "%SYSBLDUSER%",
  30935. 7, "TimeSeries",
  30936. "%SYSBLDUSER%"
  30937. );
  30938. insert into sysbldobjects
  30939. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30940. create_can_fail, drop_sql, drop_can_fail)
  30941. values
  30942. (
  30943. "%SYSBLDNAME%", 69, "GetThreshold (TimeSeries)",
  30944. "%SYSBLDUSER%", 0,
  30945. "grant execute on function GetThreshold (TimeSeries) to public;
  30946. ",
  30947. "f",
  30948. "",
  30949. "f"
  30950. );
  30951. insert into sysbldobjdepends
  30952. (
  30953. bld_id,
  30954. obj_kind,
  30955. obj_signature,
  30956. obj_owner,
  30957. need_obj_kind,
  30958. need_obj_signature,
  30959. need_obj_owner)
  30960. values
  30961. (
  30962. "%SYSBLDNAME%",
  30963. 69, "GetThreshold (TimeSeries)",
  30964. "%SYSBLDUSER%",
  30965. 5, "GetThreshold (TimeSeries)",
  30966. "%SYSBLDUSER%"
  30967. );
  30968. insert into sysbldobjects
  30969. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  30970. create_can_fail, drop_sql, drop_can_fail)
  30971. values
  30972. (
  30973. "%SYSBLDNAME%", 5, "GetHertz (TimeSeries)",
  30974. "%SYSBLDUSER%", 0,
  30975. "create function GetHertz (TimeSeries)
  30976. returns int with (not variant, parallelizable)
  30977. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_hertz_sql)"" language c;
  30978. ",
  30979. "f",
  30980. "drop function GetHertz (TimeSeries);
  30981. ",
  30982. "f"
  30983. );
  30984. insert into sysbldobjdepends
  30985. (
  30986. bld_id,
  30987. obj_kind,
  30988. obj_signature,
  30989. obj_owner,
  30990. need_obj_kind,
  30991. need_obj_signature,
  30992. need_obj_owner)
  30993. values
  30994. (
  30995. "%SYSBLDNAME%",
  30996. 5, "GetHertz (TimeSeries)",
  30997. "%SYSBLDUSER%",
  30998. 7, "TimeSeries",
  30999. "%SYSBLDUSER%"
  31000. );
  31001. insert into sysbldobjects
  31002. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31003. create_can_fail, drop_sql, drop_can_fail)
  31004. values
  31005. (
  31006. "%SYSBLDNAME%", 69, "GetHertz (TimeSeries)",
  31007. "%SYSBLDUSER%", 0,
  31008. "grant execute on function GetHertz (TimeSeries) to public;
  31009. ",
  31010. "f",
  31011. "",
  31012. "f"
  31013. );
  31014. insert into sysbldobjdepends
  31015. (
  31016. bld_id,
  31017. obj_kind,
  31018. obj_signature,
  31019. obj_owner,
  31020. need_obj_kind,
  31021. need_obj_signature,
  31022. need_obj_owner)
  31023. values
  31024. (
  31025. "%SYSBLDNAME%",
  31026. 69, "GetHertz (TimeSeries)",
  31027. "%SYSBLDUSER%",
  31028. 5, "GetHertz (TimeSeries)",
  31029. "%SYSBLDUSER%"
  31030. );
  31031. insert into sysbldobjects
  31032. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31033. create_can_fail, drop_sql, drop_can_fail)
  31034. values
  31035. (
  31036. "%SYSBLDNAME%", 5, "GetPacked (TimeSeries)",
  31037. "%SYSBLDUSER%", 0,
  31038. "create function GetPacked (TimeSeries)
  31039. returns int with (not variant, parallelizable)
  31040. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_packed_sql)"" language c;
  31041. ",
  31042. "f",
  31043. "drop function GetPacked (TimeSeries);
  31044. ",
  31045. "f"
  31046. );
  31047. insert into sysbldobjdepends
  31048. (
  31049. bld_id,
  31050. obj_kind,
  31051. obj_signature,
  31052. obj_owner,
  31053. need_obj_kind,
  31054. need_obj_signature,
  31055. need_obj_owner)
  31056. values
  31057. (
  31058. "%SYSBLDNAME%",
  31059. 5, "GetPacked (TimeSeries)",
  31060. "%SYSBLDUSER%",
  31061. 7, "TimeSeries",
  31062. "%SYSBLDUSER%"
  31063. );
  31064. insert into sysbldobjects
  31065. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31066. create_can_fail, drop_sql, drop_can_fail)
  31067. values
  31068. (
  31069. "%SYSBLDNAME%", 69, "GetPacked (TimeSeries)",
  31070. "%SYSBLDUSER%", 0,
  31071. "grant execute on function GetPacked (TimeSeries) to public;
  31072. ",
  31073. "f",
  31074. "",
  31075. "f"
  31076. );
  31077. insert into sysbldobjdepends
  31078. (
  31079. bld_id,
  31080. obj_kind,
  31081. obj_signature,
  31082. obj_owner,
  31083. need_obj_kind,
  31084. need_obj_signature,
  31085. need_obj_owner)
  31086. values
  31087. (
  31088. "%SYSBLDNAME%",
  31089. 69, "GetPacked (TimeSeries)",
  31090. "%SYSBLDUSER%",
  31091. 5, "GetPacked (TimeSeries)",
  31092. "%SYSBLDUSER%"
  31093. );
  31094. insert into sysbldobjects
  31095. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31096. create_can_fail, drop_sql, drop_can_fail)
  31097. values
  31098. (
  31099. "%SYSBLDNAME%", 5, "GetCompression (TimeSeries)",
  31100. "%SYSBLDUSER%", 0,
  31101. "create function GetCompression (TimeSeries)
  31102. returns lvarchar with (not variant, parallelizable)
  31103. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_compression_sql)"" language c;
  31104. ",
  31105. "f",
  31106. "drop function GetCompression (TimeSeries);
  31107. ",
  31108. "f"
  31109. );
  31110. insert into sysbldobjdepends
  31111. (
  31112. bld_id,
  31113. obj_kind,
  31114. obj_signature,
  31115. obj_owner,
  31116. need_obj_kind,
  31117. need_obj_signature,
  31118. need_obj_owner)
  31119. values
  31120. (
  31121. "%SYSBLDNAME%",
  31122. 5, "GetCompression (TimeSeries)",
  31123. "%SYSBLDUSER%",
  31124. 7, "TimeSeries",
  31125. "%SYSBLDUSER%"
  31126. );
  31127. insert into sysbldobjects
  31128. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31129. create_can_fail, drop_sql, drop_can_fail)
  31130. values
  31131. (
  31132. "%SYSBLDNAME%", 69, "GetCompression (TimeSeries)",
  31133. "%SYSBLDUSER%", 0,
  31134. "grant execute on function GetCompression (TimeSeries) to public;
  31135. ",
  31136. "f",
  31137. "",
  31138. "f"
  31139. );
  31140. insert into sysbldobjdepends
  31141. (
  31142. bld_id,
  31143. obj_kind,
  31144. obj_signature,
  31145. obj_owner,
  31146. need_obj_kind,
  31147. need_obj_signature,
  31148. need_obj_owner)
  31149. values
  31150. (
  31151. "%SYSBLDNAME%",
  31152. 69, "GetCompression (TimeSeries)",
  31153. "%SYSBLDUSER%",
  31154. 5, "GetCompression (TimeSeries)",
  31155. "%SYSBLDUSER%"
  31156. );
  31157. insert into sysbldobjects
  31158. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31159. create_can_fail, drop_sql, drop_can_fail)
  31160. values
  31161. (
  31162. "%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31163. "%SYSBLDUSER%", 0,
  31164. "create procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int default NULL,lvarchar default NULL)
  31165. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vt_nts)"" language c;
  31166. ",
  31167. "f",
  31168. "drop procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar);
  31169. ",
  31170. "f"
  31171. );
  31172. insert into sysbldobjects
  31173. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31174. create_can_fail, drop_sql, drop_can_fail)
  31175. values
  31176. (
  31177. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31178. "%SYSBLDUSER%", 0,
  31179. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
  31180. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vt_nts)"");
  31181. ",
  31182. "f",
  31183. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
  31184. with (Modify External Name = ""ts_create_vt_nts"");
  31185. ",
  31186. "f"
  31187. );
  31188. insert into sysbldobjdepends
  31189. (
  31190. bld_id,
  31191. obj_kind,
  31192. obj_signature,
  31193. obj_owner,
  31194. need_obj_kind,
  31195. need_obj_signature,
  31196. need_obj_owner)
  31197. values
  31198. (
  31199. "%SYSBLDNAME%",
  31200. 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31201. "%SYSBLDUSER%",
  31202. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31203. "%SYSBLDUSER%"
  31204. );
  31205. insert into sysbldobjects
  31206. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31207. create_can_fail, drop_sql, drop_can_fail)
  31208. values
  31209. (
  31210. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31211. "%SYSBLDUSER%", 0,
  31212. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
  31213. with (add handlesnulls);
  31214. ",
  31215. "f",
  31216. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
  31217. with (drop handlesnulls);
  31218. ",
  31219. "f"
  31220. );
  31221. insert into sysbldobjdepends
  31222. (
  31223. bld_id,
  31224. obj_kind,
  31225. obj_signature,
  31226. obj_owner,
  31227. need_obj_kind,
  31228. need_obj_signature,
  31229. need_obj_owner)
  31230. values
  31231. (
  31232. "%SYSBLDNAME%",
  31233. 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31234. "%SYSBLDUSER%",
  31235. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31236. "%SYSBLDUSER%"
  31237. );
  31238. insert into sysbldobjects
  31239. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31240. create_can_fail, drop_sql, drop_can_fail)
  31241. values
  31242. (
  31243. "%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31244. "%SYSBLDUSER%", 0,
  31245. "grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar) to public;
  31246. ",
  31247. "f",
  31248. "",
  31249. "f"
  31250. );
  31251. insert into sysbldobjdepends
  31252. (
  31253. bld_id,
  31254. obj_kind,
  31255. obj_signature,
  31256. obj_owner,
  31257. need_obj_kind,
  31258. need_obj_signature,
  31259. need_obj_owner)
  31260. values
  31261. (
  31262. "%SYSBLDNAME%",
  31263. 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31264. "%SYSBLDUSER%",
  31265. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
  31266. "%SYSBLDUSER%"
  31267. );
  31268. insert into sysbldobjects
  31269. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31270. create_can_fail, drop_sql, drop_can_fail)
  31271. values
  31272. (
  31273. "%SYSBLDNAME%", 5, "TSRunningVar (double precision,int)",
  31274. "%SYSBLDUSER%", 0,
  31275. "create function TSRunningVar (double precision,int)
  31276. returns double precision with (handlesnulls)
  31277. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_var_double_sql)"" language c;
  31278. ",
  31279. "f",
  31280. "drop function TSRunningVar (double precision,int);
  31281. ",
  31282. "f"
  31283. );
  31284. insert into sysbldobjects
  31285. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31286. create_can_fail, drop_sql, drop_can_fail)
  31287. values
  31288. (
  31289. "%SYSBLDNAME%", 69, "TSRunningVar (double precision,int)",
  31290. "%SYSBLDUSER%", 0,
  31291. "grant execute on function TSRunningVar (double precision,int) to public;
  31292. ",
  31293. "f",
  31294. "",
  31295. "f"
  31296. );
  31297. insert into sysbldobjdepends
  31298. (
  31299. bld_id,
  31300. obj_kind,
  31301. obj_signature,
  31302. obj_owner,
  31303. need_obj_kind,
  31304. need_obj_signature,
  31305. need_obj_owner)
  31306. values
  31307. (
  31308. "%SYSBLDNAME%",
  31309. 69, "TSRunningVar (double precision,int)",
  31310. "%SYSBLDUSER%",
  31311. 5, "TSRunningVar (double precision,int)",
  31312. "%SYSBLDUSER%"
  31313. );
  31314. insert into sysbldobjects
  31315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31316. create_can_fail, drop_sql, drop_can_fail)
  31317. values
  31318. (
  31319. "%SYSBLDNAME%", 5, "TSRunningVar (real,int)",
  31320. "%SYSBLDUSER%", 0,
  31321. "create function TSRunningVar (real,int)
  31322. returns double precision with (handlesnulls)
  31323. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_var_single_sql)"" language c;
  31324. ",
  31325. "f",
  31326. "drop function TSRunningVar (real,int);
  31327. ",
  31328. "f"
  31329. );
  31330. insert into sysbldobjects
  31331. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31332. create_can_fail, drop_sql, drop_can_fail)
  31333. values
  31334. (
  31335. "%SYSBLDNAME%", 69, "TSRunningVar (real,int)",
  31336. "%SYSBLDUSER%", 0,
  31337. "grant execute on function TSRunningVar (real,int) to public;
  31338. ",
  31339. "f",
  31340. "",
  31341. "f"
  31342. );
  31343. insert into sysbldobjdepends
  31344. (
  31345. bld_id,
  31346. obj_kind,
  31347. obj_signature,
  31348. obj_owner,
  31349. need_obj_kind,
  31350. need_obj_signature,
  31351. need_obj_owner)
  31352. values
  31353. (
  31354. "%SYSBLDNAME%",
  31355. 69, "TSRunningVar (real,int)",
  31356. "%SYSBLDUSER%",
  31357. 5, "TSRunningVar (real,int)",
  31358. "%SYSBLDUSER%"
  31359. );
  31360. insert into sysbldobjects
  31361. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31362. create_can_fail, drop_sql, drop_can_fail)
  31363. values
  31364. (
  31365. "%SYSBLDNAME%", 5, "TSRunningMed (double precision,int)",
  31366. "%SYSBLDUSER%", 0,
  31367. "create function TSRunningMed (double precision,int)
  31368. returns double precision with (handlesnulls)
  31369. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_median_double_sql)"" language c;
  31370. ",
  31371. "f",
  31372. "drop function TSRunningMed (double precision,int);
  31373. ",
  31374. "f"
  31375. );
  31376. insert into sysbldobjects
  31377. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31378. create_can_fail, drop_sql, drop_can_fail)
  31379. values
  31380. (
  31381. "%SYSBLDNAME%", 69, "TSRunningMed (double precision,int)",
  31382. "%SYSBLDUSER%", 0,
  31383. "grant execute on function TSRunningMed (double precision,int) to public;
  31384. ",
  31385. "f",
  31386. "",
  31387. "f"
  31388. );
  31389. insert into sysbldobjdepends
  31390. (
  31391. bld_id,
  31392. obj_kind,
  31393. obj_signature,
  31394. obj_owner,
  31395. need_obj_kind,
  31396. need_obj_signature,
  31397. need_obj_owner)
  31398. values
  31399. (
  31400. "%SYSBLDNAME%",
  31401. 69, "TSRunningMed (double precision,int)",
  31402. "%SYSBLDUSER%",
  31403. 5, "TSRunningMed (double precision,int)",
  31404. "%SYSBLDUSER%"
  31405. );
  31406. insert into sysbldobjects
  31407. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31408. create_can_fail, drop_sql, drop_can_fail)
  31409. values
  31410. (
  31411. "%SYSBLDNAME%", 5, "TSRunningMed (real,int)",
  31412. "%SYSBLDUSER%", 0,
  31413. "create function TSRunningMed (real,int)
  31414. returns double precision with (handlesnulls)
  31415. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_median_single_sql)"" language c;
  31416. ",
  31417. "f",
  31418. "drop function TSRunningMed (real,int);
  31419. ",
  31420. "f"
  31421. );
  31422. insert into sysbldobjects
  31423. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31424. create_can_fail, drop_sql, drop_can_fail)
  31425. values
  31426. (
  31427. "%SYSBLDNAME%", 69, "TSRunningMed (real,int)",
  31428. "%SYSBLDUSER%", 0,
  31429. "grant execute on function TSRunningMed (real,int) to public;
  31430. ",
  31431. "f",
  31432. "",
  31433. "f"
  31434. );
  31435. insert into sysbldobjdepends
  31436. (
  31437. bld_id,
  31438. obj_kind,
  31439. obj_signature,
  31440. obj_owner,
  31441. need_obj_kind,
  31442. need_obj_signature,
  31443. need_obj_owner)
  31444. values
  31445. (
  31446. "%SYSBLDNAME%",
  31447. 69, "TSRunningMed (real,int)",
  31448. "%SYSBLDUSER%",
  31449. 5, "TSRunningMed (real,int)",
  31450. "%SYSBLDUSER%"
  31451. );
  31452. insert into sysbldobjects
  31453. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31454. create_can_fail, drop_sql, drop_can_fail)
  31455. values
  31456. (
  31457. "%SYSBLDNAME%", 5, "TSRunningCor (double precision,double precision,int)",
  31458. "%SYSBLDUSER%", 0,
  31459. "create function TSRunningCor (double precision,double precision,int)
  31460. returns double precision with (handlesnulls)
  31461. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_correlation_double_sql)"" language c;
  31462. ",
  31463. "f",
  31464. "drop function TSRunningCor (double precision,double precision,int);
  31465. ",
  31466. "f"
  31467. );
  31468. insert into sysbldobjects
  31469. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31470. create_can_fail, drop_sql, drop_can_fail)
  31471. values
  31472. (
  31473. "%SYSBLDNAME%", 69, "TSRunningCor (double precision,double precision,int)",
  31474. "%SYSBLDUSER%", 0,
  31475. "grant execute on function TSRunningCor (double precision,double precision,int) to public;
  31476. ",
  31477. "f",
  31478. "",
  31479. "f"
  31480. );
  31481. insert into sysbldobjdepends
  31482. (
  31483. bld_id,
  31484. obj_kind,
  31485. obj_signature,
  31486. obj_owner,
  31487. need_obj_kind,
  31488. need_obj_signature,
  31489. need_obj_owner)
  31490. values
  31491. (
  31492. "%SYSBLDNAME%",
  31493. 69, "TSRunningCor (double precision,double precision,int)",
  31494. "%SYSBLDUSER%",
  31495. 5, "TSRunningCor (double precision,double precision,int)",
  31496. "%SYSBLDUSER%"
  31497. );
  31498. insert into sysbldobjects
  31499. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31500. create_can_fail, drop_sql, drop_can_fail)
  31501. values
  31502. (
  31503. "%SYSBLDNAME%", 5, "TSRunningCor (real,real,int)",
  31504. "%SYSBLDUSER%", 0,
  31505. "create function TSRunningCor (real,real,int)
  31506. returns double precision with (handlesnulls)
  31507. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_correlation_single_sql)"" language c;
  31508. ",
  31509. "f",
  31510. "drop function TSRunningCor (real,real,int);
  31511. ",
  31512. "f"
  31513. );
  31514. insert into sysbldobjects
  31515. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31516. create_can_fail, drop_sql, drop_can_fail)
  31517. values
  31518. (
  31519. "%SYSBLDNAME%", 69, "TSRunningCor (real,real,int)",
  31520. "%SYSBLDUSER%", 0,
  31521. "grant execute on function TSRunningCor (real,real,int) to public;
  31522. ",
  31523. "f",
  31524. "",
  31525. "f"
  31526. );
  31527. insert into sysbldobjdepends
  31528. (
  31529. bld_id,
  31530. obj_kind,
  31531. obj_signature,
  31532. obj_owner,
  31533. need_obj_kind,
  31534. need_obj_signature,
  31535. need_obj_owner)
  31536. values
  31537. (
  31538. "%SYSBLDNAME%",
  31539. 69, "TSRunningCor (real,real,int)",
  31540. "%SYSBLDUSER%",
  31541. 5, "TSRunningCor (real,real,int)",
  31542. "%SYSBLDUSER%"
  31543. );
  31544. insert into sysbldobjects
  31545. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31546. create_can_fail, drop_sql, drop_can_fail)
  31547. values
  31548. (
  31549. "%SYSBLDNAME%", 5, "TimeSeriesRelease ()",
  31550. "%SYSBLDUSER%", 0,
  31551. "create function TimeSeriesRelease ()
  31552. returns lvarchar with (not variant, handlesnulls)
  31553. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(TSRelease)"" language c;
  31554. ",
  31555. "f",
  31556. "drop function TimeSeriesRelease ();
  31557. ",
  31558. "f"
  31559. );
  31560. insert into sysbldobjects
  31561. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31562. create_can_fail, drop_sql, drop_can_fail)
  31563. values
  31564. (
  31565. "%SYSBLDNAME%", 69, "TimeSeriesRelease ()",
  31566. "%SYSBLDUSER%", 0,
  31567. "grant execute on function TimeSeriesRelease () to public;
  31568. ",
  31569. "f",
  31570. "",
  31571. "f"
  31572. );
  31573. insert into sysbldobjdepends
  31574. (
  31575. bld_id,
  31576. obj_kind,
  31577. obj_signature,
  31578. obj_owner,
  31579. need_obj_kind,
  31580. need_obj_signature,
  31581. need_obj_owner)
  31582. values
  31583. (
  31584. "%SYSBLDNAME%",
  31585. 69, "TimeSeriesRelease ()",
  31586. "%SYSBLDUSER%",
  31587. 5, "TimeSeriesRelease ()",
  31588. "%SYSBLDUSER%"
  31589. );
  31590. insert into sysbldobjects
  31591. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31592. create_can_fail, drop_sql, drop_can_fail)
  31593. values
  31594. (
  31595. "%SYSBLDNAME%", 5, "DelTrim (TimeSeries,datetime,datetime,integer)",
  31596. "%SYSBLDUSER%", 0,
  31597. "create function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
  31598. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  31599. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_trim_sql)"" language c;
  31600. ",
  31601. "f",
  31602. "drop function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  31603. ",
  31604. "f"
  31605. );
  31606. insert into sysbldobjdepends
  31607. (
  31608. bld_id,
  31609. obj_kind,
  31610. obj_signature,
  31611. obj_owner,
  31612. need_obj_kind,
  31613. need_obj_signature,
  31614. need_obj_owner)
  31615. values
  31616. (
  31617. "%SYSBLDNAME%",
  31618. 5, "DelTrim (TimeSeries,datetime,datetime,integer)",
  31619. "%SYSBLDUSER%",
  31620. 7, "TimeSeries",
  31621. "%SYSBLDUSER%"
  31622. );
  31623. insert into sysbldobjects
  31624. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31625. create_can_fail, drop_sql, drop_can_fail)
  31626. values
  31627. (
  31628. "%SYSBLDNAME%", 69, "DelTrim (TimeSeries,datetime,datetime,integer)",
  31629. "%SYSBLDUSER%", 0,
  31630. "grant execute on function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  31631. ",
  31632. "f",
  31633. "",
  31634. "f"
  31635. );
  31636. insert into sysbldobjdepends
  31637. (
  31638. bld_id,
  31639. obj_kind,
  31640. obj_signature,
  31641. obj_owner,
  31642. need_obj_kind,
  31643. need_obj_signature,
  31644. need_obj_owner)
  31645. values
  31646. (
  31647. "%SYSBLDNAME%",
  31648. 69, "DelTrim (TimeSeries,datetime,datetime,integer)",
  31649. "%SYSBLDUSER%",
  31650. 5, "DelTrim (TimeSeries,datetime,datetime,integer)",
  31651. "%SYSBLDUSER%"
  31652. );
  31653. insert into sysbldobjects
  31654. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31655. create_can_fail, drop_sql, drop_can_fail)
  31656. values
  31657. (
  31658. "%SYSBLDNAME%", 5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
  31659. "%SYSBLDUSER%", 0,
  31660. "create function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar default NULL,integer default 0)
  31661. returns row with (not variant, handlesnulls, parallelizable)
  31662. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_non_null_sql)"" language c;
  31663. ",
  31664. "f",
  31665. "drop function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer);
  31666. ",
  31667. "f"
  31668. );
  31669. insert into sysbldobjdepends
  31670. (
  31671. bld_id,
  31672. obj_kind,
  31673. obj_signature,
  31674. obj_owner,
  31675. need_obj_kind,
  31676. need_obj_signature,
  31677. need_obj_owner)
  31678. values
  31679. (
  31680. "%SYSBLDNAME%",
  31681. 5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
  31682. "%SYSBLDUSER%",
  31683. 7, "TimeSeries",
  31684. "%SYSBLDUSER%"
  31685. );
  31686. insert into sysbldobjects
  31687. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31688. create_can_fail, drop_sql, drop_can_fail)
  31689. values
  31690. (
  31691. "%SYSBLDNAME%", 69, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
  31692. "%SYSBLDUSER%", 0,
  31693. "grant execute on function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer) to public;
  31694. ",
  31695. "f",
  31696. "",
  31697. "f"
  31698. );
  31699. insert into sysbldobjdepends
  31700. (
  31701. bld_id,
  31702. obj_kind,
  31703. obj_signature,
  31704. obj_owner,
  31705. need_obj_kind,
  31706. need_obj_signature,
  31707. need_obj_owner)
  31708. values
  31709. (
  31710. "%SYSBLDNAME%",
  31711. 69, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
  31712. "%SYSBLDUSER%",
  31713. 5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
  31714. "%SYSBLDUSER%"
  31715. );
  31716. insert into sysbldobjects
  31717. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31718. create_can_fail, drop_sql, drop_can_fail)
  31719. values
  31720. (
  31721. "%SYSBLDNAME%", 5, "TimeSeriesGNNAPI ()",
  31722. "%SYSBLDUSER%", 0,
  31723. "create function TimeSeriesGNNAPI ()
  31724. returns pointer with (not variant, internal, handlesnulls)
  31725. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_non_null_api)"" language c;
  31726. ",
  31727. "f",
  31728. "drop function TimeSeriesGNNAPI ();
  31729. ",
  31730. "f"
  31731. );
  31732. insert into sysbldobjects
  31733. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31734. create_can_fail, drop_sql, drop_can_fail)
  31735. values
  31736. (
  31737. "%SYSBLDNAME%", 69, "TimeSeriesGNNAPI ()",
  31738. "%SYSBLDUSER%", 0,
  31739. "grant execute on function TimeSeriesGNNAPI () to public;
  31740. ",
  31741. "f",
  31742. "",
  31743. "f"
  31744. );
  31745. insert into sysbldobjdepends
  31746. (
  31747. bld_id,
  31748. obj_kind,
  31749. obj_signature,
  31750. obj_owner,
  31751. need_obj_kind,
  31752. need_obj_signature,
  31753. need_obj_owner)
  31754. values
  31755. (
  31756. "%SYSBLDNAME%",
  31757. 69, "TimeSeriesGNNAPI ()",
  31758. "%SYSBLDUSER%",
  31759. 5, "TimeSeriesGNNAPI ()",
  31760. "%SYSBLDUSER%"
  31761. );
  31762. insert into sysbldobjects
  31763. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31764. create_can_fail, drop_sql, drop_can_fail)
  31765. values
  31766. (
  31767. "%SYSBLDNAME%", 5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
  31768. "%SYSBLDUSER%", 0,
  31769. "create function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar default null,integer default 0)
  31770. returns row with (not variant, handlesnulls, parallelizable)
  31771. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_next_non_null_sql)"" language c;
  31772. ",
  31773. "f",
  31774. "drop function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer);
  31775. ",
  31776. "f"
  31777. );
  31778. insert into sysbldobjdepends
  31779. (
  31780. bld_id,
  31781. obj_kind,
  31782. obj_signature,
  31783. obj_owner,
  31784. need_obj_kind,
  31785. need_obj_signature,
  31786. need_obj_owner)
  31787. values
  31788. (
  31789. "%SYSBLDNAME%",
  31790. 5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
  31791. "%SYSBLDUSER%",
  31792. 7, "TimeSeries",
  31793. "%SYSBLDUSER%"
  31794. );
  31795. insert into sysbldobjects
  31796. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31797. create_can_fail, drop_sql, drop_can_fail)
  31798. values
  31799. (
  31800. "%SYSBLDNAME%", 69, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
  31801. "%SYSBLDUSER%", 0,
  31802. "grant execute on function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer) to public;
  31803. ",
  31804. "f",
  31805. "",
  31806. "f"
  31807. );
  31808. insert into sysbldobjdepends
  31809. (
  31810. bld_id,
  31811. obj_kind,
  31812. obj_signature,
  31813. obj_owner,
  31814. need_obj_kind,
  31815. need_obj_signature,
  31816. need_obj_owner)
  31817. values
  31818. (
  31819. "%SYSBLDNAME%",
  31820. 69, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
  31821. "%SYSBLDUSER%",
  31822. 5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
  31823. "%SYSBLDUSER%"
  31824. );
  31825. insert into sysbldobjects
  31826. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31827. create_can_fail, drop_sql, drop_can_fail)
  31828. values
  31829. (
  31830. "%SYSBLDNAME%", 5, "ElemIsHidden (TimeSeries,datetime)",
  31831. "%SYSBLDUSER%", 0,
  31832. "create function ElemIsHidden (TimeSeries,datetime year to fraction(5))
  31833. returns boolean with (not variant, parallelizable)
  31834. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_hidden_sql)"" language c;
  31835. ",
  31836. "f",
  31837. "drop function ElemIsHidden (TimeSeries,datetime year to fraction(5));
  31838. ",
  31839. "f"
  31840. );
  31841. insert into sysbldobjdepends
  31842. (
  31843. bld_id,
  31844. obj_kind,
  31845. obj_signature,
  31846. obj_owner,
  31847. need_obj_kind,
  31848. need_obj_signature,
  31849. need_obj_owner)
  31850. values
  31851. (
  31852. "%SYSBLDNAME%",
  31853. 5, "ElemIsHidden (TimeSeries,datetime)",
  31854. "%SYSBLDUSER%",
  31855. 7, "TimeSeries",
  31856. "%SYSBLDUSER%"
  31857. );
  31858. insert into sysbldobjects
  31859. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31860. create_can_fail, drop_sql, drop_can_fail)
  31861. values
  31862. (
  31863. "%SYSBLDNAME%", 69, "ElemIsHidden (TimeSeries,datetime)",
  31864. "%SYSBLDUSER%", 0,
  31865. "grant execute on function ElemIsHidden (TimeSeries,datetime year to fraction(5)) to public;
  31866. ",
  31867. "f",
  31868. "",
  31869. "f"
  31870. );
  31871. insert into sysbldobjdepends
  31872. (
  31873. bld_id,
  31874. obj_kind,
  31875. obj_signature,
  31876. obj_owner,
  31877. need_obj_kind,
  31878. need_obj_signature,
  31879. need_obj_owner)
  31880. values
  31881. (
  31882. "%SYSBLDNAME%",
  31883. 69, "ElemIsHidden (TimeSeries,datetime)",
  31884. "%SYSBLDUSER%",
  31885. 5, "ElemIsHidden (TimeSeries,datetime)",
  31886. "%SYSBLDUSER%"
  31887. );
  31888. insert into sysbldobjects
  31889. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31890. create_can_fail, drop_sql, drop_can_fail)
  31891. values
  31892. (
  31893. "%SYSBLDNAME%", 5, "ElemIsHidden (TimeSeries,integer)",
  31894. "%SYSBLDUSER%", 0,
  31895. "create function ElemIsHidden (TimeSeries,integer)
  31896. returns boolean with (not variant, parallelizable)
  31897. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_is_hidden_sql)"" language c;
  31898. ",
  31899. "f",
  31900. "drop function ElemIsHidden (TimeSeries,integer);
  31901. ",
  31902. "f"
  31903. );
  31904. insert into sysbldobjdepends
  31905. (
  31906. bld_id,
  31907. obj_kind,
  31908. obj_signature,
  31909. obj_owner,
  31910. need_obj_kind,
  31911. need_obj_signature,
  31912. need_obj_owner)
  31913. values
  31914. (
  31915. "%SYSBLDNAME%",
  31916. 5, "ElemIsHidden (TimeSeries,integer)",
  31917. "%SYSBLDUSER%",
  31918. 7, "TimeSeries",
  31919. "%SYSBLDUSER%"
  31920. );
  31921. insert into sysbldobjects
  31922. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31923. create_can_fail, drop_sql, drop_can_fail)
  31924. values
  31925. (
  31926. "%SYSBLDNAME%", 69, "ElemIsHidden (TimeSeries,integer)",
  31927. "%SYSBLDUSER%", 0,
  31928. "grant execute on function ElemIsHidden (TimeSeries,integer) to public;
  31929. ",
  31930. "f",
  31931. "",
  31932. "f"
  31933. );
  31934. insert into sysbldobjdepends
  31935. (
  31936. bld_id,
  31937. obj_kind,
  31938. obj_signature,
  31939. obj_owner,
  31940. need_obj_kind,
  31941. need_obj_signature,
  31942. need_obj_owner)
  31943. values
  31944. (
  31945. "%SYSBLDNAME%",
  31946. 69, "ElemIsHidden (TimeSeries,integer)",
  31947. "%SYSBLDUSER%",
  31948. 5, "ElemIsHidden (TimeSeries,integer)",
  31949. "%SYSBLDUSER%"
  31950. );
  31951. insert into sysbldobjects
  31952. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31953. create_can_fail, drop_sql, drop_can_fail)
  31954. values
  31955. (
  31956. "%SYSBLDNAME%", 5, "TimeSeriesPLUSAPI ()",
  31957. "%SYSBLDUSER%", 0,
  31958. "create function TimeSeriesPLUSAPI ()
  31959. returns pointer with (not variant, internal, handlesnulls)
  31960. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_plus)"" language c;
  31961. ",
  31962. "f",
  31963. "drop function TimeSeriesPLUSAPI ();
  31964. ",
  31965. "f"
  31966. );
  31967. insert into sysbldobjects
  31968. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31969. create_can_fail, drop_sql, drop_can_fail)
  31970. values
  31971. (
  31972. "%SYSBLDNAME%", 69, "TimeSeriesPLUSAPI ()",
  31973. "%SYSBLDUSER%", 0,
  31974. "grant execute on function TimeSeriesPLUSAPI () to public;
  31975. ",
  31976. "f",
  31977. "",
  31978. "f"
  31979. );
  31980. insert into sysbldobjdepends
  31981. (
  31982. bld_id,
  31983. obj_kind,
  31984. obj_signature,
  31985. obj_owner,
  31986. need_obj_kind,
  31987. need_obj_signature,
  31988. need_obj_owner)
  31989. values
  31990. (
  31991. "%SYSBLDNAME%",
  31992. 69, "TimeSeriesPLUSAPI ()",
  31993. "%SYSBLDUSER%",
  31994. 5, "TimeSeriesPLUSAPI ()",
  31995. "%SYSBLDUSER%"
  31996. );
  31997. insert into sysbldobjects
  31998. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  31999. create_can_fail, drop_sql, drop_can_fail)
  32000. values
  32001. (
  32002. "%SYSBLDNAME%", 5, "TimeSeriesMINAPI ()",
  32003. "%SYSBLDUSER%", 0,
  32004. "create function TimeSeriesMINAPI ()
  32005. returns pointer with (not variant, internal, handlesnulls)
  32006. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_minus)"" language c;
  32007. ",
  32008. "f",
  32009. "drop function TimeSeriesMINAPI ();
  32010. ",
  32011. "f"
  32012. );
  32013. insert into sysbldobjects
  32014. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32015. create_can_fail, drop_sql, drop_can_fail)
  32016. values
  32017. (
  32018. "%SYSBLDNAME%", 69, "TimeSeriesMINAPI ()",
  32019. "%SYSBLDUSER%", 0,
  32020. "grant execute on function TimeSeriesMINAPI () to public;
  32021. ",
  32022. "f",
  32023. "",
  32024. "f"
  32025. );
  32026. insert into sysbldobjdepends
  32027. (
  32028. bld_id,
  32029. obj_kind,
  32030. obj_signature,
  32031. obj_owner,
  32032. need_obj_kind,
  32033. need_obj_signature,
  32034. need_obj_owner)
  32035. values
  32036. (
  32037. "%SYSBLDNAME%",
  32038. 69, "TimeSeriesMINAPI ()",
  32039. "%SYSBLDUSER%",
  32040. 5, "TimeSeriesMINAPI ()",
  32041. "%SYSBLDUSER%"
  32042. );
  32043. insert into sysbldobjects
  32044. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32045. create_can_fail, drop_sql, drop_can_fail)
  32046. values
  32047. (
  32048. "%SYSBLDNAME%", 5, "TimeSeriesDIFFAPI ()",
  32049. "%SYSBLDUSER%", 0,
  32050. "create function TimeSeriesDIFFAPI ()
  32051. returns pointer with (not variant, internal, handlesnulls)
  32052. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_difference)"" language c;
  32053. ",
  32054. "f",
  32055. "drop function TimeSeriesDIFFAPI ();
  32056. ",
  32057. "f"
  32058. );
  32059. insert into sysbldobjects
  32060. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32061. create_can_fail, drop_sql, drop_can_fail)
  32062. values
  32063. (
  32064. "%SYSBLDNAME%", 69, "TimeSeriesDIFFAPI ()",
  32065. "%SYSBLDUSER%", 0,
  32066. "grant execute on function TimeSeriesDIFFAPI () to public;
  32067. ",
  32068. "f",
  32069. "",
  32070. "f"
  32071. );
  32072. insert into sysbldobjdepends
  32073. (
  32074. bld_id,
  32075. obj_kind,
  32076. obj_signature,
  32077. obj_owner,
  32078. need_obj_kind,
  32079. need_obj_signature,
  32080. need_obj_owner)
  32081. values
  32082. (
  32083. "%SYSBLDNAME%",
  32084. 69, "TimeSeriesDIFFAPI ()",
  32085. "%SYSBLDUSER%",
  32086. 5, "TimeSeriesDIFFAPI ()",
  32087. "%SYSBLDUSER%"
  32088. );
  32089. insert into sysbldobjects
  32090. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32091. create_can_fail, drop_sql, drop_can_fail)
  32092. values
  32093. (
  32094. "%SYSBLDNAME%", 5, "TimeSeriesCEAPI ()",
  32095. "%SYSBLDUSER%", 0,
  32096. "create function TimeSeriesCEAPI ()
  32097. returns pointer with (not variant, internal, handlesnulls)
  32098. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_closest_elem_api)"" language c;
  32099. ",
  32100. "f",
  32101. "drop function TimeSeriesCEAPI ();
  32102. ",
  32103. "f"
  32104. );
  32105. insert into sysbldobjects
  32106. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32107. create_can_fail, drop_sql, drop_can_fail)
  32108. values
  32109. (
  32110. "%SYSBLDNAME%", 69, "TimeSeriesCEAPI ()",
  32111. "%SYSBLDUSER%", 0,
  32112. "grant execute on function TimeSeriesCEAPI () to public;
  32113. ",
  32114. "f",
  32115. "",
  32116. "f"
  32117. );
  32118. insert into sysbldobjdepends
  32119. (
  32120. bld_id,
  32121. obj_kind,
  32122. obj_signature,
  32123. obj_owner,
  32124. need_obj_kind,
  32125. need_obj_signature,
  32126. need_obj_owner)
  32127. values
  32128. (
  32129. "%SYSBLDNAME%",
  32130. 69, "TimeSeriesCEAPI ()",
  32131. "%SYSBLDUSER%",
  32132. 5, "TimeSeriesCEAPI ()",
  32133. "%SYSBLDUSER%"
  32134. );
  32135. insert into sysbldobjects
  32136. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32137. create_can_fail, drop_sql, drop_can_fail)
  32138. values
  32139. (
  32140. "%SYSBLDNAME%", 5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
  32141. "%SYSBLDUSER%", 0,
  32142. "create function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar default null,integer default 0)
  32143. returns row with (not variant, handlesnulls, parallelizable)
  32144. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_closest_row_sql)"" language c;
  32145. ",
  32146. "f",
  32147. "drop function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar,integer);
  32148. ",
  32149. "f"
  32150. );
  32151. insert into sysbldobjdepends
  32152. (
  32153. bld_id,
  32154. obj_kind,
  32155. obj_signature,
  32156. obj_owner,
  32157. need_obj_kind,
  32158. need_obj_signature,
  32159. need_obj_owner)
  32160. values
  32161. (
  32162. "%SYSBLDNAME%",
  32163. 5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
  32164. "%SYSBLDUSER%",
  32165. 7, "TimeSeries",
  32166. "%SYSBLDUSER%"
  32167. );
  32168. insert into sysbldobjects
  32169. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32170. create_can_fail, drop_sql, drop_can_fail)
  32171. values
  32172. (
  32173. "%SYSBLDNAME%", 69, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
  32174. "%SYSBLDUSER%", 0,
  32175. "grant execute on function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar,integer) to public;
  32176. ",
  32177. "f",
  32178. "",
  32179. "f"
  32180. );
  32181. insert into sysbldobjdepends
  32182. (
  32183. bld_id,
  32184. obj_kind,
  32185. obj_signature,
  32186. obj_owner,
  32187. need_obj_kind,
  32188. need_obj_signature,
  32189. need_obj_owner)
  32190. values
  32191. (
  32192. "%SYSBLDNAME%",
  32193. 69, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
  32194. "%SYSBLDUSER%",
  32195. 5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
  32196. "%SYSBLDUSER%"
  32197. );
  32198. insert into sysbldobjects
  32199. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32200. create_can_fail, drop_sql, drop_can_fail)
  32201. values
  32202. (
  32203. "%SYSBLDNAME%", 5, "HideRange (TimeSeries,datetime,datetime,integer)",
  32204. "%SYSBLDUSER%", 0,
  32205. "create function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
  32206. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  32207. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_range_sql)"" language c;
  32208. ",
  32209. "f",
  32210. "drop function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  32211. ",
  32212. "f"
  32213. );
  32214. insert into sysbldobjdepends
  32215. (
  32216. bld_id,
  32217. obj_kind,
  32218. obj_signature,
  32219. obj_owner,
  32220. need_obj_kind,
  32221. need_obj_signature,
  32222. need_obj_owner)
  32223. values
  32224. (
  32225. "%SYSBLDNAME%",
  32226. 5, "HideRange (TimeSeries,datetime,datetime,integer)",
  32227. "%SYSBLDUSER%",
  32228. 7, "TimeSeries",
  32229. "%SYSBLDUSER%"
  32230. );
  32231. insert into sysbldobjects
  32232. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32233. create_can_fail, drop_sql, drop_can_fail)
  32234. values
  32235. (
  32236. "%SYSBLDNAME%", 69, "HideRange (TimeSeries,datetime,datetime,integer)",
  32237. "%SYSBLDUSER%", 0,
  32238. "grant execute on function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  32239. ",
  32240. "f",
  32241. "",
  32242. "f"
  32243. );
  32244. insert into sysbldobjdepends
  32245. (
  32246. bld_id,
  32247. obj_kind,
  32248. obj_signature,
  32249. obj_owner,
  32250. need_obj_kind,
  32251. need_obj_signature,
  32252. need_obj_owner)
  32253. values
  32254. (
  32255. "%SYSBLDNAME%",
  32256. 69, "HideRange (TimeSeries,datetime,datetime,integer)",
  32257. "%SYSBLDUSER%",
  32258. 5, "HideRange (TimeSeries,datetime,datetime,integer)",
  32259. "%SYSBLDUSER%"
  32260. );
  32261. insert into sysbldobjects
  32262. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32263. create_can_fail, drop_sql, drop_can_fail)
  32264. values
  32265. (
  32266. "%SYSBLDNAME%", 5, "RevealRange (TimeSeries,datetime,datetime)",
  32267. "%SYSBLDUSER%", 0,
  32268. "create function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5))
  32269. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  32270. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_range_sql)"" language c;
  32271. ",
  32272. "f",
  32273. "drop function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));
  32274. ",
  32275. "f"
  32276. );
  32277. insert into sysbldobjdepends
  32278. (
  32279. bld_id,
  32280. obj_kind,
  32281. obj_signature,
  32282. obj_owner,
  32283. need_obj_kind,
  32284. need_obj_signature,
  32285. need_obj_owner)
  32286. values
  32287. (
  32288. "%SYSBLDNAME%",
  32289. 5, "RevealRange (TimeSeries,datetime,datetime)",
  32290. "%SYSBLDUSER%",
  32291. 7, "TimeSeries",
  32292. "%SYSBLDUSER%"
  32293. );
  32294. insert into sysbldobjects
  32295. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32296. create_can_fail, drop_sql, drop_can_fail)
  32297. values
  32298. (
  32299. "%SYSBLDNAME%", 69, "RevealRange (TimeSeries,datetime,datetime)",
  32300. "%SYSBLDUSER%", 0,
  32301. "grant execute on function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;
  32302. ",
  32303. "f",
  32304. "",
  32305. "f"
  32306. );
  32307. insert into sysbldobjdepends
  32308. (
  32309. bld_id,
  32310. obj_kind,
  32311. obj_signature,
  32312. obj_owner,
  32313. need_obj_kind,
  32314. need_obj_signature,
  32315. need_obj_owner)
  32316. values
  32317. (
  32318. "%SYSBLDNAME%",
  32319. 69, "RevealRange (TimeSeries,datetime,datetime)",
  32320. "%SYSBLDUSER%",
  32321. 5, "RevealRange (TimeSeries,datetime,datetime)",
  32322. "%SYSBLDUSER%"
  32323. );
  32324. insert into sysbldobjects
  32325. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32326. create_can_fail, drop_sql, drop_can_fail)
  32327. values
  32328. (
  32329. "%SYSBLDNAME%", 5, "FindHidden (TimeSeries,datetime,datetime)",
  32330. "%SYSBLDUSER%", 0,
  32331. "create function FindHidden (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
  32332. returns multiset with (not variant, handlesnulls)
  32333. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_find_hidden_sql)"" language c;
  32334. ",
  32335. "f",
  32336. "drop function FindHidden (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));
  32337. ",
  32338. "f"
  32339. );
  32340. insert into sysbldobjdepends
  32341. (
  32342. bld_id,
  32343. obj_kind,
  32344. obj_signature,
  32345. obj_owner,
  32346. need_obj_kind,
  32347. need_obj_signature,
  32348. need_obj_owner)
  32349. values
  32350. (
  32351. "%SYSBLDNAME%",
  32352. 5, "FindHidden (TimeSeries,datetime,datetime)",
  32353. "%SYSBLDUSER%",
  32354. 7, "TimeSeries",
  32355. "%SYSBLDUSER%"
  32356. );
  32357. insert into sysbldobjects
  32358. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32359. create_can_fail, drop_sql, drop_can_fail)
  32360. values
  32361. (
  32362. "%SYSBLDNAME%", 69, "FindHidden (TimeSeries,datetime,datetime)",
  32363. "%SYSBLDUSER%", 0,
  32364. "grant execute on function FindHidden (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;
  32365. ",
  32366. "f",
  32367. "",
  32368. "f"
  32369. );
  32370. insert into sysbldobjdepends
  32371. (
  32372. bld_id,
  32373. obj_kind,
  32374. obj_signature,
  32375. obj_owner,
  32376. need_obj_kind,
  32377. need_obj_signature,
  32378. need_obj_owner)
  32379. values
  32380. (
  32381. "%SYSBLDNAME%",
  32382. 69, "FindHidden (TimeSeries,datetime,datetime)",
  32383. "%SYSBLDUSER%",
  32384. 5, "FindHidden (TimeSeries,datetime,datetime)",
  32385. "%SYSBLDUSER%"
  32386. );
  32387. insert into sysbldobjects
  32388. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32389. create_can_fail, drop_sql, drop_can_fail)
  32390. values
  32391. (
  32392. "%SYSBLDNAME%", 5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
  32393. "%SYSBLDUSER%", 0,
  32394. "create function AggregateRange (lvarchar,TimeSeries,integer default 0,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
  32395. returns row with (not variant, handlesnulls, parallelizable)
  32396. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_aggregate_by_range_sql)"" language c;
  32397. ",
  32398. "f",
  32399. "drop function AggregateRange (lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5));
  32400. ",
  32401. "f"
  32402. );
  32403. insert into sysbldobjdepends
  32404. (
  32405. bld_id,
  32406. obj_kind,
  32407. obj_signature,
  32408. obj_owner,
  32409. need_obj_kind,
  32410. need_obj_signature,
  32411. need_obj_owner)
  32412. values
  32413. (
  32414. "%SYSBLDNAME%",
  32415. 5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
  32416. "%SYSBLDUSER%",
  32417. 7, "TimeSeries",
  32418. "%SYSBLDUSER%"
  32419. );
  32420. insert into sysbldobjects
  32421. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32422. create_can_fail, drop_sql, drop_can_fail)
  32423. values
  32424. (
  32425. "%SYSBLDNAME%", 69, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
  32426. "%SYSBLDUSER%", 0,
  32427. "grant execute on function AggregateRange (lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5)) to public;
  32428. ",
  32429. "f",
  32430. "",
  32431. "f"
  32432. );
  32433. insert into sysbldobjdepends
  32434. (
  32435. bld_id,
  32436. obj_kind,
  32437. obj_signature,
  32438. obj_owner,
  32439. need_obj_kind,
  32440. need_obj_signature,
  32441. need_obj_owner)
  32442. values
  32443. (
  32444. "%SYSBLDNAME%",
  32445. 69, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
  32446. "%SYSBLDUSER%",
  32447. 5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
  32448. "%SYSBLDUSER%"
  32449. );
  32450. insert into sysbldobjects
  32451. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32452. create_can_fail, drop_sql, drop_can_fail)
  32453. values
  32454. (
  32455. "%SYSBLDNAME%", 5, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
  32456. "%SYSBLDUSER%", 0,
  32457. "create function Transpose (lvarchar,row,datetime year to fraction(5) default null,datetime year to fraction(5) default null,lvarchar default null,integer default 0)
  32458. returns row with (not variant, iterator, handlesnulls)
  32459. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_transpose_query_sql)"" language c;
  32460. ",
  32461. "f",
  32462. "drop function Transpose (lvarchar,row,datetime year to fraction(5),datetime year to fraction(5),lvarchar,integer);
  32463. ",
  32464. "f"
  32465. );
  32466. insert into sysbldobjects
  32467. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32468. create_can_fail, drop_sql, drop_can_fail)
  32469. values
  32470. (
  32471. "%SYSBLDNAME%", 69, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
  32472. "%SYSBLDUSER%", 0,
  32473. "grant execute on function Transpose (lvarchar,row,datetime year to fraction(5),datetime year to fraction(5),lvarchar,integer) to public;
  32474. ",
  32475. "f",
  32476. "",
  32477. "f"
  32478. );
  32479. insert into sysbldobjdepends
  32480. (
  32481. bld_id,
  32482. obj_kind,
  32483. obj_signature,
  32484. obj_owner,
  32485. need_obj_kind,
  32486. need_obj_signature,
  32487. need_obj_owner)
  32488. values
  32489. (
  32490. "%SYSBLDNAME%",
  32491. 69, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
  32492. "%SYSBLDUSER%",
  32493. 5, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
  32494. "%SYSBLDUSER%"
  32495. );
  32496. insert into sysbldobjects
  32497. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32498. create_can_fail, drop_sql, drop_can_fail)
  32499. values
  32500. (
  32501. "%SYSBLDNAME%", 5, "tsJavaDelete (TimeSeries,datetime)",
  32502. "%SYSBLDUSER%", 0,
  32503. "create function tsJavaDelete (TimeSeries,datetime year to fraction(5))
  32504. returns integer with (not variant)
  32505. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_delete_java)"" language c;
  32506. ",
  32507. "f",
  32508. "drop function tsJavaDelete (TimeSeries,datetime year to fraction(5));
  32509. ",
  32510. "f"
  32511. );
  32512. insert into sysbldobjdepends
  32513. (
  32514. bld_id,
  32515. obj_kind,
  32516. obj_signature,
  32517. obj_owner,
  32518. need_obj_kind,
  32519. need_obj_signature,
  32520. need_obj_owner)
  32521. values
  32522. (
  32523. "%SYSBLDNAME%",
  32524. 5, "tsJavaDelete (TimeSeries,datetime)",
  32525. "%SYSBLDUSER%",
  32526. 7, "TimeSeries",
  32527. "%SYSBLDUSER%"
  32528. );
  32529. insert into sysbldobjects
  32530. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32531. create_can_fail, drop_sql, drop_can_fail)
  32532. values
  32533. (
  32534. "%SYSBLDNAME%", 69, "tsJavaDelete (TimeSeries,datetime)",
  32535. "%SYSBLDUSER%", 0,
  32536. "grant execute on function tsJavaDelete (TimeSeries,datetime year to fraction(5)) to public;
  32537. ",
  32538. "f",
  32539. "",
  32540. "f"
  32541. );
  32542. insert into sysbldobjdepends
  32543. (
  32544. bld_id,
  32545. obj_kind,
  32546. obj_signature,
  32547. obj_owner,
  32548. need_obj_kind,
  32549. need_obj_signature,
  32550. need_obj_owner)
  32551. values
  32552. (
  32553. "%SYSBLDNAME%",
  32554. 69, "tsJavaDelete (TimeSeries,datetime)",
  32555. "%SYSBLDUSER%",
  32556. 5, "tsJavaDelete (TimeSeries,datetime)",
  32557. "%SYSBLDUSER%"
  32558. );
  32559. insert into sysbldobjects
  32560. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32561. create_can_fail, drop_sql, drop_can_fail)
  32562. values
  32563. (
  32564. "%SYSBLDNAME%", 5, "tsJavaUpdate (TimeSeries,row)",
  32565. "%SYSBLDUSER%", 0,
  32566. "create function tsJavaUpdate (TimeSeries,row)
  32567. returns integer with (not variant)
  32568. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_java)"" language c;
  32569. ",
  32570. "f",
  32571. "drop function tsJavaUpdate (TimeSeries,row);
  32572. ",
  32573. "f"
  32574. );
  32575. insert into sysbldobjdepends
  32576. (
  32577. bld_id,
  32578. obj_kind,
  32579. obj_signature,
  32580. obj_owner,
  32581. need_obj_kind,
  32582. need_obj_signature,
  32583. need_obj_owner)
  32584. values
  32585. (
  32586. "%SYSBLDNAME%",
  32587. 5, "tsJavaUpdate (TimeSeries,row)",
  32588. "%SYSBLDUSER%",
  32589. 7, "TimeSeries",
  32590. "%SYSBLDUSER%"
  32591. );
  32592. insert into sysbldobjects
  32593. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32594. create_can_fail, drop_sql, drop_can_fail)
  32595. values
  32596. (
  32597. "%SYSBLDNAME%", 69, "tsJavaUpdate (TimeSeries,row)",
  32598. "%SYSBLDUSER%", 0,
  32599. "grant execute on function tsJavaUpdate (TimeSeries,row) to public;
  32600. ",
  32601. "f",
  32602. "",
  32603. "f"
  32604. );
  32605. insert into sysbldobjdepends
  32606. (
  32607. bld_id,
  32608. obj_kind,
  32609. obj_signature,
  32610. obj_owner,
  32611. need_obj_kind,
  32612. need_obj_signature,
  32613. need_obj_owner)
  32614. values
  32615. (
  32616. "%SYSBLDNAME%",
  32617. 69, "tsJavaUpdate (TimeSeries,row)",
  32618. "%SYSBLDUSER%",
  32619. 5, "tsJavaUpdate (TimeSeries,row)",
  32620. "%SYSBLDUSER%"
  32621. );
  32622. insert into sysbldobjects
  32623. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32624. create_can_fail, drop_sql, drop_can_fail)
  32625. values
  32626. (
  32627. "%SYSBLDNAME%", 5, "tsJavaInsert (TimeSeries,row)",
  32628. "%SYSBLDUSER%", 0,
  32629. "create function tsJavaInsert (TimeSeries,row)
  32630. returns integer with (not variant)
  32631. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_insert_java)"" language c;
  32632. ",
  32633. "f",
  32634. "drop function tsJavaInsert (TimeSeries,row);
  32635. ",
  32636. "f"
  32637. );
  32638. insert into sysbldobjdepends
  32639. (
  32640. bld_id,
  32641. obj_kind,
  32642. obj_signature,
  32643. obj_owner,
  32644. need_obj_kind,
  32645. need_obj_signature,
  32646. need_obj_owner)
  32647. values
  32648. (
  32649. "%SYSBLDNAME%",
  32650. 5, "tsJavaInsert (TimeSeries,row)",
  32651. "%SYSBLDUSER%",
  32652. 7, "TimeSeries",
  32653. "%SYSBLDUSER%"
  32654. );
  32655. insert into sysbldobjects
  32656. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32657. create_can_fail, drop_sql, drop_can_fail)
  32658. values
  32659. (
  32660. "%SYSBLDNAME%", 69, "tsJavaInsert (TimeSeries,row)",
  32661. "%SYSBLDUSER%", 0,
  32662. "grant execute on function tsJavaInsert (TimeSeries,row) to public;
  32663. ",
  32664. "f",
  32665. "",
  32666. "f"
  32667. );
  32668. insert into sysbldobjdepends
  32669. (
  32670. bld_id,
  32671. obj_kind,
  32672. obj_signature,
  32673. obj_owner,
  32674. need_obj_kind,
  32675. need_obj_signature,
  32676. need_obj_owner)
  32677. values
  32678. (
  32679. "%SYSBLDNAME%",
  32680. 69, "tsJavaInsert (TimeSeries,row)",
  32681. "%SYSBLDUSER%",
  32682. 5, "tsJavaInsert (TimeSeries,row)",
  32683. "%SYSBLDUSER%"
  32684. );
  32685. insert into sysbldobjects
  32686. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32687. create_can_fail, drop_sql, drop_can_fail)
  32688. values
  32689. (
  32690. "%SYSBLDNAME%", 5, "ElemIsNull (TimeSeries,datetime)",
  32691. "%SYSBLDUSER%", 0,
  32692. "create function ElemIsNull (TimeSeries,datetime year to fraction(5))
  32693. returns boolean with (not variant, parallelizable)
  32694. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_null_sql)"" language c;
  32695. ",
  32696. "f",
  32697. "drop function ElemIsNull (TimeSeries,datetime year to fraction(5));
  32698. ",
  32699. "f"
  32700. );
  32701. insert into sysbldobjdepends
  32702. (
  32703. bld_id,
  32704. obj_kind,
  32705. obj_signature,
  32706. obj_owner,
  32707. need_obj_kind,
  32708. need_obj_signature,
  32709. need_obj_owner)
  32710. values
  32711. (
  32712. "%SYSBLDNAME%",
  32713. 5, "ElemIsNull (TimeSeries,datetime)",
  32714. "%SYSBLDUSER%",
  32715. 7, "TimeSeries",
  32716. "%SYSBLDUSER%"
  32717. );
  32718. insert into sysbldobjects
  32719. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32720. create_can_fail, drop_sql, drop_can_fail)
  32721. values
  32722. (
  32723. "%SYSBLDNAME%", 69, "ElemIsNull (TimeSeries,datetime)",
  32724. "%SYSBLDUSER%", 0,
  32725. "grant execute on function ElemIsNull (TimeSeries,datetime year to fraction(5)) to public;
  32726. ",
  32727. "f",
  32728. "",
  32729. "f"
  32730. );
  32731. insert into sysbldobjdepends
  32732. (
  32733. bld_id,
  32734. obj_kind,
  32735. obj_signature,
  32736. obj_owner,
  32737. need_obj_kind,
  32738. need_obj_signature,
  32739. need_obj_owner)
  32740. values
  32741. (
  32742. "%SYSBLDNAME%",
  32743. 69, "ElemIsNull (TimeSeries,datetime)",
  32744. "%SYSBLDUSER%",
  32745. 5, "ElemIsNull (TimeSeries,datetime)",
  32746. "%SYSBLDUSER%"
  32747. );
  32748. insert into sysbldobjects
  32749. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32750. create_can_fail, drop_sql, drop_can_fail)
  32751. values
  32752. (
  32753. "%SYSBLDNAME%", 5, "ElemIsNull (TimeSeries,integer)",
  32754. "%SYSBLDUSER%", 0,
  32755. "create function ElemIsNull (TimeSeries,integer)
  32756. returns boolean with (not variant, parallelizable)
  32757. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_is_null_sql)"" language c;
  32758. ",
  32759. "f",
  32760. "drop function ElemIsNull (TimeSeries,integer);
  32761. ",
  32762. "f"
  32763. );
  32764. insert into sysbldobjdepends
  32765. (
  32766. bld_id,
  32767. obj_kind,
  32768. obj_signature,
  32769. obj_owner,
  32770. need_obj_kind,
  32771. need_obj_signature,
  32772. need_obj_owner)
  32773. values
  32774. (
  32775. "%SYSBLDNAME%",
  32776. 5, "ElemIsNull (TimeSeries,integer)",
  32777. "%SYSBLDUSER%",
  32778. 7, "TimeSeries",
  32779. "%SYSBLDUSER%"
  32780. );
  32781. insert into sysbldobjects
  32782. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32783. create_can_fail, drop_sql, drop_can_fail)
  32784. values
  32785. (
  32786. "%SYSBLDNAME%", 69, "ElemIsNull (TimeSeries,integer)",
  32787. "%SYSBLDUSER%", 0,
  32788. "grant execute on function ElemIsNull (TimeSeries,integer) to public;
  32789. ",
  32790. "f",
  32791. "",
  32792. "f"
  32793. );
  32794. insert into sysbldobjdepends
  32795. (
  32796. bld_id,
  32797. obj_kind,
  32798. obj_signature,
  32799. obj_owner,
  32800. need_obj_kind,
  32801. need_obj_signature,
  32802. need_obj_owner)
  32803. values
  32804. (
  32805. "%SYSBLDNAME%",
  32806. 69, "ElemIsNull (TimeSeries,integer)",
  32807. "%SYSBLDUSER%",
  32808. 5, "ElemIsNull (TimeSeries,integer)",
  32809. "%SYSBLDUSER%"
  32810. );
  32811. insert into sysbldobjects
  32812. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32813. create_can_fail, drop_sql, drop_can_fail)
  32814. values
  32815. (
  32816. "%SYSBLDNAME%", 5, "TimeSeriesAMCIAPI ()",
  32817. "%SYSBLDUSER%", 0,
  32818. "create function TimeSeriesAMCIAPI ()
  32819. returns pointer with (not variant, internal, handlesnulls)
  32820. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_change_inst_id_api)"" language c;
  32821. ",
  32822. "f",
  32823. "drop function TimeSeriesAMCIAPI ();
  32824. ",
  32825. "f"
  32826. );
  32827. insert into sysbldobjects
  32828. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32829. create_can_fail, drop_sql, drop_can_fail)
  32830. values
  32831. (
  32832. "%SYSBLDNAME%", 69, "TimeSeriesAMCIAPI ()",
  32833. "%SYSBLDUSER%", 0,
  32834. "grant execute on function TimeSeriesAMCIAPI () to public;
  32835. ",
  32836. "f",
  32837. "",
  32838. "f"
  32839. );
  32840. insert into sysbldobjdepends
  32841. (
  32842. bld_id,
  32843. obj_kind,
  32844. obj_signature,
  32845. obj_owner,
  32846. need_obj_kind,
  32847. need_obj_signature,
  32848. need_obj_owner)
  32849. values
  32850. (
  32851. "%SYSBLDNAME%",
  32852. 69, "TimeSeriesAMCIAPI ()",
  32853. "%SYSBLDUSER%",
  32854. 5, "TimeSeriesAMCIAPI ()",
  32855. "%SYSBLDUSER%"
  32856. );
  32857. insert into sysbldobjects
  32858. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32859. create_can_fail, drop_sql, drop_can_fail)
  32860. values
  32861. (
  32862. "%SYSBLDNAME%", 5, "TimeSeriesAMCYNAPI ()",
  32863. "%SYSBLDUSER%", 0,
  32864. "create function TimeSeriesAMCYNAPI ()
  32865. returns pointer with (not variant, internal, handlesnulls)
  32866. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intern_get_col)"" language c;
  32867. ",
  32868. "f",
  32869. "drop function TimeSeriesAMCYNAPI ();
  32870. ",
  32871. "f"
  32872. );
  32873. insert into sysbldobjects
  32874. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32875. create_can_fail, drop_sql, drop_can_fail)
  32876. values
  32877. (
  32878. "%SYSBLDNAME%", 69, "TimeSeriesAMCYNAPI ()",
  32879. "%SYSBLDUSER%", 0,
  32880. "grant execute on function TimeSeriesAMCYNAPI () to public;
  32881. ",
  32882. "f",
  32883. "",
  32884. "f"
  32885. );
  32886. insert into sysbldobjdepends
  32887. (
  32888. bld_id,
  32889. obj_kind,
  32890. obj_signature,
  32891. obj_owner,
  32892. need_obj_kind,
  32893. need_obj_signature,
  32894. need_obj_owner)
  32895. values
  32896. (
  32897. "%SYSBLDNAME%",
  32898. 69, "TimeSeriesAMCYNAPI ()",
  32899. "%SYSBLDUSER%",
  32900. 5, "TimeSeriesAMCYNAPI ()",
  32901. "%SYSBLDUSER%"
  32902. );
  32903. insert into sysbldobjects
  32904. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32905. create_can_fail, drop_sql, drop_can_fail)
  32906. values
  32907. (
  32908. "%SYSBLDNAME%", 5, "TimeSeriesAMEIAPI ()",
  32909. "%SYSBLDUSER%", 0,
  32910. "create function TimeSeriesAMEIAPI ()
  32911. returns pointer with (not variant, internal, handlesnulls)
  32912. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_elem_init_api)"" language c;
  32913. ",
  32914. "f",
  32915. "drop function TimeSeriesAMEIAPI ();
  32916. ",
  32917. "f"
  32918. );
  32919. insert into sysbldobjects
  32920. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32921. create_can_fail, drop_sql, drop_can_fail)
  32922. values
  32923. (
  32924. "%SYSBLDNAME%", 69, "TimeSeriesAMEIAPI ()",
  32925. "%SYSBLDUSER%", 0,
  32926. "grant execute on function TimeSeriesAMEIAPI () to public;
  32927. ",
  32928. "f",
  32929. "",
  32930. "f"
  32931. );
  32932. insert into sysbldobjdepends
  32933. (
  32934. bld_id,
  32935. obj_kind,
  32936. obj_signature,
  32937. obj_owner,
  32938. need_obj_kind,
  32939. need_obj_signature,
  32940. need_obj_owner)
  32941. values
  32942. (
  32943. "%SYSBLDNAME%",
  32944. 69, "TimeSeriesAMEIAPI ()",
  32945. "%SYSBLDUSER%",
  32946. 5, "TimeSeriesAMEIAPI ()",
  32947. "%SYSBLDUSER%"
  32948. );
  32949. insert into sysbldobjects
  32950. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32951. create_can_fail, drop_sql, drop_can_fail)
  32952. values
  32953. (
  32954. "%SYSBLDNAME%", 5, "TimeSeriesAMMEAPI ()",
  32955. "%SYSBLDUSER%", 0,
  32956. "create function TimeSeriesAMMEAPI ()
  32957. returns pointer with (not variant, internal, handlesnulls)
  32958. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_make_elem_api)"" language c;
  32959. ",
  32960. "f",
  32961. "drop function TimeSeriesAMMEAPI ();
  32962. ",
  32963. "f"
  32964. );
  32965. insert into sysbldobjects
  32966. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32967. create_can_fail, drop_sql, drop_can_fail)
  32968. values
  32969. (
  32970. "%SYSBLDNAME%", 69, "TimeSeriesAMMEAPI ()",
  32971. "%SYSBLDUSER%", 0,
  32972. "grant execute on function TimeSeriesAMMEAPI () to public;
  32973. ",
  32974. "f",
  32975. "",
  32976. "f"
  32977. );
  32978. insert into sysbldobjdepends
  32979. (
  32980. bld_id,
  32981. obj_kind,
  32982. obj_signature,
  32983. obj_owner,
  32984. need_obj_kind,
  32985. need_obj_signature,
  32986. need_obj_owner)
  32987. values
  32988. (
  32989. "%SYSBLDNAME%",
  32990. 69, "TimeSeriesAMMEAPI ()",
  32991. "%SYSBLDUSER%",
  32992. 5, "TimeSeriesAMMEAPI ()",
  32993. "%SYSBLDUSER%"
  32994. );
  32995. insert into sysbldobjects
  32996. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  32997. create_can_fail, drop_sql, drop_can_fail)
  32998. values
  32999. (
  33000. "%SYSBLDNAME%", 5, "TimeSeriesAMWAPI ()",
  33001. "%SYSBLDUSER%", 0,
  33002. "create function TimeSeriesAMWAPI ()
  33003. returns pointer with (not variant, internal, handlesnulls)
  33004. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_write_api)"" language c;
  33005. ",
  33006. "f",
  33007. "drop function TimeSeriesAMWAPI ();
  33008. ",
  33009. "f"
  33010. );
  33011. insert into sysbldobjects
  33012. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33013. create_can_fail, drop_sql, drop_can_fail)
  33014. values
  33015. (
  33016. "%SYSBLDNAME%", 69, "TimeSeriesAMWAPI ()",
  33017. "%SYSBLDUSER%", 0,
  33018. "grant execute on function TimeSeriesAMWAPI () to public;
  33019. ",
  33020. "f",
  33021. "",
  33022. "f"
  33023. );
  33024. insert into sysbldobjdepends
  33025. (
  33026. bld_id,
  33027. obj_kind,
  33028. obj_signature,
  33029. obj_owner,
  33030. need_obj_kind,
  33031. need_obj_signature,
  33032. need_obj_owner)
  33033. values
  33034. (
  33035. "%SYSBLDNAME%",
  33036. 69, "TimeSeriesAMWAPI ()",
  33037. "%SYSBLDUSER%",
  33038. 5, "TimeSeriesAMWAPI ()",
  33039. "%SYSBLDUSER%"
  33040. );
  33041. insert into sysbldobjects
  33042. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33043. create_can_fail, drop_sql, drop_can_fail)
  33044. values
  33045. (
  33046. "%SYSBLDNAME%", 5, "TimeSeriesAMGEDAPI ()",
  33047. "%SYSBLDUSER%", 0,
  33048. "create function TimeSeriesAMGEDAPI ()
  33049. returns pointer with (not variant, internal, handlesnulls)
  33050. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_get_elem_desc)"" language c;
  33051. ",
  33052. "f",
  33053. "drop function TimeSeriesAMGEDAPI ();
  33054. ",
  33055. "f"
  33056. );
  33057. insert into sysbldobjects
  33058. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33059. create_can_fail, drop_sql, drop_can_fail)
  33060. values
  33061. (
  33062. "%SYSBLDNAME%", 69, "TimeSeriesAMGEDAPI ()",
  33063. "%SYSBLDUSER%", 0,
  33064. "grant execute on function TimeSeriesAMGEDAPI () to public;
  33065. ",
  33066. "f",
  33067. "",
  33068. "f"
  33069. );
  33070. insert into sysbldobjdepends
  33071. (
  33072. bld_id,
  33073. obj_kind,
  33074. obj_signature,
  33075. obj_owner,
  33076. need_obj_kind,
  33077. need_obj_signature,
  33078. need_obj_owner)
  33079. values
  33080. (
  33081. "%SYSBLDNAME%",
  33082. 69, "TimeSeriesAMGEDAPI ()",
  33083. "%SYSBLDUSER%",
  33084. 5, "TimeSeriesAMGEDAPI ()",
  33085. "%SYSBLDUSER%"
  33086. );
  33087. insert into sysbldobjects
  33088. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33089. create_can_fail, drop_sql, drop_can_fail)
  33090. values
  33091. (
  33092. "%SYSBLDNAME%", 5, "TimeSeriesAMETRAPI ()",
  33093. "%SYSBLDUSER%", 0,
  33094. "create function TimeSeriesAMETRAPI ()
  33095. returns pointer with (not variant, internal, handlesnulls)
  33096. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_to_row_with_rdesc)"" language c;
  33097. ",
  33098. "f",
  33099. "drop function TimeSeriesAMETRAPI ();
  33100. ",
  33101. "f"
  33102. );
  33103. insert into sysbldobjects
  33104. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33105. create_can_fail, drop_sql, drop_can_fail)
  33106. values
  33107. (
  33108. "%SYSBLDNAME%", 69, "TimeSeriesAMETRAPI ()",
  33109. "%SYSBLDUSER%", 0,
  33110. "grant execute on function TimeSeriesAMETRAPI () to public;
  33111. ",
  33112. "f",
  33113. "",
  33114. "f"
  33115. );
  33116. insert into sysbldobjdepends
  33117. (
  33118. bld_id,
  33119. obj_kind,
  33120. obj_signature,
  33121. obj_owner,
  33122. need_obj_kind,
  33123. need_obj_signature,
  33124. need_obj_owner)
  33125. values
  33126. (
  33127. "%SYSBLDNAME%",
  33128. 69, "TimeSeriesAMETRAPI ()",
  33129. "%SYSBLDUSER%",
  33130. 5, "TimeSeriesAMETRAPI ()",
  33131. "%SYSBLDUSER%"
  33132. );
  33133. insert into sysbldobjects
  33134. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33135. create_can_fail, drop_sql, drop_can_fail)
  33136. values
  33137. (
  33138. "%SYSBLDNAME%", 5, "TimeSeriesAMOAPI ()",
  33139. "%SYSBLDUSER%", 0,
  33140. "create function TimeSeriesAMOAPI ()
  33141. returns pointer with (not variant, internal, handlesnulls)
  33142. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_open_api)"" language c;
  33143. ",
  33144. "f",
  33145. "drop function TimeSeriesAMOAPI ();
  33146. ",
  33147. "f"
  33148. );
  33149. insert into sysbldobjects
  33150. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33151. create_can_fail, drop_sql, drop_can_fail)
  33152. values
  33153. (
  33154. "%SYSBLDNAME%", 69, "TimeSeriesAMOAPI ()",
  33155. "%SYSBLDUSER%", 0,
  33156. "grant execute on function TimeSeriesAMOAPI () to public;
  33157. ",
  33158. "f",
  33159. "",
  33160. "f"
  33161. );
  33162. insert into sysbldobjdepends
  33163. (
  33164. bld_id,
  33165. obj_kind,
  33166. obj_signature,
  33167. obj_owner,
  33168. need_obj_kind,
  33169. need_obj_signature,
  33170. need_obj_owner)
  33171. values
  33172. (
  33173. "%SYSBLDNAME%",
  33174. 69, "TimeSeriesAMOAPI ()",
  33175. "%SYSBLDUSER%",
  33176. 5, "TimeSeriesAMOAPI ()",
  33177. "%SYSBLDUSER%"
  33178. );
  33179. insert into sysbldobjects
  33180. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33181. create_can_fail, drop_sql, drop_can_fail)
  33182. values
  33183. (
  33184. "%SYSBLDNAME%", 5, "TimeSeriesAMCAPI ()",
  33185. "%SYSBLDUSER%", 0,
  33186. "create function TimeSeriesAMCAPI ()
  33187. returns pointer with (not variant, internal, handlesnulls)
  33188. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_close_api)"" language c;
  33189. ",
  33190. "f",
  33191. "drop function TimeSeriesAMCAPI ();
  33192. ",
  33193. "f"
  33194. );
  33195. insert into sysbldobjects
  33196. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33197. create_can_fail, drop_sql, drop_can_fail)
  33198. values
  33199. (
  33200. "%SYSBLDNAME%", 69, "TimeSeriesAMCAPI ()",
  33201. "%SYSBLDUSER%", 0,
  33202. "grant execute on function TimeSeriesAMCAPI () to public;
  33203. ",
  33204. "f",
  33205. "",
  33206. "f"
  33207. );
  33208. insert into sysbldobjdepends
  33209. (
  33210. bld_id,
  33211. obj_kind,
  33212. obj_signature,
  33213. obj_owner,
  33214. need_obj_kind,
  33215. need_obj_signature,
  33216. need_obj_owner)
  33217. values
  33218. (
  33219. "%SYSBLDNAME%",
  33220. 69, "TimeSeriesAMCAPI ()",
  33221. "%SYSBLDUSER%",
  33222. 5, "TimeSeriesAMCAPI ()",
  33223. "%SYSBLDUSER%"
  33224. );
  33225. insert into sysbldobjects
  33226. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33227. create_can_fail, drop_sql, drop_can_fail)
  33228. values
  33229. (
  33230. "%SYSBLDNAME%", 5, "TimeSeriesAMFEDAPI ()",
  33231. "%SYSBLDUSER%", 0,
  33232. "create function TimeSeriesAMFEDAPI ()
  33233. returns pointer with (not variant, internal, handlesnulls)
  33234. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_elem_all_api)"" language c;
  33235. ",
  33236. "f",
  33237. "drop function TimeSeriesAMFEDAPI ();
  33238. ",
  33239. "f"
  33240. );
  33241. insert into sysbldobjects
  33242. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33243. create_can_fail, drop_sql, drop_can_fail)
  33244. values
  33245. (
  33246. "%SYSBLDNAME%", 69, "TimeSeriesAMFEDAPI ()",
  33247. "%SYSBLDUSER%", 0,
  33248. "grant execute on function TimeSeriesAMFEDAPI () to public;
  33249. ",
  33250. "f",
  33251. "",
  33252. "f"
  33253. );
  33254. insert into sysbldobjdepends
  33255. (
  33256. bld_id,
  33257. obj_kind,
  33258. obj_signature,
  33259. obj_owner,
  33260. need_obj_kind,
  33261. need_obj_signature,
  33262. need_obj_owner)
  33263. values
  33264. (
  33265. "%SYSBLDNAME%",
  33266. 69, "TimeSeriesAMFEDAPI ()",
  33267. "%SYSBLDUSER%",
  33268. 5, "TimeSeriesAMFEDAPI ()",
  33269. "%SYSBLDUSER%"
  33270. );
  33271. insert into sysbldobjects
  33272. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33273. create_can_fail, drop_sql, drop_can_fail)
  33274. values
  33275. (
  33276. "%SYSBLDNAME%", 5, "TimeSeriesGSAPI ()",
  33277. "%SYSBLDUSER%", 0,
  33278. "create function TimeSeriesGSAPI ()
  33279. returns pointer with (not variant, internal, handlesnulls)
  33280. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_stamp_api)"" language c;
  33281. ",
  33282. "f",
  33283. "drop function TimeSeriesGSAPI ();
  33284. ",
  33285. "f"
  33286. );
  33287. insert into sysbldobjects
  33288. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33289. create_can_fail, drop_sql, drop_can_fail)
  33290. values
  33291. (
  33292. "%SYSBLDNAME%", 69, "TimeSeriesGSAPI ()",
  33293. "%SYSBLDUSER%", 0,
  33294. "grant execute on function TimeSeriesGSAPI () to public;
  33295. ",
  33296. "f",
  33297. "",
  33298. "f"
  33299. );
  33300. insert into sysbldobjdepends
  33301. (
  33302. bld_id,
  33303. obj_kind,
  33304. obj_signature,
  33305. obj_owner,
  33306. need_obj_kind,
  33307. need_obj_signature,
  33308. need_obj_owner)
  33309. values
  33310. (
  33311. "%SYSBLDNAME%",
  33312. 69, "TimeSeriesGSAPI ()",
  33313. "%SYSBLDUSER%",
  33314. 5, "TimeSeriesGSAPI ()",
  33315. "%SYSBLDUSER%"
  33316. );
  33317. insert into sysbldobjects
  33318. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33319. create_can_fail, drop_sql, drop_can_fail)
  33320. values
  33321. (
  33322. "%SYSBLDNAME%", 5, "TimeSeriesCWTAPI ()",
  33323. "%SYSBLDUSER%", 0,
  33324. "create function TimeSeriesCWTAPI ()
  33325. returns pointer with (not variant, internal, handlesnulls)
  33326. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_with_tsdesc_api)"" language c;
  33327. ",
  33328. "f",
  33329. "drop function TimeSeriesCWTAPI ();
  33330. ",
  33331. "f"
  33332. );
  33333. insert into sysbldobjects
  33334. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33335. create_can_fail, drop_sql, drop_can_fail)
  33336. values
  33337. (
  33338. "%SYSBLDNAME%", 69, "TimeSeriesCWTAPI ()",
  33339. "%SYSBLDUSER%", 0,
  33340. "grant execute on function TimeSeriesCWTAPI () to public;
  33341. ",
  33342. "f",
  33343. "",
  33344. "f"
  33345. );
  33346. insert into sysbldobjdepends
  33347. (
  33348. bld_id,
  33349. obj_kind,
  33350. obj_signature,
  33351. obj_owner,
  33352. need_obj_kind,
  33353. need_obj_signature,
  33354. need_obj_owner)
  33355. values
  33356. (
  33357. "%SYSBLDNAME%",
  33358. 69, "TimeSeriesCWTAPI ()",
  33359. "%SYSBLDUSER%",
  33360. 5, "TimeSeriesCWTAPI ()",
  33361. "%SYSBLDUSER%"
  33362. );
  33363. insert into sysbldobjects
  33364. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33365. create_can_fail, drop_sql, drop_can_fail)
  33366. values
  33367. (
  33368. "%SYSBLDNAME%", 5, "TimeSeriesVCHAPI ()",
  33369. "%SYSBLDUSER%", 0,
  33370. "create function TimeSeriesVCHAPI ()
  33371. returns pointer with (not variant, internal, handlesnulls)
  33372. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(_ts_do_create_vt)"" language c;
  33373. ",
  33374. "f",
  33375. "drop function TimeSeriesVCHAPI ();
  33376. ",
  33377. "f"
  33378. );
  33379. insert into sysbldobjects
  33380. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33381. create_can_fail, drop_sql, drop_can_fail)
  33382. values
  33383. (
  33384. "%SYSBLDNAME%", 69, "TimeSeriesVCHAPI ()",
  33385. "%SYSBLDUSER%", 0,
  33386. "grant execute on function TimeSeriesVCHAPI () to public;
  33387. ",
  33388. "f",
  33389. "",
  33390. "f"
  33391. );
  33392. insert into sysbldobjdepends
  33393. (
  33394. bld_id,
  33395. obj_kind,
  33396. obj_signature,
  33397. obj_owner,
  33398. need_obj_kind,
  33399. need_obj_signature,
  33400. need_obj_owner)
  33401. values
  33402. (
  33403. "%SYSBLDNAME%",
  33404. 69, "TimeSeriesVCHAPI ()",
  33405. "%SYSBLDUSER%",
  33406. 5, "TimeSeriesVCHAPI ()",
  33407. "%SYSBLDUSER%"
  33408. );
  33409. insert into sysbldobjects
  33410. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33411. create_can_fail, drop_sql, drop_can_fail)
  33412. values
  33413. (
  33414. "%SYSBLDNAME%", 5, "TimeSeriesGNHAPI ()",
  33415. "%SYSBLDUSER%", 0,
  33416. "create function TimeSeriesGNHAPI ()
  33417. returns pointer with (not variant, internal, handlesnulls)
  33418. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext_internal)"" language c;
  33419. ",
  33420. "f",
  33421. "drop function TimeSeriesGNHAPI ();
  33422. ",
  33423. "f"
  33424. );
  33425. insert into sysbldobjects
  33426. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33427. create_can_fail, drop_sql, drop_can_fail)
  33428. values
  33429. (
  33430. "%SYSBLDNAME%", 69, "TimeSeriesGNHAPI ()",
  33431. "%SYSBLDUSER%", 0,
  33432. "grant execute on function TimeSeriesGNHAPI () to public;
  33433. ",
  33434. "f",
  33435. "",
  33436. "f"
  33437. );
  33438. insert into sysbldobjdepends
  33439. (
  33440. bld_id,
  33441. obj_kind,
  33442. obj_signature,
  33443. obj_owner,
  33444. need_obj_kind,
  33445. need_obj_signature,
  33446. need_obj_owner)
  33447. values
  33448. (
  33449. "%SYSBLDNAME%",
  33450. 69, "TimeSeriesGNHAPI ()",
  33451. "%SYSBLDUSER%",
  33452. 5, "TimeSeriesGNHAPI ()",
  33453. "%SYSBLDUSER%"
  33454. );
  33455. insert into sysbldobjects
  33456. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33457. create_can_fail, drop_sql, drop_can_fail)
  33458. values
  33459. (
  33460. "%SYSBLDNAME%", 5, "Update (Calendar,Calendar)",
  33461. "%SYSBLDUSER%", 0,
  33462. "create function Update (Calendar,Calendar)
  33463. returns Calendar
  33464. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_update)"" language c;
  33465. ",
  33466. "f",
  33467. "drop function Update (Calendar,Calendar);
  33468. ",
  33469. "f"
  33470. );
  33471. insert into sysbldobjdepends
  33472. (
  33473. bld_id,
  33474. obj_kind,
  33475. obj_signature,
  33476. obj_owner,
  33477. need_obj_kind,
  33478. need_obj_signature,
  33479. need_obj_owner)
  33480. values
  33481. (
  33482. "%SYSBLDNAME%",
  33483. 5, "Update (Calendar,Calendar)",
  33484. "%SYSBLDUSER%",
  33485. 7, "Calendar",
  33486. "%SYSBLDUSER%"
  33487. );
  33488. insert into sysbldobjects
  33489. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33490. create_can_fail, drop_sql, drop_can_fail)
  33491. values
  33492. (
  33493. "%SYSBLDNAME%", 69, "Update (Calendar,Calendar)",
  33494. "%SYSBLDUSER%", 0,
  33495. "grant execute on function Update (Calendar,Calendar) to public;
  33496. ",
  33497. "f",
  33498. "",
  33499. "f"
  33500. );
  33501. insert into sysbldobjdepends
  33502. (
  33503. bld_id,
  33504. obj_kind,
  33505. obj_signature,
  33506. obj_owner,
  33507. need_obj_kind,
  33508. need_obj_signature,
  33509. need_obj_owner)
  33510. values
  33511. (
  33512. "%SYSBLDNAME%",
  33513. 69, "Update (Calendar,Calendar)",
  33514. "%SYSBLDUSER%",
  33515. 5, "Update (Calendar,Calendar)",
  33516. "%SYSBLDUSER%"
  33517. );
  33518. insert into sysbldobjects
  33519. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33520. create_can_fail, drop_sql, drop_can_fail)
  33521. values
  33522. (
  33523. "%SYSBLDNAME%", 5, "DeepCopy (TimeSeries)",
  33524. "%SYSBLDUSER%", 0,
  33525. "create function DeepCopy (TimeSeries)
  33526. returns TimeSeries with (parallelizable)
  33527. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_deep_copy)"" language c;
  33528. ",
  33529. "f",
  33530. "drop function DeepCopy (TimeSeries);
  33531. ",
  33532. "f"
  33533. );
  33534. insert into sysbldobjdepends
  33535. (
  33536. bld_id,
  33537. obj_kind,
  33538. obj_signature,
  33539. obj_owner,
  33540. need_obj_kind,
  33541. need_obj_signature,
  33542. need_obj_owner)
  33543. values
  33544. (
  33545. "%SYSBLDNAME%",
  33546. 5, "DeepCopy (TimeSeries)",
  33547. "%SYSBLDUSER%",
  33548. 7, "TimeSeries",
  33549. "%SYSBLDUSER%"
  33550. );
  33551. insert into sysbldobjects
  33552. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33553. create_can_fail, drop_sql, drop_can_fail)
  33554. values
  33555. (
  33556. "%SYSBLDNAME%", 69, "DeepCopy (TimeSeries)",
  33557. "%SYSBLDUSER%", 0,
  33558. "grant execute on function DeepCopy (TimeSeries) to public;
  33559. ",
  33560. "f",
  33561. "",
  33562. "f"
  33563. );
  33564. insert into sysbldobjdepends
  33565. (
  33566. bld_id,
  33567. obj_kind,
  33568. obj_signature,
  33569. obj_owner,
  33570. need_obj_kind,
  33571. need_obj_signature,
  33572. need_obj_owner)
  33573. values
  33574. (
  33575. "%SYSBLDNAME%",
  33576. 69, "DeepCopy (TimeSeries)",
  33577. "%SYSBLDUSER%",
  33578. 5, "DeepCopy (TimeSeries)",
  33579. "%SYSBLDUSER%"
  33580. );
  33581. insert into sysbldobjects
  33582. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33583. create_can_fail, drop_sql, drop_can_fail)
  33584. values
  33585. (
  33586. "%SYSBLDNAME%", 5, "TSUsingDeepCopy ()",
  33587. "%SYSBLDUSER%", 0,
  33588. "create function TSUsingDeepCopy ()
  33589. returns boolean
  33590. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_using_deep_copy)"" language c;
  33591. ",
  33592. "f",
  33593. "drop function TSUsingDeepCopy ();
  33594. ",
  33595. "f"
  33596. );
  33597. insert into sysbldobjects
  33598. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33599. create_can_fail, drop_sql, drop_can_fail)
  33600. values
  33601. (
  33602. "%SYSBLDNAME%", 69, "TSUsingDeepCopy ()",
  33603. "%SYSBLDUSER%", 0,
  33604. "grant execute on function TSUsingDeepCopy () to public;
  33605. ",
  33606. "f",
  33607. "",
  33608. "f"
  33609. );
  33610. insert into sysbldobjdepends
  33611. (
  33612. bld_id,
  33613. obj_kind,
  33614. obj_signature,
  33615. obj_owner,
  33616. need_obj_kind,
  33617. need_obj_signature,
  33618. need_obj_owner)
  33619. values
  33620. (
  33621. "%SYSBLDNAME%",
  33622. 69, "TSUsingDeepCopy ()",
  33623. "%SYSBLDUSER%",
  33624. 5, "TSUsingDeepCopy ()",
  33625. "%SYSBLDUSER%"
  33626. );
  33627. insert into sysbldobjects
  33628. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33629. create_can_fail, drop_sql, drop_can_fail)
  33630. values
  33631. (
  33632. "%SYSBLDNAME%", 5, "TSGetSubType (lvarchar,lvarchar)",
  33633. "%SYSBLDUSER%", 0,
  33634. "create function TSGetSubType (lvarchar,lvarchar)
  33635. returns lvarchar
  33636. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tab_col_to_subtype)"" language c;
  33637. ",
  33638. "f",
  33639. "drop function TSGetSubType (lvarchar,lvarchar);
  33640. ",
  33641. "f"
  33642. );
  33643. insert into sysbldobjects
  33644. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33645. create_can_fail, drop_sql, drop_can_fail)
  33646. values
  33647. (
  33648. "%SYSBLDNAME%", 69, "TSGetSubType (lvarchar,lvarchar)",
  33649. "%SYSBLDUSER%", 0,
  33650. "grant execute on function TSGetSubType (lvarchar,lvarchar) to public;
  33651. ",
  33652. "f",
  33653. "",
  33654. "f"
  33655. );
  33656. insert into sysbldobjdepends
  33657. (
  33658. bld_id,
  33659. obj_kind,
  33660. obj_signature,
  33661. obj_owner,
  33662. need_obj_kind,
  33663. need_obj_signature,
  33664. need_obj_owner)
  33665. values
  33666. (
  33667. "%SYSBLDNAME%",
  33668. 69, "TSGetSubType (lvarchar,lvarchar)",
  33669. "%SYSBLDUSER%",
  33670. 5, "TSGetSubType (lvarchar,lvarchar)",
  33671. "%SYSBLDUSER%"
  33672. );
  33673. insert into sysbldobjects
  33674. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33675. create_can_fail, drop_sql, drop_can_fail)
  33676. values
  33677. (
  33678. "%SYSBLDNAME%", 5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
  33679. "%SYSBLDUSER%", 0,
  33680. "create function TSUpgrade_401XC1_401XC4 (TimeSeries)
  33681. returns TimeSeries with (not variant, handlesnulls)
  33682. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_fix_upgrade)"" language c;
  33683. ",
  33684. "f",
  33685. "drop function TSUpgrade_401XC1_401XC4 (TimeSeries);
  33686. ",
  33687. "f"
  33688. );
  33689. insert into sysbldobjdepends
  33690. (
  33691. bld_id,
  33692. obj_kind,
  33693. obj_signature,
  33694. obj_owner,
  33695. need_obj_kind,
  33696. need_obj_signature,
  33697. need_obj_owner)
  33698. values
  33699. (
  33700. "%SYSBLDNAME%",
  33701. 5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
  33702. "%SYSBLDUSER%",
  33703. 7, "TimeSeries",
  33704. "%SYSBLDUSER%"
  33705. );
  33706. insert into sysbldobjects
  33707. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33708. create_can_fail, drop_sql, drop_can_fail)
  33709. values
  33710. (
  33711. "%SYSBLDNAME%", 69, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
  33712. "%SYSBLDUSER%", 0,
  33713. "grant execute on function TSUpgrade_401XC1_401XC4 (TimeSeries) to public;
  33714. ",
  33715. "f",
  33716. "",
  33717. "f"
  33718. );
  33719. insert into sysbldobjdepends
  33720. (
  33721. bld_id,
  33722. obj_kind,
  33723. obj_signature,
  33724. obj_owner,
  33725. need_obj_kind,
  33726. need_obj_signature,
  33727. need_obj_owner)
  33728. values
  33729. (
  33730. "%SYSBLDNAME%",
  33731. 69, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
  33732. "%SYSBLDUSER%",
  33733. 5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
  33734. "%SYSBLDUSER%"
  33735. );
  33736. insert into sysbldobjects
  33737. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33738. create_can_fail, drop_sql, drop_can_fail)
  33739. values
  33740. (
  33741. "%SYSBLDNAME%", 5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
  33742. "%SYSBLDUSER%", 0,
  33743. "create function TSToXML (lvarchar,lvarchar,TimeSeries,integer default 0)
  33744. returns lvarchar with (parallelizable)
  33745. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tstoxml)"" language c;
  33746. ",
  33747. "f",
  33748. "drop function TSToXML (lvarchar,lvarchar,TimeSeries,integer);
  33749. ",
  33750. "f"
  33751. );
  33752. insert into sysbldobjdepends
  33753. (
  33754. bld_id,
  33755. obj_kind,
  33756. obj_signature,
  33757. obj_owner,
  33758. need_obj_kind,
  33759. need_obj_signature,
  33760. need_obj_owner)
  33761. values
  33762. (
  33763. "%SYSBLDNAME%",
  33764. 5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
  33765. "%SYSBLDUSER%",
  33766. 7, "TimeSeries",
  33767. "%SYSBLDUSER%"
  33768. );
  33769. insert into sysbldobjects
  33770. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33771. create_can_fail, drop_sql, drop_can_fail)
  33772. values
  33773. (
  33774. "%SYSBLDNAME%", 69, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
  33775. "%SYSBLDUSER%", 0,
  33776. "grant execute on function TSToXML (lvarchar,lvarchar,TimeSeries,integer) to public;
  33777. ",
  33778. "f",
  33779. "",
  33780. "f"
  33781. );
  33782. insert into sysbldobjdepends
  33783. (
  33784. bld_id,
  33785. obj_kind,
  33786. obj_signature,
  33787. obj_owner,
  33788. need_obj_kind,
  33789. need_obj_signature,
  33790. need_obj_owner)
  33791. values
  33792. (
  33793. "%SYSBLDNAME%",
  33794. 69, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
  33795. "%SYSBLDUSER%",
  33796. 5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
  33797. "%SYSBLDUSER%"
  33798. );
  33799. insert into sysbldobjects
  33800. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33801. create_can_fail, drop_sql, drop_can_fail)
  33802. values
  33803. (
  33804. "%SYSBLDNAME%", 5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
  33805. "%SYSBLDUSER%", 0,
  33806. "create function TSPartitionDescGetDBSpace (tsPartitionDesc_t)
  33807. returns lvarchar
  33808. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_desc_get_dbspacename)"" language c;
  33809. ",
  33810. "f",
  33811. "drop function TSPartitionDescGetDBSpace (tsPartitionDesc_t);
  33812. ",
  33813. "f"
  33814. );
  33815. insert into sysbldobjdepends
  33816. (
  33817. bld_id,
  33818. obj_kind,
  33819. obj_signature,
  33820. obj_owner,
  33821. need_obj_kind,
  33822. need_obj_signature,
  33823. need_obj_owner)
  33824. values
  33825. (
  33826. "%SYSBLDNAME%",
  33827. 5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
  33828. "%SYSBLDUSER%",
  33829. 7, "tsPartitionDesc_t",
  33830. "%SYSBLDUSER%"
  33831. );
  33832. insert into sysbldobjects
  33833. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33834. create_can_fail, drop_sql, drop_can_fail)
  33835. values
  33836. (
  33837. "%SYSBLDNAME%", 69, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
  33838. "%SYSBLDUSER%", 0,
  33839. "grant execute on function TSPartitionDescGetDBSpace (tsPartitionDesc_t) to public;
  33840. ",
  33841. "f",
  33842. "",
  33843. "f"
  33844. );
  33845. insert into sysbldobjdepends
  33846. (
  33847. bld_id,
  33848. obj_kind,
  33849. obj_signature,
  33850. obj_owner,
  33851. need_obj_kind,
  33852. need_obj_signature,
  33853. need_obj_owner)
  33854. values
  33855. (
  33856. "%SYSBLDNAME%",
  33857. 69, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
  33858. "%SYSBLDUSER%",
  33859. 5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
  33860. "%SYSBLDUSER%"
  33861. );
  33862. insert into sysbldobjects
  33863. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33864. create_can_fail, drop_sql, drop_can_fail)
  33865. values
  33866. (
  33867. "%SYSBLDNAME%", 6, "TSContainerSetPool (lvarchar,lvarchar)",
  33868. "%SYSBLDUSER%", 0,
  33869. "create procedure TSContainerSetPool (lvarchar,lvarchar default NULL)
  33870. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_set_pool)"" language c;
  33871. ",
  33872. "f",
  33873. "drop procedure TSContainerSetPool (lvarchar,lvarchar);
  33874. ",
  33875. "f"
  33876. );
  33877. insert into sysbldobjects
  33878. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33879. create_can_fail, drop_sql, drop_can_fail)
  33880. values
  33881. (
  33882. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerSetPool (lvarchar,lvarchar)",
  33883. "%SYSBLDUSER%", 0,
  33884. "alter procedure TSContainerSetPool (lvarchar,lvarchar)
  33885. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_set_pool)"");
  33886. ",
  33887. "f",
  33888. "alter procedure TSContainerSetPool (lvarchar,lvarchar)
  33889. with (Modify External Name = ""ts_autopool_set_pool"");
  33890. ",
  33891. "f"
  33892. );
  33893. insert into sysbldobjdepends
  33894. (
  33895. bld_id,
  33896. obj_kind,
  33897. obj_signature,
  33898. obj_owner,
  33899. need_obj_kind,
  33900. need_obj_signature,
  33901. need_obj_owner)
  33902. values
  33903. (
  33904. "%SYSBLDNAME%",
  33905. 182, "Alter-ExternalName-TSContainerSetPool (lvarchar,lvarchar)",
  33906. "%SYSBLDUSER%",
  33907. 6, "TSContainerSetPool (lvarchar,lvarchar)",
  33908. "%SYSBLDUSER%"
  33909. );
  33910. insert into sysbldobjects
  33911. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33912. create_can_fail, drop_sql, drop_can_fail)
  33913. values
  33914. (
  33915. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerSetPool (lvarchar,lvarchar)",
  33916. "%SYSBLDUSER%", 0,
  33917. "alter procedure TSContainerSetPool (lvarchar,lvarchar)
  33918. with (add handlesnulls);
  33919. ",
  33920. "f",
  33921. "alter procedure TSContainerSetPool (lvarchar,lvarchar)
  33922. with (drop handlesnulls);
  33923. ",
  33924. "f"
  33925. );
  33926. insert into sysbldobjdepends
  33927. (
  33928. bld_id,
  33929. obj_kind,
  33930. obj_signature,
  33931. obj_owner,
  33932. need_obj_kind,
  33933. need_obj_signature,
  33934. need_obj_owner)
  33935. values
  33936. (
  33937. "%SYSBLDNAME%",
  33938. 54, "Alter-HandleNul-TSContainerSetPool (lvarchar,lvarchar)",
  33939. "%SYSBLDUSER%",
  33940. 6, "TSContainerSetPool (lvarchar,lvarchar)",
  33941. "%SYSBLDUSER%"
  33942. );
  33943. insert into sysbldobjects
  33944. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33945. create_can_fail, drop_sql, drop_can_fail)
  33946. values
  33947. (
  33948. "%SYSBLDNAME%", 70, "TSContainerSetPool (lvarchar,lvarchar)",
  33949. "%SYSBLDUSER%", 0,
  33950. "grant execute on procedure TSContainerSetPool (lvarchar,lvarchar) to public;
  33951. ",
  33952. "f",
  33953. "",
  33954. "f"
  33955. );
  33956. insert into sysbldobjdepends
  33957. (
  33958. bld_id,
  33959. obj_kind,
  33960. obj_signature,
  33961. obj_owner,
  33962. need_obj_kind,
  33963. need_obj_signature,
  33964. need_obj_owner)
  33965. values
  33966. (
  33967. "%SYSBLDNAME%",
  33968. 70, "TSContainerSetPool (lvarchar,lvarchar)",
  33969. "%SYSBLDUSER%",
  33970. 6, "TSContainerSetPool (lvarchar,lvarchar)",
  33971. "%SYSBLDUSER%"
  33972. );
  33973. insert into sysbldobjects
  33974. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33975. create_can_fail, drop_sql, drop_can_fail)
  33976. values
  33977. (
  33978. "%SYSBLDNAME%", 5, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  33979. "%SYSBLDUSER%", 0,
  33980. "create function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar default 'autopool')
  33981. returns lvarchar
  33982. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_round_robin)"" language c;
  33983. ",
  33984. "f",
  33985. "drop function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar);
  33986. ",
  33987. "f"
  33988. );
  33989. insert into sysbldobjects
  33990. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  33991. create_can_fail, drop_sql, drop_can_fail)
  33992. values
  33993. (
  33994. "%SYSBLDNAME%", 69, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  33995. "%SYSBLDUSER%", 0,
  33996. "grant execute on function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar) to public;
  33997. ",
  33998. "f",
  33999. "",
  34000. "f"
  34001. );
  34002. insert into sysbldobjdepends
  34003. (
  34004. bld_id,
  34005. obj_kind,
  34006. obj_signature,
  34007. obj_owner,
  34008. need_obj_kind,
  34009. need_obj_signature,
  34010. need_obj_owner)
  34011. values
  34012. (
  34013. "%SYSBLDNAME%",
  34014. 69, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34015. "%SYSBLDUSER%",
  34016. 5, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34017. "%SYSBLDUSER%"
  34018. );
  34019. insert into sysbldobjects
  34020. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34021. create_can_fail, drop_sql, drop_can_fail)
  34022. values
  34023. (
  34024. "%SYSBLDNAME%", 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34025. "%SYSBLDUSER%", 0,
  34026. "create procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer default 0,lvarchar default NULL)
  34027. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti)"" language c;
  34028. ",
  34029. "f",
  34030. "drop procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar);
  34031. ",
  34032. "f"
  34033. );
  34034. insert into sysbldobjects
  34035. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34036. create_can_fail, drop_sql, drop_can_fail)
  34037. values
  34038. (
  34039. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34040. "%SYSBLDUSER%", 0,
  34041. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
  34042. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti)"");
  34043. ",
  34044. "f",
  34045. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
  34046. with (Modify External Name = ""ts_create_expression_vti"");
  34047. ",
  34048. "f"
  34049. );
  34050. insert into sysbldobjdepends
  34051. (
  34052. bld_id,
  34053. obj_kind,
  34054. obj_signature,
  34055. obj_owner,
  34056. need_obj_kind,
  34057. need_obj_signature,
  34058. need_obj_owner)
  34059. values
  34060. (
  34061. "%SYSBLDNAME%",
  34062. 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34063. "%SYSBLDUSER%",
  34064. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34065. "%SYSBLDUSER%"
  34066. );
  34067. insert into sysbldobjects
  34068. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34069. create_can_fail, drop_sql, drop_can_fail)
  34070. values
  34071. (
  34072. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34073. "%SYSBLDUSER%", 0,
  34074. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
  34075. with (add handlesnulls);
  34076. ",
  34077. "f",
  34078. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
  34079. with (drop handlesnulls);
  34080. ",
  34081. "f"
  34082. );
  34083. insert into sysbldobjdepends
  34084. (
  34085. bld_id,
  34086. obj_kind,
  34087. obj_signature,
  34088. obj_owner,
  34089. need_obj_kind,
  34090. need_obj_signature,
  34091. need_obj_owner)
  34092. values
  34093. (
  34094. "%SYSBLDNAME%",
  34095. 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34096. "%SYSBLDUSER%",
  34097. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34098. "%SYSBLDUSER%"
  34099. );
  34100. insert into sysbldobjects
  34101. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34102. create_can_fail, drop_sql, drop_can_fail)
  34103. values
  34104. (
  34105. "%SYSBLDNAME%", 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34106. "%SYSBLDUSER%", 0,
  34107. "grant execute on procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar) to public;
  34108. ",
  34109. "f",
  34110. "",
  34111. "f"
  34112. );
  34113. insert into sysbldobjdepends
  34114. (
  34115. bld_id,
  34116. obj_kind,
  34117. obj_signature,
  34118. obj_owner,
  34119. need_obj_kind,
  34120. need_obj_signature,
  34121. need_obj_owner)
  34122. values
  34123. (
  34124. "%SYSBLDNAME%",
  34125. 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34126. "%SYSBLDUSER%",
  34127. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
  34128. "%SYSBLDUSER%"
  34129. );
  34130. insert into sysbldobjects
  34131. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34132. create_can_fail, drop_sql, drop_can_fail)
  34133. values
  34134. (
  34135. "%SYSBLDNAME%", 5, "TSVariableGet (lvarchar)",
  34136. "%SYSBLDUSER%", 0,
  34137. "create function TSVariableGet (lvarchar)
  34138. returns lvarchar with (handlesnulls)
  34139. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_get)"" language c;
  34140. ",
  34141. "f",
  34142. "drop function TSVariableGet (lvarchar);
  34143. ",
  34144. "f"
  34145. );
  34146. insert into sysbldobjects
  34147. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34148. create_can_fail, drop_sql, drop_can_fail)
  34149. values
  34150. (
  34151. "%SYSBLDNAME%", 69, "TSVariableGet (lvarchar)",
  34152. "%SYSBLDUSER%", 0,
  34153. "grant execute on function TSVariableGet (lvarchar) to public;
  34154. ",
  34155. "f",
  34156. "",
  34157. "f"
  34158. );
  34159. insert into sysbldobjdepends
  34160. (
  34161. bld_id,
  34162. obj_kind,
  34163. obj_signature,
  34164. obj_owner,
  34165. need_obj_kind,
  34166. need_obj_signature,
  34167. need_obj_owner)
  34168. values
  34169. (
  34170. "%SYSBLDNAME%",
  34171. 69, "TSVariableGet (lvarchar)",
  34172. "%SYSBLDUSER%",
  34173. 5, "TSVariableGet (lvarchar)",
  34174. "%SYSBLDUSER%"
  34175. );
  34176. insert into sysbldobjects
  34177. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34178. create_can_fail, drop_sql, drop_can_fail)
  34179. values
  34180. (
  34181. "%SYSBLDNAME%", 5, "TSVariableSet (lvarchar,lvarchar)",
  34182. "%SYSBLDUSER%", 0,
  34183. "create function TSVariableSet (lvarchar,lvarchar)
  34184. returns boolean with (handlesnulls)
  34185. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_set)"" language c;
  34186. ",
  34187. "f",
  34188. "drop function TSVariableSet (lvarchar,lvarchar);
  34189. ",
  34190. "f"
  34191. );
  34192. insert into sysbldobjects
  34193. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34194. create_can_fail, drop_sql, drop_can_fail)
  34195. values
  34196. (
  34197. "%SYSBLDNAME%", 69, "TSVariableSet (lvarchar,lvarchar)",
  34198. "%SYSBLDUSER%", 0,
  34199. "grant execute on function TSVariableSet (lvarchar,lvarchar) to public;
  34200. ",
  34201. "f",
  34202. "",
  34203. "f"
  34204. );
  34205. insert into sysbldobjdepends
  34206. (
  34207. bld_id,
  34208. obj_kind,
  34209. obj_signature,
  34210. obj_owner,
  34211. need_obj_kind,
  34212. need_obj_signature,
  34213. need_obj_owner)
  34214. values
  34215. (
  34216. "%SYSBLDNAME%",
  34217. 69, "TSVariableSet (lvarchar,lvarchar)",
  34218. "%SYSBLDUSER%",
  34219. 5, "TSVariableSet (lvarchar,lvarchar)",
  34220. "%SYSBLDUSER%"
  34221. );
  34222. insert into sysbldobjects
  34223. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34224. create_can_fail, drop_sql, drop_can_fail)
  34225. values
  34226. (
  34227. "%SYSBLDNAME%", 5, "TSVariableEnv (lvarchar)",
  34228. "%SYSBLDUSER%", 0,
  34229. "create function TSVariableEnv (lvarchar)
  34230. returns lvarchar with (handlesnulls)
  34231. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_env)"" language c;
  34232. ",
  34233. "f",
  34234. "drop function TSVariableEnv (lvarchar);
  34235. ",
  34236. "f"
  34237. );
  34238. insert into sysbldobjects
  34239. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34240. create_can_fail, drop_sql, drop_can_fail)
  34241. values
  34242. (
  34243. "%SYSBLDNAME%", 69, "TSVariableEnv (lvarchar)",
  34244. "%SYSBLDUSER%", 0,
  34245. "grant execute on function TSVariableEnv (lvarchar) to public;
  34246. ",
  34247. "f",
  34248. "",
  34249. "f"
  34250. );
  34251. insert into sysbldobjdepends
  34252. (
  34253. bld_id,
  34254. obj_kind,
  34255. obj_signature,
  34256. obj_owner,
  34257. need_obj_kind,
  34258. need_obj_signature,
  34259. need_obj_owner)
  34260. values
  34261. (
  34262. "%SYSBLDNAME%",
  34263. 69, "TSVariableEnv (lvarchar)",
  34264. "%SYSBLDUSER%",
  34265. 5, "TSVariableEnv (lvarchar)",
  34266. "%SYSBLDUSER%"
  34267. );
  34268. insert into sysbldobjects
  34269. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34270. create_can_fail, drop_sql, drop_can_fail)
  34271. values
  34272. (
  34273. "%SYSBLDNAME%", 5, "TSVariableUnset (lvarchar)",
  34274. "%SYSBLDUSER%", 0,
  34275. "create function TSVariableUnset (lvarchar)
  34276. returns boolean with (handlesnulls)
  34277. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_unset)"" language c;
  34278. ",
  34279. "f",
  34280. "drop function TSVariableUnset (lvarchar);
  34281. ",
  34282. "f"
  34283. );
  34284. insert into sysbldobjects
  34285. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34286. create_can_fail, drop_sql, drop_can_fail)
  34287. values
  34288. (
  34289. "%SYSBLDNAME%", 69, "TSVariableUnset (lvarchar)",
  34290. "%SYSBLDUSER%", 0,
  34291. "grant execute on function TSVariableUnset (lvarchar) to public;
  34292. ",
  34293. "f",
  34294. "",
  34295. "f"
  34296. );
  34297. insert into sysbldobjdepends
  34298. (
  34299. bld_id,
  34300. obj_kind,
  34301. obj_signature,
  34302. obj_owner,
  34303. need_obj_kind,
  34304. need_obj_signature,
  34305. need_obj_owner)
  34306. values
  34307. (
  34308. "%SYSBLDNAME%",
  34309. 69, "TSVariableUnset (lvarchar)",
  34310. "%SYSBLDUSER%",
  34311. 5, "TSVariableUnset (lvarchar)",
  34312. "%SYSBLDUSER%"
  34313. );
  34314. insert into sysbldobjects
  34315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34316. create_can_fail, drop_sql, drop_can_fail)
  34317. values
  34318. (
  34319. "%SYSBLDNAME%", 5, "TSVariableSetVTI (datetime,lvarchar)",
  34320. "%SYSBLDUSER%", 0,
  34321. "create function TSVariableSetVTI (datetime year to fraction(5),lvarchar)
  34322. returns boolean with (handlesnulls)
  34323. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_setvti)"" language c;
  34324. ",
  34325. "f",
  34326. "drop function TSVariableSetVTI (datetime year to fraction(5),lvarchar);
  34327. ",
  34328. "f"
  34329. );
  34330. insert into sysbldobjects
  34331. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34332. create_can_fail, drop_sql, drop_can_fail)
  34333. values
  34334. (
  34335. "%SYSBLDNAME%", 69, "TSVariableSetVTI (datetime,lvarchar)",
  34336. "%SYSBLDUSER%", 0,
  34337. "grant execute on function TSVariableSetVTI (datetime year to fraction(5),lvarchar) to public;
  34338. ",
  34339. "f",
  34340. "",
  34341. "f"
  34342. );
  34343. insert into sysbldobjdepends
  34344. (
  34345. bld_id,
  34346. obj_kind,
  34347. obj_signature,
  34348. obj_owner,
  34349. need_obj_kind,
  34350. need_obj_signature,
  34351. need_obj_owner)
  34352. values
  34353. (
  34354. "%SYSBLDNAME%",
  34355. 69, "TSVariableSetVTI (datetime,lvarchar)",
  34356. "%SYSBLDUSER%",
  34357. 5, "TSVariableSetVTI (datetime,lvarchar)",
  34358. "%SYSBLDUSER%"
  34359. );
  34360. insert into sysbldobjects
  34361. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34362. create_can_fail, drop_sql, drop_can_fail)
  34363. values
  34364. (
  34365. "%SYSBLDNAME%", 5, "TSVariableEnvClear (lvarchar)",
  34366. "%SYSBLDUSER%", 0,
  34367. "create function TSVariableEnvClear (lvarchar)
  34368. returns boolean with (handlesnulls)
  34369. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_env_clear)"" language c;
  34370. ",
  34371. "f",
  34372. "drop function TSVariableEnvClear (lvarchar);
  34373. ",
  34374. "f"
  34375. );
  34376. insert into sysbldobjects
  34377. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34378. create_can_fail, drop_sql, drop_can_fail)
  34379. values
  34380. (
  34381. "%SYSBLDNAME%", 69, "TSVariableEnvClear (lvarchar)",
  34382. "%SYSBLDUSER%", 0,
  34383. "grant execute on function TSVariableEnvClear (lvarchar) to public;
  34384. ",
  34385. "f",
  34386. "",
  34387. "f"
  34388. );
  34389. insert into sysbldobjdepends
  34390. (
  34391. bld_id,
  34392. obj_kind,
  34393. obj_signature,
  34394. obj_owner,
  34395. need_obj_kind,
  34396. need_obj_signature,
  34397. need_obj_owner)
  34398. values
  34399. (
  34400. "%SYSBLDNAME%",
  34401. 69, "TSVariableEnvClear (lvarchar)",
  34402. "%SYSBLDUSER%",
  34403. 5, "TSVariableEnvClear (lvarchar)",
  34404. "%SYSBLDUSER%"
  34405. );
  34406. insert into sysbldobjects
  34407. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34408. create_can_fail, drop_sql, drop_can_fail)
  34409. values
  34410. (
  34411. "%SYSBLDNAME%", 5, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34412. "%SYSBLDUSER%", 0,
  34413. "create function TSVariableSubstitute (lvarchar,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL)
  34414. returns lvarchar with (handlesnulls)
  34415. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_fmt)"" language c;
  34416. ",
  34417. "f",
  34418. "drop function TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);
  34419. ",
  34420. "f"
  34421. );
  34422. insert into sysbldobjects
  34423. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34424. create_can_fail, drop_sql, drop_can_fail)
  34425. values
  34426. (
  34427. "%SYSBLDNAME%", 69, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34428. "%SYSBLDUSER%", 0,
  34429. "grant execute on function TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  34430. ",
  34431. "f",
  34432. "",
  34433. "f"
  34434. );
  34435. insert into sysbldobjdepends
  34436. (
  34437. bld_id,
  34438. obj_kind,
  34439. obj_signature,
  34440. obj_owner,
  34441. need_obj_kind,
  34442. need_obj_signature,
  34443. need_obj_owner)
  34444. values
  34445. (
  34446. "%SYSBLDNAME%",
  34447. 69, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34448. "%SYSBLDUSER%",
  34449. 5, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34450. "%SYSBLDUSER%"
  34451. );
  34452. insert into sysbldobjects
  34453. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34454. create_can_fail, drop_sql, drop_can_fail)
  34455. values
  34456. (
  34457. "%SYSBLDNAME%", 5, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34458. "%SYSBLDUSER%", 0,
  34459. "create function TSExpressionSQL (lvarchar,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL)
  34460. returns lvarchar with (handlesnulls)
  34461. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_expression_sql)"" language c;
  34462. ",
  34463. "f",
  34464. "drop function TSExpressionSQL (lvarchar,datetime year to fraction(5),datetime year to fraction(5),lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);
  34465. ",
  34466. "f"
  34467. );
  34468. insert into sysbldobjects
  34469. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34470. create_can_fail, drop_sql, drop_can_fail)
  34471. values
  34472. (
  34473. "%SYSBLDNAME%", 69, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34474. "%SYSBLDUSER%", 0,
  34475. "grant execute on function TSExpressionSQL (lvarchar,datetime year to fraction(5),datetime year to fraction(5),lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  34476. ",
  34477. "f",
  34478. "",
  34479. "f"
  34480. );
  34481. insert into sysbldobjdepends
  34482. (
  34483. bld_id,
  34484. obj_kind,
  34485. obj_signature,
  34486. obj_owner,
  34487. need_obj_kind,
  34488. need_obj_signature,
  34489. need_obj_owner)
  34490. values
  34491. (
  34492. "%SYSBLDNAME%",
  34493. 69, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34494. "%SYSBLDUSER%",
  34495. 5, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  34496. "%SYSBLDUSER%"
  34497. );
  34498. insert into sysbldobjects
  34499. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34500. create_can_fail, drop_sql, drop_can_fail)
  34501. values
  34502. (
  34503. "%SYSBLDNAME%", 5, "TSL_Put (lvarchar,lvarchar)",
  34504. "%SYSBLDUSER%", 0,
  34505. "create function TSL_Put (lvarchar,lvarchar)
  34506. returns int
  34507. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put)"" language c;
  34508. ",
  34509. "f",
  34510. "drop function TSL_Put (lvarchar,lvarchar);
  34511. ",
  34512. "f"
  34513. );
  34514. insert into sysbldobjects
  34515. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34516. create_can_fail, drop_sql, drop_can_fail)
  34517. values
  34518. (
  34519. "%SYSBLDNAME%", 69, "TSL_Put (lvarchar,lvarchar)",
  34520. "%SYSBLDUSER%", 0,
  34521. "grant execute on function TSL_Put (lvarchar,lvarchar) to public;
  34522. ",
  34523. "f",
  34524. "",
  34525. "f"
  34526. );
  34527. insert into sysbldobjdepends
  34528. (
  34529. bld_id,
  34530. obj_kind,
  34531. obj_signature,
  34532. obj_owner,
  34533. need_obj_kind,
  34534. need_obj_signature,
  34535. need_obj_owner)
  34536. values
  34537. (
  34538. "%SYSBLDNAME%",
  34539. 69, "TSL_Put (lvarchar,lvarchar)",
  34540. "%SYSBLDUSER%",
  34541. 5, "TSL_Put (lvarchar,lvarchar)",
  34542. "%SYSBLDUSER%"
  34543. );
  34544. insert into sysbldobjects
  34545. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34546. create_can_fail, drop_sql, drop_can_fail)
  34547. values
  34548. (
  34549. "%SYSBLDNAME%", 5, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
  34550. "%SYSBLDUSER%", 0,
  34551. "create function TSL_PutAndCommit (lvarchar,lvarchar,bson default NULL)
  34552. returns bigint with (handlesnulls)
  34553. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_putandcommit)"" language c;
  34554. ",
  34555. "f",
  34556. "drop function TSL_PutAndCommit (lvarchar,lvarchar,bson);
  34557. ",
  34558. "f"
  34559. );
  34560. insert into sysbldobjects
  34561. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34562. create_can_fail, drop_sql, drop_can_fail)
  34563. values
  34564. (
  34565. "%SYSBLDNAME%", 5, "TSL_Control (lvarchar,bson)",
  34566. "%SYSBLDUSER%", 0,
  34567. "create function TSL_Control (lvarchar,bson)
  34568. returns bson with (handlesnulls)
  34569. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_control)"" language c;
  34570. ",
  34571. "f",
  34572. "drop function TSL_Control (lvarchar,bson);
  34573. ",
  34574. "f"
  34575. );
  34576. insert into sysbldobjects
  34577. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34578. create_can_fail, drop_sql, drop_can_fail)
  34579. values
  34580. (
  34581. "%SYSBLDNAME%", 69, "TSL_Control (lvarchar,bson)",
  34582. "%SYSBLDUSER%", 0,
  34583. "grant execute on function TSL_Control (lvarchar,bson) to public;
  34584. ",
  34585. "f",
  34586. "",
  34587. "f"
  34588. );
  34589. insert into sysbldobjdepends
  34590. (
  34591. bld_id,
  34592. obj_kind,
  34593. obj_signature,
  34594. obj_owner,
  34595. need_obj_kind,
  34596. need_obj_signature,
  34597. need_obj_owner)
  34598. values
  34599. (
  34600. "%SYSBLDNAME%",
  34601. 69, "TSL_Control (lvarchar,bson)",
  34602. "%SYSBLDUSER%",
  34603. 5, "TSL_Control (lvarchar,bson)",
  34604. "%SYSBLDUSER%"
  34605. );
  34606. insert into sysbldobjects
  34607. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34608. create_can_fail, drop_sql, drop_can_fail)
  34609. values
  34610. (
  34611. "%SYSBLDNAME%", 69, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
  34612. "%SYSBLDUSER%", 0,
  34613. "grant execute on function TSL_PutAndCommit (lvarchar,lvarchar,bson) to public;
  34614. ",
  34615. "f",
  34616. "",
  34617. "f"
  34618. );
  34619. insert into sysbldobjdepends
  34620. (
  34621. bld_id,
  34622. obj_kind,
  34623. obj_signature,
  34624. obj_owner,
  34625. need_obj_kind,
  34626. need_obj_signature,
  34627. need_obj_owner)
  34628. values
  34629. (
  34630. "%SYSBLDNAME%",
  34631. 69, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
  34632. "%SYSBLDUSER%",
  34633. 5, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
  34634. "%SYSBLDUSER%"
  34635. );
  34636. insert into sysbldobjects
  34637. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34638. create_can_fail, drop_sql, drop_can_fail)
  34639. values
  34640. (
  34641. "%SYSBLDNAME%", 5, "TSL_Flush (lvarchar,int,int)",
  34642. "%SYSBLDUSER%", 0,
  34643. "create function TSL_Flush (lvarchar,int default NULL,int default 0)
  34644. returns int with (handlesnulls)
  34645. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flush)"" language c;
  34646. ",
  34647. "f",
  34648. "drop function TSL_Flush (lvarchar,int,int);
  34649. ",
  34650. "f"
  34651. );
  34652. insert into sysbldobjects
  34653. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34654. create_can_fail, drop_sql, drop_can_fail)
  34655. values
  34656. (
  34657. "%SYSBLDNAME%", 69, "TSL_Flush (lvarchar,int,int)",
  34658. "%SYSBLDUSER%", 0,
  34659. "grant execute on function TSL_Flush (lvarchar,int,int) to public;
  34660. ",
  34661. "f",
  34662. "",
  34663. "f"
  34664. );
  34665. insert into sysbldobjdepends
  34666. (
  34667. bld_id,
  34668. obj_kind,
  34669. obj_signature,
  34670. obj_owner,
  34671. need_obj_kind,
  34672. need_obj_signature,
  34673. need_obj_owner)
  34674. values
  34675. (
  34676. "%SYSBLDNAME%",
  34677. 69, "TSL_Flush (lvarchar,int,int)",
  34678. "%SYSBLDUSER%",
  34679. 5, "TSL_Flush (lvarchar,int,int)",
  34680. "%SYSBLDUSER%"
  34681. );
  34682. insert into sysbldobjects
  34683. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34684. create_can_fail, drop_sql, drop_can_fail)
  34685. values
  34686. (
  34687. "%SYSBLDNAME%", 5, "TSL_Put (lvarchar,clob)",
  34688. "%SYSBLDUSER%", 0,
  34689. "create function TSL_Put (lvarchar,clob)
  34690. returns int
  34691. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_clob)"" language c;
  34692. ",
  34693. "f",
  34694. "drop function TSL_Put (lvarchar,clob);
  34695. ",
  34696. "f"
  34697. );
  34698. insert into sysbldobjects
  34699. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34700. create_can_fail, drop_sql, drop_can_fail)
  34701. values
  34702. (
  34703. "%SYSBLDNAME%", 69, "TSL_Put (lvarchar,clob)",
  34704. "%SYSBLDUSER%", 0,
  34705. "grant execute on function TSL_Put (lvarchar,clob) to public;
  34706. ",
  34707. "f",
  34708. "",
  34709. "f"
  34710. );
  34711. insert into sysbldobjdepends
  34712. (
  34713. bld_id,
  34714. obj_kind,
  34715. obj_signature,
  34716. obj_owner,
  34717. need_obj_kind,
  34718. need_obj_signature,
  34719. need_obj_owner)
  34720. values
  34721. (
  34722. "%SYSBLDNAME%",
  34723. 69, "TSL_Put (lvarchar,clob)",
  34724. "%SYSBLDUSER%",
  34725. 5, "TSL_Put (lvarchar,clob)",
  34726. "%SYSBLDUSER%"
  34727. );
  34728. insert into sysbldobjects
  34729. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34730. create_can_fail, drop_sql, drop_can_fail)
  34731. values
  34732. (
  34733. "%SYSBLDNAME%", 5, "TSL_Status (lvarchar,int)",
  34734. "%SYSBLDUSER%", 0,
  34735. "create function TSL_Status (lvarchar,int)
  34736. returns lvarchar with (handlesnulls)
  34737. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_gstatus)"" language c;
  34738. ",
  34739. "f",
  34740. "drop function TSL_Status (lvarchar,int);
  34741. ",
  34742. "f"
  34743. );
  34744. insert into sysbldobjects
  34745. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34746. create_can_fail, drop_sql, drop_can_fail)
  34747. values
  34748. (
  34749. "%SYSBLDNAME%", 69, "TSL_Status (lvarchar,int)",
  34750. "%SYSBLDUSER%", 0,
  34751. "grant execute on function TSL_Status (lvarchar,int) to public;
  34752. ",
  34753. "f",
  34754. "",
  34755. "f"
  34756. );
  34757. insert into sysbldobjdepends
  34758. (
  34759. bld_id,
  34760. obj_kind,
  34761. obj_signature,
  34762. obj_owner,
  34763. need_obj_kind,
  34764. need_obj_signature,
  34765. need_obj_owner)
  34766. values
  34767. (
  34768. "%SYSBLDNAME%",
  34769. 69, "TSL_Status (lvarchar,int)",
  34770. "%SYSBLDUSER%",
  34771. 5, "TSL_Status (lvarchar,int)",
  34772. "%SYSBLDUSER%"
  34773. );
  34774. insert into sysbldobjects
  34775. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34776. create_can_fail, drop_sql, drop_can_fail)
  34777. values
  34778. (
  34779. "%SYSBLDNAME%", 5, "TSL_SessionStatus (lvarchar,int)",
  34780. "%SYSBLDUSER%", 0,
  34781. "create function TSL_SessionStatus (lvarchar,int)
  34782. returns lvarchar with (handlesnulls)
  34783. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_lstatus)"" language c;
  34784. ",
  34785. "f",
  34786. "drop function TSL_SessionStatus (lvarchar,int);
  34787. ",
  34788. "f"
  34789. );
  34790. insert into sysbldobjects
  34791. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34792. create_can_fail, drop_sql, drop_can_fail)
  34793. values
  34794. (
  34795. "%SYSBLDNAME%", 69, "TSL_SessionStatus (lvarchar,int)",
  34796. "%SYSBLDUSER%", 0,
  34797. "grant execute on function TSL_SessionStatus (lvarchar,int) to public;
  34798. ",
  34799. "f",
  34800. "",
  34801. "f"
  34802. );
  34803. insert into sysbldobjdepends
  34804. (
  34805. bld_id,
  34806. obj_kind,
  34807. obj_signature,
  34808. obj_owner,
  34809. need_obj_kind,
  34810. need_obj_signature,
  34811. need_obj_owner)
  34812. values
  34813. (
  34814. "%SYSBLDNAME%",
  34815. 69, "TSL_SessionStatus (lvarchar,int)",
  34816. "%SYSBLDUSER%",
  34817. 5, "TSL_SessionStatus (lvarchar,int)",
  34818. "%SYSBLDUSER%"
  34819. );
  34820. insert into sysbldobjects
  34821. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34822. create_can_fail, drop_sql, drop_can_fail)
  34823. values
  34824. (
  34825. "%SYSBLDNAME%", 5, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
  34826. "%SYSBLDUSER%", 0,
  34827. "create function TSL_SetLogMode (lvarchar,int default NULL,int default NULL,lvarchar default NULL)
  34828. returns int with (handlesnulls)
  34829. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_setloginfo)"" language c;
  34830. ",
  34831. "f",
  34832. "drop function TSL_SetLogMode (lvarchar,int,int,lvarchar);
  34833. ",
  34834. "f"
  34835. );
  34836. insert into sysbldobjects
  34837. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34838. create_can_fail, drop_sql, drop_can_fail)
  34839. values
  34840. (
  34841. "%SYSBLDNAME%", 69, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
  34842. "%SYSBLDUSER%", 0,
  34843. "grant execute on function TSL_SetLogMode (lvarchar,int,int,lvarchar) to public;
  34844. ",
  34845. "f",
  34846. "",
  34847. "f"
  34848. );
  34849. insert into sysbldobjdepends
  34850. (
  34851. bld_id,
  34852. obj_kind,
  34853. obj_signature,
  34854. obj_owner,
  34855. need_obj_kind,
  34856. need_obj_signature,
  34857. need_obj_owner)
  34858. values
  34859. (
  34860. "%SYSBLDNAME%",
  34861. 69, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
  34862. "%SYSBLDUSER%",
  34863. 5, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
  34864. "%SYSBLDUSER%"
  34865. );
  34866. insert into sysbldobjects
  34867. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34868. create_can_fail, drop_sql, drop_can_fail)
  34869. values
  34870. (
  34871. "%SYSBLDNAME%", 5, "TSL_GetLogMessage (lvarchar,integer)",
  34872. "%SYSBLDUSER%", 0,
  34873. "create function TSL_GetLogMessage (lvarchar,integer default 1)
  34874. returns lvarchar
  34875. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getlogmessages)"" language c;
  34876. ",
  34877. "f",
  34878. "drop function TSL_GetLogMessage (lvarchar,integer);
  34879. ",
  34880. "f"
  34881. );
  34882. insert into sysbldobjects
  34883. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34884. create_can_fail, drop_sql, drop_can_fail)
  34885. values
  34886. (
  34887. "%SYSBLDNAME%", 69, "TSL_GetLogMessage (lvarchar,integer)",
  34888. "%SYSBLDUSER%", 0,
  34889. "grant execute on function TSL_GetLogMessage (lvarchar,integer) to public;
  34890. ",
  34891. "f",
  34892. "",
  34893. "f"
  34894. );
  34895. insert into sysbldobjdepends
  34896. (
  34897. bld_id,
  34898. obj_kind,
  34899. obj_signature,
  34900. obj_owner,
  34901. need_obj_kind,
  34902. need_obj_signature,
  34903. need_obj_owner)
  34904. values
  34905. (
  34906. "%SYSBLDNAME%",
  34907. 69, "TSL_GetLogMessage (lvarchar,integer)",
  34908. "%SYSBLDUSER%",
  34909. 5, "TSL_GetLogMessage (lvarchar,integer)",
  34910. "%SYSBLDUSER%"
  34911. );
  34912. insert into sysbldobjects
  34913. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34914. create_can_fail, drop_sql, drop_can_fail)
  34915. values
  34916. (
  34917. "%SYSBLDNAME%", 5, "TSL_SessionClose (lvarchar)",
  34918. "%SYSBLDUSER%", 0,
  34919. "create function TSL_SessionClose (lvarchar)
  34920. returns int
  34921. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_lrelease)"" language c;
  34922. ",
  34923. "f",
  34924. "drop function TSL_SessionClose (lvarchar);
  34925. ",
  34926. "f"
  34927. );
  34928. insert into sysbldobjects
  34929. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34930. create_can_fail, drop_sql, drop_can_fail)
  34931. values
  34932. (
  34933. "%SYSBLDNAME%", 69, "TSL_SessionClose (lvarchar)",
  34934. "%SYSBLDUSER%", 0,
  34935. "grant execute on function TSL_SessionClose (lvarchar) to public;
  34936. ",
  34937. "f",
  34938. "",
  34939. "f"
  34940. );
  34941. insert into sysbldobjdepends
  34942. (
  34943. bld_id,
  34944. obj_kind,
  34945. obj_signature,
  34946. obj_owner,
  34947. need_obj_kind,
  34948. need_obj_signature,
  34949. need_obj_owner)
  34950. values
  34951. (
  34952. "%SYSBLDNAME%",
  34953. 69, "TSL_SessionClose (lvarchar)",
  34954. "%SYSBLDUSER%",
  34955. 5, "TSL_SessionClose (lvarchar)",
  34956. "%SYSBLDUSER%"
  34957. );
  34958. insert into sysbldobjects
  34959. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34960. create_can_fail, drop_sql, drop_can_fail)
  34961. values
  34962. (
  34963. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar)",
  34964. "%SYSBLDUSER%", 0,
  34965. "create function TSL_Init (varchar (128),varchar (128))
  34966. returns lvarchar with (handlesnulls)
  34967. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant1)"" language c;
  34968. ",
  34969. "f",
  34970. "drop function TSL_Init (varchar (128),varchar (128));
  34971. ",
  34972. "f"
  34973. );
  34974. insert into sysbldobjects
  34975. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  34976. create_can_fail, drop_sql, drop_can_fail)
  34977. values
  34978. (
  34979. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar)",
  34980. "%SYSBLDUSER%", 0,
  34981. "grant execute on function TSL_Init (varchar (128),varchar (128)) to public;
  34982. ",
  34983. "f",
  34984. "",
  34985. "f"
  34986. );
  34987. insert into sysbldobjdepends
  34988. (
  34989. bld_id,
  34990. obj_kind,
  34991. obj_signature,
  34992. obj_owner,
  34993. need_obj_kind,
  34994. need_obj_signature,
  34995. need_obj_owner)
  34996. values
  34997. (
  34998. "%SYSBLDNAME%",
  34999. 69, "TSL_Init (varchar,varchar)",
  35000. "%SYSBLDUSER%",
  35001. 5, "TSL_Init (varchar,varchar)",
  35002. "%SYSBLDUSER%"
  35003. );
  35004. insert into sysbldobjects
  35005. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35006. create_can_fail, drop_sql, drop_can_fail)
  35007. values
  35008. (
  35009. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,lvarchar)",
  35010. "%SYSBLDUSER%", 0,
  35011. "create function TSL_Init (varchar (128),varchar (128),lvarchar)
  35012. returns lvarchar with (handlesnulls)
  35013. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant2)"" language c;
  35014. ",
  35015. "f",
  35016. "drop function TSL_Init (varchar (128),varchar (128),lvarchar);
  35017. ",
  35018. "f"
  35019. );
  35020. insert into sysbldobjects
  35021. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35022. create_can_fail, drop_sql, drop_can_fail)
  35023. values
  35024. (
  35025. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,lvarchar)",
  35026. "%SYSBLDUSER%", 0,
  35027. "grant execute on function TSL_Init (varchar (128),varchar (128),lvarchar) to public;
  35028. ",
  35029. "f",
  35030. "",
  35031. "f"
  35032. );
  35033. insert into sysbldobjdepends
  35034. (
  35035. bld_id,
  35036. obj_kind,
  35037. obj_signature,
  35038. obj_owner,
  35039. need_obj_kind,
  35040. need_obj_signature,
  35041. need_obj_owner)
  35042. values
  35043. (
  35044. "%SYSBLDNAME%",
  35045. 69, "TSL_Init (varchar,varchar,lvarchar)",
  35046. "%SYSBLDUSER%",
  35047. 5, "TSL_Init (varchar,varchar,lvarchar)",
  35048. "%SYSBLDUSER%"
  35049. );
  35050. insert into sysbldobjects
  35051. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35052. create_can_fail, drop_sql, drop_can_fail)
  35053. values
  35054. (
  35055. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
  35056. "%SYSBLDUSER%", 0,
  35057. "create function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar)
  35058. returns lvarchar with (handlesnulls)
  35059. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant3)"" language c;
  35060. ",
  35061. "f",
  35062. "drop function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar);
  35063. ",
  35064. "f"
  35065. );
  35066. insert into sysbldobjects
  35067. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35068. create_can_fail, drop_sql, drop_can_fail)
  35069. values
  35070. (
  35071. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
  35072. "%SYSBLDUSER%", 0,
  35073. "grant execute on function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar) to public;
  35074. ",
  35075. "f",
  35076. "",
  35077. "f"
  35078. );
  35079. insert into sysbldobjdepends
  35080. (
  35081. bld_id,
  35082. obj_kind,
  35083. obj_signature,
  35084. obj_owner,
  35085. need_obj_kind,
  35086. need_obj_signature,
  35087. need_obj_owner)
  35088. values
  35089. (
  35090. "%SYSBLDNAME%",
  35091. 69, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
  35092. "%SYSBLDUSER%",
  35093. 5, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
  35094. "%SYSBLDUSER%"
  35095. );
  35096. insert into sysbldobjects
  35097. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35098. create_can_fail, drop_sql, drop_can_fail)
  35099. values
  35100. (
  35101. "%SYSBLDNAME%", 5, "TSRollup_tracing (lvarchar,integer,lvarchar)",
  35102. "%SYSBLDUSER%", 0,
  35103. "create function TSRollup_tracing (lvarchar,integer,lvarchar)
  35104. returns integer with (handlesnulls)
  35105. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_tracing)"" language c;
  35106. ",
  35107. "f",
  35108. "drop function TSRollup_tracing (lvarchar,integer,lvarchar);
  35109. ",
  35110. "f"
  35111. );
  35112. insert into sysbldobjects
  35113. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35114. create_can_fail, drop_sql, drop_can_fail)
  35115. values
  35116. (
  35117. "%SYSBLDNAME%", 69, "TSRollup_tracing (lvarchar,integer,lvarchar)",
  35118. "%SYSBLDUSER%", 0,
  35119. "grant execute on function TSRollup_tracing (lvarchar,integer,lvarchar) to public;
  35120. ",
  35121. "f",
  35122. "",
  35123. "f"
  35124. );
  35125. insert into sysbldobjdepends
  35126. (
  35127. bld_id,
  35128. obj_kind,
  35129. obj_signature,
  35130. obj_owner,
  35131. need_obj_kind,
  35132. need_obj_signature,
  35133. need_obj_owner)
  35134. values
  35135. (
  35136. "%SYSBLDNAME%",
  35137. 69, "TSRollup_tracing (lvarchar,integer,lvarchar)",
  35138. "%SYSBLDUSER%",
  35139. 5, "TSRollup_tracing (lvarchar,integer,lvarchar)",
  35140. "%SYSBLDUSER%"
  35141. );
  35142. insert into sysbldobjects
  35143. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35144. create_can_fail, drop_sql, drop_can_fail)
  35145. values
  35146. (
  35147. "%SYSBLDNAME%", 5, "TSL_GetKeyContainer (lvarchar,lvarchar)",
  35148. "%SYSBLDUSER%", 0,
  35149. "create function TSL_GetKeyContainer (lvarchar,lvarchar)
  35150. returns varchar (128) with (parallelizable)
  35151. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getkeycontainer)"" language c;
  35152. ",
  35153. "f",
  35154. "drop function TSL_GetKeyContainer (lvarchar,lvarchar);
  35155. ",
  35156. "f"
  35157. );
  35158. insert into sysbldobjects
  35159. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35160. create_can_fail, drop_sql, drop_can_fail)
  35161. values
  35162. (
  35163. "%SYSBLDNAME%", 69, "TSL_GetKeyContainer (lvarchar,lvarchar)",
  35164. "%SYSBLDUSER%", 0,
  35165. "grant execute on function TSL_GetKeyContainer (lvarchar,lvarchar) to public;
  35166. ",
  35167. "f",
  35168. "",
  35169. "f"
  35170. );
  35171. insert into sysbldobjdepends
  35172. (
  35173. bld_id,
  35174. obj_kind,
  35175. obj_signature,
  35176. obj_owner,
  35177. need_obj_kind,
  35178. need_obj_signature,
  35179. need_obj_owner)
  35180. values
  35181. (
  35182. "%SYSBLDNAME%",
  35183. 69, "TSL_GetKeyContainer (lvarchar,lvarchar)",
  35184. "%SYSBLDUSER%",
  35185. 5, "TSL_GetKeyContainer (lvarchar,lvarchar)",
  35186. "%SYSBLDUSER%"
  35187. );
  35188. insert into sysbldobjects
  35189. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35190. create_can_fail, drop_sql, drop_can_fail)
  35191. values
  35192. (
  35193. "%SYSBLDNAME%", 5, "DelRange (TimeSeries,datetime,datetime,integer)",
  35194. "%SYSBLDUSER%", 0,
  35195. "create function DelRange (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
  35196. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  35197. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_range_sql)"" language c;
  35198. ",
  35199. "f",
  35200. "drop function DelRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  35201. ",
  35202. "f"
  35203. );
  35204. insert into sysbldobjdepends
  35205. (
  35206. bld_id,
  35207. obj_kind,
  35208. obj_signature,
  35209. obj_owner,
  35210. need_obj_kind,
  35211. need_obj_signature,
  35212. need_obj_owner)
  35213. values
  35214. (
  35215. "%SYSBLDNAME%",
  35216. 5, "DelRange (TimeSeries,datetime,datetime,integer)",
  35217. "%SYSBLDUSER%",
  35218. 7, "TimeSeries",
  35219. "%SYSBLDUSER%"
  35220. );
  35221. insert into sysbldobjects
  35222. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35223. create_can_fail, drop_sql, drop_can_fail)
  35224. values
  35225. (
  35226. "%SYSBLDNAME%", 69, "DelRange (TimeSeries,datetime,datetime,integer)",
  35227. "%SYSBLDUSER%", 0,
  35228. "grant execute on function DelRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  35229. ",
  35230. "f",
  35231. "",
  35232. "f"
  35233. );
  35234. insert into sysbldobjdepends
  35235. (
  35236. bld_id,
  35237. obj_kind,
  35238. obj_signature,
  35239. obj_owner,
  35240. need_obj_kind,
  35241. need_obj_signature,
  35242. need_obj_owner)
  35243. values
  35244. (
  35245. "%SYSBLDNAME%",
  35246. 69, "DelRange (TimeSeries,datetime,datetime,integer)",
  35247. "%SYSBLDUSER%",
  35248. 5, "DelRange (TimeSeries,datetime,datetime,integer)",
  35249. "%SYSBLDUSER%"
  35250. );
  35251. insert into sysbldobjects
  35252. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35253. create_can_fail, drop_sql, drop_can_fail)
  35254. values
  35255. (
  35256. "%SYSBLDNAME%", 5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
  35257. "%SYSBLDUSER%", 0,
  35258. "create function NullCleanup (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
  35259. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  35260. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_null_scan_sql)"" language c;
  35261. ",
  35262. "f",
  35263. "drop function NullCleanup (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);
  35264. ",
  35265. "f"
  35266. );
  35267. insert into sysbldobjdepends
  35268. (
  35269. bld_id,
  35270. obj_kind,
  35271. obj_signature,
  35272. obj_owner,
  35273. need_obj_kind,
  35274. need_obj_signature,
  35275. need_obj_owner)
  35276. values
  35277. (
  35278. "%SYSBLDNAME%",
  35279. 5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
  35280. "%SYSBLDUSER%",
  35281. 7, "TimeSeries",
  35282. "%SYSBLDUSER%"
  35283. );
  35284. insert into sysbldobjects
  35285. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35286. create_can_fail, drop_sql, drop_can_fail)
  35287. values
  35288. (
  35289. "%SYSBLDNAME%", 69, "NullCleanup (TimeSeries,datetime,datetime,integer)",
  35290. "%SYSBLDUSER%", 0,
  35291. "grant execute on function NullCleanup (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;
  35292. ",
  35293. "f",
  35294. "",
  35295. "f"
  35296. );
  35297. insert into sysbldobjdepends
  35298. (
  35299. bld_id,
  35300. obj_kind,
  35301. obj_signature,
  35302. obj_owner,
  35303. need_obj_kind,
  35304. need_obj_signature,
  35305. need_obj_owner)
  35306. values
  35307. (
  35308. "%SYSBLDNAME%",
  35309. 69, "NullCleanup (TimeSeries,datetime,datetime,integer)",
  35310. "%SYSBLDUSER%",
  35311. 5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
  35312. "%SYSBLDUSER%"
  35313. );
  35314. insert into sysbldobjects
  35315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35316. create_can_fail, drop_sql, drop_can_fail)
  35317. values
  35318. (
  35319. "%SYSBLDNAME%", 5, "CalStamp (lvarchar,datetime,int)",
  35320. "%SYSBLDUSER%", 0,
  35321. "create function CalStamp (lvarchar,datetime year to fraction(5),int)
  35322. returns datetime year to fraction(5) with (not variant, parallelizable)
  35323. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_stamp_sql)"" language c;
  35324. ",
  35325. "f",
  35326. "drop function CalStamp (lvarchar,datetime year to fraction(5),int);
  35327. ",
  35328. "f"
  35329. );
  35330. insert into sysbldobjects
  35331. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35332. create_can_fail, drop_sql, drop_can_fail)
  35333. values
  35334. (
  35335. "%SYSBLDNAME%", 69, "CalStamp (lvarchar,datetime,int)",
  35336. "%SYSBLDUSER%", 0,
  35337. "grant execute on function CalStamp (lvarchar,datetime year to fraction(5),int) to public;
  35338. ",
  35339. "f",
  35340. "",
  35341. "f"
  35342. );
  35343. insert into sysbldobjdepends
  35344. (
  35345. bld_id,
  35346. obj_kind,
  35347. obj_signature,
  35348. obj_owner,
  35349. need_obj_kind,
  35350. need_obj_signature,
  35351. need_obj_owner)
  35352. values
  35353. (
  35354. "%SYSBLDNAME%",
  35355. 69, "CalStamp (lvarchar,datetime,int)",
  35356. "%SYSBLDUSER%",
  35357. 5, "CalStamp (lvarchar,datetime,int)",
  35358. "%SYSBLDUSER%"
  35359. );
  35360. insert into sysbldobjects
  35361. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35362. create_can_fail, drop_sql, drop_can_fail)
  35363. values
  35364. (
  35365. "%SYSBLDNAME%", 5, "TimeSeriesClOrAPI ()",
  35366. "%SYSBLDUSER%", 0,
  35367. "create function TimeSeriesClOrAPI ()
  35368. returns pointer with (not variant, internal, handlesnulls)
  35369. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_origin_api)"" language c;
  35370. ",
  35371. "f",
  35372. "drop function TimeSeriesClOrAPI ();
  35373. ",
  35374. "f"
  35375. );
  35376. insert into sysbldobjects
  35377. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35378. create_can_fail, drop_sql, drop_can_fail)
  35379. values
  35380. (
  35381. "%SYSBLDNAME%", 69, "TimeSeriesClOrAPI ()",
  35382. "%SYSBLDUSER%", 0,
  35383. "grant execute on function TimeSeriesClOrAPI () to public;
  35384. ",
  35385. "f",
  35386. "",
  35387. "f"
  35388. );
  35389. insert into sysbldobjdepends
  35390. (
  35391. bld_id,
  35392. obj_kind,
  35393. obj_signature,
  35394. obj_owner,
  35395. need_obj_kind,
  35396. need_obj_signature,
  35397. need_obj_owner)
  35398. values
  35399. (
  35400. "%SYSBLDNAME%",
  35401. 69, "TimeSeriesClOrAPI ()",
  35402. "%SYSBLDUSER%",
  35403. 5, "TimeSeriesClOrAPI ()",
  35404. "%SYSBLDUSER%"
  35405. );
  35406. insert into sysbldobjects
  35407. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35408. create_can_fail, drop_sql, drop_can_fail)
  35409. values
  35410. (
  35411. "%SYSBLDNAME%", 5, "TSContainerPurge (lvarchar,lvarchar,integer)",
  35412. "%SYSBLDUSER%", 0,
  35413. "create function TSContainerPurge (lvarchar,lvarchar default 'client',integer default 0)
  35414. returns lvarchar with (handlesnulls)
  35415. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_purge_sql)"" language c;
  35416. ",
  35417. "f",
  35418. "drop function TSContainerPurge (lvarchar,lvarchar,integer);
  35419. ",
  35420. "f"
  35421. );
  35422. insert into sysbldobjects
  35423. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35424. create_can_fail, drop_sql, drop_can_fail)
  35425. values
  35426. (
  35427. "%SYSBLDNAME%", 69, "TSContainerPurge (lvarchar,lvarchar,integer)",
  35428. "%SYSBLDUSER%", 0,
  35429. "grant execute on function TSContainerPurge (lvarchar,lvarchar,integer) to public;
  35430. ",
  35431. "f",
  35432. "",
  35433. "f"
  35434. );
  35435. insert into sysbldobjdepends
  35436. (
  35437. bld_id,
  35438. obj_kind,
  35439. obj_signature,
  35440. obj_owner,
  35441. need_obj_kind,
  35442. need_obj_signature,
  35443. need_obj_owner)
  35444. values
  35445. (
  35446. "%SYSBLDNAME%",
  35447. 69, "TSContainerPurge (lvarchar,lvarchar,integer)",
  35448. "%SYSBLDUSER%",
  35449. 5, "TSContainerPurge (lvarchar,lvarchar,integer)",
  35450. "%SYSBLDUSER%"
  35451. );
  35452. insert into sysbldobjects
  35453. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35454. create_can_fail, drop_sql, drop_can_fail)
  35455. values
  35456. (
  35457. "%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
  35458. "%SYSBLDUSER%", 0,
  35459. "create function CountIf (TimeSeries,lvarchar,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
  35460. returns integer with (handlesnulls, parallelizable)
  35461. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_expr_sql)"" language c;
  35462. ",
  35463. "f",
  35464. "drop function CountIf (TimeSeries,lvarchar,datetime year to fraction(5),datetime year to fraction(5));
  35465. ",
  35466. "f"
  35467. );
  35468. insert into sysbldobjdepends
  35469. (
  35470. bld_id,
  35471. obj_kind,
  35472. obj_signature,
  35473. obj_owner,
  35474. need_obj_kind,
  35475. need_obj_signature,
  35476. need_obj_owner)
  35477. values
  35478. (
  35479. "%SYSBLDNAME%",
  35480. 5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
  35481. "%SYSBLDUSER%",
  35482. 7, "TimeSeries",
  35483. "%SYSBLDUSER%"
  35484. );
  35485. insert into sysbldobjects
  35486. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35487. create_can_fail, drop_sql, drop_can_fail)
  35488. values
  35489. (
  35490. "%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
  35491. "%SYSBLDUSER%", 0,
  35492. "grant execute on function CountIf (TimeSeries,lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;
  35493. ",
  35494. "f",
  35495. "",
  35496. "f"
  35497. );
  35498. insert into sysbldobjdepends
  35499. (
  35500. bld_id,
  35501. obj_kind,
  35502. obj_signature,
  35503. obj_owner,
  35504. need_obj_kind,
  35505. need_obj_signature,
  35506. need_obj_owner)
  35507. values
  35508. (
  35509. "%SYSBLDNAME%",
  35510. 69, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
  35511. "%SYSBLDUSER%",
  35512. 5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
  35513. "%SYSBLDUSER%"
  35514. );
  35515. insert into sysbldobjects
  35516. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35517. create_can_fail, drop_sql, drop_can_fail)
  35518. values
  35519. (
  35520. "%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
  35521. "%SYSBLDUSER%", 0,
  35522. "create function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
  35523. returns integer with (handlesnulls, parallelizable)
  35524. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_lvarchar_sql)"" language c;
  35525. ",
  35526. "f",
  35527. "drop function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5));
  35528. ",
  35529. "f"
  35530. );
  35531. insert into sysbldobjdepends
  35532. (
  35533. bld_id,
  35534. obj_kind,
  35535. obj_signature,
  35536. obj_owner,
  35537. need_obj_kind,
  35538. need_obj_signature,
  35539. need_obj_owner)
  35540. values
  35541. (
  35542. "%SYSBLDNAME%",
  35543. 5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
  35544. "%SYSBLDUSER%",
  35545. 7, "TimeSeries",
  35546. "%SYSBLDUSER%"
  35547. );
  35548. insert into sysbldobjects
  35549. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35550. create_can_fail, drop_sql, drop_can_fail)
  35551. values
  35552. (
  35553. "%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
  35554. "%SYSBLDUSER%", 0,
  35555. "grant execute on function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;
  35556. ",
  35557. "f",
  35558. "",
  35559. "f"
  35560. );
  35561. insert into sysbldobjdepends
  35562. (
  35563. bld_id,
  35564. obj_kind,
  35565. obj_signature,
  35566. obj_owner,
  35567. need_obj_kind,
  35568. need_obj_signature,
  35569. need_obj_owner)
  35570. values
  35571. (
  35572. "%SYSBLDNAME%",
  35573. 69, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
  35574. "%SYSBLDUSER%",
  35575. 5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
  35576. "%SYSBLDUSER%"
  35577. );
  35578. insert into sysbldobjects
  35579. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35580. create_can_fail, drop_sql, drop_can_fail)
  35581. values
  35582. (
  35583. "%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
  35584. "%SYSBLDUSER%", 0,
  35585. "create function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
  35586. returns integer with (handlesnulls, parallelizable)
  35587. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_decimal_sql)"" language c;
  35588. ",
  35589. "f",
  35590. "drop function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5),datetime year to fraction(5));
  35591. ",
  35592. "f"
  35593. );
  35594. insert into sysbldobjdepends
  35595. (
  35596. bld_id,
  35597. obj_kind,
  35598. obj_signature,
  35599. obj_owner,
  35600. need_obj_kind,
  35601. need_obj_signature,
  35602. need_obj_owner)
  35603. values
  35604. (
  35605. "%SYSBLDNAME%",
  35606. 5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
  35607. "%SYSBLDUSER%",
  35608. 7, "TimeSeries",
  35609. "%SYSBLDUSER%"
  35610. );
  35611. insert into sysbldobjects
  35612. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35613. create_can_fail, drop_sql, drop_can_fail)
  35614. values
  35615. (
  35616. "%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
  35617. "%SYSBLDUSER%", 0,
  35618. "grant execute on function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5),datetime year to fraction(5)) to public;
  35619. ",
  35620. "f",
  35621. "",
  35622. "f"
  35623. );
  35624. insert into sysbldobjdepends
  35625. (
  35626. bld_id,
  35627. obj_kind,
  35628. obj_signature,
  35629. obj_owner,
  35630. need_obj_kind,
  35631. need_obj_signature,
  35632. need_obj_owner)
  35633. values
  35634. (
  35635. "%SYSBLDNAME%",
  35636. 69, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
  35637. "%SYSBLDUSER%",
  35638. 5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
  35639. "%SYSBLDUSER%"
  35640. );
  35641. insert into sysbldobjects
  35642. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35643. create_can_fail, drop_sql, drop_can_fail)
  35644. values
  35645. (
  35646. "%SYSBLDNAME%", 6, "TSContainerLock (varchar,integer)",
  35647. "%SYSBLDUSER%", 0,
  35648. "create procedure TSContainerLock (varchar (128),integer)
  35649. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_lock_sql)"" language c;
  35650. ",
  35651. "f",
  35652. "drop procedure TSContainerLock (varchar (128),integer);
  35653. ",
  35654. "f"
  35655. );
  35656. insert into sysbldobjects
  35657. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35658. create_can_fail, drop_sql, drop_can_fail)
  35659. values
  35660. (
  35661. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerLock (varchar,integer)",
  35662. "%SYSBLDUSER%", 0,
  35663. "alter procedure TSContainerLock (varchar (128),integer)
  35664. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_lock_sql)"");
  35665. ",
  35666. "f",
  35667. "alter procedure TSContainerLock (varchar (128),integer)
  35668. with (Modify External Name = ""ts_container_lock_sql"");
  35669. ",
  35670. "f"
  35671. );
  35672. insert into sysbldobjdepends
  35673. (
  35674. bld_id,
  35675. obj_kind,
  35676. obj_signature,
  35677. obj_owner,
  35678. need_obj_kind,
  35679. need_obj_signature,
  35680. need_obj_owner)
  35681. values
  35682. (
  35683. "%SYSBLDNAME%",
  35684. 182, "Alter-ExternalName-TSContainerLock (varchar,integer)",
  35685. "%SYSBLDUSER%",
  35686. 6, "TSContainerLock (varchar,integer)",
  35687. "%SYSBLDUSER%"
  35688. );
  35689. insert into sysbldobjects
  35690. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35691. create_can_fail, drop_sql, drop_can_fail)
  35692. values
  35693. (
  35694. "%SYSBLDNAME%", 86, "Alter-Variant-TSContainerLock (varchar,integer)",
  35695. "%SYSBLDUSER%", 0,
  35696. "alter procedure TSContainerLock (varchar (128),integer)
  35697. with (add not variant);
  35698. ",
  35699. "f",
  35700. "alter procedure TSContainerLock (varchar (128),integer)
  35701. with (drop not variant);
  35702. ",
  35703. "f"
  35704. );
  35705. insert into sysbldobjdepends
  35706. (
  35707. bld_id,
  35708. obj_kind,
  35709. obj_signature,
  35710. obj_owner,
  35711. need_obj_kind,
  35712. need_obj_signature,
  35713. need_obj_owner)
  35714. values
  35715. (
  35716. "%SYSBLDNAME%",
  35717. 86, "Alter-Variant-TSContainerLock (varchar,integer)",
  35718. "%SYSBLDUSER%",
  35719. 6, "TSContainerLock (varchar,integer)",
  35720. "%SYSBLDUSER%"
  35721. );
  35722. insert into sysbldobjects
  35723. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35724. create_can_fail, drop_sql, drop_can_fail)
  35725. values
  35726. (
  35727. "%SYSBLDNAME%", 70, "TSContainerLock (varchar,integer)",
  35728. "%SYSBLDUSER%", 0,
  35729. "grant execute on procedure TSContainerLock (varchar (128),integer) to public;
  35730. ",
  35731. "f",
  35732. "",
  35733. "f"
  35734. );
  35735. insert into sysbldobjdepends
  35736. (
  35737. bld_id,
  35738. obj_kind,
  35739. obj_signature,
  35740. obj_owner,
  35741. need_obj_kind,
  35742. need_obj_signature,
  35743. need_obj_owner)
  35744. values
  35745. (
  35746. "%SYSBLDNAME%",
  35747. 70, "TSContainerLock (varchar,integer)",
  35748. "%SYSBLDUSER%",
  35749. 6, "TSContainerLock (varchar,integer)",
  35750. "%SYSBLDUSER%"
  35751. );
  35752. insert into sysbldobjects
  35753. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35754. create_can_fail, drop_sql, drop_can_fail)
  35755. values
  35756. (
  35757. "%SYSBLDNAME%", 5, "TSContainerManage (varchar,lvarchar)",
  35758. "%SYSBLDUSER%", 0,
  35759. "create function TSContainerManage (varchar (128),lvarchar)
  35760. returns lvarchar
  35761. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_manage_sql)"" language c;
  35762. ",
  35763. "f",
  35764. "drop function TSContainerManage (varchar (128),lvarchar);
  35765. ",
  35766. "f"
  35767. );
  35768. insert into sysbldobjects
  35769. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35770. create_can_fail, drop_sql, drop_can_fail)
  35771. values
  35772. (
  35773. "%SYSBLDNAME%", 69, "TSContainerManage (varchar,lvarchar)",
  35774. "%SYSBLDUSER%", 0,
  35775. "grant execute on function TSContainerManage (varchar (128),lvarchar) to public;
  35776. ",
  35777. "f",
  35778. "",
  35779. "f"
  35780. );
  35781. insert into sysbldobjdepends
  35782. (
  35783. bld_id,
  35784. obj_kind,
  35785. obj_signature,
  35786. obj_owner,
  35787. need_obj_kind,
  35788. need_obj_signature,
  35789. need_obj_owner)
  35790. values
  35791. (
  35792. "%SYSBLDNAME%",
  35793. 69, "TSContainerManage (varchar,lvarchar)",
  35794. "%SYSBLDUSER%",
  35795. 5, "TSContainerManage (varchar,lvarchar)",
  35796. "%SYSBLDUSER%"
  35797. );
  35798. insert into sysbldobjects
  35799. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35800. create_can_fail, drop_sql, drop_can_fail)
  35801. values
  35802. (
  35803. "%SYSBLDNAME%", 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35804. "%SYSBLDUSER%", 0,
  35805. "create procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar default 'month',integer default 0,integer default 0,lvarchar default null,integer default 0,integer default 16,integer default 16,integer default 0,integer default 0)
  35806. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_create_window_sql)"" language c;
  35807. ",
  35808. "f",
  35809. "drop procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer);
  35810. ",
  35811. "f"
  35812. );
  35813. insert into sysbldobjects
  35814. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35815. create_can_fail, drop_sql, drop_can_fail)
  35816. values
  35817. (
  35818. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35819. "%SYSBLDUSER%", 0,
  35820. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
  35821. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_create_window_sql)"");
  35822. ",
  35823. "f",
  35824. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
  35825. with (Modify External Name = ""ts_container_create_window_sql"");
  35826. ",
  35827. "f"
  35828. );
  35829. insert into sysbldobjdepends
  35830. (
  35831. bld_id,
  35832. obj_kind,
  35833. obj_signature,
  35834. obj_owner,
  35835. need_obj_kind,
  35836. need_obj_signature,
  35837. need_obj_owner)
  35838. values
  35839. (
  35840. "%SYSBLDNAME%",
  35841. 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35842. "%SYSBLDUSER%",
  35843. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35844. "%SYSBLDUSER%"
  35845. );
  35846. insert into sysbldobjects
  35847. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35848. create_can_fail, drop_sql, drop_can_fail)
  35849. values
  35850. (
  35851. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35852. "%SYSBLDUSER%", 0,
  35853. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
  35854. with (add handlesnulls);
  35855. ",
  35856. "f",
  35857. "alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
  35858. with (drop handlesnulls);
  35859. ",
  35860. "f"
  35861. );
  35862. insert into sysbldobjdepends
  35863. (
  35864. bld_id,
  35865. obj_kind,
  35866. obj_signature,
  35867. obj_owner,
  35868. need_obj_kind,
  35869. need_obj_signature,
  35870. need_obj_owner)
  35871. values
  35872. (
  35873. "%SYSBLDNAME%",
  35874. 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35875. "%SYSBLDUSER%",
  35876. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35877. "%SYSBLDUSER%"
  35878. );
  35879. insert into sysbldobjects
  35880. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35881. create_can_fail, drop_sql, drop_can_fail)
  35882. values
  35883. (
  35884. "%SYSBLDNAME%", 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35885. "%SYSBLDUSER%", 0,
  35886. "grant execute on procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer) to public;
  35887. ",
  35888. "f",
  35889. "",
  35890. "f"
  35891. );
  35892. insert into sysbldobjdepends
  35893. (
  35894. bld_id,
  35895. obj_kind,
  35896. obj_signature,
  35897. obj_owner,
  35898. need_obj_kind,
  35899. need_obj_signature,
  35900. need_obj_owner)
  35901. values
  35902. (
  35903. "%SYSBLDNAME%",
  35904. 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35905. "%SYSBLDUSER%",
  35906. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  35907. "%SYSBLDUSER%"
  35908. );
  35909. insert into sysbldobjects
  35910. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35911. create_can_fail, drop_sql, drop_can_fail)
  35912. values
  35913. (
  35914. "%SYSBLDNAME%", 5, "compare (TimeSeries,TimeSeries)",
  35915. "%SYSBLDUSER%", 0,
  35916. "create function compare (TimeSeries,TimeSeries)
  35917. returns integer with (not variant)
  35918. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_compare)"" language c;
  35919. ",
  35920. "f",
  35921. "drop function compare (TimeSeries,TimeSeries);
  35922. ",
  35923. "f"
  35924. );
  35925. insert into sysbldobjdepends
  35926. (
  35927. bld_id,
  35928. obj_kind,
  35929. obj_signature,
  35930. obj_owner,
  35931. need_obj_kind,
  35932. need_obj_signature,
  35933. need_obj_owner)
  35934. values
  35935. (
  35936. "%SYSBLDNAME%",
  35937. 5, "compare (TimeSeries,TimeSeries)",
  35938. "%SYSBLDUSER%",
  35939. 7, "TimeSeries",
  35940. "%SYSBLDUSER%"
  35941. );
  35942. insert into sysbldobjects
  35943. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35944. create_can_fail, drop_sql, drop_can_fail)
  35945. values
  35946. (
  35947. "%SYSBLDNAME%", 69, "compare (TimeSeries,TimeSeries)",
  35948. "%SYSBLDUSER%", 0,
  35949. "grant execute on function compare (TimeSeries,TimeSeries) to public;
  35950. ",
  35951. "f",
  35952. "",
  35953. "f"
  35954. );
  35955. insert into sysbldobjdepends
  35956. (
  35957. bld_id,
  35958. obj_kind,
  35959. obj_signature,
  35960. obj_owner,
  35961. need_obj_kind,
  35962. need_obj_signature,
  35963. need_obj_owner)
  35964. values
  35965. (
  35966. "%SYSBLDNAME%",
  35967. 69, "compare (TimeSeries,TimeSeries)",
  35968. "%SYSBLDUSER%",
  35969. 5, "compare (TimeSeries,TimeSeries)",
  35970. "%SYSBLDUSER%"
  35971. );
  35972. insert into sysbldobjects
  35973. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  35974. create_can_fail, drop_sql, drop_can_fail)
  35975. values
  35976. (
  35977. "%SYSBLDNAME%", 5, "SetReplToken (TimeSeries,integer,integer,smallint)",
  35978. "%SYSBLDUSER%", 0,
  35979. "create function SetReplToken (TimeSeries,integer,integer,smallint)
  35980. returns TimeSeries with (handlesnulls, parallelizable)
  35981. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_repltoken_sql)"" language c;
  35982. ",
  35983. "f",
  35984. "drop function SetReplToken (TimeSeries,integer,integer,smallint);
  35985. ",
  35986. "f"
  35987. );
  35988. insert into sysbldobjdepends
  35989. (
  35990. bld_id,
  35991. obj_kind,
  35992. obj_signature,
  35993. obj_owner,
  35994. need_obj_kind,
  35995. need_obj_signature,
  35996. need_obj_owner)
  35997. values
  35998. (
  35999. "%SYSBLDNAME%",
  36000. 5, "SetReplToken (TimeSeries,integer,integer,smallint)",
  36001. "%SYSBLDUSER%",
  36002. 7, "TimeSeries",
  36003. "%SYSBLDUSER%"
  36004. );
  36005. insert into sysbldobjects
  36006. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36007. create_can_fail, drop_sql, drop_can_fail)
  36008. values
  36009. (
  36010. "%SYSBLDNAME%", 69, "SetReplToken (TimeSeries,integer,integer,smallint)",
  36011. "%SYSBLDUSER%", 0,
  36012. "grant execute on function SetReplToken (TimeSeries,integer,integer,smallint) to public;
  36013. ",
  36014. "f",
  36015. "",
  36016. "f"
  36017. );
  36018. insert into sysbldobjdepends
  36019. (
  36020. bld_id,
  36021. obj_kind,
  36022. obj_signature,
  36023. obj_owner,
  36024. need_obj_kind,
  36025. need_obj_signature,
  36026. need_obj_owner)
  36027. values
  36028. (
  36029. "%SYSBLDNAME%",
  36030. 69, "SetReplToken (TimeSeries,integer,integer,smallint)",
  36031. "%SYSBLDUSER%",
  36032. 5, "SetReplToken (TimeSeries,integer,integer,smallint)",
  36033. "%SYSBLDUSER%"
  36034. );
  36035. insert into sysbldobjects
  36036. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36037. create_can_fail, drop_sql, drop_can_fail)
  36038. values
  36039. (
  36040. "%SYSBLDNAME%", 5, "TSL_Attach (varchar,varchar,lvarchar)",
  36041. "%SYSBLDUSER%", 0,
  36042. "create function TSL_Attach (varchar (128),varchar (128),lvarchar default NULL)
  36043. returns lvarchar with (not variant, handlesnulls)
  36044. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_attach)"" language c;
  36045. ",
  36046. "f",
  36047. "drop function TSL_Attach (varchar (128),varchar (128),lvarchar);
  36048. ",
  36049. "f"
  36050. );
  36051. insert into sysbldobjects
  36052. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36053. create_can_fail, drop_sql, drop_can_fail)
  36054. values
  36055. (
  36056. "%SYSBLDNAME%", 69, "TSL_Attach (varchar,varchar,lvarchar)",
  36057. "%SYSBLDUSER%", 0,
  36058. "grant execute on function TSL_Attach (varchar (128),varchar (128),lvarchar) to public;
  36059. ",
  36060. "f",
  36061. "",
  36062. "f"
  36063. );
  36064. insert into sysbldobjdepends
  36065. (
  36066. bld_id,
  36067. obj_kind,
  36068. obj_signature,
  36069. obj_owner,
  36070. need_obj_kind,
  36071. need_obj_signature,
  36072. need_obj_owner)
  36073. values
  36074. (
  36075. "%SYSBLDNAME%",
  36076. 69, "TSL_Attach (varchar,varchar,lvarchar)",
  36077. "%SYSBLDUSER%",
  36078. 5, "TSL_Attach (varchar,varchar,lvarchar)",
  36079. "%SYSBLDUSER%"
  36080. );
  36081. insert into sysbldobjects
  36082. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36083. create_can_fail, drop_sql, drop_can_fail)
  36084. values
  36085. (
  36086. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
  36087. "%SYSBLDUSER%", 0,
  36088. "create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar)
  36089. returns lvarchar with (handlesnulls)
  36090. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant4)"" language c;
  36091. ",
  36092. "f",
  36093. "drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar);
  36094. ",
  36095. "f"
  36096. );
  36097. insert into sysbldobjects
  36098. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36099. create_can_fail, drop_sql, drop_can_fail)
  36100. values
  36101. (
  36102. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
  36103. "%SYSBLDUSER%", 0,
  36104. "grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar) to public;
  36105. ",
  36106. "f",
  36107. "",
  36108. "f"
  36109. );
  36110. insert into sysbldobjdepends
  36111. (
  36112. bld_id,
  36113. obj_kind,
  36114. obj_signature,
  36115. obj_owner,
  36116. need_obj_kind,
  36117. need_obj_signature,
  36118. need_obj_owner)
  36119. values
  36120. (
  36121. "%SYSBLDNAME%",
  36122. 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
  36123. "%SYSBLDUSER%",
  36124. 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
  36125. "%SYSBLDUSER%"
  36126. );
  36127. insert into sysbldobjects
  36128. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36129. create_can_fail, drop_sql, drop_can_fail)
  36130. values
  36131. (
  36132. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
  36133. "%SYSBLDUSER%", 0,
  36134. "create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar)
  36135. returns lvarchar with (handlesnulls)
  36136. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant5)"" language c;
  36137. ",
  36138. "f",
  36139. "drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar);
  36140. ",
  36141. "f"
  36142. );
  36143. insert into sysbldobjects
  36144. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36145. create_can_fail, drop_sql, drop_can_fail)
  36146. values
  36147. (
  36148. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
  36149. "%SYSBLDUSER%", 0,
  36150. "grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar) to public;
  36151. ",
  36152. "f",
  36153. "",
  36154. "f"
  36155. );
  36156. insert into sysbldobjdepends
  36157. (
  36158. bld_id,
  36159. obj_kind,
  36160. obj_signature,
  36161. obj_owner,
  36162. need_obj_kind,
  36163. need_obj_signature,
  36164. need_obj_owner)
  36165. values
  36166. (
  36167. "%SYSBLDNAME%",
  36168. 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
  36169. "%SYSBLDUSER%",
  36170. 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
  36171. "%SYSBLDUSER%"
  36172. );
  36173. insert into sysbldobjects
  36174. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36175. create_can_fail, drop_sql, drop_can_fail)
  36176. values
  36177. (
  36178. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36179. "%SYSBLDUSER%", 0,
  36180. "create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
  36181. returns lvarchar with (handlesnulls)
  36182. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant7)"" language c;
  36183. ",
  36184. "f",
  36185. "drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar);
  36186. ",
  36187. "f"
  36188. );
  36189. insert into sysbldobjects
  36190. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36191. create_can_fail, drop_sql, drop_can_fail)
  36192. values
  36193. (
  36194. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36195. "%SYSBLDUSER%", 0,
  36196. "grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  36197. ",
  36198. "f",
  36199. "",
  36200. "f"
  36201. );
  36202. insert into sysbldobjdepends
  36203. (
  36204. bld_id,
  36205. obj_kind,
  36206. obj_signature,
  36207. obj_owner,
  36208. need_obj_kind,
  36209. need_obj_signature,
  36210. need_obj_owner)
  36211. values
  36212. (
  36213. "%SYSBLDNAME%",
  36214. 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36215. "%SYSBLDUSER%",
  36216. 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36217. "%SYSBLDUSER%"
  36218. );
  36219. insert into sysbldobjects
  36220. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36221. create_can_fail, drop_sql, drop_can_fail)
  36222. values
  36223. (
  36224. "%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36225. "%SYSBLDUSER%", 0,
  36226. "create function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)
  36227. returns lvarchar with (handlesnulls)
  36228. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init)"" language c;
  36229. ",
  36230. "f",
  36231. "drop function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar);
  36232. ",
  36233. "f"
  36234. );
  36235. insert into sysbldobjects
  36236. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36237. create_can_fail, drop_sql, drop_can_fail)
  36238. values
  36239. (
  36240. "%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36241. "%SYSBLDUSER%", 0,
  36242. "grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  36243. ",
  36244. "f",
  36245. "",
  36246. "f"
  36247. );
  36248. insert into sysbldobjdepends
  36249. (
  36250. bld_id,
  36251. obj_kind,
  36252. obj_signature,
  36253. obj_owner,
  36254. need_obj_kind,
  36255. need_obj_signature,
  36256. need_obj_owner)
  36257. values
  36258. (
  36259. "%SYSBLDNAME%",
  36260. 69, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36261. "%SYSBLDUSER%",
  36262. 5, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
  36263. "%SYSBLDUSER%"
  36264. );
  36265. insert into sysbldobjects
  36266. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36267. create_can_fail, drop_sql, drop_can_fail)
  36268. values
  36269. (
  36270. "%SYSBLDNAME%", 5, "TSL_PutSQL (lvarchar,lvarchar)",
  36271. "%SYSBLDUSER%", 0,
  36272. "create function TSL_PutSQL (lvarchar,lvarchar)
  36273. returns integer
  36274. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_sql)"" language c;
  36275. ",
  36276. "f",
  36277. "drop function TSL_PutSQL (lvarchar,lvarchar);
  36278. ",
  36279. "f"
  36280. );
  36281. insert into sysbldobjects
  36282. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36283. create_can_fail, drop_sql, drop_can_fail)
  36284. values
  36285. (
  36286. "%SYSBLDNAME%", 69, "TSL_PutSQL (lvarchar,lvarchar)",
  36287. "%SYSBLDUSER%", 0,
  36288. "grant execute on function TSL_PutSQL (lvarchar,lvarchar) to public;
  36289. ",
  36290. "f",
  36291. "",
  36292. "f"
  36293. );
  36294. insert into sysbldobjdepends
  36295. (
  36296. bld_id,
  36297. obj_kind,
  36298. obj_signature,
  36299. obj_owner,
  36300. need_obj_kind,
  36301. need_obj_signature,
  36302. need_obj_owner)
  36303. values
  36304. (
  36305. "%SYSBLDNAME%",
  36306. 69, "TSL_PutSQL (lvarchar,lvarchar)",
  36307. "%SYSBLDUSER%",
  36308. 5, "TSL_PutSQL (lvarchar,lvarchar)",
  36309. "%SYSBLDUSER%"
  36310. );
  36311. insert into sysbldobjects
  36312. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36313. create_can_fail, drop_sql, drop_can_fail)
  36314. values
  36315. (
  36316. "%SYSBLDNAME%", 5, "TSL_PutJson (lvarchar,lvarchar)",
  36317. "%SYSBLDUSER%", 0,
  36318. "create function TSL_PutJson (lvarchar,lvarchar)
  36319. returns integer
  36320. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_json)"" language c;
  36321. ",
  36322. "f",
  36323. "drop function TSL_PutJson (lvarchar,lvarchar);
  36324. ",
  36325. "f"
  36326. );
  36327. insert into sysbldobjects
  36328. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36329. create_can_fail, drop_sql, drop_can_fail)
  36330. values
  36331. (
  36332. "%SYSBLDNAME%", 69, "TSL_PutJson (lvarchar,lvarchar)",
  36333. "%SYSBLDUSER%", 0,
  36334. "grant execute on function TSL_PutJson (lvarchar,lvarchar) to public;
  36335. ",
  36336. "f",
  36337. "",
  36338. "f"
  36339. );
  36340. insert into sysbldobjdepends
  36341. (
  36342. bld_id,
  36343. obj_kind,
  36344. obj_signature,
  36345. obj_owner,
  36346. need_obj_kind,
  36347. need_obj_signature,
  36348. need_obj_owner)
  36349. values
  36350. (
  36351. "%SYSBLDNAME%",
  36352. 69, "TSL_PutJson (lvarchar,lvarchar)",
  36353. "%SYSBLDUSER%",
  36354. 5, "TSL_PutJson (lvarchar,lvarchar)",
  36355. "%SYSBLDUSER%"
  36356. );
  36357. insert into sysbldobjects
  36358. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36359. create_can_fail, drop_sql, drop_can_fail)
  36360. values
  36361. (
  36362. "%SYSBLDNAME%", 5, "TSL_PutRow (lvarchar,lvarchar,row)",
  36363. "%SYSBLDUSER%", 0,
  36364. "create function TSL_PutRow (lvarchar,lvarchar,row)
  36365. returns integer
  36366. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_row)"" language c;
  36367. ",
  36368. "f",
  36369. "drop function TSL_PutRow (lvarchar,lvarchar,row);
  36370. ",
  36371. "f"
  36372. );
  36373. insert into sysbldobjects
  36374. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36375. create_can_fail, drop_sql, drop_can_fail)
  36376. values
  36377. (
  36378. "%SYSBLDNAME%", 69, "TSL_PutRow (lvarchar,lvarchar,row)",
  36379. "%SYSBLDUSER%", 0,
  36380. "grant execute on function TSL_PutRow (lvarchar,lvarchar,row) to public;
  36381. ",
  36382. "f",
  36383. "",
  36384. "f"
  36385. );
  36386. insert into sysbldobjdepends
  36387. (
  36388. bld_id,
  36389. obj_kind,
  36390. obj_signature,
  36391. obj_owner,
  36392. need_obj_kind,
  36393. need_obj_signature,
  36394. need_obj_owner)
  36395. values
  36396. (
  36397. "%SYSBLDNAME%",
  36398. 69, "TSL_PutRow (lvarchar,lvarchar,row)",
  36399. "%SYSBLDUSER%",
  36400. 5, "TSL_PutRow (lvarchar,lvarchar,row)",
  36401. "%SYSBLDUSER%"
  36402. );
  36403. insert into sysbldobjects
  36404. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36405. create_can_fail, drop_sql, drop_can_fail)
  36406. values
  36407. (
  36408. "%SYSBLDNAME%", 5, "TimeSeriesCDRSYM (pointer)",
  36409. "%SYSBLDUSER%", 0,
  36410. "create function TimeSeriesCDRSYM (pointer)
  36411. returns integer
  36412. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cdr_load_sym)"" language c;
  36413. ",
  36414. "f",
  36415. "drop function TimeSeriesCDRSYM (pointer);
  36416. ",
  36417. "f"
  36418. );
  36419. insert into sysbldobjects
  36420. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36421. create_can_fail, drop_sql, drop_can_fail)
  36422. values
  36423. (
  36424. "%SYSBLDNAME%", 69, "TimeSeriesCDRSYM (pointer)",
  36425. "%SYSBLDUSER%", 0,
  36426. "grant execute on function TimeSeriesCDRSYM (pointer) to public;
  36427. ",
  36428. "f",
  36429. "",
  36430. "f"
  36431. );
  36432. insert into sysbldobjdepends
  36433. (
  36434. bld_id,
  36435. obj_kind,
  36436. obj_signature,
  36437. obj_owner,
  36438. need_obj_kind,
  36439. need_obj_signature,
  36440. need_obj_owner)
  36441. values
  36442. (
  36443. "%SYSBLDNAME%",
  36444. 69, "TimeSeriesCDRSYM (pointer)",
  36445. "%SYSBLDUSER%",
  36446. 5, "TimeSeriesCDRSYM (pointer)",
  36447. "%SYSBLDUSER%"
  36448. );
  36449. insert into sysbldobjects
  36450. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36451. create_can_fail, drop_sql, drop_can_fail)
  36452. values
  36453. (
  36454. "%SYSBLDNAME%", 5, "GetRepTok (TimeSeries)",
  36455. "%SYSBLDUSER%", 0,
  36456. "create function GetRepTok (TimeSeries)
  36457. returns smallint
  36458. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_reptok)"" language c;
  36459. ",
  36460. "f",
  36461. "drop function GetRepTok (TimeSeries);
  36462. ",
  36463. "f"
  36464. );
  36465. insert into sysbldobjdepends
  36466. (
  36467. bld_id,
  36468. obj_kind,
  36469. obj_signature,
  36470. obj_owner,
  36471. need_obj_kind,
  36472. need_obj_signature,
  36473. need_obj_owner)
  36474. values
  36475. (
  36476. "%SYSBLDNAME%",
  36477. 5, "GetRepTok (TimeSeries)",
  36478. "%SYSBLDUSER%",
  36479. 7, "TimeSeries",
  36480. "%SYSBLDUSER%"
  36481. );
  36482. insert into sysbldobjects
  36483. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36484. create_can_fail, drop_sql, drop_can_fail)
  36485. values
  36486. (
  36487. "%SYSBLDNAME%", 69, "GetRepTok (TimeSeries)",
  36488. "%SYSBLDUSER%", 0,
  36489. "grant execute on function GetRepTok (TimeSeries) to public;
  36490. ",
  36491. "f",
  36492. "",
  36493. "f"
  36494. );
  36495. insert into sysbldobjdepends
  36496. (
  36497. bld_id,
  36498. obj_kind,
  36499. obj_signature,
  36500. obj_owner,
  36501. need_obj_kind,
  36502. need_obj_signature,
  36503. need_obj_owner)
  36504. values
  36505. (
  36506. "%SYSBLDNAME%",
  36507. 69, "GetRepTok (TimeSeries)",
  36508. "%SYSBLDUSER%",
  36509. 5, "GetRepTok (TimeSeries)",
  36510. "%SYSBLDUSER%"
  36511. );
  36512. insert into sysbldobjects
  36513. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36514. create_can_fail, drop_sql, drop_can_fail)
  36515. values
  36516. (
  36517. "%SYSBLDNAME%", 5, "ifx_checksum (TimeSeries,integer)",
  36518. "%SYSBLDUSER%", 0,
  36519. "create function ifx_checksum (TimeSeries,integer)
  36520. returns integer with (not variant, handlesnulls, parallelizable)
  36521. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_checksum_sql)"" language c;
  36522. ",
  36523. "f",
  36524. "drop function ifx_checksum (TimeSeries,integer);
  36525. ",
  36526. "f"
  36527. );
  36528. insert into sysbldobjdepends
  36529. (
  36530. bld_id,
  36531. obj_kind,
  36532. obj_signature,
  36533. obj_owner,
  36534. need_obj_kind,
  36535. need_obj_signature,
  36536. need_obj_owner)
  36537. values
  36538. (
  36539. "%SYSBLDNAME%",
  36540. 5, "ifx_checksum (TimeSeries,integer)",
  36541. "%SYSBLDUSER%",
  36542. 7, "TimeSeries",
  36543. "%SYSBLDUSER%"
  36544. );
  36545. insert into sysbldobjects
  36546. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36547. create_can_fail, drop_sql, drop_can_fail)
  36548. values
  36549. (
  36550. "%SYSBLDNAME%", 69, "ifx_checksum (TimeSeries,integer)",
  36551. "%SYSBLDUSER%", 0,
  36552. "grant execute on function ifx_checksum (TimeSeries,integer) to public;
  36553. ",
  36554. "f",
  36555. "",
  36556. "f"
  36557. );
  36558. insert into sysbldobjdepends
  36559. (
  36560. bld_id,
  36561. obj_kind,
  36562. obj_signature,
  36563. obj_owner,
  36564. need_obj_kind,
  36565. need_obj_signature,
  36566. need_obj_owner)
  36567. values
  36568. (
  36569. "%SYSBLDNAME%",
  36570. 69, "ifx_checksum (TimeSeries,integer)",
  36571. "%SYSBLDUSER%",
  36572. 5, "ifx_checksum (TimeSeries,integer)",
  36573. "%SYSBLDUSER%"
  36574. );
  36575. insert into sysbldobjects
  36576. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36577. create_can_fail, drop_sql, drop_can_fail)
  36578. values
  36579. (
  36580. "%SYSBLDNAME%", 5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
  36581. "%SYSBLDUSER%", 0,
  36582. "create function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)
  36583. returns tsPartitionDesc_t
  36584. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_setextent)"" language c;
  36585. ",
  36586. "f",
  36587. "drop function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer);
  36588. ",
  36589. "f"
  36590. );
  36591. insert into sysbldobjdepends
  36592. (
  36593. bld_id,
  36594. obj_kind,
  36595. obj_signature,
  36596. obj_owner,
  36597. need_obj_kind,
  36598. need_obj_signature,
  36599. need_obj_owner)
  36600. values
  36601. (
  36602. "%SYSBLDNAME%",
  36603. 5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
  36604. "%SYSBLDUSER%",
  36605. 7, "tsPartitionDesc_t",
  36606. "%SYSBLDUSER%"
  36607. );
  36608. insert into sysbldobjects
  36609. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36610. create_can_fail, drop_sql, drop_can_fail)
  36611. values
  36612. (
  36613. "%SYSBLDNAME%", 69, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
  36614. "%SYSBLDUSER%", 0,
  36615. "grant execute on function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer) to public;
  36616. ",
  36617. "f",
  36618. "",
  36619. "f"
  36620. );
  36621. insert into sysbldobjdepends
  36622. (
  36623. bld_id,
  36624. obj_kind,
  36625. obj_signature,
  36626. obj_owner,
  36627. need_obj_kind,
  36628. need_obj_signature,
  36629. need_obj_owner)
  36630. values
  36631. (
  36632. "%SYSBLDNAME%",
  36633. 69, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
  36634. "%SYSBLDUSER%",
  36635. 5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
  36636. "%SYSBLDUSER%"
  36637. );
  36638. insert into sysbldobjects
  36639. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36640. create_can_fail, drop_sql, drop_can_fail)
  36641. values
  36642. (
  36643. "%SYSBLDNAME%", 5, "GetFirstElementStamp (TimeSeries,integer)",
  36644. "%SYSBLDUSER%", 0,
  36645. "create function GetFirstElementStamp (TimeSeries,integer default 0)
  36646. returns datetime year to fraction(5) with (handlesnulls, parallelizable)
  36647. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_first_element_stamp_sql)"" language c;
  36648. ",
  36649. "f",
  36650. "drop function GetFirstElementStamp (TimeSeries,integer);
  36651. ",
  36652. "f"
  36653. );
  36654. insert into sysbldobjdepends
  36655. (
  36656. bld_id,
  36657. obj_kind,
  36658. obj_signature,
  36659. obj_owner,
  36660. need_obj_kind,
  36661. need_obj_signature,
  36662. need_obj_owner)
  36663. values
  36664. (
  36665. "%SYSBLDNAME%",
  36666. 5, "GetFirstElementStamp (TimeSeries,integer)",
  36667. "%SYSBLDUSER%",
  36668. 7, "TimeSeries",
  36669. "%SYSBLDUSER%"
  36670. );
  36671. insert into sysbldobjects
  36672. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36673. create_can_fail, drop_sql, drop_can_fail)
  36674. values
  36675. (
  36676. "%SYSBLDNAME%", 69, "GetFirstElementStamp (TimeSeries,integer)",
  36677. "%SYSBLDUSER%", 0,
  36678. "grant execute on function GetFirstElementStamp (TimeSeries,integer) to public;
  36679. ",
  36680. "f",
  36681. "",
  36682. "f"
  36683. );
  36684. insert into sysbldobjdepends
  36685. (
  36686. bld_id,
  36687. obj_kind,
  36688. obj_signature,
  36689. obj_owner,
  36690. need_obj_kind,
  36691. need_obj_signature,
  36692. need_obj_owner)
  36693. values
  36694. (
  36695. "%SYSBLDNAME%",
  36696. 69, "GetFirstElementStamp (TimeSeries,integer)",
  36697. "%SYSBLDUSER%",
  36698. 5, "GetFirstElementStamp (TimeSeries,integer)",
  36699. "%SYSBLDUSER%"
  36700. );
  36701. insert into sysbldobjects
  36702. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36703. create_can_fail, drop_sql, drop_can_fail)
  36704. values
  36705. (
  36706. "%SYSBLDNAME%", 5, "GetLastElementStamp (TimeSeries,integer)",
  36707. "%SYSBLDUSER%", 0,
  36708. "create function GetLastElementStamp (TimeSeries,integer default 0)
  36709. returns datetime year to fraction(5) with (handlesnulls, parallelizable)
  36710. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_element_stamp_sql)"" language c;
  36711. ",
  36712. "f",
  36713. "drop function GetLastElementStamp (TimeSeries,integer);
  36714. ",
  36715. "f"
  36716. );
  36717. insert into sysbldobjdepends
  36718. (
  36719. bld_id,
  36720. obj_kind,
  36721. obj_signature,
  36722. obj_owner,
  36723. need_obj_kind,
  36724. need_obj_signature,
  36725. need_obj_owner)
  36726. values
  36727. (
  36728. "%SYSBLDNAME%",
  36729. 5, "GetLastElementStamp (TimeSeries,integer)",
  36730. "%SYSBLDUSER%",
  36731. 7, "TimeSeries",
  36732. "%SYSBLDUSER%"
  36733. );
  36734. insert into sysbldobjects
  36735. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36736. create_can_fail, drop_sql, drop_can_fail)
  36737. values
  36738. (
  36739. "%SYSBLDNAME%", 69, "GetLastElementStamp (TimeSeries,integer)",
  36740. "%SYSBLDUSER%", 0,
  36741. "grant execute on function GetLastElementStamp (TimeSeries,integer) to public;
  36742. ",
  36743. "f",
  36744. "",
  36745. "f"
  36746. );
  36747. insert into sysbldobjdepends
  36748. (
  36749. bld_id,
  36750. obj_kind,
  36751. obj_signature,
  36752. obj_owner,
  36753. need_obj_kind,
  36754. need_obj_signature,
  36755. need_obj_owner)
  36756. values
  36757. (
  36758. "%SYSBLDNAME%",
  36759. 69, "GetLastElementStamp (TimeSeries,integer)",
  36760. "%SYSBLDUSER%",
  36761. 5, "GetLastElementStamp (TimeSeries,integer)",
  36762. "%SYSBLDUSER%"
  36763. );
  36764. insert into sysbldobjects
  36765. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36766. create_can_fail, drop_sql, drop_can_fail)
  36767. values
  36768. (
  36769. "%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36770. "%SYSBLDUSER%", 0,
  36771. "create procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
  36772. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti_string)"" language c;
  36773. ",
  36774. "f",
  36775. "drop procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);
  36776. ",
  36777. "f"
  36778. );
  36779. insert into sysbldobjects
  36780. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36781. create_can_fail, drop_sql, drop_can_fail)
  36782. values
  36783. (
  36784. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36785. "%SYSBLDUSER%", 0,
  36786. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  36787. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti_string)"");
  36788. ",
  36789. "f",
  36790. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  36791. with (Modify External Name = ""ts_create_vti_string"");
  36792. ",
  36793. "f"
  36794. );
  36795. insert into sysbldobjdepends
  36796. (
  36797. bld_id,
  36798. obj_kind,
  36799. obj_signature,
  36800. obj_owner,
  36801. need_obj_kind,
  36802. need_obj_signature,
  36803. need_obj_owner)
  36804. values
  36805. (
  36806. "%SYSBLDNAME%",
  36807. 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36808. "%SYSBLDUSER%",
  36809. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36810. "%SYSBLDUSER%"
  36811. );
  36812. insert into sysbldobjects
  36813. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36814. create_can_fail, drop_sql, drop_can_fail)
  36815. values
  36816. (
  36817. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36818. "%SYSBLDUSER%", 0,
  36819. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  36820. with (add handlesnulls);
  36821. ",
  36822. "f",
  36823. "alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  36824. with (drop handlesnulls);
  36825. ",
  36826. "f"
  36827. );
  36828. insert into sysbldobjdepends
  36829. (
  36830. bld_id,
  36831. obj_kind,
  36832. obj_signature,
  36833. obj_owner,
  36834. need_obj_kind,
  36835. need_obj_signature,
  36836. need_obj_owner)
  36837. values
  36838. (
  36839. "%SYSBLDNAME%",
  36840. 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36841. "%SYSBLDUSER%",
  36842. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36843. "%SYSBLDUSER%"
  36844. );
  36845. insert into sysbldobjects
  36846. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36847. create_can_fail, drop_sql, drop_can_fail)
  36848. values
  36849. (
  36850. "%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36851. "%SYSBLDUSER%", 0,
  36852. "grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  36853. ",
  36854. "f",
  36855. "",
  36856. "f"
  36857. );
  36858. insert into sysbldobjdepends
  36859. (
  36860. bld_id,
  36861. obj_kind,
  36862. obj_signature,
  36863. obj_owner,
  36864. need_obj_kind,
  36865. need_obj_signature,
  36866. need_obj_owner)
  36867. values
  36868. (
  36869. "%SYSBLDNAME%",
  36870. 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36871. "%SYSBLDUSER%",
  36872. 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  36873. "%SYSBLDUSER%"
  36874. );
  36875. insert into sysbldobjects
  36876. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36877. create_can_fail, drop_sql, drop_can_fail)
  36878. values
  36879. (
  36880. "%SYSBLDNAME%", 5, "TSL_Commit (lvarchar,integer,integer,integer)",
  36881. "%SYSBLDUSER%", 0,
  36882. "create function TSL_Commit (lvarchar,integer default 0,integer default NULL,integer default NULL)
  36883. returns integer with (handlesnulls)
  36884. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_commit)"" language c;
  36885. ",
  36886. "f",
  36887. "drop function TSL_Commit (lvarchar,integer,integer,integer);
  36888. ",
  36889. "f"
  36890. );
  36891. insert into sysbldobjects
  36892. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36893. create_can_fail, drop_sql, drop_can_fail)
  36894. values
  36895. (
  36896. "%SYSBLDNAME%", 69, "TSL_Commit (lvarchar,integer,integer,integer)",
  36897. "%SYSBLDUSER%", 0,
  36898. "grant execute on function TSL_Commit (lvarchar,integer,integer,integer) to public;
  36899. ",
  36900. "f",
  36901. "",
  36902. "f"
  36903. );
  36904. insert into sysbldobjdepends
  36905. (
  36906. bld_id,
  36907. obj_kind,
  36908. obj_signature,
  36909. obj_owner,
  36910. need_obj_kind,
  36911. need_obj_signature,
  36912. need_obj_owner)
  36913. values
  36914. (
  36915. "%SYSBLDNAME%",
  36916. 69, "TSL_Commit (lvarchar,integer,integer,integer)",
  36917. "%SYSBLDUSER%",
  36918. 5, "TSL_Commit (lvarchar,integer,integer,integer)",
  36919. "%SYSBLDUSER%"
  36920. );
  36921. insert into sysbldobjects
  36922. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36923. create_can_fail, drop_sql, drop_can_fail)
  36924. values
  36925. (
  36926. "%SYSBLDNAME%", 5, "TSL_FlushInfo (lvarchar)",
  36927. "%SYSBLDUSER%", 0,
  36928. "create function TSL_FlushInfo (lvarchar)
  36929. returns TSL_FlushInfo_r with (handlesnulls)
  36930. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flushinfo)"" language c;
  36931. ",
  36932. "f",
  36933. "drop function TSL_FlushInfo (lvarchar);
  36934. ",
  36935. "f"
  36936. );
  36937. insert into sysbldobjdepends
  36938. (
  36939. bld_id,
  36940. obj_kind,
  36941. obj_signature,
  36942. obj_owner,
  36943. need_obj_kind,
  36944. need_obj_signature,
  36945. need_obj_owner)
  36946. values
  36947. (
  36948. "%SYSBLDNAME%",
  36949. 5, "TSL_FlushInfo (lvarchar)",
  36950. "%SYSBLDUSER%",
  36951. 7, "TSL_FlushInfo_r",
  36952. "%SYSBLDUSER%"
  36953. );
  36954. insert into sysbldobjects
  36955. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36956. create_can_fail, drop_sql, drop_can_fail)
  36957. values
  36958. (
  36959. "%SYSBLDNAME%", 69, "TSL_FlushInfo (lvarchar)",
  36960. "%SYSBLDUSER%", 0,
  36961. "grant execute on function TSL_FlushInfo (lvarchar) to public;
  36962. ",
  36963. "f",
  36964. "",
  36965. "f"
  36966. );
  36967. insert into sysbldobjdepends
  36968. (
  36969. bld_id,
  36970. obj_kind,
  36971. obj_signature,
  36972. obj_owner,
  36973. need_obj_kind,
  36974. need_obj_signature,
  36975. need_obj_owner)
  36976. values
  36977. (
  36978. "%SYSBLDNAME%",
  36979. 69, "TSL_FlushInfo (lvarchar)",
  36980. "%SYSBLDUSER%",
  36981. 5, "TSL_FlushInfo (lvarchar)",
  36982. "%SYSBLDUSER%"
  36983. );
  36984. insert into sysbldobjects
  36985. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36986. create_can_fail, drop_sql, drop_can_fail)
  36987. values
  36988. (
  36989. "%SYSBLDNAME%", 5, "TSL_FlushAll (lvarchar,integer)",
  36990. "%SYSBLDUSER%", 0,
  36991. "create function TSL_FlushAll (lvarchar,integer default 0)
  36992. returns integer with (handlesnulls)
  36993. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flushall)"" language c;
  36994. ",
  36995. "f",
  36996. "drop function TSL_FlushAll (lvarchar,integer);
  36997. ",
  36998. "f"
  36999. );
  37000. insert into sysbldobjects
  37001. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37002. create_can_fail, drop_sql, drop_can_fail)
  37003. values
  37004. (
  37005. "%SYSBLDNAME%", 69, "TSL_FlushAll (lvarchar,integer)",
  37006. "%SYSBLDUSER%", 0,
  37007. "grant execute on function TSL_FlushAll (lvarchar,integer) to public;
  37008. ",
  37009. "f",
  37010. "",
  37011. "f"
  37012. );
  37013. insert into sysbldobjdepends
  37014. (
  37015. bld_id,
  37016. obj_kind,
  37017. obj_signature,
  37018. obj_owner,
  37019. need_obj_kind,
  37020. need_obj_signature,
  37021. need_obj_owner)
  37022. values
  37023. (
  37024. "%SYSBLDNAME%",
  37025. 69, "TSL_FlushAll (lvarchar,integer)",
  37026. "%SYSBLDUSER%",
  37027. 5, "TSL_FlushAll (lvarchar,integer)",
  37028. "%SYSBLDUSER%"
  37029. );
  37030. insert into sysbldobjects
  37031. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37032. create_can_fail, drop_sql, drop_can_fail)
  37033. values
  37034. (
  37035. "%SYSBLDNAME%", 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37036. "%SYSBLDUSER%", 0,
  37037. "create procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
  37038. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti_string)"" language c;
  37039. ",
  37040. "f",
  37041. "drop procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);
  37042. ",
  37043. "f"
  37044. );
  37045. insert into sysbldobjects
  37046. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37047. create_can_fail, drop_sql, drop_can_fail)
  37048. values
  37049. (
  37050. "%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37051. "%SYSBLDUSER%", 0,
  37052. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  37053. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti_string)"");
  37054. ",
  37055. "f",
  37056. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  37057. with (Modify External Name = ""ts_create_expression_vti_string"");
  37058. ",
  37059. "f"
  37060. );
  37061. insert into sysbldobjdepends
  37062. (
  37063. bld_id,
  37064. obj_kind,
  37065. obj_signature,
  37066. obj_owner,
  37067. need_obj_kind,
  37068. need_obj_signature,
  37069. need_obj_owner)
  37070. values
  37071. (
  37072. "%SYSBLDNAME%",
  37073. 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37074. "%SYSBLDUSER%",
  37075. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37076. "%SYSBLDUSER%"
  37077. );
  37078. insert into sysbldobjects
  37079. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37080. create_can_fail, drop_sql, drop_can_fail)
  37081. values
  37082. (
  37083. "%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37084. "%SYSBLDUSER%", 0,
  37085. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  37086. with (add handlesnulls);
  37087. ",
  37088. "f",
  37089. "alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  37090. with (drop handlesnulls);
  37091. ",
  37092. "f"
  37093. );
  37094. insert into sysbldobjdepends
  37095. (
  37096. bld_id,
  37097. obj_kind,
  37098. obj_signature,
  37099. obj_owner,
  37100. need_obj_kind,
  37101. need_obj_signature,
  37102. need_obj_owner)
  37103. values
  37104. (
  37105. "%SYSBLDNAME%",
  37106. 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37107. "%SYSBLDUSER%",
  37108. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37109. "%SYSBLDUSER%"
  37110. );
  37111. insert into sysbldobjects
  37112. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37113. create_can_fail, drop_sql, drop_can_fail)
  37114. values
  37115. (
  37116. "%SYSBLDNAME%", 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37117. "%SYSBLDUSER%", 0,
  37118. "grant execute on procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  37119. ",
  37120. "f",
  37121. "",
  37122. "f"
  37123. );
  37124. insert into sysbldobjdepends
  37125. (
  37126. bld_id,
  37127. obj_kind,
  37128. obj_signature,
  37129. obj_owner,
  37130. need_obj_kind,
  37131. need_obj_signature,
  37132. need_obj_owner)
  37133. values
  37134. (
  37135. "%SYSBLDNAME%",
  37136. 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37137. "%SYSBLDUSER%",
  37138. 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  37139. "%SYSBLDUSER%"
  37140. );
  37141. insert into sysbldobjects
  37142. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37143. create_can_fail, drop_sql, drop_can_fail)
  37144. values
  37145. (
  37146. "%SYSBLDNAME%", 5, "ts_vtam_pdq_background (pointer)",
  37147. "%SYSBLDUSER%", 0,
  37148. "create function ts_vtam_pdq_background (pointer)
  37149. returns integer
  37150. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_pdq_background_sql)"" language c;
  37151. ",
  37152. "f",
  37153. "drop function ts_vtam_pdq_background (pointer);
  37154. ",
  37155. "f"
  37156. );
  37157. insert into sysbldobjects
  37158. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37159. create_can_fail, drop_sql, drop_can_fail)
  37160. values
  37161. (
  37162. "%SYSBLDNAME%", 69, "ts_vtam_pdq_background (pointer)",
  37163. "%SYSBLDUSER%", 0,
  37164. "grant execute on function ts_vtam_pdq_background (pointer) to public;
  37165. ",
  37166. "f",
  37167. "",
  37168. "f"
  37169. );
  37170. insert into sysbldobjdepends
  37171. (
  37172. bld_id,
  37173. obj_kind,
  37174. obj_signature,
  37175. obj_owner,
  37176. need_obj_kind,
  37177. need_obj_signature,
  37178. need_obj_owner)
  37179. values
  37180. (
  37181. "%SYSBLDNAME%",
  37182. 69, "ts_vtam_pdq_background (pointer)",
  37183. "%SYSBLDUSER%",
  37184. 5, "ts_vtam_pdq_background (pointer)",
  37185. "%SYSBLDUSER%"
  37186. );
  37187. insert into sysbldobjects
  37188. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37189. create_can_fail, drop_sql, drop_can_fail)
  37190. values
  37191. (
  37192. "%SYSBLDNAME%", 5, "PartitionExport (tsPartitionDesc_t)",
  37193. "%SYSBLDUSER%", 0,
  37194. "create function PartitionExport (tsPartitionDesc_t)
  37195. returns impexp
  37196. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_export)"" language c;
  37197. ",
  37198. "f",
  37199. "drop function PartitionExport (tsPartitionDesc_t);
  37200. ",
  37201. "f"
  37202. );
  37203. insert into sysbldobjdepends
  37204. (
  37205. bld_id,
  37206. obj_kind,
  37207. obj_signature,
  37208. obj_owner,
  37209. need_obj_kind,
  37210. need_obj_signature,
  37211. need_obj_owner)
  37212. values
  37213. (
  37214. "%SYSBLDNAME%",
  37215. 5, "PartitionExport (tsPartitionDesc_t)",
  37216. "%SYSBLDUSER%",
  37217. 7, "tsPartitionDesc_t",
  37218. "%SYSBLDUSER%"
  37219. );
  37220. insert into sysbldobjects
  37221. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37222. create_can_fail, drop_sql, drop_can_fail)
  37223. values
  37224. (
  37225. "%SYSBLDNAME%", 69, "PartitionExport (tsPartitionDesc_t)",
  37226. "%SYSBLDUSER%", 0,
  37227. "grant execute on function PartitionExport (tsPartitionDesc_t) to public;
  37228. ",
  37229. "f",
  37230. "",
  37231. "f"
  37232. );
  37233. insert into sysbldobjdepends
  37234. (
  37235. bld_id,
  37236. obj_kind,
  37237. obj_signature,
  37238. obj_owner,
  37239. need_obj_kind,
  37240. need_obj_signature,
  37241. need_obj_owner)
  37242. values
  37243. (
  37244. "%SYSBLDNAME%",
  37245. 69, "PartitionExport (tsPartitionDesc_t)",
  37246. "%SYSBLDUSER%",
  37247. 5, "PartitionExport (tsPartitionDesc_t)",
  37248. "%SYSBLDUSER%"
  37249. );
  37250. insert into sysbldobjects
  37251. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37252. create_can_fail, drop_sql, drop_can_fail)
  37253. values
  37254. (
  37255. "%SYSBLDNAME%", 3, "tsPartitionDesc_t->impexp",
  37256. "%SYSBLDUSER%", 0,
  37257. "create cast
  37258. (
  37259. tsPartitionDesc_t as impexp
  37260. with PartitionExport
  37261. );
  37262. ",
  37263. "f",
  37264. "drop cast (tsPartitionDesc_t as impexp);
  37265. ",
  37266. "f"
  37267. );
  37268. insert into sysbldobjdepends
  37269. (
  37270. bld_id,
  37271. obj_kind,
  37272. obj_signature,
  37273. obj_owner,
  37274. need_obj_kind,
  37275. need_obj_signature,
  37276. need_obj_owner)
  37277. values
  37278. (
  37279. "%SYSBLDNAME%",
  37280. 3, "tsPartitionDesc_t->impexp",
  37281. "%SYSBLDUSER%",
  37282. 7, "tsPartitionDesc_t",
  37283. "%SYSBLDUSER%"
  37284. );
  37285. insert into sysbldobjects
  37286. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37287. create_can_fail, drop_sql, drop_can_fail)
  37288. values
  37289. (
  37290. "%SYSBLDNAME%", 5, "PartitionImport (impexp)",
  37291. "%SYSBLDUSER%", 0,
  37292. "create function PartitionImport (impexp)
  37293. returns tsPartitionDesc_t
  37294. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_import)"" language c;
  37295. ",
  37296. "f",
  37297. "drop function PartitionImport (impexp);
  37298. ",
  37299. "f"
  37300. );
  37301. insert into sysbldobjdepends
  37302. (
  37303. bld_id,
  37304. obj_kind,
  37305. obj_signature,
  37306. obj_owner,
  37307. need_obj_kind,
  37308. need_obj_signature,
  37309. need_obj_owner)
  37310. values
  37311. (
  37312. "%SYSBLDNAME%",
  37313. 5, "PartitionImport (impexp)",
  37314. "%SYSBLDUSER%",
  37315. 7, "tsPartitionDesc_t",
  37316. "%SYSBLDUSER%"
  37317. );
  37318. insert into sysbldobjects
  37319. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37320. create_can_fail, drop_sql, drop_can_fail)
  37321. values
  37322. (
  37323. "%SYSBLDNAME%", 69, "PartitionImport (impexp)",
  37324. "%SYSBLDUSER%", 0,
  37325. "grant execute on function PartitionImport (impexp) to public;
  37326. ",
  37327. "f",
  37328. "",
  37329. "f"
  37330. );
  37331. insert into sysbldobjdepends
  37332. (
  37333. bld_id,
  37334. obj_kind,
  37335. obj_signature,
  37336. obj_owner,
  37337. need_obj_kind,
  37338. need_obj_signature,
  37339. need_obj_owner)
  37340. values
  37341. (
  37342. "%SYSBLDNAME%",
  37343. 69, "PartitionImport (impexp)",
  37344. "%SYSBLDUSER%",
  37345. 5, "PartitionImport (impexp)",
  37346. "%SYSBLDUSER%"
  37347. );
  37348. insert into sysbldobjects
  37349. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37350. create_can_fail, drop_sql, drop_can_fail)
  37351. values
  37352. (
  37353. "%SYSBLDNAME%", 3, "impexp->tsPartitionDesc_t",
  37354. "%SYSBLDUSER%", 0,
  37355. "create implicit cast
  37356. (
  37357. impexp as tsPartitionDesc_t
  37358. with PartitionImport
  37359. );
  37360. ",
  37361. "f",
  37362. "drop cast (impexp as tsPartitionDesc_t);
  37363. ",
  37364. "f"
  37365. );
  37366. insert into sysbldobjdepends
  37367. (
  37368. bld_id,
  37369. obj_kind,
  37370. obj_signature,
  37371. obj_owner,
  37372. need_obj_kind,
  37373. need_obj_signature,
  37374. need_obj_owner)
  37375. values
  37376. (
  37377. "%SYSBLDNAME%",
  37378. 3, "impexp->tsPartitionDesc_t",
  37379. "%SYSBLDUSER%",
  37380. 7, "tsPartitionDesc_t",
  37381. "%SYSBLDUSER%"
  37382. );
  37383. insert into sysbldobjects
  37384. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37385. create_can_fail, drop_sql, drop_can_fail)
  37386. values
  37387. (
  37388. "%SYSBLDNAME%", 5, "StateToList (TimeSeriesAggState)",
  37389. "%SYSBLDUSER%", 0,
  37390. "create function StateToList (TimeSeriesAggState)
  37391. returns list with (not variant)
  37392. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_state_to_list)"" language c;
  37393. ",
  37394. "f",
  37395. "drop function StateToList (TimeSeriesAggState);
  37396. ",
  37397. "f"
  37398. );
  37399. insert into sysbldobjdepends
  37400. (
  37401. bld_id,
  37402. obj_kind,
  37403. obj_signature,
  37404. obj_owner,
  37405. need_obj_kind,
  37406. need_obj_signature,
  37407. need_obj_owner)
  37408. values
  37409. (
  37410. "%SYSBLDNAME%",
  37411. 5, "StateToList (TimeSeriesAggState)",
  37412. "%SYSBLDUSER%",
  37413. 7, "TimeSeriesAggState",
  37414. "%SYSBLDUSER%"
  37415. );
  37416. insert into sysbldobjects
  37417. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37418. create_can_fail, drop_sql, drop_can_fail)
  37419. values
  37420. (
  37421. "%SYSBLDNAME%", 69, "StateToList (TimeSeriesAggState)",
  37422. "%SYSBLDUSER%", 0,
  37423. "grant execute on function StateToList (TimeSeriesAggState) to public;
  37424. ",
  37425. "f",
  37426. "",
  37427. "f"
  37428. );
  37429. insert into sysbldobjdepends
  37430. (
  37431. bld_id,
  37432. obj_kind,
  37433. obj_signature,
  37434. obj_owner,
  37435. need_obj_kind,
  37436. need_obj_signature,
  37437. need_obj_owner)
  37438. values
  37439. (
  37440. "%SYSBLDNAME%",
  37441. 69, "StateToList (TimeSeriesAggState)",
  37442. "%SYSBLDUSER%",
  37443. 5, "StateToList (TimeSeriesAggState)",
  37444. "%SYSBLDUSER%"
  37445. );
  37446. insert into sysbldobjects
  37447. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37448. create_can_fail, drop_sql, drop_can_fail)
  37449. values
  37450. (
  37451. "%SYSBLDNAME%", 3, "TimeSeriesAggState->list",
  37452. "%SYSBLDUSER%", 0,
  37453. "create implicit cast
  37454. (
  37455. TimeSeriesAggState as list
  37456. with StateToList
  37457. );
  37458. ",
  37459. "f",
  37460. "drop cast (TimeSeriesAggState as list);
  37461. ",
  37462. "f"
  37463. );
  37464. insert into sysbldobjdepends
  37465. (
  37466. bld_id,
  37467. obj_kind,
  37468. obj_signature,
  37469. obj_owner,
  37470. need_obj_kind,
  37471. need_obj_signature,
  37472. need_obj_owner)
  37473. values
  37474. (
  37475. "%SYSBLDNAME%",
  37476. 3, "TimeSeriesAggState->list",
  37477. "%SYSBLDUSER%",
  37478. 7, "TimeSeriesAggState",
  37479. "%SYSBLDUSER%"
  37480. );
  37481. insert into sysbldobjects
  37482. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37483. create_can_fail, drop_sql, drop_can_fail)
  37484. values
  37485. (
  37486. "%SYSBLDNAME%", 5, "ts_agg_init (TimeSeries)",
  37487. "%SYSBLDUSER%", 0,
  37488. "create function ts_agg_init (TimeSeries)
  37489. returns TimeSeriesAggState with (not variant, handlesnulls)
  37490. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_init)"" language c;
  37491. ",
  37492. "f",
  37493. "drop function ts_agg_init (TimeSeries);
  37494. ",
  37495. "f"
  37496. );
  37497. insert into sysbldobjdepends
  37498. (
  37499. bld_id,
  37500. obj_kind,
  37501. obj_signature,
  37502. obj_owner,
  37503. need_obj_kind,
  37504. need_obj_signature,
  37505. need_obj_owner)
  37506. values
  37507. (
  37508. "%SYSBLDNAME%",
  37509. 5, "ts_agg_init (TimeSeries)",
  37510. "%SYSBLDUSER%",
  37511. 7, "TimeSeries",
  37512. "%SYSBLDUSER%"
  37513. );
  37514. insert into sysbldobjdepends
  37515. (
  37516. bld_id,
  37517. obj_kind,
  37518. obj_signature,
  37519. obj_owner,
  37520. need_obj_kind,
  37521. need_obj_signature,
  37522. need_obj_owner)
  37523. values
  37524. (
  37525. "%SYSBLDNAME%",
  37526. 5, "ts_agg_init (TimeSeries)",
  37527. "%SYSBLDUSER%",
  37528. 7, "TimeSeriesAggState",
  37529. "%SYSBLDUSER%"
  37530. );
  37531. insert into sysbldobjects
  37532. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37533. create_can_fail, drop_sql, drop_can_fail)
  37534. values
  37535. (
  37536. "%SYSBLDNAME%", 69, "ts_agg_init (TimeSeries)",
  37537. "%SYSBLDUSER%", 0,
  37538. "grant execute on function ts_agg_init (TimeSeries) to public;
  37539. ",
  37540. "f",
  37541. "",
  37542. "f"
  37543. );
  37544. insert into sysbldobjdepends
  37545. (
  37546. bld_id,
  37547. obj_kind,
  37548. obj_signature,
  37549. obj_owner,
  37550. need_obj_kind,
  37551. need_obj_signature,
  37552. need_obj_owner)
  37553. values
  37554. (
  37555. "%SYSBLDNAME%",
  37556. 69, "ts_agg_init (TimeSeries)",
  37557. "%SYSBLDUSER%",
  37558. 5, "ts_agg_init (TimeSeries)",
  37559. "%SYSBLDUSER%"
  37560. );
  37561. insert into sysbldobjects
  37562. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37563. create_can_fail, drop_sql, drop_can_fail)
  37564. values
  37565. (
  37566. "%SYSBLDNAME%", 5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37567. "%SYSBLDUSER%", 0,
  37568. "create function ts_agg_iter (TimeSeriesAggState,TimeSeries)
  37569. returns TimeSeriesAggState with (not variant, handlesnulls)
  37570. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;
  37571. ",
  37572. "f",
  37573. "drop function ts_agg_iter (TimeSeriesAggState,TimeSeries);
  37574. ",
  37575. "f"
  37576. );
  37577. insert into sysbldobjdepends
  37578. (
  37579. bld_id,
  37580. obj_kind,
  37581. obj_signature,
  37582. obj_owner,
  37583. need_obj_kind,
  37584. need_obj_signature,
  37585. need_obj_owner)
  37586. values
  37587. (
  37588. "%SYSBLDNAME%",
  37589. 5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37590. "%SYSBLDUSER%",
  37591. 7, "TimeSeries",
  37592. "%SYSBLDUSER%"
  37593. );
  37594. insert into sysbldobjdepends
  37595. (
  37596. bld_id,
  37597. obj_kind,
  37598. obj_signature,
  37599. obj_owner,
  37600. need_obj_kind,
  37601. need_obj_signature,
  37602. need_obj_owner)
  37603. values
  37604. (
  37605. "%SYSBLDNAME%",
  37606. 5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37607. "%SYSBLDUSER%",
  37608. 7, "TimeSeriesAggState",
  37609. "%SYSBLDUSER%"
  37610. );
  37611. insert into sysbldobjects
  37612. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37613. create_can_fail, drop_sql, drop_can_fail)
  37614. values
  37615. (
  37616. "%SYSBLDNAME%", 69, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37617. "%SYSBLDUSER%", 0,
  37618. "grant execute on function ts_agg_iter (TimeSeriesAggState,TimeSeries) to public;
  37619. ",
  37620. "f",
  37621. "",
  37622. "f"
  37623. );
  37624. insert into sysbldobjdepends
  37625. (
  37626. bld_id,
  37627. obj_kind,
  37628. obj_signature,
  37629. obj_owner,
  37630. need_obj_kind,
  37631. need_obj_signature,
  37632. need_obj_owner)
  37633. values
  37634. (
  37635. "%SYSBLDNAME%",
  37636. 69, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37637. "%SYSBLDUSER%",
  37638. 5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
  37639. "%SYSBLDUSER%"
  37640. );
  37641. insert into sysbldobjects
  37642. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37643. create_can_fail, drop_sql, drop_can_fail)
  37644. values
  37645. (
  37646. "%SYSBLDNAME%", 5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
  37647. "%SYSBLDUSER%", 0,
  37648. "create function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)
  37649. returns TimeSeriesAggState with (not variant, handlesnulls)
  37650. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  37651. ",
  37652. "f",
  37653. "drop function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState);
  37654. ",
  37655. "f"
  37656. );
  37657. insert into sysbldobjdepends
  37658. (
  37659. bld_id,
  37660. obj_kind,
  37661. obj_signature,
  37662. obj_owner,
  37663. need_obj_kind,
  37664. need_obj_signature,
  37665. need_obj_owner)
  37666. values
  37667. (
  37668. "%SYSBLDNAME%",
  37669. 5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
  37670. "%SYSBLDUSER%",
  37671. 7, "TimeSeriesAggState",
  37672. "%SYSBLDUSER%"
  37673. );
  37674. insert into sysbldobjects
  37675. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37676. create_can_fail, drop_sql, drop_can_fail)
  37677. values
  37678. (
  37679. "%SYSBLDNAME%", 69, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
  37680. "%SYSBLDUSER%", 0,
  37681. "grant execute on function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState) to public;
  37682. ",
  37683. "f",
  37684. "",
  37685. "f"
  37686. );
  37687. insert into sysbldobjdepends
  37688. (
  37689. bld_id,
  37690. obj_kind,
  37691. obj_signature,
  37692. obj_owner,
  37693. need_obj_kind,
  37694. need_obj_signature,
  37695. need_obj_owner)
  37696. values
  37697. (
  37698. "%SYSBLDNAME%",
  37699. 69, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
  37700. "%SYSBLDUSER%",
  37701. 5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
  37702. "%SYSBLDUSER%"
  37703. );
  37704. insert into sysbldobjects
  37705. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37706. create_can_fail, drop_sql, drop_can_fail)
  37707. values
  37708. (
  37709. "%SYSBLDNAME%", 5, "ts_agg_final (TimeSeriesAggState)",
  37710. "%SYSBLDUSER%", 0,
  37711. "create function ts_agg_final (TimeSeriesAggState)
  37712. returns TimeSeriesAggState with (not variant, handlesnulls)
  37713. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  37714. ",
  37715. "f",
  37716. "drop function ts_agg_final (TimeSeriesAggState);
  37717. ",
  37718. "f"
  37719. );
  37720. insert into sysbldobjdepends
  37721. (
  37722. bld_id,
  37723. obj_kind,
  37724. obj_signature,
  37725. obj_owner,
  37726. need_obj_kind,
  37727. need_obj_signature,
  37728. need_obj_owner)
  37729. values
  37730. (
  37731. "%SYSBLDNAME%",
  37732. 5, "ts_agg_final (TimeSeriesAggState)",
  37733. "%SYSBLDUSER%",
  37734. 7, "TimeSeriesAggState",
  37735. "%SYSBLDUSER%"
  37736. );
  37737. insert into sysbldobjects
  37738. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37739. create_can_fail, drop_sql, drop_can_fail)
  37740. values
  37741. (
  37742. "%SYSBLDNAME%", 69, "ts_agg_final (TimeSeriesAggState)",
  37743. "%SYSBLDUSER%", 0,
  37744. "grant execute on function ts_agg_final (TimeSeriesAggState) to public;
  37745. ",
  37746. "f",
  37747. "",
  37748. "f"
  37749. );
  37750. insert into sysbldobjdepends
  37751. (
  37752. bld_id,
  37753. obj_kind,
  37754. obj_signature,
  37755. obj_owner,
  37756. need_obj_kind,
  37757. need_obj_signature,
  37758. need_obj_owner)
  37759. values
  37760. (
  37761. "%SYSBLDNAME%",
  37762. 69, "ts_agg_final (TimeSeriesAggState)",
  37763. "%SYSBLDUSER%",
  37764. 5, "ts_agg_final (TimeSeriesAggState)",
  37765. "%SYSBLDUSER%"
  37766. );
  37767. insert into sysbldobjects
  37768. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37769. create_can_fail, drop_sql, drop_can_fail)
  37770. values
  37771. (
  37772. "%SYSBLDNAME%", 0, "TsSetToList (TimeSeries)",
  37773. "%SYSBLDUSER%", 0,
  37774. "create aggregate TsSetToList
  37775. with (
  37776. init = ts_agg_init,
  37777. iter = ts_agg_iter,
  37778. combine = ts_agg_combine,
  37779. final = ts_agg_final
  37780. );
  37781. ",
  37782. "f",
  37783. "drop aggregate TsSetToList;
  37784. ",
  37785. "f"
  37786. );
  37787. insert into sysbldobjdepends
  37788. (
  37789. bld_id,
  37790. obj_kind,
  37791. obj_signature,
  37792. obj_owner,
  37793. need_obj_kind,
  37794. need_obj_signature,
  37795. need_obj_owner)
  37796. values
  37797. (
  37798. "%SYSBLDNAME%",
  37799. 0, "TsSetToList (TimeSeries)",
  37800. "%SYSBLDUSER%",
  37801. 7, "TimeSeries",
  37802. "%SYSBLDUSER%"
  37803. );
  37804. insert into sysbldobjdepends
  37805. (
  37806. bld_id,
  37807. obj_kind,
  37808. obj_signature,
  37809. obj_owner,
  37810. need_obj_kind,
  37811. need_obj_signature,
  37812. need_obj_owner)
  37813. values
  37814. (
  37815. "%SYSBLDNAME%",
  37816. 0, "TsSetToList (TimeSeries)",
  37817. "%SYSBLDUSER%",
  37818. 7, "TimeSeriesAggState",
  37819. "%SYSBLDUSER%"
  37820. );
  37821. insert into sysbldobjects
  37822. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37823. create_can_fail, drop_sql, drop_can_fail)
  37824. values
  37825. (
  37826. "%SYSBLDNAME%", 5, "ts_agg_colnum_init (TimeSeries,integer)",
  37827. "%SYSBLDUSER%", 0,
  37828. "create function ts_agg_colnum_init (TimeSeries,integer)
  37829. returns TimeSeriesAggState with (not variant, handlesnulls)
  37830. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_colnum_init)"" language c;
  37831. ",
  37832. "f",
  37833. "drop function ts_agg_colnum_init (TimeSeries,integer);
  37834. ",
  37835. "f"
  37836. );
  37837. insert into sysbldobjdepends
  37838. (
  37839. bld_id,
  37840. obj_kind,
  37841. obj_signature,
  37842. obj_owner,
  37843. need_obj_kind,
  37844. need_obj_signature,
  37845. need_obj_owner)
  37846. values
  37847. (
  37848. "%SYSBLDNAME%",
  37849. 5, "ts_agg_colnum_init (TimeSeries,integer)",
  37850. "%SYSBLDUSER%",
  37851. 7, "TimeSeries",
  37852. "%SYSBLDUSER%"
  37853. );
  37854. insert into sysbldobjdepends
  37855. (
  37856. bld_id,
  37857. obj_kind,
  37858. obj_signature,
  37859. obj_owner,
  37860. need_obj_kind,
  37861. need_obj_signature,
  37862. need_obj_owner)
  37863. values
  37864. (
  37865. "%SYSBLDNAME%",
  37866. 5, "ts_agg_colnum_init (TimeSeries,integer)",
  37867. "%SYSBLDUSER%",
  37868. 7, "TimeSeriesAggState",
  37869. "%SYSBLDUSER%"
  37870. );
  37871. insert into sysbldobjects
  37872. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37873. create_can_fail, drop_sql, drop_can_fail)
  37874. values
  37875. (
  37876. "%SYSBLDNAME%", 69, "ts_agg_colnum_init (TimeSeries,integer)",
  37877. "%SYSBLDUSER%", 0,
  37878. "grant execute on function ts_agg_colnum_init (TimeSeries,integer) to public;
  37879. ",
  37880. "f",
  37881. "",
  37882. "f"
  37883. );
  37884. insert into sysbldobjdepends
  37885. (
  37886. bld_id,
  37887. obj_kind,
  37888. obj_signature,
  37889. obj_owner,
  37890. need_obj_kind,
  37891. need_obj_signature,
  37892. need_obj_owner)
  37893. values
  37894. (
  37895. "%SYSBLDNAME%",
  37896. 69, "ts_agg_colnum_init (TimeSeries,integer)",
  37897. "%SYSBLDUSER%",
  37898. 5, "ts_agg_colnum_init (TimeSeries,integer)",
  37899. "%SYSBLDUSER%"
  37900. );
  37901. insert into sysbldobjects
  37902. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37903. create_can_fail, drop_sql, drop_can_fail)
  37904. values
  37905. (
  37906. "%SYSBLDNAME%", 5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37907. "%SYSBLDUSER%", 0,
  37908. "create function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)
  37909. returns TimeSeriesAggState with (not variant, handlesnulls)
  37910. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;
  37911. ",
  37912. "f",
  37913. "drop function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries);
  37914. ",
  37915. "f"
  37916. );
  37917. insert into sysbldobjdepends
  37918. (
  37919. bld_id,
  37920. obj_kind,
  37921. obj_signature,
  37922. obj_owner,
  37923. need_obj_kind,
  37924. need_obj_signature,
  37925. need_obj_owner)
  37926. values
  37927. (
  37928. "%SYSBLDNAME%",
  37929. 5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37930. "%SYSBLDUSER%",
  37931. 7, "TimeSeries",
  37932. "%SYSBLDUSER%"
  37933. );
  37934. insert into sysbldobjdepends
  37935. (
  37936. bld_id,
  37937. obj_kind,
  37938. obj_signature,
  37939. obj_owner,
  37940. need_obj_kind,
  37941. need_obj_signature,
  37942. need_obj_owner)
  37943. values
  37944. (
  37945. "%SYSBLDNAME%",
  37946. 5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37947. "%SYSBLDUSER%",
  37948. 7, "TimeSeriesAggState",
  37949. "%SYSBLDUSER%"
  37950. );
  37951. insert into sysbldobjects
  37952. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37953. create_can_fail, drop_sql, drop_can_fail)
  37954. values
  37955. (
  37956. "%SYSBLDNAME%", 69, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37957. "%SYSBLDUSER%", 0,
  37958. "grant execute on function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries) to public;
  37959. ",
  37960. "f",
  37961. "",
  37962. "f"
  37963. );
  37964. insert into sysbldobjdepends
  37965. (
  37966. bld_id,
  37967. obj_kind,
  37968. obj_signature,
  37969. obj_owner,
  37970. need_obj_kind,
  37971. need_obj_signature,
  37972. need_obj_owner)
  37973. values
  37974. (
  37975. "%SYSBLDNAME%",
  37976. 69, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37977. "%SYSBLDUSER%",
  37978. 5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
  37979. "%SYSBLDUSER%"
  37980. );
  37981. insert into sysbldobjects
  37982. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  37983. create_can_fail, drop_sql, drop_can_fail)
  37984. values
  37985. (
  37986. "%SYSBLDNAME%", 5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  37987. "%SYSBLDUSER%", 0,
  37988. "create function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)
  37989. returns TimeSeriesAggState with (not variant, handlesnulls)
  37990. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  37991. ",
  37992. "f",
  37993. "drop function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState);
  37994. ",
  37995. "f"
  37996. );
  37997. insert into sysbldobjdepends
  37998. (
  37999. bld_id,
  38000. obj_kind,
  38001. obj_signature,
  38002. obj_owner,
  38003. need_obj_kind,
  38004. need_obj_signature,
  38005. need_obj_owner)
  38006. values
  38007. (
  38008. "%SYSBLDNAME%",
  38009. 5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38010. "%SYSBLDUSER%",
  38011. 7, "TimeSeriesAggState",
  38012. "%SYSBLDUSER%"
  38013. );
  38014. insert into sysbldobjects
  38015. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38016. create_can_fail, drop_sql, drop_can_fail)
  38017. values
  38018. (
  38019. "%SYSBLDNAME%", 69, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38020. "%SYSBLDUSER%", 0,
  38021. "grant execute on function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState) to public;
  38022. ",
  38023. "f",
  38024. "",
  38025. "f"
  38026. );
  38027. insert into sysbldobjdepends
  38028. (
  38029. bld_id,
  38030. obj_kind,
  38031. obj_signature,
  38032. obj_owner,
  38033. need_obj_kind,
  38034. need_obj_signature,
  38035. need_obj_owner)
  38036. values
  38037. (
  38038. "%SYSBLDNAME%",
  38039. 69, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38040. "%SYSBLDUSER%",
  38041. 5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38042. "%SYSBLDUSER%"
  38043. );
  38044. insert into sysbldobjects
  38045. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38046. create_can_fail, drop_sql, drop_can_fail)
  38047. values
  38048. (
  38049. "%SYSBLDNAME%", 5, "ts_agg_colnum_fin (TimeSeriesAggState)",
  38050. "%SYSBLDUSER%", 0,
  38051. "create function ts_agg_colnum_fin (TimeSeriesAggState)
  38052. returns TimeSeriesAggState with (not variant, handlesnulls)
  38053. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  38054. ",
  38055. "f",
  38056. "drop function ts_agg_colnum_fin (TimeSeriesAggState);
  38057. ",
  38058. "f"
  38059. );
  38060. insert into sysbldobjdepends
  38061. (
  38062. bld_id,
  38063. obj_kind,
  38064. obj_signature,
  38065. obj_owner,
  38066. need_obj_kind,
  38067. need_obj_signature,
  38068. need_obj_owner)
  38069. values
  38070. (
  38071. "%SYSBLDNAME%",
  38072. 5, "ts_agg_colnum_fin (TimeSeriesAggState)",
  38073. "%SYSBLDUSER%",
  38074. 7, "TimeSeriesAggState",
  38075. "%SYSBLDUSER%"
  38076. );
  38077. insert into sysbldobjects
  38078. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38079. create_can_fail, drop_sql, drop_can_fail)
  38080. values
  38081. (
  38082. "%SYSBLDNAME%", 69, "ts_agg_colnum_fin (TimeSeriesAggState)",
  38083. "%SYSBLDUSER%", 0,
  38084. "grant execute on function ts_agg_colnum_fin (TimeSeriesAggState) to public;
  38085. ",
  38086. "f",
  38087. "",
  38088. "f"
  38089. );
  38090. insert into sysbldobjdepends
  38091. (
  38092. bld_id,
  38093. obj_kind,
  38094. obj_signature,
  38095. obj_owner,
  38096. need_obj_kind,
  38097. need_obj_signature,
  38098. need_obj_owner)
  38099. values
  38100. (
  38101. "%SYSBLDNAME%",
  38102. 69, "ts_agg_colnum_fin (TimeSeriesAggState)",
  38103. "%SYSBLDUSER%",
  38104. 5, "ts_agg_colnum_fin (TimeSeriesAggState)",
  38105. "%SYSBLDUSER%"
  38106. );
  38107. insert into sysbldobjects
  38108. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38109. create_can_fail, drop_sql, drop_can_fail)
  38110. values
  38111. (
  38112. "%SYSBLDNAME%", 0, "TsColNumToList (TimeSeries)",
  38113. "%SYSBLDUSER%", 0,
  38114. "create aggregate TsColNumToList
  38115. with (
  38116. init = ts_agg_colnum_init,
  38117. iter = ts_agg_colnum_iter,
  38118. combine = ts_agg_colnum_comb,
  38119. final = ts_agg_colnum_fin,
  38120. handlesnulls
  38121. );
  38122. ",
  38123. "f",
  38124. "drop aggregate TsColNumToList;
  38125. ",
  38126. "f"
  38127. );
  38128. insert into sysbldobjdepends
  38129. (
  38130. bld_id,
  38131. obj_kind,
  38132. obj_signature,
  38133. obj_owner,
  38134. need_obj_kind,
  38135. need_obj_signature,
  38136. need_obj_owner)
  38137. values
  38138. (
  38139. "%SYSBLDNAME%",
  38140. 0, "TsColNumToList (TimeSeries)",
  38141. "%SYSBLDUSER%",
  38142. 7, "TimeSeries",
  38143. "%SYSBLDUSER%"
  38144. );
  38145. insert into sysbldobjdepends
  38146. (
  38147. bld_id,
  38148. obj_kind,
  38149. obj_signature,
  38150. obj_owner,
  38151. need_obj_kind,
  38152. need_obj_signature,
  38153. need_obj_owner)
  38154. values
  38155. (
  38156. "%SYSBLDNAME%",
  38157. 0, "TsColNumToList (TimeSeries)",
  38158. "%SYSBLDUSER%",
  38159. 7, "TimeSeriesAggState",
  38160. "%SYSBLDUSER%"
  38161. );
  38162. insert into sysbldobjects
  38163. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38164. create_can_fail, drop_sql, drop_can_fail)
  38165. values
  38166. (
  38167. "%SYSBLDNAME%", 5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38168. "%SYSBLDUSER%", 0,
  38169. "create function ts_agg_colnam_init (TimeSeries,lvarchar)
  38170. returns TimeSeriesAggState with (not variant, handlesnulls)
  38171. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_colname_init)"" language c;
  38172. ",
  38173. "f",
  38174. "drop function ts_agg_colnam_init (TimeSeries,lvarchar);
  38175. ",
  38176. "f"
  38177. );
  38178. insert into sysbldobjdepends
  38179. (
  38180. bld_id,
  38181. obj_kind,
  38182. obj_signature,
  38183. obj_owner,
  38184. need_obj_kind,
  38185. need_obj_signature,
  38186. need_obj_owner)
  38187. values
  38188. (
  38189. "%SYSBLDNAME%",
  38190. 5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38191. "%SYSBLDUSER%",
  38192. 7, "TimeSeries",
  38193. "%SYSBLDUSER%"
  38194. );
  38195. insert into sysbldobjdepends
  38196. (
  38197. bld_id,
  38198. obj_kind,
  38199. obj_signature,
  38200. obj_owner,
  38201. need_obj_kind,
  38202. need_obj_signature,
  38203. need_obj_owner)
  38204. values
  38205. (
  38206. "%SYSBLDNAME%",
  38207. 5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38208. "%SYSBLDUSER%",
  38209. 7, "TimeSeriesAggState",
  38210. "%SYSBLDUSER%"
  38211. );
  38212. insert into sysbldobjects
  38213. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38214. create_can_fail, drop_sql, drop_can_fail)
  38215. values
  38216. (
  38217. "%SYSBLDNAME%", 69, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38218. "%SYSBLDUSER%", 0,
  38219. "grant execute on function ts_agg_colnam_init (TimeSeries,lvarchar) to public;
  38220. ",
  38221. "f",
  38222. "",
  38223. "f"
  38224. );
  38225. insert into sysbldobjdepends
  38226. (
  38227. bld_id,
  38228. obj_kind,
  38229. obj_signature,
  38230. obj_owner,
  38231. need_obj_kind,
  38232. need_obj_signature,
  38233. need_obj_owner)
  38234. values
  38235. (
  38236. "%SYSBLDNAME%",
  38237. 69, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38238. "%SYSBLDUSER%",
  38239. 5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
  38240. "%SYSBLDUSER%"
  38241. );
  38242. insert into sysbldobjects
  38243. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38244. create_can_fail, drop_sql, drop_can_fail)
  38245. values
  38246. (
  38247. "%SYSBLDNAME%", 5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38248. "%SYSBLDUSER%", 0,
  38249. "create function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)
  38250. returns TimeSeriesAggState with (not variant, handlesnulls)
  38251. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;
  38252. ",
  38253. "f",
  38254. "drop function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries);
  38255. ",
  38256. "f"
  38257. );
  38258. insert into sysbldobjdepends
  38259. (
  38260. bld_id,
  38261. obj_kind,
  38262. obj_signature,
  38263. obj_owner,
  38264. need_obj_kind,
  38265. need_obj_signature,
  38266. need_obj_owner)
  38267. values
  38268. (
  38269. "%SYSBLDNAME%",
  38270. 5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38271. "%SYSBLDUSER%",
  38272. 7, "TimeSeries",
  38273. "%SYSBLDUSER%"
  38274. );
  38275. insert into sysbldobjdepends
  38276. (
  38277. bld_id,
  38278. obj_kind,
  38279. obj_signature,
  38280. obj_owner,
  38281. need_obj_kind,
  38282. need_obj_signature,
  38283. need_obj_owner)
  38284. values
  38285. (
  38286. "%SYSBLDNAME%",
  38287. 5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38288. "%SYSBLDUSER%",
  38289. 7, "TimeSeriesAggState",
  38290. "%SYSBLDUSER%"
  38291. );
  38292. insert into sysbldobjects
  38293. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38294. create_can_fail, drop_sql, drop_can_fail)
  38295. values
  38296. (
  38297. "%SYSBLDNAME%", 69, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38298. "%SYSBLDUSER%", 0,
  38299. "grant execute on function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries) to public;
  38300. ",
  38301. "f",
  38302. "",
  38303. "f"
  38304. );
  38305. insert into sysbldobjdepends
  38306. (
  38307. bld_id,
  38308. obj_kind,
  38309. obj_signature,
  38310. obj_owner,
  38311. need_obj_kind,
  38312. need_obj_signature,
  38313. need_obj_owner)
  38314. values
  38315. (
  38316. "%SYSBLDNAME%",
  38317. 69, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38318. "%SYSBLDUSER%",
  38319. 5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
  38320. "%SYSBLDUSER%"
  38321. );
  38322. insert into sysbldobjects
  38323. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38324. create_can_fail, drop_sql, drop_can_fail)
  38325. values
  38326. (
  38327. "%SYSBLDNAME%", 5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38328. "%SYSBLDUSER%", 0,
  38329. "create function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)
  38330. returns TimeSeriesAggState with (not variant, handlesnulls)
  38331. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  38332. ",
  38333. "f",
  38334. "drop function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState);
  38335. ",
  38336. "f"
  38337. );
  38338. insert into sysbldobjdepends
  38339. (
  38340. bld_id,
  38341. obj_kind,
  38342. obj_signature,
  38343. obj_owner,
  38344. need_obj_kind,
  38345. need_obj_signature,
  38346. need_obj_owner)
  38347. values
  38348. (
  38349. "%SYSBLDNAME%",
  38350. 5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38351. "%SYSBLDUSER%",
  38352. 7, "TimeSeriesAggState",
  38353. "%SYSBLDUSER%"
  38354. );
  38355. insert into sysbldobjects
  38356. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38357. create_can_fail, drop_sql, drop_can_fail)
  38358. values
  38359. (
  38360. "%SYSBLDNAME%", 69, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38361. "%SYSBLDUSER%", 0,
  38362. "grant execute on function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState) to public;
  38363. ",
  38364. "f",
  38365. "",
  38366. "f"
  38367. );
  38368. insert into sysbldobjdepends
  38369. (
  38370. bld_id,
  38371. obj_kind,
  38372. obj_signature,
  38373. obj_owner,
  38374. need_obj_kind,
  38375. need_obj_signature,
  38376. need_obj_owner)
  38377. values
  38378. (
  38379. "%SYSBLDNAME%",
  38380. 69, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38381. "%SYSBLDUSER%",
  38382. 5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38383. "%SYSBLDUSER%"
  38384. );
  38385. insert into sysbldobjects
  38386. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38387. create_can_fail, drop_sql, drop_can_fail)
  38388. values
  38389. (
  38390. "%SYSBLDNAME%", 5, "ts_agg_colnam_fin (TimeSeriesAggState)",
  38391. "%SYSBLDUSER%", 0,
  38392. "create function ts_agg_colnam_fin (TimeSeriesAggState)
  38393. returns TimeSeriesAggState with (not variant, handlesnulls)
  38394. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  38395. ",
  38396. "f",
  38397. "drop function ts_agg_colnam_fin (TimeSeriesAggState);
  38398. ",
  38399. "f"
  38400. );
  38401. insert into sysbldobjdepends
  38402. (
  38403. bld_id,
  38404. obj_kind,
  38405. obj_signature,
  38406. obj_owner,
  38407. need_obj_kind,
  38408. need_obj_signature,
  38409. need_obj_owner)
  38410. values
  38411. (
  38412. "%SYSBLDNAME%",
  38413. 5, "ts_agg_colnam_fin (TimeSeriesAggState)",
  38414. "%SYSBLDUSER%",
  38415. 7, "TimeSeriesAggState",
  38416. "%SYSBLDUSER%"
  38417. );
  38418. insert into sysbldobjects
  38419. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38420. create_can_fail, drop_sql, drop_can_fail)
  38421. values
  38422. (
  38423. "%SYSBLDNAME%", 69, "ts_agg_colnam_fin (TimeSeriesAggState)",
  38424. "%SYSBLDUSER%", 0,
  38425. "grant execute on function ts_agg_colnam_fin (TimeSeriesAggState) to public;
  38426. ",
  38427. "f",
  38428. "",
  38429. "f"
  38430. );
  38431. insert into sysbldobjdepends
  38432. (
  38433. bld_id,
  38434. obj_kind,
  38435. obj_signature,
  38436. obj_owner,
  38437. need_obj_kind,
  38438. need_obj_signature,
  38439. need_obj_owner)
  38440. values
  38441. (
  38442. "%SYSBLDNAME%",
  38443. 69, "ts_agg_colnam_fin (TimeSeriesAggState)",
  38444. "%SYSBLDUSER%",
  38445. 5, "ts_agg_colnam_fin (TimeSeriesAggState)",
  38446. "%SYSBLDUSER%"
  38447. );
  38448. insert into sysbldobjects
  38449. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38450. create_can_fail, drop_sql, drop_can_fail)
  38451. values
  38452. (
  38453. "%SYSBLDNAME%", 0, "TsColNameToList (TimeSeries)",
  38454. "%SYSBLDUSER%", 0,
  38455. "create aggregate TsColNameToList
  38456. with (
  38457. init = ts_agg_colnam_init,
  38458. iter = ts_agg_colnam_iter,
  38459. combine = ts_agg_colnam_comb,
  38460. final = ts_agg_colnam_fin,
  38461. handlesnulls
  38462. );
  38463. ",
  38464. "f",
  38465. "drop aggregate TsColNameToList;
  38466. ",
  38467. "f"
  38468. );
  38469. insert into sysbldobjdepends
  38470. (
  38471. bld_id,
  38472. obj_kind,
  38473. obj_signature,
  38474. obj_owner,
  38475. need_obj_kind,
  38476. need_obj_signature,
  38477. need_obj_owner)
  38478. values
  38479. (
  38480. "%SYSBLDNAME%",
  38481. 0, "TsColNameToList (TimeSeries)",
  38482. "%SYSBLDUSER%",
  38483. 7, "TimeSeries",
  38484. "%SYSBLDUSER%"
  38485. );
  38486. insert into sysbldobjdepends
  38487. (
  38488. bld_id,
  38489. obj_kind,
  38490. obj_signature,
  38491. obj_owner,
  38492. need_obj_kind,
  38493. need_obj_signature,
  38494. need_obj_owner)
  38495. values
  38496. (
  38497. "%SYSBLDNAME%",
  38498. 0, "TsColNameToList (TimeSeries)",
  38499. "%SYSBLDUSER%",
  38500. 7, "TimeSeriesAggState",
  38501. "%SYSBLDUSER%"
  38502. );
  38503. insert into sysbldobjects
  38504. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38505. create_can_fail, drop_sql, drop_can_fail)
  38506. values
  38507. (
  38508. "%SYSBLDNAME%", 5, "ts_agg_row_init (row)",
  38509. "%SYSBLDUSER%", 0,
  38510. "create function ts_agg_row_init (row)
  38511. returns TimeSeriesAggState with (not variant, handlesnulls)
  38512. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_init)"" language c;
  38513. ",
  38514. "f",
  38515. "drop function ts_agg_row_init (row);
  38516. ",
  38517. "f"
  38518. );
  38519. insert into sysbldobjdepends
  38520. (
  38521. bld_id,
  38522. obj_kind,
  38523. obj_signature,
  38524. obj_owner,
  38525. need_obj_kind,
  38526. need_obj_signature,
  38527. need_obj_owner)
  38528. values
  38529. (
  38530. "%SYSBLDNAME%",
  38531. 5, "ts_agg_row_init (row)",
  38532. "%SYSBLDUSER%",
  38533. 7, "TimeSeriesAggState",
  38534. "%SYSBLDUSER%"
  38535. );
  38536. insert into sysbldobjects
  38537. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38538. create_can_fail, drop_sql, drop_can_fail)
  38539. values
  38540. (
  38541. "%SYSBLDNAME%", 69, "ts_agg_row_init (row)",
  38542. "%SYSBLDUSER%", 0,
  38543. "grant execute on function ts_agg_row_init (row) to public;
  38544. ",
  38545. "f",
  38546. "",
  38547. "f"
  38548. );
  38549. insert into sysbldobjdepends
  38550. (
  38551. bld_id,
  38552. obj_kind,
  38553. obj_signature,
  38554. obj_owner,
  38555. need_obj_kind,
  38556. need_obj_signature,
  38557. need_obj_owner)
  38558. values
  38559. (
  38560. "%SYSBLDNAME%",
  38561. 69, "ts_agg_row_init (row)",
  38562. "%SYSBLDUSER%",
  38563. 5, "ts_agg_row_init (row)",
  38564. "%SYSBLDUSER%"
  38565. );
  38566. insert into sysbldobjects
  38567. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38568. create_can_fail, drop_sql, drop_can_fail)
  38569. values
  38570. (
  38571. "%SYSBLDNAME%", 5, "ts_agg_row_iter (TimeSeriesAggState,row)",
  38572. "%SYSBLDUSER%", 0,
  38573. "create function ts_agg_row_iter (TimeSeriesAggState,row)
  38574. returns TimeSeriesAggState with (not variant, handlesnulls)
  38575. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;
  38576. ",
  38577. "f",
  38578. "drop function ts_agg_row_iter (TimeSeriesAggState,row);
  38579. ",
  38580. "f"
  38581. );
  38582. insert into sysbldobjdepends
  38583. (
  38584. bld_id,
  38585. obj_kind,
  38586. obj_signature,
  38587. obj_owner,
  38588. need_obj_kind,
  38589. need_obj_signature,
  38590. need_obj_owner)
  38591. values
  38592. (
  38593. "%SYSBLDNAME%",
  38594. 5, "ts_agg_row_iter (TimeSeriesAggState,row)",
  38595. "%SYSBLDUSER%",
  38596. 7, "TimeSeriesAggState",
  38597. "%SYSBLDUSER%"
  38598. );
  38599. insert into sysbldobjects
  38600. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38601. create_can_fail, drop_sql, drop_can_fail)
  38602. values
  38603. (
  38604. "%SYSBLDNAME%", 69, "ts_agg_row_iter (TimeSeriesAggState,row)",
  38605. "%SYSBLDUSER%", 0,
  38606. "grant execute on function ts_agg_row_iter (TimeSeriesAggState,row) to public;
  38607. ",
  38608. "f",
  38609. "",
  38610. "f"
  38611. );
  38612. insert into sysbldobjdepends
  38613. (
  38614. bld_id,
  38615. obj_kind,
  38616. obj_signature,
  38617. obj_owner,
  38618. need_obj_kind,
  38619. need_obj_signature,
  38620. need_obj_owner)
  38621. values
  38622. (
  38623. "%SYSBLDNAME%",
  38624. 69, "ts_agg_row_iter (TimeSeriesAggState,row)",
  38625. "%SYSBLDUSER%",
  38626. 5, "ts_agg_row_iter (TimeSeriesAggState,row)",
  38627. "%SYSBLDUSER%"
  38628. );
  38629. insert into sysbldobjects
  38630. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38631. create_can_fail, drop_sql, drop_can_fail)
  38632. values
  38633. (
  38634. "%SYSBLDNAME%", 5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38635. "%SYSBLDUSER%", 0,
  38636. "create function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)
  38637. returns TimeSeriesAggState with (not variant, handlesnulls)
  38638. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  38639. ",
  38640. "f",
  38641. "drop function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState);
  38642. ",
  38643. "f"
  38644. );
  38645. insert into sysbldobjdepends
  38646. (
  38647. bld_id,
  38648. obj_kind,
  38649. obj_signature,
  38650. obj_owner,
  38651. need_obj_kind,
  38652. need_obj_signature,
  38653. need_obj_owner)
  38654. values
  38655. (
  38656. "%SYSBLDNAME%",
  38657. 5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38658. "%SYSBLDUSER%",
  38659. 7, "TimeSeriesAggState",
  38660. "%SYSBLDUSER%"
  38661. );
  38662. insert into sysbldobjects
  38663. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38664. create_can_fail, drop_sql, drop_can_fail)
  38665. values
  38666. (
  38667. "%SYSBLDNAME%", 69, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38668. "%SYSBLDUSER%", 0,
  38669. "grant execute on function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState) to public;
  38670. ",
  38671. "f",
  38672. "",
  38673. "f"
  38674. );
  38675. insert into sysbldobjdepends
  38676. (
  38677. bld_id,
  38678. obj_kind,
  38679. obj_signature,
  38680. obj_owner,
  38681. need_obj_kind,
  38682. need_obj_signature,
  38683. need_obj_owner)
  38684. values
  38685. (
  38686. "%SYSBLDNAME%",
  38687. 69, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38688. "%SYSBLDUSER%",
  38689. 5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38690. "%SYSBLDUSER%"
  38691. );
  38692. insert into sysbldobjects
  38693. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38694. create_can_fail, drop_sql, drop_can_fail)
  38695. values
  38696. (
  38697. "%SYSBLDNAME%", 5, "ts_agg_row_fin (TimeSeriesAggState)",
  38698. "%SYSBLDUSER%", 0,
  38699. "create function ts_agg_row_fin (TimeSeriesAggState)
  38700. returns TimeSeriesAggState with (not variant, handlesnulls)
  38701. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  38702. ",
  38703. "f",
  38704. "drop function ts_agg_row_fin (TimeSeriesAggState);
  38705. ",
  38706. "f"
  38707. );
  38708. insert into sysbldobjdepends
  38709. (
  38710. bld_id,
  38711. obj_kind,
  38712. obj_signature,
  38713. obj_owner,
  38714. need_obj_kind,
  38715. need_obj_signature,
  38716. need_obj_owner)
  38717. values
  38718. (
  38719. "%SYSBLDNAME%",
  38720. 5, "ts_agg_row_fin (TimeSeriesAggState)",
  38721. "%SYSBLDUSER%",
  38722. 7, "TimeSeriesAggState",
  38723. "%SYSBLDUSER%"
  38724. );
  38725. insert into sysbldobjects
  38726. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38727. create_can_fail, drop_sql, drop_can_fail)
  38728. values
  38729. (
  38730. "%SYSBLDNAME%", 69, "ts_agg_row_fin (TimeSeriesAggState)",
  38731. "%SYSBLDUSER%", 0,
  38732. "grant execute on function ts_agg_row_fin (TimeSeriesAggState) to public;
  38733. ",
  38734. "f",
  38735. "",
  38736. "f"
  38737. );
  38738. insert into sysbldobjdepends
  38739. (
  38740. bld_id,
  38741. obj_kind,
  38742. obj_signature,
  38743. obj_owner,
  38744. need_obj_kind,
  38745. need_obj_signature,
  38746. need_obj_owner)
  38747. values
  38748. (
  38749. "%SYSBLDNAME%",
  38750. 69, "ts_agg_row_fin (TimeSeriesAggState)",
  38751. "%SYSBLDUSER%",
  38752. 5, "ts_agg_row_fin (TimeSeriesAggState)",
  38753. "%SYSBLDUSER%"
  38754. );
  38755. insert into sysbldobjects
  38756. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38757. create_can_fail, drop_sql, drop_can_fail)
  38758. values
  38759. (
  38760. "%SYSBLDNAME%", 0, "TsRowToList (row)",
  38761. "%SYSBLDUSER%", 0,
  38762. "create aggregate TsRowToList
  38763. with (
  38764. init = ts_agg_row_init,
  38765. iter = ts_agg_row_iter,
  38766. combine = ts_agg_row_comb,
  38767. final = ts_agg_row_fin,
  38768. handlesnulls
  38769. );
  38770. ",
  38771. "f",
  38772. "drop aggregate TsRowToList;
  38773. ",
  38774. "f"
  38775. );
  38776. insert into sysbldobjdepends
  38777. (
  38778. bld_id,
  38779. obj_kind,
  38780. obj_signature,
  38781. obj_owner,
  38782. need_obj_kind,
  38783. need_obj_signature,
  38784. need_obj_owner)
  38785. values
  38786. (
  38787. "%SYSBLDNAME%",
  38788. 0, "TsRowToList (row)",
  38789. "%SYSBLDUSER%",
  38790. 7, "TimeSeriesAggState",
  38791. "%SYSBLDUSER%"
  38792. );
  38793. insert into sysbldobjects
  38794. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38795. create_can_fail, drop_sql, drop_can_fail)
  38796. values
  38797. (
  38798. "%SYSBLDNAME%", 5, "ts_agg_rownum_init (row,integer)",
  38799. "%SYSBLDUSER%", 0,
  38800. "create function ts_agg_rownum_init (row,integer)
  38801. returns TimeSeriesAggState with (not variant, handlesnulls)
  38802. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_colnum_init)"" language c;
  38803. ",
  38804. "f",
  38805. "drop function ts_agg_rownum_init (row,integer);
  38806. ",
  38807. "f"
  38808. );
  38809. insert into sysbldobjdepends
  38810. (
  38811. bld_id,
  38812. obj_kind,
  38813. obj_signature,
  38814. obj_owner,
  38815. need_obj_kind,
  38816. need_obj_signature,
  38817. need_obj_owner)
  38818. values
  38819. (
  38820. "%SYSBLDNAME%",
  38821. 5, "ts_agg_rownum_init (row,integer)",
  38822. "%SYSBLDUSER%",
  38823. 7, "TimeSeriesAggState",
  38824. "%SYSBLDUSER%"
  38825. );
  38826. insert into sysbldobjects
  38827. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38828. create_can_fail, drop_sql, drop_can_fail)
  38829. values
  38830. (
  38831. "%SYSBLDNAME%", 69, "ts_agg_rownum_init (row,integer)",
  38832. "%SYSBLDUSER%", 0,
  38833. "grant execute on function ts_agg_rownum_init (row,integer) to public;
  38834. ",
  38835. "f",
  38836. "",
  38837. "f"
  38838. );
  38839. insert into sysbldobjdepends
  38840. (
  38841. bld_id,
  38842. obj_kind,
  38843. obj_signature,
  38844. obj_owner,
  38845. need_obj_kind,
  38846. need_obj_signature,
  38847. need_obj_owner)
  38848. values
  38849. (
  38850. "%SYSBLDNAME%",
  38851. 69, "ts_agg_rownum_init (row,integer)",
  38852. "%SYSBLDUSER%",
  38853. 5, "ts_agg_rownum_init (row,integer)",
  38854. "%SYSBLDUSER%"
  38855. );
  38856. insert into sysbldobjects
  38857. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38858. create_can_fail, drop_sql, drop_can_fail)
  38859. values
  38860. (
  38861. "%SYSBLDNAME%", 5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
  38862. "%SYSBLDUSER%", 0,
  38863. "create function ts_agg_rownum_iter (TimeSeriesAggState,row)
  38864. returns TimeSeriesAggState with (not variant, handlesnulls)
  38865. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;
  38866. ",
  38867. "f",
  38868. "drop function ts_agg_rownum_iter (TimeSeriesAggState,row);
  38869. ",
  38870. "f"
  38871. );
  38872. insert into sysbldobjdepends
  38873. (
  38874. bld_id,
  38875. obj_kind,
  38876. obj_signature,
  38877. obj_owner,
  38878. need_obj_kind,
  38879. need_obj_signature,
  38880. need_obj_owner)
  38881. values
  38882. (
  38883. "%SYSBLDNAME%",
  38884. 5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
  38885. "%SYSBLDUSER%",
  38886. 7, "TimeSeriesAggState",
  38887. "%SYSBLDUSER%"
  38888. );
  38889. insert into sysbldobjects
  38890. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38891. create_can_fail, drop_sql, drop_can_fail)
  38892. values
  38893. (
  38894. "%SYSBLDNAME%", 69, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
  38895. "%SYSBLDUSER%", 0,
  38896. "grant execute on function ts_agg_rownum_iter (TimeSeriesAggState,row) to public;
  38897. ",
  38898. "f",
  38899. "",
  38900. "f"
  38901. );
  38902. insert into sysbldobjdepends
  38903. (
  38904. bld_id,
  38905. obj_kind,
  38906. obj_signature,
  38907. obj_owner,
  38908. need_obj_kind,
  38909. need_obj_signature,
  38910. need_obj_owner)
  38911. values
  38912. (
  38913. "%SYSBLDNAME%",
  38914. 69, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
  38915. "%SYSBLDUSER%",
  38916. 5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
  38917. "%SYSBLDUSER%"
  38918. );
  38919. insert into sysbldobjects
  38920. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38921. create_can_fail, drop_sql, drop_can_fail)
  38922. values
  38923. (
  38924. "%SYSBLDNAME%", 5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38925. "%SYSBLDUSER%", 0,
  38926. "create function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)
  38927. returns TimeSeriesAggState with (not variant, handlesnulls)
  38928. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  38929. ",
  38930. "f",
  38931. "drop function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState);
  38932. ",
  38933. "f"
  38934. );
  38935. insert into sysbldobjdepends
  38936. (
  38937. bld_id,
  38938. obj_kind,
  38939. obj_signature,
  38940. obj_owner,
  38941. need_obj_kind,
  38942. need_obj_signature,
  38943. need_obj_owner)
  38944. values
  38945. (
  38946. "%SYSBLDNAME%",
  38947. 5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38948. "%SYSBLDUSER%",
  38949. 7, "TimeSeriesAggState",
  38950. "%SYSBLDUSER%"
  38951. );
  38952. insert into sysbldobjects
  38953. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38954. create_can_fail, drop_sql, drop_can_fail)
  38955. values
  38956. (
  38957. "%SYSBLDNAME%", 69, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38958. "%SYSBLDUSER%", 0,
  38959. "grant execute on function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState) to public;
  38960. ",
  38961. "f",
  38962. "",
  38963. "f"
  38964. );
  38965. insert into sysbldobjdepends
  38966. (
  38967. bld_id,
  38968. obj_kind,
  38969. obj_signature,
  38970. obj_owner,
  38971. need_obj_kind,
  38972. need_obj_signature,
  38973. need_obj_owner)
  38974. values
  38975. (
  38976. "%SYSBLDNAME%",
  38977. 69, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38978. "%SYSBLDUSER%",
  38979. 5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
  38980. "%SYSBLDUSER%"
  38981. );
  38982. insert into sysbldobjects
  38983. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  38984. create_can_fail, drop_sql, drop_can_fail)
  38985. values
  38986. (
  38987. "%SYSBLDNAME%", 5, "ts_agg_rownum_fin (TimeSeriesAggState)",
  38988. "%SYSBLDUSER%", 0,
  38989. "create function ts_agg_rownum_fin (TimeSeriesAggState)
  38990. returns TimeSeriesAggState with (not variant, handlesnulls)
  38991. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  38992. ",
  38993. "f",
  38994. "drop function ts_agg_rownum_fin (TimeSeriesAggState);
  38995. ",
  38996. "f"
  38997. );
  38998. insert into sysbldobjdepends
  38999. (
  39000. bld_id,
  39001. obj_kind,
  39002. obj_signature,
  39003. obj_owner,
  39004. need_obj_kind,
  39005. need_obj_signature,
  39006. need_obj_owner)
  39007. values
  39008. (
  39009. "%SYSBLDNAME%",
  39010. 5, "ts_agg_rownum_fin (TimeSeriesAggState)",
  39011. "%SYSBLDUSER%",
  39012. 7, "TimeSeriesAggState",
  39013. "%SYSBLDUSER%"
  39014. );
  39015. insert into sysbldobjects
  39016. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39017. create_can_fail, drop_sql, drop_can_fail)
  39018. values
  39019. (
  39020. "%SYSBLDNAME%", 69, "ts_agg_rownum_fin (TimeSeriesAggState)",
  39021. "%SYSBLDUSER%", 0,
  39022. "grant execute on function ts_agg_rownum_fin (TimeSeriesAggState) to public;
  39023. ",
  39024. "f",
  39025. "",
  39026. "f"
  39027. );
  39028. insert into sysbldobjdepends
  39029. (
  39030. bld_id,
  39031. obj_kind,
  39032. obj_signature,
  39033. obj_owner,
  39034. need_obj_kind,
  39035. need_obj_signature,
  39036. need_obj_owner)
  39037. values
  39038. (
  39039. "%SYSBLDNAME%",
  39040. 69, "ts_agg_rownum_fin (TimeSeriesAggState)",
  39041. "%SYSBLDUSER%",
  39042. 5, "ts_agg_rownum_fin (TimeSeriesAggState)",
  39043. "%SYSBLDUSER%"
  39044. );
  39045. insert into sysbldobjects
  39046. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39047. create_can_fail, drop_sql, drop_can_fail)
  39048. values
  39049. (
  39050. "%SYSBLDNAME%", 0, "TsRowNumToList (row)",
  39051. "%SYSBLDUSER%", 0,
  39052. "create aggregate TsRowNumToList
  39053. with (
  39054. init = ts_agg_rownum_init,
  39055. iter = ts_agg_rownum_iter,
  39056. combine = ts_agg_rownum_comb,
  39057. final = ts_agg_rownum_fin,
  39058. handlesnulls
  39059. );
  39060. ",
  39061. "f",
  39062. "drop aggregate TsRowNumToList;
  39063. ",
  39064. "f"
  39065. );
  39066. insert into sysbldobjdepends
  39067. (
  39068. bld_id,
  39069. obj_kind,
  39070. obj_signature,
  39071. obj_owner,
  39072. need_obj_kind,
  39073. need_obj_signature,
  39074. need_obj_owner)
  39075. values
  39076. (
  39077. "%SYSBLDNAME%",
  39078. 0, "TsRowNumToList (row)",
  39079. "%SYSBLDUSER%",
  39080. 7, "TimeSeriesAggState",
  39081. "%SYSBLDUSER%"
  39082. );
  39083. insert into sysbldobjects
  39084. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39085. create_can_fail, drop_sql, drop_can_fail)
  39086. values
  39087. (
  39088. "%SYSBLDNAME%", 5, "ts_agg_rownam_init (row,lvarchar)",
  39089. "%SYSBLDUSER%", 0,
  39090. "create function ts_agg_rownam_init (row,lvarchar)
  39091. returns TimeSeriesAggState with (not variant, handlesnulls)
  39092. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_colname_init)"" language c;
  39093. ",
  39094. "f",
  39095. "drop function ts_agg_rownam_init (row,lvarchar);
  39096. ",
  39097. "f"
  39098. );
  39099. insert into sysbldobjdepends
  39100. (
  39101. bld_id,
  39102. obj_kind,
  39103. obj_signature,
  39104. obj_owner,
  39105. need_obj_kind,
  39106. need_obj_signature,
  39107. need_obj_owner)
  39108. values
  39109. (
  39110. "%SYSBLDNAME%",
  39111. 5, "ts_agg_rownam_init (row,lvarchar)",
  39112. "%SYSBLDUSER%",
  39113. 7, "TimeSeriesAggState",
  39114. "%SYSBLDUSER%"
  39115. );
  39116. insert into sysbldobjects
  39117. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39118. create_can_fail, drop_sql, drop_can_fail)
  39119. values
  39120. (
  39121. "%SYSBLDNAME%", 69, "ts_agg_rownam_init (row,lvarchar)",
  39122. "%SYSBLDUSER%", 0,
  39123. "grant execute on function ts_agg_rownam_init (row,lvarchar) to public;
  39124. ",
  39125. "f",
  39126. "",
  39127. "f"
  39128. );
  39129. insert into sysbldobjdepends
  39130. (
  39131. bld_id,
  39132. obj_kind,
  39133. obj_signature,
  39134. obj_owner,
  39135. need_obj_kind,
  39136. need_obj_signature,
  39137. need_obj_owner)
  39138. values
  39139. (
  39140. "%SYSBLDNAME%",
  39141. 69, "ts_agg_rownam_init (row,lvarchar)",
  39142. "%SYSBLDUSER%",
  39143. 5, "ts_agg_rownam_init (row,lvarchar)",
  39144. "%SYSBLDUSER%"
  39145. );
  39146. insert into sysbldobjects
  39147. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39148. create_can_fail, drop_sql, drop_can_fail)
  39149. values
  39150. (
  39151. "%SYSBLDNAME%", 5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
  39152. "%SYSBLDUSER%", 0,
  39153. "create function ts_agg_rownam_iter (TimeSeriesAggState,row)
  39154. returns TimeSeriesAggState with (not variant, handlesnulls)
  39155. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;
  39156. ",
  39157. "f",
  39158. "drop function ts_agg_rownam_iter (TimeSeriesAggState,row);
  39159. ",
  39160. "f"
  39161. );
  39162. insert into sysbldobjdepends
  39163. (
  39164. bld_id,
  39165. obj_kind,
  39166. obj_signature,
  39167. obj_owner,
  39168. need_obj_kind,
  39169. need_obj_signature,
  39170. need_obj_owner)
  39171. values
  39172. (
  39173. "%SYSBLDNAME%",
  39174. 5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
  39175. "%SYSBLDUSER%",
  39176. 7, "TimeSeriesAggState",
  39177. "%SYSBLDUSER%"
  39178. );
  39179. insert into sysbldobjects
  39180. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39181. create_can_fail, drop_sql, drop_can_fail)
  39182. values
  39183. (
  39184. "%SYSBLDNAME%", 69, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
  39185. "%SYSBLDUSER%", 0,
  39186. "grant execute on function ts_agg_rownam_iter (TimeSeriesAggState,row) to public;
  39187. ",
  39188. "f",
  39189. "",
  39190. "f"
  39191. );
  39192. insert into sysbldobjdepends
  39193. (
  39194. bld_id,
  39195. obj_kind,
  39196. obj_signature,
  39197. obj_owner,
  39198. need_obj_kind,
  39199. need_obj_signature,
  39200. need_obj_owner)
  39201. values
  39202. (
  39203. "%SYSBLDNAME%",
  39204. 69, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
  39205. "%SYSBLDUSER%",
  39206. 5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
  39207. "%SYSBLDUSER%"
  39208. );
  39209. insert into sysbldobjects
  39210. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39211. create_can_fail, drop_sql, drop_can_fail)
  39212. values
  39213. (
  39214. "%SYSBLDNAME%", 5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  39215. "%SYSBLDUSER%", 0,
  39216. "create function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)
  39217. returns TimeSeriesAggState with (not variant, handlesnulls)
  39218. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;
  39219. ",
  39220. "f",
  39221. "drop function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState);
  39222. ",
  39223. "f"
  39224. );
  39225. insert into sysbldobjdepends
  39226. (
  39227. bld_id,
  39228. obj_kind,
  39229. obj_signature,
  39230. obj_owner,
  39231. need_obj_kind,
  39232. need_obj_signature,
  39233. need_obj_owner)
  39234. values
  39235. (
  39236. "%SYSBLDNAME%",
  39237. 5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  39238. "%SYSBLDUSER%",
  39239. 7, "TimeSeriesAggState",
  39240. "%SYSBLDUSER%"
  39241. );
  39242. insert into sysbldobjects
  39243. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39244. create_can_fail, drop_sql, drop_can_fail)
  39245. values
  39246. (
  39247. "%SYSBLDNAME%", 69, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  39248. "%SYSBLDUSER%", 0,
  39249. "grant execute on function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState) to public;
  39250. ",
  39251. "f",
  39252. "",
  39253. "f"
  39254. );
  39255. insert into sysbldobjdepends
  39256. (
  39257. bld_id,
  39258. obj_kind,
  39259. obj_signature,
  39260. obj_owner,
  39261. need_obj_kind,
  39262. need_obj_signature,
  39263. need_obj_owner)
  39264. values
  39265. (
  39266. "%SYSBLDNAME%",
  39267. 69, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  39268. "%SYSBLDUSER%",
  39269. 5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
  39270. "%SYSBLDUSER%"
  39271. );
  39272. insert into sysbldobjects
  39273. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39274. create_can_fail, drop_sql, drop_can_fail)
  39275. values
  39276. (
  39277. "%SYSBLDNAME%", 5, "ts_agg_rownam_fin (TimeSeriesAggState)",
  39278. "%SYSBLDUSER%", 0,
  39279. "create function ts_agg_rownam_fin (TimeSeriesAggState)
  39280. returns TimeSeriesAggState with (not variant, handlesnulls)
  39281. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;
  39282. ",
  39283. "f",
  39284. "drop function ts_agg_rownam_fin (TimeSeriesAggState);
  39285. ",
  39286. "f"
  39287. );
  39288. insert into sysbldobjdepends
  39289. (
  39290. bld_id,
  39291. obj_kind,
  39292. obj_signature,
  39293. obj_owner,
  39294. need_obj_kind,
  39295. need_obj_signature,
  39296. need_obj_owner)
  39297. values
  39298. (
  39299. "%SYSBLDNAME%",
  39300. 5, "ts_agg_rownam_fin (TimeSeriesAggState)",
  39301. "%SYSBLDUSER%",
  39302. 7, "TimeSeriesAggState",
  39303. "%SYSBLDUSER%"
  39304. );
  39305. insert into sysbldobjects
  39306. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39307. create_can_fail, drop_sql, drop_can_fail)
  39308. values
  39309. (
  39310. "%SYSBLDNAME%", 69, "ts_agg_rownam_fin (TimeSeriesAggState)",
  39311. "%SYSBLDUSER%", 0,
  39312. "grant execute on function ts_agg_rownam_fin (TimeSeriesAggState) to public;
  39313. ",
  39314. "f",
  39315. "",
  39316. "f"
  39317. );
  39318. insert into sysbldobjdepends
  39319. (
  39320. bld_id,
  39321. obj_kind,
  39322. obj_signature,
  39323. obj_owner,
  39324. need_obj_kind,
  39325. need_obj_signature,
  39326. need_obj_owner)
  39327. values
  39328. (
  39329. "%SYSBLDNAME%",
  39330. 69, "ts_agg_rownam_fin (TimeSeriesAggState)",
  39331. "%SYSBLDUSER%",
  39332. 5, "ts_agg_rownam_fin (TimeSeriesAggState)",
  39333. "%SYSBLDUSER%"
  39334. );
  39335. insert into sysbldobjects
  39336. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39337. create_can_fail, drop_sql, drop_can_fail)
  39338. values
  39339. (
  39340. "%SYSBLDNAME%", 0, "TsRowNameToList (row)",
  39341. "%SYSBLDUSER%", 0,
  39342. "create aggregate TsRowNameToList
  39343. with (
  39344. init = ts_agg_rownam_init,
  39345. iter = ts_agg_rownam_iter,
  39346. combine = ts_agg_rownam_comb,
  39347. final = ts_agg_rownam_fin,
  39348. handlesnulls
  39349. );
  39350. ",
  39351. "f",
  39352. "drop aggregate TsRowNameToList;
  39353. ",
  39354. "f"
  39355. );
  39356. insert into sysbldobjdepends
  39357. (
  39358. bld_id,
  39359. obj_kind,
  39360. obj_signature,
  39361. obj_owner,
  39362. need_obj_kind,
  39363. need_obj_signature,
  39364. need_obj_owner)
  39365. values
  39366. (
  39367. "%SYSBLDNAME%",
  39368. 0, "TsRowNameToList (row)",
  39369. "%SYSBLDUSER%",
  39370. 7, "TimeSeriesAggState",
  39371. "%SYSBLDUSER%"
  39372. );
  39373. insert into sysbldobjects
  39374. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39375. create_can_fail, drop_sql, drop_can_fail)
  39376. values
  39377. (
  39378. "%SYSBLDNAME%", 5, "TSRollup_Init (TimeSeries,lvarchar)",
  39379. "%SYSBLDUSER%", 0,
  39380. "create function TSRollup_Init (TimeSeries,lvarchar)
  39381. returns TSRollup_t with (handlesnulls, parallelizable)
  39382. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_init)"" language c;
  39383. ",
  39384. "f",
  39385. "drop function TSRollup_Init (TimeSeries,lvarchar);
  39386. ",
  39387. "f"
  39388. );
  39389. insert into sysbldobjdepends
  39390. (
  39391. bld_id,
  39392. obj_kind,
  39393. obj_signature,
  39394. obj_owner,
  39395. need_obj_kind,
  39396. need_obj_signature,
  39397. need_obj_owner)
  39398. values
  39399. (
  39400. "%SYSBLDNAME%",
  39401. 5, "TSRollup_Init (TimeSeries,lvarchar)",
  39402. "%SYSBLDUSER%",
  39403. 7, "TimeSeries",
  39404. "%SYSBLDUSER%"
  39405. );
  39406. insert into sysbldobjdepends
  39407. (
  39408. bld_id,
  39409. obj_kind,
  39410. obj_signature,
  39411. obj_owner,
  39412. need_obj_kind,
  39413. need_obj_signature,
  39414. need_obj_owner)
  39415. values
  39416. (
  39417. "%SYSBLDNAME%",
  39418. 5, "TSRollup_Init (TimeSeries,lvarchar)",
  39419. "%SYSBLDUSER%",
  39420. 7, "TSRollup_t",
  39421. "%SYSBLDUSER%"
  39422. );
  39423. insert into sysbldobjects
  39424. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39425. create_can_fail, drop_sql, drop_can_fail)
  39426. values
  39427. (
  39428. "%SYSBLDNAME%", 69, "TSRollup_Init (TimeSeries,lvarchar)",
  39429. "%SYSBLDUSER%", 0,
  39430. "grant execute on function TSRollup_Init (TimeSeries,lvarchar) to public;
  39431. ",
  39432. "f",
  39433. "",
  39434. "f"
  39435. );
  39436. insert into sysbldobjdepends
  39437. (
  39438. bld_id,
  39439. obj_kind,
  39440. obj_signature,
  39441. obj_owner,
  39442. need_obj_kind,
  39443. need_obj_signature,
  39444. need_obj_owner)
  39445. values
  39446. (
  39447. "%SYSBLDNAME%",
  39448. 69, "TSRollup_Init (TimeSeries,lvarchar)",
  39449. "%SYSBLDUSER%",
  39450. 5, "TSRollup_Init (TimeSeries,lvarchar)",
  39451. "%SYSBLDUSER%"
  39452. );
  39453. insert into sysbldobjects
  39454. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39455. create_can_fail, drop_sql, drop_can_fail)
  39456. values
  39457. (
  39458. "%SYSBLDNAME%", 5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39459. "%SYSBLDUSER%", 0,
  39460. "create function TSRollup_Iter (TSRollup_t,TimeSeries)
  39461. returns TSRollup_t with (handlesnulls, parallelizable)
  39462. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_iter)"" language c;
  39463. ",
  39464. "f",
  39465. "drop function TSRollup_Iter (TSRollup_t,TimeSeries);
  39466. ",
  39467. "f"
  39468. );
  39469. insert into sysbldobjdepends
  39470. (
  39471. bld_id,
  39472. obj_kind,
  39473. obj_signature,
  39474. obj_owner,
  39475. need_obj_kind,
  39476. need_obj_signature,
  39477. need_obj_owner)
  39478. values
  39479. (
  39480. "%SYSBLDNAME%",
  39481. 5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39482. "%SYSBLDUSER%",
  39483. 7, "TimeSeries",
  39484. "%SYSBLDUSER%"
  39485. );
  39486. insert into sysbldobjdepends
  39487. (
  39488. bld_id,
  39489. obj_kind,
  39490. obj_signature,
  39491. obj_owner,
  39492. need_obj_kind,
  39493. need_obj_signature,
  39494. need_obj_owner)
  39495. values
  39496. (
  39497. "%SYSBLDNAME%",
  39498. 5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39499. "%SYSBLDUSER%",
  39500. 7, "TSRollup_t",
  39501. "%SYSBLDUSER%"
  39502. );
  39503. insert into sysbldobjects
  39504. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39505. create_can_fail, drop_sql, drop_can_fail)
  39506. values
  39507. (
  39508. "%SYSBLDNAME%", 69, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39509. "%SYSBLDUSER%", 0,
  39510. "grant execute on function TSRollup_Iter (TSRollup_t,TimeSeries) to public;
  39511. ",
  39512. "f",
  39513. "",
  39514. "f"
  39515. );
  39516. insert into sysbldobjdepends
  39517. (
  39518. bld_id,
  39519. obj_kind,
  39520. obj_signature,
  39521. obj_owner,
  39522. need_obj_kind,
  39523. need_obj_signature,
  39524. need_obj_owner)
  39525. values
  39526. (
  39527. "%SYSBLDNAME%",
  39528. 69, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39529. "%SYSBLDUSER%",
  39530. 5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
  39531. "%SYSBLDUSER%"
  39532. );
  39533. insert into sysbldobjects
  39534. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39535. create_can_fail, drop_sql, drop_can_fail)
  39536. values
  39537. (
  39538. "%SYSBLDNAME%", 5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
  39539. "%SYSBLDUSER%", 0,
  39540. "create function TSRollup_Combine (TSRollup_t,TSRollup_t)
  39541. returns TSRollup_t with (handlesnulls, parallelizable)
  39542. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_combine)"" language c;
  39543. ",
  39544. "f",
  39545. "drop function TSRollup_Combine (TSRollup_t,TSRollup_t);
  39546. ",
  39547. "f"
  39548. );
  39549. insert into sysbldobjdepends
  39550. (
  39551. bld_id,
  39552. obj_kind,
  39553. obj_signature,
  39554. obj_owner,
  39555. need_obj_kind,
  39556. need_obj_signature,
  39557. need_obj_owner)
  39558. values
  39559. (
  39560. "%SYSBLDNAME%",
  39561. 5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
  39562. "%SYSBLDUSER%",
  39563. 7, "TSRollup_t",
  39564. "%SYSBLDUSER%"
  39565. );
  39566. insert into sysbldobjects
  39567. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39568. create_can_fail, drop_sql, drop_can_fail)
  39569. values
  39570. (
  39571. "%SYSBLDNAME%", 69, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
  39572. "%SYSBLDUSER%", 0,
  39573. "grant execute on function TSRollup_Combine (TSRollup_t,TSRollup_t) to public;
  39574. ",
  39575. "f",
  39576. "",
  39577. "f"
  39578. );
  39579. insert into sysbldobjdepends
  39580. (
  39581. bld_id,
  39582. obj_kind,
  39583. obj_signature,
  39584. obj_owner,
  39585. need_obj_kind,
  39586. need_obj_signature,
  39587. need_obj_owner)
  39588. values
  39589. (
  39590. "%SYSBLDNAME%",
  39591. 69, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
  39592. "%SYSBLDUSER%",
  39593. 5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
  39594. "%SYSBLDUSER%"
  39595. );
  39596. insert into sysbldobjects
  39597. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39598. create_can_fail, drop_sql, drop_can_fail)
  39599. values
  39600. (
  39601. "%SYSBLDNAME%", 5, "TSRollup_Final (TSRollup_t)",
  39602. "%SYSBLDUSER%", 0,
  39603. "create function TSRollup_Final (TSRollup_t)
  39604. returns TimeSeries with (handlesnulls, parallelizable)
  39605. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_final)"" language c;
  39606. ",
  39607. "f",
  39608. "drop function TSRollup_Final (TSRollup_t);
  39609. ",
  39610. "f"
  39611. );
  39612. insert into sysbldobjdepends
  39613. (
  39614. bld_id,
  39615. obj_kind,
  39616. obj_signature,
  39617. obj_owner,
  39618. need_obj_kind,
  39619. need_obj_signature,
  39620. need_obj_owner)
  39621. values
  39622. (
  39623. "%SYSBLDNAME%",
  39624. 5, "TSRollup_Final (TSRollup_t)",
  39625. "%SYSBLDUSER%",
  39626. 7, "TimeSeries",
  39627. "%SYSBLDUSER%"
  39628. );
  39629. insert into sysbldobjdepends
  39630. (
  39631. bld_id,
  39632. obj_kind,
  39633. obj_signature,
  39634. obj_owner,
  39635. need_obj_kind,
  39636. need_obj_signature,
  39637. need_obj_owner)
  39638. values
  39639. (
  39640. "%SYSBLDNAME%",
  39641. 5, "TSRollup_Final (TSRollup_t)",
  39642. "%SYSBLDUSER%",
  39643. 7, "TSRollup_t",
  39644. "%SYSBLDUSER%"
  39645. );
  39646. insert into sysbldobjects
  39647. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39648. create_can_fail, drop_sql, drop_can_fail)
  39649. values
  39650. (
  39651. "%SYSBLDNAME%", 69, "TSRollup_Final (TSRollup_t)",
  39652. "%SYSBLDUSER%", 0,
  39653. "grant execute on function TSRollup_Final (TSRollup_t) to public;
  39654. ",
  39655. "f",
  39656. "",
  39657. "f"
  39658. );
  39659. insert into sysbldobjdepends
  39660. (
  39661. bld_id,
  39662. obj_kind,
  39663. obj_signature,
  39664. obj_owner,
  39665. need_obj_kind,
  39666. need_obj_signature,
  39667. need_obj_owner)
  39668. values
  39669. (
  39670. "%SYSBLDNAME%",
  39671. 69, "TSRollup_Final (TSRollup_t)",
  39672. "%SYSBLDUSER%",
  39673. 5, "TSRollup_Final (TSRollup_t)",
  39674. "%SYSBLDUSER%"
  39675. );
  39676. insert into sysbldobjects
  39677. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39678. create_can_fail, drop_sql, drop_can_fail)
  39679. values
  39680. (
  39681. "%SYSBLDNAME%", 0, "TSRollup (TimeSeries)",
  39682. "%SYSBLDUSER%", 0,
  39683. "create aggregate TSRollup
  39684. with (
  39685. init = TSRollup_Init,
  39686. iter = TSRollup_Iter,
  39687. combine = TSRollup_Combine,
  39688. final = TSRollup_Final,
  39689. handlesnulls
  39690. );
  39691. ",
  39692. "f",
  39693. "drop aggregate TSRollup;
  39694. ",
  39695. "f"
  39696. );
  39697. insert into sysbldobjdepends
  39698. (
  39699. bld_id,
  39700. obj_kind,
  39701. obj_signature,
  39702. obj_owner,
  39703. need_obj_kind,
  39704. need_obj_signature,
  39705. need_obj_owner)
  39706. values
  39707. (
  39708. "%SYSBLDNAME%",
  39709. 0, "TSRollup (TimeSeries)",
  39710. "%SYSBLDUSER%",
  39711. 7, "TimeSeries",
  39712. "%SYSBLDUSER%"
  39713. );
  39714. insert into sysbldobjdepends
  39715. (
  39716. bld_id,
  39717. obj_kind,
  39718. obj_signature,
  39719. obj_owner,
  39720. need_obj_kind,
  39721. need_obj_signature,
  39722. need_obj_owner)
  39723. values
  39724. (
  39725. "%SYSBLDNAME%",
  39726. 0, "TSRollup (TimeSeries)",
  39727. "%SYSBLDUSER%",
  39728. 7, "TSRollup_t",
  39729. "%SYSBLDUSER%"
  39730. );
  39731. insert into sysbldobjects
  39732. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39733. create_can_fail, drop_sql, drop_can_fail)
  39734. values
  39735. (
  39736. "%SYSBLDNAME%", 0, "tscontainerwindowtable_wdc",
  39737. "%SYSBLDUSER%", 0,
  39738. "ALTER TABLE tscontainerwindowtable ADD windowdordestroycount integer default 0;",
  39739. "f",
  39740. "
  39741. CREATE PROCEDURE tsalterdcwcwt();
  39742. define drop_wt integer;
  39743. let drop_wt = 0;
  39744. select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';
  39745. if (drop_wt != 0) then
  39746. ALTER TABLE tscontainerwindowtable DROP windowdordestroycount;
  39747. end if;
  39748. END PROCEDURE;
  39749. EXECUTE PROCEDURE tsalterdcwcwt();
  39750. DROP PROCEDURE tsalterdcwcwt();
  39751. ",
  39752. "f"
  39753. );
  39754. insert into sysbldobjdepends
  39755. (
  39756. bld_id,
  39757. obj_kind,
  39758. obj_signature,
  39759. obj_owner,
  39760. need_obj_kind,
  39761. need_obj_signature,
  39762. need_obj_owner)
  39763. values
  39764. (
  39765. "%SYSBLDNAME%",
  39766. 0, "tscontainerwindowtable_wdc",
  39767. "%SYSBLDUSER%",
  39768. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  39769. "%SYSBLDUSER%"
  39770. );
  39771. insert into sysbldobjects
  39772. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39773. create_can_fail, drop_sql, drop_can_fail)
  39774. values
  39775. (
  39776. "%SYSBLDNAME%", 0, "tscontainerwindowtable_wfc",
  39777. "%SYSBLDUSER%", 0,
  39778. "ALTER TABLE tscontainerwindowtable ADD windowfutureinsertcount integer default 0;",
  39779. "f",
  39780. "
  39781. CREATE PROCEDURE tsalterfuturecount();
  39782. define drop_wt integer;
  39783. let drop_wt = 0;
  39784. select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';
  39785. if (drop_wt != 0) then
  39786. ALTER TABLE tscontainerwindowtable DROP windowfutureinsertcount;
  39787. end if;
  39788. END PROCEDURE;
  39789. EXECUTE PROCEDURE tsalterfuturecount();
  39790. DROP PROCEDURE tsalterfuturecount();
  39791. ",
  39792. "f"
  39793. );
  39794. insert into sysbldobjdepends
  39795. (
  39796. bld_id,
  39797. obj_kind,
  39798. obj_signature,
  39799. obj_owner,
  39800. need_obj_kind,
  39801. need_obj_signature,
  39802. need_obj_owner)
  39803. values
  39804. (
  39805. "%SYSBLDNAME%",
  39806. 0, "tscontainerwindowtable_wfc",
  39807. "%SYSBLDUSER%",
  39808. 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
  39809. "%SYSBLDUSER%"
  39810. );
  39811. insert into sysbldobjects
  39812. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39813. create_can_fail, drop_sql, drop_can_fail)
  39814. values
  39815. (
  39816. "%SYSBLDNAME%", 0, "tsattached_indexes",
  39817. "%SYSBLDUSER%", 0,
  39818. "
  39819. ALTER TABLE tscontainertable MODIFY name VARCHAR( 128,1) NOT NULL;
  39820. CREATE UNIQUE INDEX tscontainertable_pk ON tscontainertable (name) IN TABLE;
  39821. ALTER TABLE tscontainertable ADD
  39822. CONSTRAINT PRIMARY KEY(name)
  39823. CONSTRAINT tscontainertable_cpk;
  39824. ALTER TABLE tsinstancetable MODIFY id BIGSERIAL NOT NULL;
  39825. CREATE UNIQUE INDEX tsinstancetable_id on tsinstancetable(id) IN TABLE;
  39826. ALTER TABLE tscontainerwindowtable MODIFY name VARCHAR( 128,1) NOT NULL;
  39827. CREATE UNIQUE INDEX tscontainerwindowtable_pk on tscontainerwindowtable(name) IN TABLE;
  39828. ALTER TABLE tscontainerwindowtable ADD
  39829. CONSTRAINT FOREIGN KEY(name) REFERENCES tscontainertable(name) ON DELETE CASCADE
  39830. CONSTRAINT tscontainerwindowtable_cfk;
  39831. ALTER TABLE CalendarPatterns MODIFY cp_name VARCHAR(255) NOT NULL;
  39832. CREATE UNIQUE INDEX CalendarPatterns_name on CalendarPatterns(cp_name) IN TABLE;
  39833. ALTER TABLE Calendartable MODIFY c_id SERIAL NOT NULL;
  39834. ALTER TABLE Calendartable MODIFY c_name VARCHAR(255) NOT NULL;
  39835. CREATE UNIQUE INDEX Calendartable_id on Calendartable(c_id) IN TABLE;
  39836. CREATE UNIQUE INDEX Calendartable_name on Calendartable(c_name) IN TABLE;
  39837. ",
  39838. "f",
  39839. "
  39840. -- tscontainerwindowtable_cfk is dropped by the following
  39841. ALTER TABLE tscontainertable DROP CONSTRAINT tscontainertable_cpk;
  39842. DROP INDEX tscontainertable_pk;
  39843. ALTER TABLE tscontainertable MODIFY name VARCHAR( 128,1) NOT NULL PRIMARY KEY;
  39844. ALTER TABLE tsinstancetable MODIFY id BIGSERIAL NOT NULL PRIMARY KEY;
  39845. DROP INDEX tsinstancetable_id;
  39846. CREATE PROCEDURE tsalterpkcwt();
  39847. define drop_wt integer;
  39848. let drop_wt = 0;
  39849. select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';
  39850. if (drop_wt != 0) then
  39851. DROP INDEX tscontainerwindowtable_pk;
  39852. ALTER TABLE tscontainerwindowtable MODIFY name VARCHAR(128,1) NOT NULL PRIMARY KEY
  39853. REFERENCES tscontainertable(name) ON DELETE CASCADE;
  39854. end if;
  39855. END PROCEDURE;
  39856. EXECUTE PROCEDURE tsalterpkcwt();
  39857. DROP PROCEDURE tsalterpkcwt();
  39858. DROP INDEX CalendarPatterns_name;
  39859. ALTER TABLE CalendarPatterns MODIFY cp_name VARCHAR(255) NOT NULL;
  39860. DROP INDEX Calendartable_id;
  39861. DROP INDEX Calendartable_name;
  39862. ALTER TABLE Calendartable MODIFY c_id SERIAL NOT NULL UNIQUE;
  39863. ALTER TABLE Calendartable MODIFY c_name VARCHAR(255) NOT NULL UNIQUE;
  39864. ",
  39865. "f"
  39866. );
  39867. insert into sysbldobjdepends
  39868. (
  39869. bld_id,
  39870. obj_kind,
  39871. obj_signature,
  39872. obj_owner,
  39873. need_obj_kind,
  39874. need_obj_signature,
  39875. need_obj_owner)
  39876. values
  39877. (
  39878. "%SYSBLDNAME%",
  39879. 0, "tsattached_indexes",
  39880. "%SYSBLDUSER%",
  39881. 0, "tscontainertable_128",
  39882. "%SYSBLDUSER%"
  39883. );
  39884. insert into sysbldobjdepends
  39885. (
  39886. bld_id,
  39887. obj_kind,
  39888. obj_signature,
  39889. obj_owner,
  39890. need_obj_kind,
  39891. need_obj_signature,
  39892. need_obj_owner)
  39893. values
  39894. (
  39895. "%SYSBLDNAME%",
  39896. 0, "tsattached_indexes",
  39897. "%SYSBLDUSER%",
  39898. 0, "tsinstancetable_bigint",
  39899. "%SYSBLDUSER%"
  39900. );
  39901. insert into sysbldobjdepends
  39902. (
  39903. bld_id,
  39904. obj_kind,
  39905. obj_signature,
  39906. obj_owner,
  39907. need_obj_kind,
  39908. need_obj_signature,
  39909. need_obj_owner)
  39910. values
  39911. (
  39912. "%SYSBLDNAME%",
  39913. 0, "tsattached_indexes",
  39914. "%SYSBLDUSER%",
  39915. 0, "tscontainerwindowtable",
  39916. "%SYSBLDUSER%"
  39917. );
  39918. insert into sysbldobjdepends
  39919. (
  39920. bld_id,
  39921. obj_kind,
  39922. obj_signature,
  39923. obj_owner,
  39924. need_obj_kind,
  39925. need_obj_signature,
  39926. need_obj_owner)
  39927. values
  39928. (
  39929. "%SYSBLDNAME%",
  39930. 0, "tsattached_indexes",
  39931. "%SYSBLDUSER%",
  39932. 0, "CalendarPattern Table",
  39933. "%SYSBLDUSER%"
  39934. );
  39935. insert into sysbldobjdepends
  39936. (
  39937. bld_id,
  39938. obj_kind,
  39939. obj_signature,
  39940. obj_owner,
  39941. need_obj_kind,
  39942. need_obj_signature,
  39943. need_obj_owner)
  39944. values
  39945. (
  39946. "%SYSBLDNAME%",
  39947. 0, "tsattached_indexes",
  39948. "%SYSBLDUSER%",
  39949. 0, "CalendarTable",
  39950. "%SYSBLDUSER%"
  39951. );
  39952. insert into sysbldobjects
  39953. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39954. create_can_fail, drop_sql, drop_can_fail)
  39955. values
  39956. (
  39957. "%SYSBLDNAME%", 5, "TSInfo (TimeSeries,bson,datetime,datetime)",
  39958. "%SYSBLDUSER%", 0,
  39959. "create function TSInfo (TimeSeries,bson default NULL,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL)
  39960. returns bson with (handlesnulls, parallelizable)
  39961. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_info_bson_sql)"" language c;
  39962. grant execute on function TSInfo (TimeSeries,bson,datetime year to fraction(5),datetime year to fraction(5)) to public;
  39963. ",
  39964. "f",
  39965. "drop function TSInfo (TimeSeries,bson,datetime year to fraction(5),datetime year to fraction(5));
  39966. ",
  39967. "f"
  39968. );
  39969. insert into sysbldobjdepends
  39970. (
  39971. bld_id,
  39972. obj_kind,
  39973. obj_signature,
  39974. obj_owner,
  39975. need_obj_kind,
  39976. need_obj_signature,
  39977. need_obj_owner)
  39978. values
  39979. (
  39980. "%SYSBLDNAME%",
  39981. 5, "TSInfo (TimeSeries,bson,datetime,datetime)",
  39982. "%SYSBLDUSER%",
  39983. 7, "TimeSeries",
  39984. "%SYSBLDUSER%"
  39985. );
  39986. insert into sysbldobjects
  39987. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  39988. create_can_fail, drop_sql, drop_can_fail)
  39989. values
  39990. (
  39991. "%SYSBLDNAME%", 5, "ProjectedClip (TimeSeries,datetime,datetime,integer,lvarchar)",
  39992. "%SYSBLDUSER%", 0,
  39993. "create function ProjectedClip (TimeSeries,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL,integer default 0,lvarchar default NULL)
  39994. returns TimeSeries with (not variant, handlesnulls, parallelizable)
  39995. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_and_project)"" language c;
  39996. grant execute on function ProjectedClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer,lvarchar) to public;
  39997. ",
  39998. "f",
  39999. "drop function ProjectedClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer,lvarchar);
  40000. ",
  40001. "f"
  40002. );
  40003. insert into sysbldobjdepends
  40004. (
  40005. bld_id,
  40006. obj_kind,
  40007. obj_signature,
  40008. obj_owner,
  40009. need_obj_kind,
  40010. need_obj_signature,
  40011. need_obj_owner)
  40012. values
  40013. (
  40014. "%SYSBLDNAME%",
  40015. 5, "ProjectedClip (TimeSeries,datetime,datetime,integer,lvarchar)",
  40016. "%SYSBLDUSER%",
  40017. 7, "TimeSeries",
  40018. "%SYSBLDUSER%"
  40019. );
  40020. insert into sysbldobjects
  40021. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40022. create_can_fail, drop_sql, drop_can_fail)
  40023. values
  40024. (
  40025. "%SYSBLDNAME%", 5, "TSL_ActiveHandles ()",
  40026. "%SYSBLDUSER%", 0,
  40027. "create function TSL_ActiveHandles ()
  40028. returns SET(lvarchar not null)
  40029. with (handlesnulls, parallelizable)
  40030. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_active_handles)"" language c;
  40031. grant execute on function TSL_ActiveHandles () to public;
  40032. ",
  40033. "f",
  40034. "drop function TSL_ActiveHandles ();
  40035. ",
  40036. "f"
  40037. );
  40038. insert into sysbldobjects
  40039. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40040. create_can_fail, drop_sql, drop_can_fail)
  40041. values
  40042. (
  40043. "%SYSBLDNAME%", 5, "TSL_SetNewTS (lvarchar,lvarchar,integer)",
  40044. "%SYSBLDUSER%", 0,
  40045. "create function TSL_SetNewTS (lvarchar, lvarchar DEFAULT NULL, integer DEFAULT NULL)
  40046. returns integer
  40047. with (not variant, handlesnulls, parallelizable)
  40048. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_set_newts)"" language c;
  40049. grant execute on function TSL_SetNewTS (lvarchar,lvarchar,integer) to public;
  40050. ",
  40051. "f",
  40052. "drop function TSL_SetNewTS (lvarchar,lvarchar,integer);
  40053. ",
  40054. "f"
  40055. );
  40056. insert into sysbldobjects
  40057. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40058. create_can_fail, drop_sql, drop_can_fail)
  40059. values
  40060. (
  40061. "%SYSBLDNAME%", 5, "TSL_MessageSet ()",
  40062. "%SYSBLDUSER%", 0,
  40063. "create function TSL_MessageSet ()
  40064. returns SET(ROW(message_id INTEGER, mesg VARCHAR(255)) NOT NULL)
  40065. with (not variant, handlesnulls)
  40066. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_message_set)"" language c;
  40067. grant execute on function TSL_MessageSet () to public;
  40068. ",
  40069. "f",
  40070. "drop function TSL_MessageSet ();
  40071. ",
  40072. "f"
  40073. );
  40074. insert into sysbldobjects
  40075. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40076. create_can_fail, drop_sql, drop_can_fail)
  40077. values
  40078. (
  40079. "%SYSBLDNAME%", 5, "TSL_GetFmtMessage (lvarchar,integer)",
  40080. "%SYSBLDUSER%", 0,
  40081. "create function TSL_GetFmtMessage (lvarchar,integer default 1)
  40082. returns lvarchar
  40083. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getfmtmessages)"" language c;
  40084. grant execute on function TSL_GetFmtMessage (lvarchar,integer) to public;
  40085. ",
  40086. "f",
  40087. "drop function TSL_GetFmtMessage (lvarchar,integer);
  40088. ",
  40089. "f"
  40090. );
  40091. insert into sysbldobjects
  40092. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40093. create_can_fail, drop_sql, drop_can_fail)
  40094. values
  40095. (
  40096. "%SYSBLDNAME%", 5, "TSCBufferSize (TimeSeries)",
  40097. "%SYSBLDUSER%", 0,
  40098. "create function TSCBufferSize (TimeSeries)
  40099. returns bson
  40100. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsc_buffer_size)"" language c;
  40101. ",
  40102. "f",
  40103. "drop function TSCBufferSize (TimeSeries);
  40104. ",
  40105. "f"
  40106. );
  40107. insert into sysbldobjects
  40108. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40109. create_can_fail, drop_sql, drop_can_fail)
  40110. values
  40111. (
  40112. "%SYSBLDNAME%", 69, "TSCBufferSize (TimeSeries)",
  40113. "%SYSBLDUSER%", 0,
  40114. "grant execute on function TSCBufferSize (TimeSeries) to public;
  40115. ",
  40116. "f",
  40117. "",
  40118. "f"
  40119. );
  40120. insert into sysbldobjdepends
  40121. (
  40122. bld_id,
  40123. obj_kind,
  40124. obj_signature,
  40125. obj_owner,
  40126. need_obj_kind,
  40127. need_obj_signature,
  40128. need_obj_owner)
  40129. values
  40130. (
  40131. "%SYSBLDNAME%",
  40132. 69, "TSCBufferSize (TimeSeries)",
  40133. "%SYSBLDUSER%",
  40134. 5, "TSCBufferSize (TimeSeries)",
  40135. "%SYSBLDUSER%"
  40136. );
  40137. insert into sysbldobjects
  40138. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40139. create_can_fail, drop_sql, drop_can_fail)
  40140. values
  40141. (
  40142. "%SYSBLDNAME%", 5, "TSCRunningTotal ()",
  40143. "%SYSBLDUSER%", 0,
  40144. "create function TSCRunningTotal ()
  40145. returns bson
  40146. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsc_running_total)"" language c;
  40147. ",
  40148. "f",
  40149. "drop function TSCRunningTotal ();
  40150. ",
  40151. "f"
  40152. );
  40153. insert into sysbldobjects
  40154. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40155. create_can_fail, drop_sql, drop_can_fail)
  40156. values
  40157. (
  40158. "%SYSBLDNAME%", 69, "TSCRunningTotal ()",
  40159. "%SYSBLDUSER%", 0,
  40160. "grant execute on function TSCRunningTotal () to public;
  40161. ",
  40162. "f",
  40163. "",
  40164. "f"
  40165. );
  40166. insert into sysbldobjdepends
  40167. (
  40168. bld_id,
  40169. obj_kind,
  40170. obj_signature,
  40171. obj_owner,
  40172. need_obj_kind,
  40173. need_obj_signature,
  40174. need_obj_owner)
  40175. values
  40176. (
  40177. "%SYSBLDNAME%",
  40178. 69, "TSCRunningTotal ()",
  40179. "%SYSBLDUSER%",
  40180. 5, "TSCRunningTotal ()",
  40181. "%SYSBLDUSER%"
  40182. );
  40183. insert into sysbldobjdepends
  40184. (
  40185. bld_id,
  40186. obj_kind,
  40187. obj_signature,
  40188. obj_owner,
  40189. need_obj_kind,
  40190. need_obj_signature,
  40191. need_obj_owner)
  40192. values
  40193. (
  40194. "%SYSBLDNAME%",
  40195. 5, "TSCBufferSize (TimeSeries)",
  40196. "%SYSBLDUSER%",
  40197. 7, "TimeSeries",
  40198. "%SYSBLDUSER%"
  40199. );
  40200. insert into sysbldobjects
  40201. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40202. create_can_fail, drop_sql, drop_can_fail)
  40203. values
  40204. (
  40205. "%SYSBLDNAME%", 0, "delete sts all - 2",
  40206. "%SYSBLDUSER%", 0,
  40207. " ",
  40208. "f",
  40209. "
  40210. CREATE PROCEDURE delete_sts_all()
  40211. DEFINE nmajor integer;
  40212. DEFINE nminor integer;
  40213. DEFINE slevel integer;
  40214. define sql_txt1 lvarchar;
  40215. define sql_txt2 lvarchar;
  40216. define tabname_val lvarchar;
  40217. define ts_tabname lvarchar;
  40218. define sp_tabname lvarchar;
  40219. define log_tabname lvarchar;
  40220. define res integer;
  40221. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40222. substr(dbinfo('version','level'), 2,1)::int
  40223. INTO nmajor, nminor, slevel
  40224. FROM systables WHERE tabid = 1;
  40225. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40226. drop function if exists STS_Trajectory_Build (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,
  40227. datetime year to fraction(5),interval day to second,interval day to second);
  40228. drop function if exists STS_Logtable_Get (lvarchar,lvarchar);
  40229. drop function if exists STS_Logtable_Insert (lvarchar,lvarchar,datetime year to fraction(5));
  40230. drop function if exists STS_Logtable_Update (lvarchar,lvarchar,datetime year to fraction(5));
  40231. drop function if exists STS_MBR_Build (TimeSeries,lvarchar,lvarchar,lvarchar,lvarchar);
  40232. drop function if exists STS_GetPosition (TimeSeries,datetime year to fraction(5));
  40233. drop function if exists STS_GetLastPosition (TimeSeries);
  40234. drop function if exists STS_GetFirstTimeByPoint (lvarchar,lvarchar,TimeSeries,
  40235. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40236. drop function if exists STS_GetTrajectory (TimeSeries,datetime year to fraction(5),
  40237. datetime year to fraction(5));
  40238. END IF
  40239. END PROCEDURE;
  40240. EXECUTE PROCEDURE delete_sts_all();
  40241. DROP PROCEDURE delete_sts_all;
  40242. ",
  40243. "f"
  40244. );
  40245. insert into sysbldobjects
  40246. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40247. create_can_fail, drop_sql, drop_can_fail)
  40248. values
  40249. (
  40250. "%SYSBLDNAME%", 0, "delete sts all - 3",
  40251. "%SYSBLDUSER%", 0,
  40252. " ",
  40253. "f",
  40254. "
  40255. CREATE PROCEDURE delete_sts_all()
  40256. DEFINE nmajor integer;
  40257. DEFINE nminor integer;
  40258. DEFINE slevel integer;
  40259. define sql_txt1 lvarchar;
  40260. define sql_txt2 lvarchar;
  40261. define tabname_val lvarchar;
  40262. define ts_tabname lvarchar;
  40263. define sp_tabname lvarchar;
  40264. define log_tabname lvarchar;
  40265. define res integer;
  40266. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40267. substr(dbinfo('version','level'), 2,1)::int
  40268. INTO nmajor, nminor, slevel
  40269. FROM systables WHERE tabid = 1;
  40270. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40271. drop function if exists STS_GetCompactTrajectory (lvarchar,lvarchar,TimeSeries,
  40272. datetime year to fraction(5),datetime year to fraction(5));
  40273. drop function if exists STS_TrajectoryWithin (lvarchar,lvarchar,lvarchar,
  40274. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40275. drop function if exists STS_TrajectoryIntersect (lvarchar,lvarchar,lvarchar,
  40276. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40277. drop function if exists STS_TrajectoryCross (lvarchar,lvarchar,lvarchar,
  40278. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40279. drop function if exists STS_TrajectoryStaying (lvarchar,lvarchar,interval hour to second,
  40280. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40281. drop function if exists STS_TrajectoryDistance (lvarchar,lvarchar,lvarchar,
  40282. datetime year to fraction(5),datetime year to fraction(5),lvarchar);
  40283. drop procedure if exists STS_Set_Trace (lvarchar,lvarchar);
  40284. DELETE FROM systraceclasses WHERE name = 'STSBuild';
  40285. DELETE FROM systraceclasses WHERE name = 'STSQuery';
  40286. END IF
  40287. END PROCEDURE;
  40288. EXECUTE PROCEDURE delete_sts_all();
  40289. DROP PROCEDURE delete_sts_all;
  40290. ",
  40291. "f"
  40292. );
  40293. insert into sysbldobjects
  40294. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40295. create_can_fail, drop_sql, drop_can_fail)
  40296. values
  40297. (
  40298. "%SYSBLDNAME%", 0, "delete sts all - 4",
  40299. "%SYSBLDUSER%", 0,
  40300. " ",
  40301. "f",
  40302. "
  40303. CREATE PROCEDURE delete_sts_all()
  40304. DEFINE nmajor integer;
  40305. DEFINE nminor integer;
  40306. DEFINE slevel integer;
  40307. define sql_txt1 lvarchar;
  40308. define sql_txt2 lvarchar;
  40309. define tabname_val lvarchar;
  40310. define ts_tabname lvarchar;
  40311. define sp_tabname lvarchar;
  40312. define log_tabname lvarchar;
  40313. define res integer;
  40314. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40315. substr(dbinfo('version','level'), 2,1)::int
  40316. INTO nmajor, nminor, slevel
  40317. FROM systables WHERE tabid = 1;
  40318. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40319. drop function if exists STS_GetIntersectSet (lvarchar,lvarchar,datetime year to fraction(5),
  40320. datetime year to fraction(5),lvarchar,real);
  40321. drop function if exists STS_GetLocWithinSet (lvarchar,lvarchar,datetime year to fraction(5),
  40322. lvarchar,real);
  40323. drop function if exists STS_GetStayingSet (lvarchar,interval hour to second,
  40324. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);
  40325. drop function if exists STS_GetNearestObject (lvarchar,lvarchar,datetime year to fraction(5),
  40326. lvarchar,real);
  40327. drop function if exists sts_task_process_request (lvarchar, lvarchar);
  40328. drop function if exists STS_Cleanup (lvarchar);
  40329. drop function if exists STS_Cleanup ();
  40330. drop function if exists STS_GetFirstTimeByPoint (lvarchar,lvarchar,TimeSeries,
  40331. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real,lvarchar);
  40332. delete from sysbldobjects where bld_id like 'sts.%';
  40333. delete from sysbldobjdepends where bld_id like 'sts.%';
  40334. delete from sysbldregistered where bld_id like 'sts.%';
  40335. delete from sysbldirequired where bld_id like 'sts.%';
  40336. delete from sysbldiprovided where bld_id like 'sts.%';
  40337. END IF
  40338. END PROCEDURE;
  40339. EXECUTE PROCEDURE delete_sts_all();
  40340. DROP PROCEDURE delete_sts_all;
  40341. ",
  40342. "f"
  40343. );
  40344. insert into sysbldobjects
  40345. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40346. create_can_fail, drop_sql, drop_can_fail)
  40347. values
  40348. (
  40349. "%SYSBLDNAME%", 0, "delete sts all - 5",
  40350. "%SYSBLDUSER%", 0,
  40351. " ",
  40352. "f",
  40353. "
  40354. CREATE PROCEDURE delete_sts_all()
  40355. DEFINE nmajor integer;
  40356. DEFINE nminor integer;
  40357. DEFINE slevel integer;
  40358. define sql_txt1 lvarchar;
  40359. define sql_txt2 lvarchar;
  40360. define tabname_val lvarchar;
  40361. define ts_tabname lvarchar;
  40362. define sp_tabname lvarchar;
  40363. define log_tabname lvarchar;
  40364. define res integer;
  40365. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40366. substr(dbinfo('version','level'), 2,1)::int
  40367. INTO nmajor, nminor, slevel
  40368. FROM systables WHERE tabid = 1;
  40369. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40370. drop function if exists STS_TrajectoryWithin (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
  40371. datetime year to fraction(5),lvarchar,real,lvarchar);
  40372. drop function if exists STS_TrajectoryIntersect (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
  40373. datetime year to fraction(5),lvarchar,real,lvarchar);
  40374. drop function if exists STS_TrajectoryCross (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
  40375. datetime year to fraction(5),lvarchar,real,lvarchar);
  40376. drop function if exists STS_TrajectoryStaying (lvarchar,lvarchar,interval hour to second,
  40377. datetime year to fraction(5),datetime year to fraction(5),lvarchar,real,lvarchar);
  40378. drop function if exists STS_TrajectoryDistance (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
  40379. datetime year to fraction(5),lvarchar,lvarchar);
  40380. drop function if exists STS_GetIntersectSet (lvarchar,lvarchar,datetime year to fraction(5),
  40381. datetime year to fraction(5),lvarchar,real,lvarchar);
  40382. drop function if exists STS_GetLocWithinSet (lvarchar,lvarchar,datetime year to fraction(5),
  40383. lvarchar,real,lvarchar);
  40384. drop function if exists STS_GetStayingSet (lvarchar,interval hour to second,datetime year to fraction(5),
  40385. datetime year to fraction(5),lvarchar,real,lvarchar);
  40386. drop function if exists STS_GetNearestObject (lvarchar,lvarchar,datetime year to fraction(5),
  40387. lvarchar,real,lvarchar);
  40388. drop function if exists STS_Release ();
  40389. END IF
  40390. END PROCEDURE;
  40391. EXECUTE PROCEDURE delete_sts_all();
  40392. DROP PROCEDURE delete_sts_all;
  40393. ",
  40394. "f"
  40395. );
  40396. insert into sysbldobjects
  40397. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40398. create_can_fail, drop_sql, drop_can_fail)
  40399. values
  40400. (
  40401. "%SYSBLDNAME%", 0, "delete sts all - 1",
  40402. "%SYSBLDUSER%", 0,
  40403. " ",
  40404. "f",
  40405. "
  40406. CREATE PROCEDURE delete_sts_all()
  40407. DEFINE nmajor integer;
  40408. DEFINE nminor integer;
  40409. DEFINE slevel integer;
  40410. define sql_txt1 lvarchar;
  40411. define sql_txt2 lvarchar;
  40412. define tabname_val lvarchar;
  40413. define ts_tabname lvarchar;
  40414. define sp_tabname lvarchar;
  40415. define log_tabname lvarchar;
  40416. define res integer;
  40417. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40418. substr(dbinfo('version','level'), 2,1)::int
  40419. INTO nmajor, nminor, slevel
  40420. FROM systables WHERE tabid = 1;
  40421. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40422. let sql_txt1 = ""select tabname from systables where tabname like '%_lasttime'"";
  40423. PREPARE sql_stmt FROM sql_txt1;
  40424. DECLARE sql_cur CURSOR FOR sql_stmt;
  40425. OPEN sql_cur;
  40426. WHILE (1 = 1)
  40427. FETCH sql_cur INTO tabname_val;
  40428. IF (SQLCODE != 0) THEN
  40429. EXIT WHILE;
  40430. END IF;
  40431. let ts_tabname = substr(tabname_val,1,instr(tabname_val,'_lasttime')-1);
  40432. let sp_tabname = substr(ts_tabname,1,100) || ""_subtrack"";
  40433. let log_tabname = substr(ts_tabname,1,100) || ""_lasttime"";
  40434. let sql_txt2 = ""drop table if exists "" || sp_tabname ;
  40435. execute immediate sql_txt2;
  40436. let sql_txt2 = ""drop table if exists "" || log_tabname ;
  40437. execute immediate sql_txt2;
  40438. END WHILE
  40439. CLOSE sql_cur;
  40440. FREE sql_cur;
  40441. FREE sql_stmt;
  40442. -- let res = sysbldprepare('sts.*','drop');
  40443. drop function if exists sts_get_ts_colname(lvarchar);
  40444. drop function if exists sts_get_id_coltype(lvarchar);
  40445. drop function if exists STS_Init(varchar(128));
  40446. drop function if exists STS_Init(varchar(128), interval day to second,
  40447. datetime year to second, datetime year to second,
  40448. interval day to second, interval day to second);
  40449. drop function if exists sts_table_exist(lvarchar);
  40450. drop function if exists sts_sp_tableindex_create(lvarchar, lvarchar);
  40451. drop function if exists sts_log_table_create(lvarchar, lvarchar);
  40452. END IF
  40453. END PROCEDURE;
  40454. EXECUTE PROCEDURE delete_sts_all();
  40455. DROP PROCEDURE delete_sts_all;
  40456. ",
  40457. "f"
  40458. );
  40459. insert into sysbldobjects
  40460. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40461. create_can_fail, drop_sql, drop_can_fail)
  40462. values
  40463. (
  40464. "%SYSBLDNAME%", 0, "delete tspmatch functions",
  40465. "%SYSBLDUSER%", 0,
  40466. " ",
  40467. "f",
  40468. "
  40469. CREATE PROCEDURE delete_tspmatch_2()
  40470. DEFINE nmajor integer;
  40471. DEFINE nminor integer;
  40472. DEFINE slevel integer;
  40473. define cnt integer;
  40474. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspmatchrelease';
  40475. IF (cnt = 0) THEN
  40476. return;
  40477. END IF;
  40478. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40479. substr(dbinfo('version','level'), 2,1)::int
  40480. INTO nmajor, nminor, slevel
  40481. FROM systables WHERE tabid = 1;
  40482. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40483. drop function if exists DeleteIndexTable;
  40484. drop procedure if exists TSPIndexCleanup;
  40485. drop function if exists TSCreatePatternIndex;
  40486. drop function if exists TSDropPatternIndex;
  40487. drop function if exists TSPatternMatch;
  40488. drop function if exists getPatternFromTS;
  40489. drop function TSPMatchSetTraceLevel;
  40490. drop function TSPMatchSetTraceFile;
  40491. delete from informix.systraceclasses where name='TSPM_DEBUG';
  40492. drop row type patternrow restrict;
  40493. drop row type searchrow restrict;
  40494. drop function if exists TSPMatchRelease;
  40495. delete from sysbldobjects where bld_id like 'TSPMatch.%';
  40496. delete from sysbldobjdepends where bld_id like 'TSPMatch.%';
  40497. delete from sysbldregistered where bld_id like 'TSPMatch.%';
  40498. delete from sysbldirequired where bld_id like 'TSPMatch.%';
  40499. delete from sysbldiprovided where bld_id like 'TSPMatch.%';
  40500. END IF;
  40501. END PROCEDURE;
  40502. EXECUTE PROCEDURE delete_tspmatch_2();
  40503. DROP PROCEDURE delete_tspmatch_2;
  40504. ",
  40505. "f"
  40506. );
  40507. insert into sysbldobjects
  40508. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40509. create_can_fail, drop_sql, drop_can_fail)
  40510. values
  40511. (
  40512. "%SYSBLDNAME%", 0, "delete tspmatch records",
  40513. "%SYSBLDUSER%", 0,
  40514. " ",
  40515. "f",
  40516. "
  40517. CREATE PROCEDURE delete_tspmatch_1()
  40518. DEFINE nmajor integer;
  40519. DEFINE nminor integer;
  40520. DEFINE slevel integer;
  40521. define sql_txt1 lvarchar;
  40522. define sql_txt2 lvarchar;
  40523. define tabname_val lvarchar;
  40524. define ts_tabname lvarchar;
  40525. define sp_tabname lvarchar;
  40526. define log_tabname lvarchar;
  40527. define res integer;
  40528. define cnt integer;
  40529. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspmatchrelease';
  40530. IF (cnt = 0) THEN
  40531. return;
  40532. END IF;
  40533. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40534. substr(dbinfo('version','level'), 2,1)::int
  40535. INTO nmajor, nminor, slevel
  40536. FROM systables WHERE tabid = 1;
  40537. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40538. let res = 0;
  40539. let sql_txt1 = ""select distinct idxtabname from TS_INDEX_MAPPING"";
  40540. PREPARE sql_stmt FROM sql_txt1;
  40541. DECLARE sql_cur CURSOR FOR sql_stmt;
  40542. OPEN sql_cur;
  40543. WHILE (1 = 1)
  40544. FETCH sql_cur INTO tabname_val;
  40545. IF (SQLCODE != 0) THEN
  40546. EXIT WHILE;
  40547. END IF;
  40548. LET sql_txt2 = ""drop table if exists "" || tabname_val;
  40549. execute immediate sql_txt2;
  40550. LET sql_txt2 = ""delete from TS_INDEX_MAPPING where idxtabname = "" || ""'"" || tabname_val || ""'"";
  40551. execute immediate sql_txt2;
  40552. END WHILE
  40553. CLOSE sql_cur;
  40554. FREE sql_cur;
  40555. FREE sql_stmt;
  40556. drop table if exists TS_INDEX_MAPPING;
  40557. END IF;
  40558. END PROCEDURE;
  40559. EXECUTE PROCEDURE delete_tspmatch_1();
  40560. DROP PROCEDURE delete_tspmatch_1;
  40561. ",
  40562. "f"
  40563. );
  40564. insert into sysbldobjects
  40565. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40566. create_can_fail, drop_sql, drop_can_fail)
  40567. values
  40568. (
  40569. "%SYSBLDNAME%", 0, "delete tspindex functions 10",
  40570. "%SYSBLDUSER%", 0,
  40571. " ",
  40572. "f",
  40573. "
  40574. CREATE PROCEDURE delete_tspindex_10()
  40575. DEFINE nmajor integer;
  40576. DEFINE nminor integer;
  40577. DEFINE slevel integer;
  40578. define cnt integer;
  40579. define t1, t2,sql_txt lvarchar;
  40580. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40581. IF (cnt = 0) THEN
  40582. return;
  40583. END IF;
  40584. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40585. substr(dbinfo('version','level'), 2,1)::int
  40586. INTO nmajor, nminor, slevel
  40587. FROM systables WHERE tabid = 1;
  40588. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40589. drop function TSPIndexRelease;
  40590. delete from sysbldobjects where bld_id like 'TSPIndex.%';
  40591. delete from sysbldobjdepends where bld_id like 'TSPIndex.%';
  40592. delete from sysbldregistered where bld_id like 'TSPIndex.%';
  40593. delete from sysbldirequired where bld_id like 'TSPIndex.%';
  40594. delete from sysbldiprovided where bld_id like 'TSPIndex.%';
  40595. let t1 = ""MBRPoint"";
  40596. LET sql_txt = ""drop type "" || t1 || "" restrict"";
  40597. execute immediate sql_txt;
  40598. let t1 = ""MBRBox"";
  40599. LET sql_txt = ""drop type "" || t1 || "" restrict"";
  40600. execute immediate sql_txt;
  40601. let t1 = ""MBRShape"";
  40602. LET sql_txt = ""drop type "" || t1 || "" restrict"";
  40603. execute immediate sql_txt;
  40604. LET sql_txt = ""drop opclass "" || t1 || ""_ops restrict"";
  40605. execute immediate sql_txt;
  40606. END IF;
  40607. END PROCEDURE;
  40608. EXECUTE PROCEDURE delete_tspindex_10();
  40609. DROP PROCEDURE delete_tspindex_10;
  40610. ",
  40611. "f"
  40612. );
  40613. insert into sysbldobjects
  40614. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40615. create_can_fail, drop_sql, drop_can_fail)
  40616. values
  40617. (
  40618. "%SYSBLDNAME%", 0, "delete tspindex functions 9",
  40619. "%SYSBLDUSER%", 0,
  40620. " ",
  40621. "f",
  40622. "
  40623. CREATE PROCEDURE delete_tspindex_9()
  40624. DEFINE nmajor integer;
  40625. DEFINE nminor integer;
  40626. DEFINE slevel integer;
  40627. define cnt integer;
  40628. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40629. IF (cnt = 0) THEN
  40630. return;
  40631. END IF;
  40632. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40633. substr(dbinfo('version','level'), 2,1)::int
  40634. INTO nmajor, nminor, slevel
  40635. FROM systables WHERE tabid = 1;
  40636. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40637. delete from systraceclasses where name = 'mbr';
  40638. drop function if exists ShapeRelease;
  40639. drop function if exists MBRPointIn (lvarchar);
  40640. drop function if exists MBRPointRecv (sendrecv);
  40641. drop function if exists MBRPointImpT (impexp);
  40642. drop function if exists MBRPointImpB (impexpbin);
  40643. drop function if exists MBRBoxIn (lvarchar);
  40644. drop function if exists MBRBoxRecv (sendrecv);
  40645. drop function if exists MBRBoxImpT (impexp);
  40646. drop function if exists MBRBoxImpB (impexpbin);
  40647. drop function if exists MBRShapeIn (lvarchar);
  40648. drop function if exists MBRShapeRecv (sendrecv);
  40649. drop function if exists MBRShapeImpT (impexp);
  40650. drop function if exists MBRShapeImpB (impexpbin);
  40651. drop function if exists ShapeTrace (integer);
  40652. drop function if exists MBRPoint (double precision,double precision,double precision,double precision);
  40653. drop function if exists MBRBox (double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
  40654. END IF;
  40655. END PROCEDURE;
  40656. EXECUTE PROCEDURE delete_tspindex_9();
  40657. DROP PROCEDURE delete_tspindex_9;
  40658. ",
  40659. "f"
  40660. );
  40661. insert into sysbldobjects
  40662. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40663. create_can_fail, drop_sql, drop_can_fail)
  40664. values
  40665. (
  40666. "%SYSBLDNAME%", 0, "delete tspindex 8",
  40667. "%SYSBLDUSER%", 0,
  40668. " ",
  40669. "f",
  40670. "
  40671. CREATE PROCEDURE delete_tspindex_8()
  40672. DEFINE nmajor integer;
  40673. DEFINE nminor integer;
  40674. DEFINE slevel integer;
  40675. define cnt integer;
  40676. define t1, sql_txt lvarchar;
  40677. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40678. IF (cnt = 0) THEN
  40679. return;
  40680. END IF;
  40681. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40682. substr(dbinfo('version','level'), 2,1)::int
  40683. INTO nmajor, nminor, slevel
  40684. FROM systables WHERE tabid = 1;
  40685. let t1 = ""MBRPoint"";
  40686. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40687. LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
  40688. execute immediate sql_txt;
  40689. LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
  40690. execute immediate sql_txt;
  40691. LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
  40692. execute immediate sql_txt;
  40693. LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
  40694. execute immediate sql_txt;
  40695. LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
  40696. execute immediate sql_txt;
  40697. LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
  40698. execute immediate sql_txt;
  40699. LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
  40700. execute immediate sql_txt;
  40701. LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
  40702. execute immediate sql_txt;
  40703. END IF;
  40704. END PROCEDURE;
  40705. EXECUTE PROCEDURE delete_tspindex_8();
  40706. DROP PROCEDURE delete_tspindex_8;
  40707. ",
  40708. "f"
  40709. );
  40710. insert into sysbldobjects
  40711. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40712. create_can_fail, drop_sql, drop_can_fail)
  40713. values
  40714. (
  40715. "%SYSBLDNAME%", 0, "delete tspindex 7",
  40716. "%SYSBLDUSER%", 0,
  40717. " ",
  40718. "f",
  40719. "
  40720. CREATE PROCEDURE delete_tspindex_7()
  40721. DEFINE nmajor integer;
  40722. DEFINE nminor integer;
  40723. DEFINE slevel integer;
  40724. define cnt integer;
  40725. define t1, sql_txt lvarchar;
  40726. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40727. IF (cnt = 0) THEN
  40728. return;
  40729. END IF;
  40730. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40731. substr(dbinfo('version','level'), 2,1)::int
  40732. INTO nmajor, nminor, slevel
  40733. FROM systables WHERE tabid = 1;
  40734. let t1 = ""MBRPoint"";
  40735. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40736. LET sql_txt = ""drop function MBRPointOut ("" || t1 || "")"";
  40737. execute immediate sql_txt;
  40738. LET sql_txt = ""drop function MBRPointSend ("" || t1 || "")"";
  40739. execute immediate sql_txt;
  40740. LET sql_txt = ""drop function MBRPointExpT ("" || t1 || "")"";
  40741. execute immediate sql_txt;
  40742. LET sql_txt = ""drop function MBRPointExpB ("" || t1 || "")"";
  40743. execute immediate sql_txt;
  40744. LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  40745. execute immediate sql_txt;
  40746. LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  40747. execute immediate sql_txt;
  40748. END IF;
  40749. END PROCEDURE;
  40750. EXECUTE PROCEDURE delete_tspindex_7();
  40751. DROP PROCEDURE delete_tspindex_7;
  40752. ",
  40753. "f"
  40754. );
  40755. insert into sysbldobjects
  40756. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40757. create_can_fail, drop_sql, drop_can_fail)
  40758. values
  40759. (
  40760. "%SYSBLDNAME%", 0, "delete tspindex 6",
  40761. "%SYSBLDUSER%", 0,
  40762. " ",
  40763. "f",
  40764. "
  40765. CREATE PROCEDURE delete_tspindex_6()
  40766. DEFINE nmajor,nminor,slevel,cnt integer;
  40767. define t1, sql_txt lvarchar;
  40768. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40769. IF (cnt = 0) THEN
  40770. return;
  40771. END IF;
  40772. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40773. substr(dbinfo('version','level'), 2,1)::int
  40774. INTO nmajor, nminor, slevel
  40775. FROM systables WHERE tabid = 1;
  40776. let t1 = ""MBRBox"";
  40777. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40778. LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
  40779. execute immediate sql_txt;
  40780. LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
  40781. execute immediate sql_txt;
  40782. LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
  40783. execute immediate sql_txt;
  40784. LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
  40785. execute immediate sql_txt;
  40786. LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
  40787. execute immediate sql_txt;
  40788. LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
  40789. execute immediate sql_txt;
  40790. LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
  40791. execute immediate sql_txt;
  40792. LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
  40793. execute immediate sql_txt;
  40794. END IF;
  40795. END PROCEDURE;
  40796. EXECUTE PROCEDURE delete_tspindex_6();
  40797. DROP PROCEDURE delete_tspindex_6;
  40798. ",
  40799. "f"
  40800. );
  40801. insert into sysbldobjects
  40802. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40803. create_can_fail, drop_sql, drop_can_fail)
  40804. values
  40805. (
  40806. "%SYSBLDNAME%", 0, "delete tspindex 5",
  40807. "%SYSBLDUSER%", 0,
  40808. " ",
  40809. "f",
  40810. "
  40811. CREATE PROCEDURE delete_tspindex_5()
  40812. DEFINE nmajor integer;
  40813. DEFINE nminor integer;
  40814. DEFINE slevel integer;
  40815. define cnt integer;
  40816. define t1, sql_txt lvarchar;
  40817. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40818. IF (cnt = 0) THEN
  40819. return;
  40820. END IF;
  40821. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40822. substr(dbinfo('version','level'), 2,1)::int
  40823. INTO nmajor, nminor, slevel
  40824. FROM systables WHERE tabid = 1;
  40825. let t1 = ""MBRBox"";
  40826. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40827. LET sql_txt = ""drop function MBRBoxOut ("" || t1 || "")"";
  40828. execute immediate sql_txt;
  40829. LET sql_txt = ""drop function MBRBoxSend ("" || t1 || "")"";
  40830. execute immediate sql_txt;
  40831. LET sql_txt = ""drop function MBRBoxExpT ("" || t1 || "")"";
  40832. execute immediate sql_txt;
  40833. LET sql_txt = ""drop function MBRBoxExpB ("" || t1 || "")"";
  40834. execute immediate sql_txt;
  40835. LET sql_txt = ""drop function Perimeter ("" || t1 || "")"";
  40836. execute immediate sql_txt;
  40837. LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  40838. execute immediate sql_txt;
  40839. LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  40840. execute immediate sql_txt;
  40841. END IF;
  40842. END PROCEDURE;
  40843. EXECUTE PROCEDURE delete_tspindex_5();
  40844. DROP PROCEDURE delete_tspindex_5;
  40845. ",
  40846. "f"
  40847. );
  40848. insert into sysbldobjects
  40849. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40850. create_can_fail, drop_sql, drop_can_fail)
  40851. values
  40852. (
  40853. "%SYSBLDNAME%", 0, "delete tspindex 4",
  40854. "%SYSBLDUSER%", 0,
  40855. " ",
  40856. "f",
  40857. "
  40858. CREATE PROCEDURE delete_tspindex_4()
  40859. DEFINE nmajor integer;
  40860. DEFINE nminor integer;
  40861. DEFINE slevel integer;
  40862. define cnt integer;
  40863. define t1,t2, sql_txt lvarchar;
  40864. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40865. IF (cnt = 0) THEN
  40866. return;
  40867. END IF;
  40868. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40869. substr(dbinfo('version','level'), 2,1)::int
  40870. INTO nmajor, nminor, slevel
  40871. FROM systables WHERE tabid = 1;
  40872. let t1 = ""MBRShape"";
  40873. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40874. LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
  40875. execute immediate sql_txt;
  40876. LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
  40877. execute immediate sql_txt;
  40878. LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
  40879. execute immediate sql_txt;
  40880. LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
  40881. execute immediate sql_txt;
  40882. LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
  40883. execute immediate sql_txt;
  40884. LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
  40885. execute immediate sql_txt;
  40886. LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
  40887. execute immediate sql_txt;
  40888. LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
  40889. execute immediate sql_txt;
  40890. let t2 = ""MBRBox"";
  40891. LET sql_txt = ""drop cast ("" || t2 || "" as "" || t1 || "")"";
  40892. execute immediate sql_txt;
  40893. let t2 = ""MBRPoint"";
  40894. LET sql_txt = ""drop cast ("" || t2 || "" as "" || t1 || "")"";
  40895. execute immediate sql_txt;
  40896. END IF;
  40897. END PROCEDURE;
  40898. EXECUTE PROCEDURE delete_tspindex_4();
  40899. DROP PROCEDURE delete_tspindex_4;
  40900. ",
  40901. "f"
  40902. );
  40903. insert into sysbldobjects
  40904. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40905. create_can_fail, drop_sql, drop_can_fail)
  40906. values
  40907. (
  40908. "%SYSBLDNAME%", 0, "delete tspindex 3",
  40909. "%SYSBLDUSER%", 0,
  40910. " ",
  40911. "f",
  40912. "
  40913. CREATE PROCEDURE delete_tspindex_3()
  40914. DEFINE nmajor integer;
  40915. DEFINE nminor integer;
  40916. DEFINE slevel integer;
  40917. define cnt integer;
  40918. define t1, sql_txt lvarchar;
  40919. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40920. IF (cnt = 0) THEN
  40921. return;
  40922. END IF;
  40923. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40924. substr(dbinfo('version','level'), 2,1)::int
  40925. INTO nmajor, nminor, slevel
  40926. FROM systables WHERE tabid = 1;
  40927. let t1 = ""MBRShape"";
  40928. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40929. LET sql_txt = ""drop function Size ("" || t1 || "",double precision)"";
  40930. execute immediate sql_txt;
  40931. LET sql_txt = ""drop function SFCbits ("" || t1 || "",pointer)"";
  40932. execute immediate sql_txt;
  40933. LET sql_txt = ""drop function ObjectLength ("" || t1 || "",pointer)"";
  40934. execute immediate sql_txt;
  40935. LET sql_txt = ""drop function SFCvalue ("" || t1 || "",integer,pointer)"";
  40936. execute immediate sql_txt;
  40937. LET sql_txt = ""drop function SetUnion ("" || t1 || "",integer,pointer)"";
  40938. execute immediate sql_txt;
  40939. LET sql_txt = ""drop function MBRShapeOut ("" || t1 || "")"";
  40940. execute immediate sql_txt;
  40941. LET sql_txt = ""drop function MBRShapeSend ("" || t1 || "")"";
  40942. execute immediate sql_txt;
  40943. LET sql_txt = ""drop function MBRShapeExpT ("" || t1 || "")"";
  40944. execute immediate sql_txt;
  40945. LET sql_txt = ""drop function MBRShapeExpB ("" || t1 || "")"";
  40946. execute immediate sql_txt;
  40947. END IF;
  40948. END PROCEDURE;
  40949. EXECUTE PROCEDURE delete_tspindex_3();
  40950. DROP PROCEDURE delete_tspindex_3;
  40951. ",
  40952. "f"
  40953. );
  40954. insert into sysbldobjects
  40955. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  40956. create_can_fail, drop_sql, drop_can_fail)
  40957. values
  40958. (
  40959. "%SYSBLDNAME%", 0, "delete tspindex 2",
  40960. "%SYSBLDUSER%", 0,
  40961. " ",
  40962. "f",
  40963. "
  40964. CREATE PROCEDURE delete_tspindex_2()
  40965. DEFINE nmajor integer;
  40966. DEFINE nminor integer;
  40967. DEFINE slevel integer;
  40968. define cnt integer;
  40969. define t1, sql_txt lvarchar;
  40970. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  40971. IF (cnt = 0) THEN
  40972. return;
  40973. END IF;
  40974. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  40975. substr(dbinfo('version','level'), 2,1)::int
  40976. INTO nmajor, nminor, slevel
  40977. FROM systables WHERE tabid = 1;
  40978. let t1 = ""MBRShape"";
  40979. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  40980. LET sql_txt = ""drop function Area ("" || t1 || "")"";
  40981. execute immediate sql_txt;
  40982. LET sql_txt = ""drop function IsBox ("" || t1 || "")"";
  40983. execute immediate sql_txt;
  40984. LET sql_txt = ""drop function IsPoint ("" || t1 || "")"";
  40985. execute immediate sql_txt;
  40986. LET sql_txt = ""drop function IsCircle ("" || t1 || "")"";
  40987. execute immediate sql_txt;
  40988. LET sql_txt = ""drop function MBRPoint ("" || t1 || "")"";
  40989. execute immediate sql_txt;
  40990. LET sql_txt = ""drop function MBRBox ("" || t1 || "")"";
  40991. execute immediate sql_txt;
  40992. LET sql_txt = ""drop function ShapeType ("" || t1 || "")"";
  40993. execute immediate sql_txt;
  40994. LET sql_txt = ""drop function Contains ("" || t1 || "","" || t1 || "")"";
  40995. execute immediate sql_txt;
  40996. LET sql_txt = ""drop function Within ("" || t1 || "","" || t1 || "")"";
  40997. execute immediate sql_txt;
  40998. END IF
  40999. END PROCEDURE;
  41000. EXECUTE PROCEDURE delete_tspindex_2();
  41001. DROP PROCEDURE delete_tspindex_2;
  41002. ",
  41003. "f"
  41004. );
  41005. insert into sysbldobjects
  41006. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  41007. create_can_fail, drop_sql, drop_can_fail)
  41008. values
  41009. (
  41010. "%SYSBLDNAME%", 0, "delete tspindex 1",
  41011. "%SYSBLDUSER%", 0,
  41012. " ",
  41013. "f",
  41014. "
  41015. CREATE PROCEDURE delete_tspindex_1()
  41016. DEFINE nmajor,nminor,slevel,cnt integer;
  41017. define t1,sql_txt lvarchar;
  41018. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  41019. IF (cnt = 0) THEN
  41020. return;
  41021. END IF;
  41022. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  41023. substr(dbinfo('version','level'), 2,1)::int
  41024. INTO nmajor, nminor, slevel
  41025. FROM systables WHERE tabid = 1;
  41026. let t1 = ""MBRShape"";
  41027. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  41028. LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  41029. execute immediate sql_txt;
  41030. LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
  41031. execute immediate sql_txt;
  41032. LET sql_txt = ""drop function Compare ("" || t1 || "","" || t1 || "")"";
  41033. execute immediate sql_txt;
  41034. LET sql_txt = ""drop function Equal ("" || t1 || "","" || t1 || "")"";
  41035. execute immediate sql_txt;
  41036. LET sql_txt = ""drop function NotEqual ("" || t1 || "","" || t1 || "")"";
  41037. execute immediate sql_txt;
  41038. LET sql_txt = ""drop function Overlap ("" || t1 || "","" || t1 || "")"";
  41039. execute immediate sql_txt;
  41040. END IF
  41041. END PROCEDURE;
  41042. EXECUTE PROCEDURE delete_tspindex_1();
  41043. DROP PROCEDURE delete_tspindex_1;
  41044. ",
  41045. "f"
  41046. );
  41047. insert into sysbldobjects
  41048. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  41049. create_can_fail, drop_sql, drop_can_fail)
  41050. values
  41051. (
  41052. "%SYSBLDNAME%", 0, "delete tspindex 0",
  41053. "%SYSBLDUSER%", 0,
  41054. " ",
  41055. "f",
  41056. "
  41057. CREATE PROCEDURE delete_tspindex_0()
  41058. DEFINE nmajor,nminor,slevel,cnt integer;
  41059. define sql_txt,sql_txt2 lvarchar;
  41060. define tabname_val lvarchar;
  41061. define ts_tabname lvarchar;
  41062. SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
  41063. IF (cnt = 0) THEN
  41064. return;
  41065. END IF;
  41066. SELECT dbinfo('version','major'), dbinfo('version','minor'),
  41067. substr(dbinfo('version','level'), 2,1)::int
  41068. INTO nmajor, nminor, slevel
  41069. FROM systables WHERE tabid = 1;
  41070. IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
  41071. let sql_txt = ""SELECT substring_index(tabname,'ts_index_', -1) FROM systables WHERE tabname matches 'ts_index*' and tabname <> 'ts_index_mapping'"";
  41072. PREPARE sql_stmt FROM sql_txt;
  41073. DECLARE sql_cur CURSOR FOR sql_stmt;
  41074. OPEN sql_cur;
  41075. WHILE (1 = 1)
  41076. FETCH sql_cur INTO tabname_val;
  41077. IF (SQLCODE != 0) THEN
  41078. EXIT WHILE;
  41079. END IF;
  41080. let ts_tabname = ""TS_Index_"" || tabname_val;
  41081. let sql_txt2 = ""drop table if exists "" || ts_tabname ;
  41082. execute immediate sql_txt2;
  41083. let sql_txt2 = ""delete from ts_index_mapping where idxtabname = "" || ""'"" || ts_tabname || ""'"";
  41084. execute immediate sql_txt2;
  41085. END WHILE
  41086. CLOSE sql_cur;
  41087. FREE sql_cur;
  41088. FREE sql_stmt;
  41089. END IF
  41090. END PROCEDURE;
  41091. EXECUTE PROCEDURE delete_tspindex_0();
  41092. DROP PROCEDURE delete_tspindex_0;
  41093. ",
  41094. "f"
  41095. );
  41096. insert into sysbldobjects
  41097. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  41098. create_can_fail, drop_sql, drop_can_fail)
  41099. values
  41100. (
  41101. "%SYSBLDNAME%", 0, "sysbldregistered",
  41102. "%SYSBLDUSER%", 0,
  41103. "insert into sysbldregistered
  41104. (bld_id)
  41105. values
  41106. (
  41107. ""%SYSBLDNAME%""
  41108. );
  41109. ",
  41110. "f",
  41111. "delete from sysbldregistered
  41112. where bld_id = ""%SYSBLDNAME%"";
  41113. ",
  41114. "f"
  41115. );