相关疑难解决方法(0)

从命令行创建数据库

我正在尝试从命令行创建数据库.我的SO是centos,postgres是9.2

sudo -u postgres psql createdb test
Password for user test:
Run Code Online (Sandbox Code Playgroud)

为什么用户问我?

postgresql

64
推荐指数
6
解决办法
10万
查看次数

在 SpringBoot 集成测试中使用 TestContainers 填充数据库

我正在测试 TestContainers,我想知道如何填充执行 .sql 文件的数据库以创建结构并添加一些行。

怎么做?

@Rule
public PostgreSQLContainer postgres = new PostgreSQLContainer();
Run Code Online (Sandbox Code Playgroud)

spring-boot testcontainers

12
推荐指数
5
解决办法
1万
查看次数

PostgreSQL中的函数名称是否不区分大小写?

在PostgreSQL中定义或调用函数时,情况是否重要?

postgresql

6
推荐指数
1
解决办法
3233
查看次数

标签 统计

postgresql ×2

spring-boot ×1

testcontainers ×1