File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
apps/browser-proxy/src/pg-dump-middleware Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1- import { VECTOR_OID } from './constants.ts'
1+ import { FIRST_NORMAL_OID , VECTOR_OID } from './constants.ts'
22import { parseDataRowFields , parseRowDescription } from './utils.ts'
33
44export function isGetExtensionsQuery ( message : Uint8Array ) : boolean {
@@ -66,6 +66,12 @@ export function patchGetExtensionsResult(data: Uint8Array) {
6666 const fields = parseDataRowFields ( message )
6767 if ( fields [ extnameColumnIndex ] ?. value === 'vector' ) {
6868 vectorOid = fields [ oidColumnIndex ] ! . value !
69+ if ( parseInt ( vectorOid ) >= FIRST_NORMAL_OID ) {
70+ return {
71+ message : data ,
72+ vectorOid,
73+ }
74+ }
6975 const patchedMessage = patchOidField ( message , oidColumnIndex , fields )
7076 messages . push ( patchedMessage )
7177 offset += messageLength + 1
You can’t perform that action at this time.
0 commit comments