1"use strict";(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[515],{58178:(e,t,r)=>{r.d(t,{G:()=>g,j:()=>f});var a=r(67002),n=r(15058),i=r(29086),s=r.n(i),o=r(2280),l=r(9199),c=r(67228),d=r(16466);function u(){let e,t,r,i=(0,n.c)(3),s=(0,d.useRef)(null),o=(0,d.useRef)(-1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=0,t=()=>{e=0;let t=document.documentElement,r=t.scrollHeight-t.clientHeight,a=r>0?t.scrollTop/r:0;!(.001>Math.abs(a-o.current))&&(o.current=a,s.current&&(s.current.style.transform=`scaleX(${a})`))},r=()=>{0===e&&(e=requestAnimationFrame(t))};return t(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),e&&cancelAnimationFrame(e)}},t=[],i[0]=e,i[1]=t):(e=i[0],t=i[1]),(0,d.useEffect)(e,t),i[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none fixed top-0 right-0 left-0 z-50 h-[2px]",children:(0,a.jsx)("div",{ref:s,className:"bg-cobalt h-full origin-left",style:{transform:"scaleX(0)",transition:"transform 80ms linear"}})}),i[2]=r):r=i[2],r}var m=r(99581),h=r(38731),x=r(4046),b=r(14471);function g(e){let t,r,i,d,h,g,f,v,w,S,j,y,N,L,k,_,T,A=(0,n.c)(41),{config:E,slug:M,title:C,toc:H,category:I,siblings:R,mdxSource:G,breadcrumbJsonLd:Q,articleJsonLd:B}=e,$=`/reference/${E.database}/${E.kind}`;A[0]!==R?(t=R.some(p),A[0]=R,A[1]=t):t=A[1];let D=t;return A[2]!==Q?(r=(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:Q}}),A[2]=Q,A[3]=r):r=A[3],A[4]!==B?(i=(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:B}}),A[4]=B,A[5]=i):i=A[5],A[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,a.jsx)(u,{}),A[6]=d):d=A[6],A[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,a.jsx)(s(),{href:b.A.REFERENCES,className:"hover:text-night transition-colors",children:"References"}),g=(0,a.jsx)("span",{className:"text-night-25/60 mx-2","aria-hidden":"true",children:"/"}),A[7]=h,A[8]=g):(h=A[7],g=A[8]),A[9]!==$||A[10]!==E.breadcrumbLabel?(f=(0,a.jsxs)("nav",{className:"text-night-50 text-label-14",children:[h,g,(0,a.jsx)(s(),{href:$,className:"hover:text-night transition-colors",children:E.breadcrumbLabel})]}),A[9]=$,A[10]=E.breadcrumbLabel,A[11]=f):f=A[11],A[12]!==C?(v=(0,a.jsx)("h1",{className:"text-night text-heading-4-sm",children:C}),A[12]=C,A[13]=v):v=A[13],A[14]!==f||A[15]!==v?(w=(0,a.jsxs)("div",{className:"mx-auto max-w-[720px] space-y-5 text-left md:space-y-8 lg:ml-[max(0px,calc(50%-502px))] lg:max-w-[min(720px,calc(100%-284px))]",children:[f,v]}),A[14]=f,A[15]=v,A[16]=w):w=A[16],A[17]!==G?(S=(0,a.jsx)(o.A,{className:"reference-article w-full",children:(0,a.jsx)(l.A,{source:G})}),A[17]=G,A[18]=S):S=A[18],A[19]!==I||A[20]!==D||A[21]!==R?(j=R.length>0&&(0,a.jsxs)("aside",{className:"mt-20",children:[(0,a.jsx)("p",{className:"text-night-25/80 text-label-14 mb-5",children:I?`Also in ${I}`:"Related guides"}),(0,a.jsx)("ul",{className:"border-slate-80 border-t",children:R.map(e=>(0,a.jsx)("li",{children:(0,a.jsxs)(s(),{href:e.href,className:"group/sib border-slate-80 hover:bg-slate-20/50 focus-visible:bg-slate-20/50 flex items-center gap-4 border-b py-4 pr-1 transition-colors focus-visible:outline-none",children:[D&&(e.code?(0,a.jsx)("span",{className:"text-cobalt text-mono w-[64px] shrink-0 font-medium tabular-nums",children:e.code}):(0,a.jsx)("span",{className:"w-[64px] shrink-0","aria-hidden":"true"})),(0,a.jsx)("span",{className:"text-night-50 group-hover/sib:text-night group-focus-visible/sib:text-night text-body-15 min-w-0 flex-1 transition-colors",children:e.headline}),(0,a.jsx)("svg",{className:"text-night-25 group-hover/sib:text-cobalt group-focus-visible/sib:text-cobalt size-4 shrink-0 -translate-x-1 opacity-0 transition-all duration-200 group-hover/sib:translate-x-0 group-hover/sib:opacity-100 group-focus-visible/sib:translate-x-0 group-focus-visible/sib:opacity-100 motion-reduce:transition-none",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 4l4 4-4 4",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})})]})},e.href))})]}),A[19]=I,A[20]=D,A[21]=R,A[22]=j):j=A[22],A[23]!==S||A[24]!==j?(y=(0,a.jsxs)("div",{className:"min-w-0",children:[S,j]}),A[23]=S,A[24]=j,A[25]=y):y=A[25],A[26]!==M?(N=(0,a.jsx)(m.A,{event:x.q.SIDEBAR_CTA_REFERENCE_CLICK,eventProp:{slug:M}}),A[26]=M,A[27]=N):N=A[27],A[28]!==N||A[29]!==H?(L=(0,a.jsx)(c.A,{className:"lg:block",items:H,footer:N}),A[28]=N,A[29]=H,A[30]=L):L=A[30],A[31]!==y||A[32]!==L?(k=(0,a.jsxs)("div",{className:"padding-b-164 pt-8 md:pt-12 lg:mx-auto lg:grid lg:max-w-[1004px] lg:grid-cols-[minmax(0,720px)_220px] lg:gap-x-16",children:[y,L]}),A[31]=y,A[32]=L,A[33]=k):k=A[33],A[34]!==k||A[35]!==w?(_=(0,a.jsxs)("section",{className:"container pt-10 md:pt-[60px]",children:[w,
1k]}),A[34]=k,A[35]=w,A[36]=_):_=A[36],A[37]!==_||A[38]!==r||A[39]!==i?(T=(0,a.jsxs)(a.Fragment,{children:[r,i,d,_]}),A[37]=_,A[38]=r,A[39]=i,A[40]=T):T=A[40],T}function p(e){return e.code}function f(e){let t=`/reference/${e.database}/${e.kind}`;return function(r){let n=r.props;return(0,a.jsx)(h.A,{seo:{title:`${n.title} | ${e.seoTitleSuffix}`,description:n.description,url:`https://www.bytebase.com${t}/${n.slug}/`},children:r})}}},59086:(e,t,r)=>{r.d(t,{f:()=>n});let a=[{database:"postgres",kind:"error",breadcrumbLabel:"PostgreSQL Errors",seoTitleSuffix:"PostgreSQL Error Reference",categories:["Data Integrity & Constraint","Query Structure & Aggregation","Schema & Object Management","Permission & Authentication","Concurrency & Locking","Connection & Resource","Backup & Restore Tool","Replication"]},{database:"postgres",kind:"how-to",breadcrumbLabel:"PostgreSQL How-to Guides",seoTitleSuffix:"PostgreSQL How-to Guide",categories:["Installation & Setup","Security & User Management","Table Operations","Indexes & Views","Monitoring & Troubleshooting","Common Tasks & Utilities"]},{database:"mysql",kind:"error",breadcrumbLabel:"MySQL Errors",seoTitleSuffix:"MySQL Error Reference",categories:["Connection","Authentication & Authorization","Query Syntax & Logic","Table & Schema","Data Integrity","Resource & Configuration"]},{database:"mysql",kind:"how-to",breadcrumbLabel:"MySQL How-to Guides",seoTitleSuffix:"MySQL How-to Guide",categories:["Installation & Setup","Security & User Management","Table Operations","Indexes & Views","Monitoring & Troubleshooting","Common Tasks & Utilities"]},{database:"mariadb",kind:"how-to",breadcrumbLabel:"MariaDB How-to Guides",seoTitleSuffix:"MariaDB How-to Guide",categories:["Installation & Setup","Security & User Management"]},{database:"sqlserver",kind:"error",breadcrumbLabel:"SQL Server Errors",seoTitleSuffix:"SQL Server Error Reference",categories:["Connection","Authentication & Authorization","Query Syntax & Logic","Table & Schema","Data Integrity","Resource & Configuration"]},{database:"sqlserver",kind:"how-to",breadcrumbLabel:"SQL Server How-to Guides",seoTitleSuffix:"SQL Server How-to Guide",categories:["Table Operations"]},{database:"mongodb",kind:"how-to",breadcrumbLabel:"MongoDB How-to Guides",seoTitleSuffix:"MongoDB How-to Guide",categories:["Installation & Setup","Security & User Management"]},{database:"clickhouse",kind:"how-to",breadcrumbLabel:"ClickHouse How-to Guides",seoTitleSuffix:"ClickHouse How-to Guide",categories:["Installation & Setup","Security & User Management","Table Operations","Common Tasks & Utilities"]},{database:"spanner",kind:"how-to",breadcrumbLabel:"Spanner How-to Guides",seoTitleSuffix:"Spanner How-to Guide",categories:["Installation & Setup"]}];function n(e,t){let r=a.find(r=>r.database===e&&r.kind===t);if(!r)throw Error(`Unknown reference section: ${e}/${t}`);return r}},67228:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(67002),n=r(15058),i=r(16466),s=r(35693);function o(e){let t,r,o,d,u,m,h,x=(0,n.c)(18),{items:b,footer:g,className:p}=e,[f,v]=(0,i.useState)(b[0]?.id??null);if(x[0]!==b?(t=()=>{if(0===b.length)return;let e=b.map(c).filter(l);if(0===e.length)return;let t=new Set,r=new IntersectionObserver(r=>{for(let e of r)e.isIntersecting?t.add(e.target.id):t.delete(e.target.id);if(t.size>0){let r=e.find(e=>t.has(e.id));r&&v(r.id)}},{rootMargin:"-80px 0px -70% 0px",threshold:[0,1]});return e.forEach(e=>r.observe(e)),()=>r.disconnect()},r=[b],x[0]=b,x[1]=t,x[2]=r):(t=x[1],r=x[2]),(0,i.useEffect)(t,r),0===b.length&&!g)return null;let w=b.length>0;return x[3]!==p?(o=(0,s.A)("hidden xl:block",p),x[3]=p,x[4]=o):o=x[4],x[5]!==f||x[6]!==w||x[7]!==b?(d=w&&(0,a.jsxs)("nav",{className:"hide-scrollbars",children:[(0,a.jsx)("p",{className:"text-night-25/80 text-label-14 mb-5",children:"Contents"}),(0,a.jsx)("ul",{children:b.map(e=>{let t=e.id===f;return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:`#${e.id}`,onClick:()=>v(e.id),"aria-current":t?"location":void 0,className:(0,s.A)("hover:text-night focus-visible:text-night focus-visible:ring-cobalt text-body-14 grid grid-cols-[2px_minmax(0,1fr)] gap-x-2.5 rounded-sm py-1 transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",t?"text-night":"text-night-50"),children:[(0,a.jsx)("span",{"aria-hidden":"true",className:(0,s.A)("bg-cobalt mt-1 h-3 w-0.5 rounded-full",t?"opacity-100":"opacity-0")}),(0,a.jsx)("span",{className:(0,s.A)("min-w-0",3===e.depth&&"pl-4"),children:e.label})]})},e.id)})})]}),x[5]=f,x[6]=w,x[7]=b,x[8]=d):d=x[8],x[9]!==g||x[10]!==w?(u=g&&(0,a.jsx)("div",{className:w?"mt-8":"",children:g}),x[9]=g,x[10]=w,x[11]=u):u=x[11],x[12]!==d||x[13]!==u?(m=(0,a.jsxs)("div",{className:"sticky top-24 max-h-[calc(100vh-120px)] overflow-y-auto",children:[d,u]}),x[12]=d,x[13]=u,x[14]=m):m=x[14],x[15]!==o||x[16]!==m?(h=(0,a.jsx)("aside",{className:o,children:m}),x[15]=o,x[16]=m,x[17]=h):h=x[17],h}function l(e){return null!==e}function c(e){return document.getElementById(e.id)}},99581:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(67002),n=r(15058),i=r(29086),s=r.n(i),o=r(85462),l=r(73627),c=r(14471);let d=(0,l.Be)({heading:"One gated path to the production database, for humans and agents.",cta:"Tour the Platform"},{heading:"DBAã»éçºè
ã»ã»ãã¥ãªãã£ã®ããã®ãã¼ã¿ãã¼ã¹ã¬ããã³ã¹ã",cta:"ãã©ãããã©ã¼ã ãè¦ã"});function u(e){let t,r,i,u,m,h,x,b,g,p,f,v,w=(0,n.c)(21),{event:S,eventProp:j}=e,y=(0,o.w)(S,j),N=(0,l.Ym)();w[0]!==N?(t=d(N),w[0]=N,w[1]=t):t=w[1];let L=t,k=(0,l.uW)(c.A.INDEX);return w[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(120% 100% at 0% 0%, rgba(79,170,255,0.08) 0%, rgba(79,170,255,0) 55%)"},"aria-hidden":"true"}),i=(0,a.jsx)("div",{className:"via-cobalt/40 pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent to-transparent","aria-hidden":"true"}),w[2]=r,w[3]=i):(r=w[2],i=w[3]),w[4]!==L.heading?(u=(0,a.jsx)("p",{className:"text-night mb-8 text-[19px] leading-[1.25] font-semibold tracking-[-0.018em] text-pretty",children:L.heading}),w[4]=L.heading,w[5]=u):u=w[5],w[6]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.jsx)("span",{className:"bg-cobalt/60 absolute -bottom-0.5 left-0 h-px w-0 transition-[width] duration-300 ease-out group-hover:w-full","aria-hidden":"true"}),w[6]=m):m=w[6],w[7]!==L.cta?(h=(0,a.jsxs)("span",{className:"relative",children:[L.cta,m]}),w[7]=L.cta,w[8]=h):h=w[8],w[9]===Symbol.for("react.memo_cache_sentinel")?(x=(0,a.jsx)("svg",{className:"aspect-5-9 h-[9px] w-[5px] rotate-180 transition-transform duration-300 ease-out group-hover:translate-x-1.5","aria-hidden":"true",children:(0,a.jsx)("use",{href:"#icon-caret"})}),w[9]=x):x=w[9],w[10]!==h?(b=(0,a.jsxs)("span",{className:"text-mono text-cobalt inline-flex items-center gap-2.5 text-[11.5px] tracking-[0.1em] uppercase",children:[h,x]}),w[10]=h,w[11]=b):b=w[11],w[12]!==b||w[13]!==u?(g=(0,a.jsxs)("div",{className:"relative z-10",children:[u,b]}),w[12]=b,w[13]=u,w[14]=g):g=w[14],w[15]===Symbol.for("react.memo_cache_sentinel")?(p=(0,a.jsx)("svg",{className:"pointer-events-none absolute -right-2 -bottom-[56px] h-[112px] w-[178px] translate-x-1.5 rotate-180 opacity-50 transition-transform duration-500 ease-out group-hover:translate-x-0",viewBox:"250 0 278 278",preserveAspectRatio:"xMinYMin meet",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M389 139L250 278L250 5.49593e-05L389 139Z",fill:"#4FAAFF"})}),w[15]=p):p=w[15],w[16]===Symbol.for("react.memo_cache_sentinel")?(f=(0,a.jsx)("svg",{className:"pointer-events-none absolute right-0 -bottom-[48px] h-[96px] w-[152px] -translate-x-1 rotate-180 transition-transform duration-500 ease-out group-hover:translate-x-0",viewBox:"250 0 278 278",preserveAspectRatio:"xMinYMin meet",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M389 139L250 278L250 5.49593e-05L389 139Z",fill:"#2B66FF"})}),w[16]=f):f=w[16],w[17]!==y||w[18]!==g||w[19]!==k?(v=(0,a.jsxs)(s(),{href:k,onClick:y,className:"group ring-night/10 hover:ring-cobalt/40 relative block overflow-hidden bg-white p-6 ring-1 transition-[box-shadow] duration-300 ring-inset",children:[r,i,g,p,f]}),w[17]=y,w[18]=g,w[19]=k,w[20]=v):v=w[20],v}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.