Assuming that your are using Windows
1. Click on Start -> Programs -> Postgresql 8 -> pgAdmin III
2. On the right hand side you will see the server name (with a red cross). Double click on it and give the password
3. Now Navigate to Database, newgenlib. Select the database named newgenlib, and press on sql button(Pencil icon) on the top
4. Now a sql editor window will open. Paste the query that is sent and press F5 or green traingle button (Play) on the top of the window
5. You will get a message, query executed successfully....
6. Now login into NewGenLib
NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz