Asterisk: импорт из Master.csv в Postgresql
postgres=# CREATE USER ast_user with password ‘xxxxxxx’; CREATE ROLE postgres=# CREATE DATABASE ast_db with owner ast_user; CREATE DATABASE postgres=#exit psql ast_db ast_user ast_db=> CREATE TABLE cdr ( calldate timestamp with time zone DEFAULT now() NOT NULL, clid character varying(80) DEFAULT ” NOT NULL, src character varying(80) DEFAULT ” NOT NULL, dst character varying(80) DEFAULT ”… Читати далі »