⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 duplicate_oids

📁 PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统
💻
字号:
#!/bin/sh## duplicate_oids## $PostgreSQL: pgsql/src/include/catalog/duplicate_oids,v 1.7 2005/04/14 01:38:20 tgl Exp $## finds manually-assigned oids that are duplicated in the system tables.## run this script in src/include/catalog.## note: we exclude BKI_BOOTSTRAP relations since they are expected to have# matching DATA lines in pg_class.hcat pg_*.h indexing.h | \egrep -v -e '^CATALOG\(.*BKI_BOOTSTRAP' | \sed -n	-e 's/^DATA(insert *OID *= *\([0-9][0-9]*\).*$/\1/p' \	-e 's/^CATALOG([^,]*, *\([0-9][0-9]*\).*$/\1/p' \	-e 's/^DECLARE_INDEX([^,]*, *\([0-9][0-9]*\).*$/\1/p' \	-e 's/^DECLARE_UNIQUE_INDEX([^,]*, *\([0-9][0-9]*\).*$/\1/p' | \sort -n | \uniq -dexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -