寻找免费的GUI工具与PostgreSQL工作 [英] Looking for free GUI tool to work with PostgreSQL
问题描述
目前,我使用独立的GUI工具 DbSchema 来设计我的数据库模式。
Currently, I am using standalone GUI tool DbSchema to design my database schema.
我喜欢它,因为它可以
- 生成SQL代码。 >
- 在我的整个数据库模式上有图形视图。
alt text http://sites.google.com/site/yanchengcheok/Home/PostgreSQL.png
但是,我意识到由DbSchema生成的SQL代码未被PostgreSQL识别。
However, I realize the SQL code generate by DbSchema is not being recognized by PostgreSQL.
CREATE TABLE lot (
lot_id serial AUTO_INCREMENT NOT NULL,
operator_name text,
machine_name text,
timestamp timestamp,
CONSTRAINT pk_lot_id PRIMARY KEY(lot_id))
CREATE TABLE unit (
unit_id serial AUTO_INCREMENT NOT NULL,
fk_lot_id serial NOT NULL,
CONSTRAINT pk_unit_id PRIMARY KEY(unit_id),
CONSTRAINT fk_lot_id FOREIGN KEY( fk_lot_id ) REFERENCES lot ( lot_id ))
我得到错误:
org.postgresql.util.PSQLException: ERROR: syntax error at or near "AUTO_INCREMENT"
有没有任何替代的只是工作免费工具,我可以使用PostgreSQL,通过提供以上2的功能?
Is there any alternative "just work" free tool that I can work with PostgreSQL, by providing above 2 features?
推荐答案
我喜欢 VisualUML / DBA 工具包。它不是免费的,但它肯定是好的。它会做你要的,它会为你生成DB(用你最喜欢的DBMS)创建/删除脚本。
I like the VisualUML/DBA kit. Its not free but it sure is nice. It'll do what you are asking for and it'll generate the DB (with your favorite DBMS) create/drop script for you.
这篇关于寻找免费的GUI工具与PostgreSQL工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!