documentation
download & extend
community & support
B3 hosting
May 22, 2012, 11:25:03 AM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
General Category
General Discussion
Postgres support
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Postgres support (Read 226 times)
DragonZX
Jr. Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD4
Posts: 13
Offline
Postgres support
«
on:
September 10, 2011, 05:30:28 AM »
Please, help me to create PosgreSQL support for BB3. I do that for security reasons. I have a lot of sites on MySQL, and I need another SQL server for plugin connection... Also I want to create admin panel for this (searching db in 200000 strings is a very hard work for my CPU and my head).
Anybody help me!!!
Logged
Courgette
Senior Dev.
OS: Linux
Type: Home user
Posts: 3483
Offline
Support Specialty:
B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
Re: Postgres support
«
Reply #1 on:
September 10, 2011, 08:51:24 AM »
Hi, here's the roadmap for adding support for a new SGBD :
See the
Storage
class
Then see the
DatabaseStorage
class which inherits from the Storage class
Notice how the DatabaseStorage
getConnection
methods handles different SGBD
Now modify the getConnection method to add support for the postgresql protocol
adapt the sql scripts from
the sql folder
so that you get a script that is able to create tables for a PostgreSQL database
Validate all you work is working good by maintaining
the automated tests for the B3 storage
and make sure they pass when you run them
Logged
Follow me :
@cucurb
.~. new
Smokin' guns official website
Tags:
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal