練功房推薦書單

  • 猛虎出柙雙劍合璧版--最新 OCA / OCP Java SE 7 Programmer 專業認證 (電子書)
  • 流浪教師存零股存到3000萬(全新增修版)(書+DVD)
  • 開始在關西自助旅行(京都‧大阪‧神戶‧奈良)(全新增訂版)
  • 不敗教主的300張股票存股術

Postgre CURRVAL issue RSS feed
討論區首頁 » JForum中文社群 JForum Chinese Users Community
發表人 內容
acer123

九級學員

註冊時間: 2009/9/10
文章: 19
離線
I install JForums on postgres. I am assuming that the only SQL file JForum uses for all it's queries is generic_queries.sql because the DB which i have consist of schemaname.tablename and because of that i had to change all of my SQL file.

Since this was an issue so inserted everything manually and implemented SSO which is working just fine. There were several bug which i faced on PSQL JForums which i will post in your JIRA site.

I have a question. Everytime i post a message on JForums or create a topic or send a PVT message to a user i get a PSQLException :-

Error: currval of sequence "jforum_privmsgs_seq" is not yet defined in the session.

I saw in postgresql.sql file it has :-

select CURRVAL('jforum_privmsgs_seq')
select CURRVAL('jforum_topics_seq')
acer123

九級學員

註冊時間: 2009/9/10
文章: 19
離線
Never mind i got it :--)
 
討論區首頁 » JForum中文社群 JForum Chinese Users Community
前往:   
行動版