首页
\
问答
\
在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
我正在尝试在本地升级postgres,所以我没有得到版本不匹配错误。 这是我做的:
echo "http://dl-5.alpinelinux.org/alpine/v3.5/main" >> /etc/apk/repositories; apk update bash-4.3# apk add postgresql-dev (1/4) Installing libressl2.4-libtls (2.4.4-r0) (2/4) Installing libressl-dev (2.4.4-r0) (3/4) Installing postgresql-libs (9.6.5-r0) (4/4) Installing postgresql-dev (9.6.5-r0) Executing busybox-1.24.2-r13.trigger OK: 353 MiB in 108 packages bash-4.3# pg_dump bash: /usr/bin/pg_dump: No such file or directory
我不知所措 - 知道问题是什么吗?
I'm trying to upgrade postgres locally so I don't get a version mismatch error. This is what i do:
echo "http://dl-5.alpinelinux.org/alpine/v3.5/main" >> /etc/apk/repositories; apk update bash-4.3# apk add postgresql-dev (1/4) Installing libressl2.4-libtls (2.4.4-r0) (2/4) Installing libressl-dev (2.4.4-r0) (3/4) Installing postgresql-libs (9.6.5-r0) (4/4) Installing postgresql-dev (9.6.5-r0) Executing busybox-1.24.2-r13.trigger OK: 353 MiB in 108 packages bash-4.3# pg_dump bash: /usr/bin/pg_dump: No such file or directory
I'm at a loss - any idea what the problem is please?
原文:https://stackoverflow.com/questions/46548552
更新时间:2024-05-05 19:05
最满意答案
你只需要用
this.itemsCopy = items
替换this.itemsCopy = items
this.itemsCopy = new ArrayList(items);
You just need to replace
this.itemsCopy = items
, withthis.itemsCopy = new ArrayList(items);
相关问答
更多-
介绍 由于您的问题不清楚,您究竟遇到了什么问题,所以我写了关于如何实现此功能的快速入门课程,如果您还有疑问可以随时问。 我在这个GitHub存储库中有一个我在说的一切工作的例子。 如果您想了解更多关于示例项目的信息,请访问项目主页 。 无论如何,结果应该如下所示: 如果您首先要玩演示版,可以从Play Store安装: 无论如何,让我们开始吧。 设置SearchView 在文件夹res/menu创建一个名为main_menu.xml的新文件。 在它中添加一个项目并将actionViewClass设置为and ...
-
在选项菜单中创建一个搜索视图,然后通过以编程方式覆盖onCreateOptionsMenu()使用它。