1 |
2005-01-25 21:37 seanc |
2 |
|
3 |
* COPYING, pmkfile: Fix up pmkfile to get around brokeness in |
4 |
pmk(1) 0.9.0. Part of this "fix" includes reducing the size the |
5 |
comments (ie, license), so throw the license into COPYING. |
6 |
|
7 |
2004-12-29 10:20 seanc |
8 |
|
9 |
* pgmemcache.c: Catch up with memcache(3)'s removal of a dependency |
10 |
for a strdup(3)-like function. Cleanup a few comments while I'm |
11 |
here. |
12 |
|
13 |
2004-12-24 19:00 seanc |
14 |
|
15 |
* README.pgmemcache, pgmemcache.c, pgmemcache.h, pgmemcache.sql.in: |
16 |
Add memcache_server_find(/* hash */ INT4): returns the |
17 |
hostname:port of the server assigned to the hash value. |
18 |
|
19 |
2004-12-24 18:42 seanc |
20 |
|
21 |
* README.pgmemcache, pgmemcache.c, pgmemcache.h, pgmemcache.sql.in: |
22 |
Add a new function, memcache_server_find(/* key */ TEXT). |
23 |
Returns the hostname:port of the server that handles the given |
24 |
key. |
25 |
|
26 |
Switch to useing mcm_server_find() instead of mcm_find_server(). |
27 |
|
28 |
Test to make sure mcMemNewCtxt() doesn't return NULL. |
29 |
|
30 |
2004-12-24 17:15 seanc |
31 |
|
32 |
* pgmemcache.h: Commit miss. |
33 |
|
34 |
> Umm... the day ends in 'Y', where'd everyone go? |
35 |
> |
36 |
> *grin* Update the API so it compiles against libmemcache(3) |
37 |
1.2.0. I hate |
38 |
> to do this, but the next version of pgmemcache will require |
39 |
libmemache(3) |
40 |
> 1.2.0. Add a new memcache_flush_all() call that uses zero |
41 |
arguments and |
42 |
> flushes all keys for all servers in the server list. |
43 |
> |
44 |
> Add a memcache_flush(TEXT) call which behaves the same as |
45 |
> memcache_flush_all(TEXT). At some point in the future, the |
46 |
> memcache_flush_all(TEXT) call wil grow a warning and will |
47 |
eventually be |
48 |
> killed off: switching to memcache_flush(TEXT) sooner rather |
49 |
than later |
50 |
> would be prudent. |
51 |
> |
52 |
> Remove nearly all references to memcache_flush_all(TEXT) in |
53 |
favor of |
54 |
> memcache_flush(TEXT). |
55 |
|
56 |
2004-12-24 17:10 seanc |
57 |
|
58 |
* README.pgmemcache, pgmemcache.c, pgmemcache.sql.in: Umm... the |
59 |
day ends in 'Y', where'd everyone go? |
60 |
|
61 |
*grin* Update the API so it compiles against libmemcache(3) |
62 |
1.2.0. I hate to do this, but the next version of pgmemcache |
63 |
will require libmemache(3) 1.2.0. Add a new memcache_flush_all() |
64 |
call that uses zero arguments and flushes all keys for all |
65 |
servers in the server list. |
66 |
|
67 |
Add a memcache_flush(TEXT) call which behaves the same as |
68 |
memcache_flush_all(TEXT). At some point in the future, the |
69 |
memcache_flush_all(TEXT) call wil grow a warning and will |
70 |
eventually be killed off: switching to memcache_flush(TEXT) |
71 |
sooner rather than later would be prudent. |
72 |
|
73 |
Remove nearly all references to memcache_flush_all(TEXT) in favor |
74 |
of memcache_flush(TEXT). |
75 |
|
76 |
2004-12-20 22:07 seanc |
77 |
|
78 |
* Makefile.pmk, README.pgmemcache: Update release notes to be in |
79 |
sync with libmemcache(3) 1.1.0. Throw in a little extra release |
80 |
goodness (ie, a ChangeLog) while I'm here. |
81 |
|
82 |
2004-12-20 22:06 seanc |
83 |
|
84 |
* pmkfile: Change debug_cflags to be just debug. This is in sync |
85 |
w/ what libmemcache(3) does now. |
86 |
|
87 |
2004-12-17 16:28 seanc |
88 |
|
89 |
* Makefile.pmk: Add a chump release target. Enter stage left: |
90 |
pgmemcache 1.0rc1. |
91 |
|
92 |
2004-12-17 16:18 seanc |
93 |
|
94 |
* Makefile.pmk: Add a few glob patterns to clean |
95 |
|
96 |
2004-12-17 16:18 seanc |
97 |
|
98 |
* pgmemcache.h, pgmemcache.sql.in: Add $PostgreSQL$ RCS header |
99 |
|
100 |
2004-12-17 16:05 seanc |
101 |
|
102 |
* README.pgmemcache: At long last, add documentation that explains |
103 |
how pgmemcache works, is installed, is setup, the requirements, |
104 |
the API, and also add a handful of examples. There was much |
105 |
rejoicing. |
106 |
|
107 |
2004-12-17 15:20 seanc |
108 |
|
109 |
* LICENSE: License pgmemcache under the standard MIT license. |
110 |
|
111 |
2004-12-17 15:18 seanc |
112 |
|
113 |
* Makefile, Makefile.pmk, pmkfile: Make use of pmk(1) and pgxs for |
114 |
build infrastructure. This should work on most in a pre-8.0 |
115 |
world, but will only work for darwin in a post 8.0rc2. |
116 |
|
117 |
2004-12-17 14:40 seanc |
118 |
|
119 |
* pgmemcache.c: *) Explicitly inline the macro wrappers for |
120 |
pfree(), palloc(), pstrdup(), and the homegrown pstrdup(). |
121 |
|
122 |
*) Have the MCM_CHECK() macro now check if the global memcache |
123 |
memory context is NULL along with the global memcache struct. |
124 |
|
125 |
*) Quench a handful of gcc(1) warnings that can't exist, but crop |
126 |
up because it doesn't grok that elog(ERROR,...) longjump(3)'s |
127 |
out of the given function. |
128 |
|
129 |
*) Mechanically replace all mc_*(...) calls with mcm_*(ctxt, ...) |
130 |
to make use of the newly written multiple memory context API. |
131 |
This change requires that libmemcache(3) 1.1.0rc2 or newer is |
132 |
used. |
133 |
|
134 |
*) Rename all MC_* macros to MCM_* to aid in detection of API |
135 |
calls that don't make use of the multiple memory context api. |
136 |
There should be nothing that matches [Mm][Cc]_* anywhere in |
137 |
pgmemcache now. |
138 |
|
139 |
*) Conditionalize the memory initialization on the global memory |
140 |
context, not on the global memcache struct. In the future I'd |
141 |
like to be able to support multiple memcache server |
142 |
lists/structs in the same backend. This aids in that eventual |
143 |
goal. |
144 |
|
145 |
2004-12-16 22:26 seanc |
146 |
|
147 |
* pgmemcache.h: libmemcache(3) header changed its name to |
148 |
memcache.h in 1.1.0. |
149 |
|
150 |
2004-11-30 11:19 seanc |
151 |
|
152 |
* Makefile, README.pgmemcache, pgmemcache.c, pgmemcache.h, |
153 |
pgmemcache.sql.in: Initial import of pgmemcache |
154 |
|
155 |
2004-11-30 11:19 seanc |
156 |
|
157 |
* Makefile, README.pgmemcache, pgmemcache.c, pgmemcache.h, |
158 |
pgmemcache.sql.in: Initial revision |
159 |
|