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

Commit55f02ce

Browse files
committed
Fix the problem with pg_dump,closes#25
1 parent0739c83 commit55f02ce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,7 @@ However, developers usually know when they change a schema significantly. It's
175175
also easy to re-check whether the current schema differs a lot from the original
176176
one using zson\_dict table.
177177

178+
##Open issues
179+
180+
- Intalling the extension in a schema other than`public` is not supported (i.e.`CREATE EXTENSION zson WITH SCHEMA ...`);
181+

‎zson.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ dict_load(int32 dict_id)
109109
{
110110
Oidargtypes[]= {INT4OID };
111111
savedPlanLoadDict=SPI_prepare(
112-
"select word_id, word from zson_dict where dict_id = $1 "
112+
"select word_id, word frompublic.zson_dict where dict_id = $1 "
113113
"order by word",
114114
1,argtypes);
115115
if(savedPlanLoadDict==NULL)
@@ -322,7 +322,7 @@ get_current_dict_id()
322322
if(savedPlanGetDictId==NULL)
323323
{
324324
savedPlanGetDictId=SPI_prepare(
325-
"select max(dict_id) from zson_dict;",0,NULL);
325+
"select max(dict_id) frompublic.zson_dict;",0,NULL);
326326
if (savedPlanGetDictId==NULL)
327327
elog(ERROR,"Error preparing query");
328328
if (SPI_keepplan(savedPlanGetDictId))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp