Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd512de2

Browse files
committed
exclude information_schema from results
1 parent0b89c8a commitd512de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎contrib/dump_stat/dump_stat--1.0.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ CREATE FUNCTION dump_statistic() RETURNS SETOF TEXT AS $$
213213
BEGIN
214214
for rin
215215
select*frompg_catalog.pg_statistic
216-
where get_namespace(starelid)!= to_namespace('pg_catalog') loop
216+
where get_namespace(starelid)!= to_namespace('pg_catalog')
217+
and get_namespace(starelid)!= to_namespace('information_schema') loop
217218

218219
relname := to_schema_qualified_relname(r.starelid);
219220
attname := quote_literal(to_attname(relname,r.staattnum));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp