Skip to content

pglite is not working #35

@zhenyamega

Description

@zhenyamega

On the site codapi.org/postgres-pglite, running any code produces the message error: cannot insert multiple commands into a prepared statement.

Console logs:
highlight.min.js:106 WARN: Could not find the language 'pgsql', did you forget to load/include a language module?
highlight.min.js:106 WARN: Falling back to no-highlight mode for this block. pre.editor.language-pgsqlaccessKey: ""ariaActiveDescendantElement: nullariaAtomic: nullariaAutoComplete: nullariaBrailleLabel: nullariaBrailleRoleDescription: nullariaBusy: nullariaChecked: nullariaColCount: nullariaColIndex: nullariaColIndexText: nullariaColSpan: nullariaControlsElements: nullariaCurrent: nullariaDescribedByElements: nullariaDescription: nullariaDetailsElements: nullariaDisabled: nullariaErrorMessageElements: nullariaExpanded: nullariaFlowToElements: nullariaHasPopup: nullariaHidden: nullariaInvalid: nullariaKeyShortcuts: nullariaLabel: nullariaLabelledByElements: nullariaLevel: nullariaLive: nullariaModal: nullariaMultiLine: nullariaMultiSelectable: nullariaOrientation: nullariaPlaceholder: nullariaPosInSet: nullariaPressed: nullariaReadOnly: nullariaRelevant: nullariaRequired: nullariaRoleDescription: nullariaRowCount: nullariaRowIndex: nullariaRowIndexText: nullariaRowSpan: nullariaSelected: nullariaSetSize: nullariaSort: nullariaValueMax: nullariaValueMin: nullariaValueNow: nullariaValueText: nullassignedSlot: nullattributeStyleMap: StylePropertyMap {size: 7}attributes: NamedNodeMap {0: class, 1: contenteditable, 2: spellcheck, 3: style, class: class, contenteditable: contenteditable, spellcheck: spellcheck, style: style, length: 4}autocapitalize: ""autofocus: falsebaseURI: "https://codapi.org/postgres-pglite/"childElementCount: 0childNodes: NodeList [text]children: HTMLCollection []classList: DOMTokenList(2) ['editor', 'language-pgsql', value: 'editor language-pgsql']className: "editor language-pgsql"clientHeight: 162clientLeft: 1clientTop: 1clientWidth: 795contentEditable: "plaintext-only"currentCSSZoom: 1dataset: DOMStringMap {}dir: ""draggable: falseeditContext: nullelementTiming: ""enterKeyHint: ""firstChild: textfirstElementChild: nullhidden: falseid: ""inert: falseinnerHTML: "select\n  dense_rank() over w as rank,\n  name, department, salary\nfrom employees\nwindow w as (order by salary desc)\norder by rank, id;"innerText: "select\n  dense_rank() over w as rank,\n  name, department, salary\nfrom employees\nwindow w as (order by salary desc)\norder by rank, id;"inputMode: ""isConnected: trueisContentEditable: truelang: ""lastChild: textlastElementChild: nulllocalName: "pre"namespaceURI: "http://www.w3.org/1999/xhtml"nextElementSibling: codapi-snippetnextSibling: codapi-snippetnodeName: "PRE"nodeType: 1nodeValue: nullnonce: ""offsetHeight: 164offsetLeft: 0offsetParent: div.playgroundoffsetTop: 0offsetWidth: 797onabort: nullonanimationend: nullonanimationiteration: nullonanimationstart: nullonauxclick: nullonbeforecopy: nullonbeforecut: nullonbeforeinput: nullonbeforematch: nullonbeforepaste: nullonbeforetoggle: nullonbeforexrselect: nullonblur: nulloncancel: nulloncanplay: nulloncanplaythrough: nullonchange: nullonclick: nullonclose: nulloncommand: nulloncontentvisibilityautostatechange: nulloncontextlost: nulloncontextmenu: nulloncontextrestored: nulloncopy: nulloncuechange: nulloncut: nullondblclick: nullondrag: nullondragend: nullondragenter: nullondragleave: nullondragover: nullondragstart: nullondrop: nullondurationchange: nullonemptied: nullonended: nullonerror: nullonfocus: nullonformdata: nullonfullscreenchange: nullonfullscreenerror: nullongotpointercapture: nulloninput: nulloninvalid: nullonkeydown: nullonkeypress: nullonkeyup: nullonload: nullonloadeddata: nullonloadedmetadata: nullonloadstart: nullonlostpointercapture: nullonmousedown: nullonmouseenter: nullonmouseleave: nullonmousemove: nullonmouseout: nullonmouseover: nullonmouseup: nullonmousewheel: nullonpaste: nullonpause: nullonplay: nullonplaying: nullonpointercancel: nullonpointerdown: nullonpointerenter: nullonpointerleave: nullonpointermove: nullonpointerout: nullonpointerover: nullonpointerrawupdate: nullonpointerup: nullonprogress: nullonratechange: nullonreset: nullonresize: nullonscroll: nullonscrollend: nullonscrollsnapchange: nullonscrollsnapchanging: nullonsearch: nullonsecuritypolicyviolation: nullonseeked: nullonseeking: nullonselect: nullonselectionchange: nullonselectstart: nullonslotchange: nullonstalled: nullonsubmit: nullonsuspend: nullontimeupdate: nullontoggle: nullontransitioncancel: nullontransitionend: nullontransitionrun: nullontransitionstart: nullonvolumechange: nullonwaiting: nullonwebkitanimationend: nullonwebkitanimationiteration: nullonwebkitanimationstart: nullonwebkitfullscreenchange: nullonwebkitfullscreenerror: nullonwebkittransitionend: nullonwheel: nullouterHTML: "<pre class=\"editor language-pgsql\" contenteditable=\"plaintext-only\" spellcheck=\"false\" style=\"outline: none; overflow-wrap: break-word; overflow-y: auto; white-space: pre-wrap;\">select\n  dense_rank() over w as rank,\n  name, department, salary\nfrom employees\nwindow w as (order by salary desc)\norder by rank, id;</pre>"outerText: "select\n  dense_rank() over w as rank,\n  name, department, salary\nfrom employees\nwindow w as (order by salary desc)\norder by rank, id;"ownerDocument: documentparentElement: div.playgroundparentNode: div.playgroundpart: DOMTokenList [value: '']popover: nullprefix: nullpreviousElementSibling: div.editor-lines.hidden-mobilepreviousSibling: div.editor-lines.hidden-mobilerole: nullscrollHeight: 162scrollLeft: 0scrollTop: 0scrollWidth: 795shadowRoot: nullslot: ""spellcheck: falsestyle: CSSStyleDeclaration {0: 'outline-color', 1: 'outline-style', 2: 'outline-width', 3: 'overflow-wrap', 4: 'overflow-y', 5: 'white-space-collapse', 6: 'text-wrap-mode', accentColor: '', additiveSymbols: '', alignContent: '', alignItems: '', alignSelf: '', …}tabIndex: -1tagName: "PRE"textContent: "select\n  dense_rank() over w as rank,\n  name, department, salary\nfrom employees\nwindow w as (order by salary desc)\norder by rank, id;"title: ""translate: truevirtualKeyboardPolicy: ""width: 0writingSuggestions: "true"[[Prototype]]: HTMLPreElement
inject-root-bundle.js:1 RSS_Basic_Detect.js: Expected contentType string
Zn @ inject-root-bundle.js:1
Promise.then
Jn @ inject-root-bundle.js:1
(anonymous) @ inject-root-bundle.js:1
(anonymous) @ inject-root-bundle.js:1
(anonymous) @ inject-root-bundle.js:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions