创建表 /** * 创建表 * @throws Exception */ public static void createTable() throws Exception{ //1、创建一个client ...
继续阅读安装sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg...
继续阅读1,包含a和b:^(?=.*a)(?=.*b).*$ 补充,如果多行里面有a和b那么就是下面表达式,因为.只是正则中除了\n的任意字符,想要匹配任意字符需要(.|\n)^(?=(.|\n)*a)(?=(.|\n)*b)(.|\n)*$ 2,包含a不包含b:^((?!b.)*...
继续阅读su postgres psql \c scm select * from hosts update hosts set name='hostName' where host_id='xxxxxxx';
继续阅读