Re: [GENERAL] metadata on a table

2010-05-19 Thread Malm Paul
-general@postgresql.org Subject: [GENERAL] metadata on a table Hi, I'm trying to read the metadata from table to create the same sort of table in another database, using java. This is how I do it today quwstion = "SELECT * FROM table" stmnt = dbConnection.prepareStatement

[GENERAL] metadata on a table

2010-05-18 Thread Malm Paul
Hi, I'm trying to read the metadata from table to create the same sort of table in another database, using java. This is how I do it today quwstion = "SELECT * FROM table" stmnt = dbConnection.prepareStatement(question); rs = stmnt.executeQuery(); ResultSetMetaData rsMetaData = rs.getMetaData