用postgres征服PACS

时间:2015-03-25 07:10:20

标签: linux postgresql

我有一个Conquest PACS我想使用pSQL数据库。

但是当我查询我的PACS时,我不断获得DBerror

就我在日志中看到的而言,PACS从不查询数据库。

我的dicom.ini文件如下所示:

# Network configuration: server name and TCP/IP port#                                                                          
MyACRNema                = PACS365                    
TCPPort                  = 104                    

# Reference to other files: known dicom servers; database layout; sops                                                         
ACRNemaMap               = /var/services/web/vpm/conf/acrnema.map
kFactorFile              = dicom.sql                    
SOPClassList             = dgatesop.lst                    
                                                                                # Host for postgres or mysql only, name, username and password for database                                                    
SQLHost                  = localhost                    
SQLServer                = conquest                    
Username                 = pacs                    
Password                 = pacs                    
PostGres                 = 1                    
MySQL                    = 0                    
SQLite                   = 0                    
                                                                                UseEscapeStringConstants = 1                    
DoubleBackSlashToDB      = 1                    
#IndexDBF                = 1                    
#PackDBF                 = 0                    
#LongQueryDBF            = 1000             

有人能看出出了什么问题吗?

1 个答案:

答案 0 :(得分:0)

您确认postgres安装是否正确?

$ su - postgres
postgres = # set schema 'conquest';
postgres = # SELECT * from conquest.DICOMPatients;