summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
Commit message (Expand)AuthorAgeFilesLines
* Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-301-4/+1
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahbl...•••This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-6/+1
* Fix ipv6 ass-u-me's•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-071-2/+15
* Correctly allow all supporting versions of PostgreSQL to use secure string es...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-271-1/+1
* The mob has spoken: PQescapeStringConn is used for pgsql >= 8.1.4•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-271-1/+1
* Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of identic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-134/+0
* Mass comment removal.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-122/+10
* Add eval() and exec() macros, that evaluate perl and execute commands at conf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-2/+2
* Improve handling of backend server being down. Also decraq some debug output ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6301 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-121-16/+16
* More tidyup.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6297 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-8/+3
* Only use force if necessary! Tidy up debug output.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6296 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-6/+22
* pgsql should now work thx to added posibility to force a fd out of the socket...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-16/+10
* Closer now, but somehow libpq invalidates the file descriptor on server shutd...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6294 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-111-52/+34
* reconnects still broken, but getting there.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-101-30/+53
* SQLConn rewritten to use EventHandler instead of InspSocket. This is much nea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6292 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-101-478/+419
* Document dns caching, add a "bool cached" to OnLookupComplete method in Resol...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-2/+2
* DNS caching stuff (almost done)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-4/+1
* DNS Stuff - this wont work right yet, it will soon (tm)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-5/+8
* Add TTL stuff to dns system (pass it to inherited objects)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-2/+2
* Use SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module excep...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-021-88/+36
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-1/+1
* Tidyup a bit, get rid of some valgrind warnings.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-311-157/+143
* Make it safe to lose connection to sql server.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6183 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-36/+84
* Remove a line of debug that could crash Log.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-2/+1
* This is a longshot, pls test AnnMaster.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6178 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-1/+2
* The world is coming to an end!!! RUN AWAY!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-0/+1
* Fix typo in warning, and make it sound less like the world is coming to an end.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-1/+1
* Now REHASH checks for same and old connections, same as the DNS resolver. So ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-35/+95
* Majorly funk around with this, still needs check for config change on REHASH.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-182/+190
* Oops slippy fingers.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6160 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-1/+1
* Less debug.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6159 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-4/+0
* Fix for rehash/load/unload.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6158 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-14/+20
* Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. F...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6155 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-1/+1
* Change the SQLutils and SQL providers to also use interfaces for proper unloa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6149 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-281-7/+18
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-7/+3
* Update $ModDep lines so that these properly depend on their headers in the ma...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5853 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-041-0/+1
* Merge pgsql stuff from darix, but im sure theres something to be looked at in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-191-2/+1
* Add fix for patch #166 (this is a reasonably big one)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-101-1/+1
* Oops, memory leaks!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-2/+2
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* Document more classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-0/+2
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Mini security audit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-1/+1
* 1) Make earlier fix to inspsocket actually compile without error•••2) Make sure that query string is sent back in the reply git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5155 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-071-6/+9
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-5/+2
* Catch exceptions from SQLresolver•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-121-3/+10
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-59/+59
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-54/+54
* Change to use InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+2