MCPcopy Create free account
hub / github.com/PostHog/duckgres / buildSessionPgNamespaceViewSQL

Function buildSessionPgNamespaceViewSQL

server/sessionmeta/sessionmeta.go:427–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425 0 AS reltoastrelid,
426 0::BIGINT AS reltoastidxid,
427 false AS relhasindex,
428 false AS relisshared,
429 CASE WHEN temporary THEN 't' ELSE 'p' END AS relpersistence,
430 'S' AS relkind,
431 0 AS relnatts,
432 0 AS relchecks,
433 false AS relhasoids,
434 false AS relhaspkey,
435 false AS relhasrules,
436 false AS relhastriggers,
437 false AS relhassubclass,
438 false AS relrowsecurity,
439 false AS relforcerowsecurity,
440 true AS relispopulated,
441 NULL AS relreplident,
442 false AS relispartition,
443 0 AS relrewrite,
444 0 AS relfrozenxid,
445 NULL AS relminmxid,
446 NULL AS relacl,
447 NULL AS reloptions,
448 NULL AS relpartbound,
449 database_name
450 FROM duckdb_sequences()
451 WHERE sequence_name NOT IN (%s)
452 AND %s
453 UNION ALL
454 SELECT
455 index_oid AS oid,
456 index_name AS relname,
457 schema_oid AS relnamespace,
458 0 AS reltype,
459 0 AS reloftype,
460 0 AS relowner,
461 0 AS relam,

Callers 1

buildSessionMetadataSQLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected