473,378 Members | 1,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

New eRServer patch/fork release


A new build of my modifications to eRServer is available at
http://grayling.ravensfield.com. Changes/fixes:

* Fixed existing column as unique problem
I had a bug in the replication threads that manifested itself if you
used existing columns as the unique column. Caused everything to stop.

* Added RMI signaling structure
There is now an RMI-based signaling structure to the whole thing.
Currently, it only supports shutdown, but will eventually support
reseting the
various column caches and table maps so you can modify table schemas
without having to restart erserver. There is no security at all on it
yet. I
probably ought to require the master password for remote operations.

* Added org.psotgresql.ers.ERSCtl
Signaling app.

* Modified ers_ctl to use the shutdown signal
Cleaner way to shut the thing down. Using the current ers_ctl will
still work fine (except when it screws up on its own accord).

* Added org.postgresql.ers.ERSExecSQL
This will execute an arbitrary SQL statement on the master and slaves
(default is slaves first). When I get the signaling down proper, this
will allow
you to add columns etc. on the fly.

* Added by-table unique column setting while adding multiple tables
from a file or command line
So you can do the following things:

java org.postgresql.ers.ERSAddTable table1 table2,col1

which will add table1 using '_ers_uniq' and table2 using 'col1', or:

java org.postgresql.ers.ERSAddTable -u _uniq table1 table2,col1 table3

which will add table1 and table3 with '_uniq' and table2 with col1.

Questions, comments, bugs, flames, etc. let me know.

--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #1
2 1560
On Thu, Nov 06, 2003 at 10:21:32AM -0500, Andrew Rawnsley wrote:

A new build of my modifications to eRServer is available at
http://grayling.ravensfield.com. Changes/fixes:
Could you add these patches to the gborg site? That way people who
go there to test it out won't overlook it.
* Added org.postgresql.ers.ERSExecSQL
This will execute an arbitrary SQL statement on the master and slaves
(default is slaves first). When I get the signaling down proper, this
will allow
you to add columns etc. on the fly.


You'll need to change the engine. The engine currently only looks
for columns at the time of start-up. After that, it never looks
again, so the columns will be added, but not replicated.
A
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<an****@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #2

On Nov 6, 2003, at 10:48 AM, Andrew Sullivan wrote:
On Thu, Nov 06, 2003 at 10:21:32AM -0500, Andrew Rawnsley wrote:

A new build of my modifications to eRServer is available at
http://grayling.ravensfield.com. Changes/fixes:
Could you add these patches to the gborg site? That way people who
go there to test it out won't overlook it.


Sure. Should have thought to do that.
* Added org.postgresql.ers.ERSExecSQL
This will execute an arbitrary SQL statement on the master and slaves
(default is slaves first). When I get the signaling down proper, this
will allow
you to add columns etc. on the fly.


You'll need to change the engine. The engine currently only looks
for columns at the time of start-up. After that, it never looks
again, so the columns will be added, but not replicated.


Yeah, actually reseting the column cache in the slave processor and the
table map in the master is easy. Getting to those objects
through the rather obtuse layering of classes from where I put the
signaling point is the trickier part.

A
----
Andrew Sullivan 204-4141 Yonge Street
Afilias Canada Toronto, Ontario Canada
<an****@libertyrms.info> M2P 2A8
+1 416 646 3304 x110

_______________________________________________
Erserver-general mailing list
Er**************@gborg.postgresql.org
http://gborg.postgresql.org/mailman/...server-general

--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: PatchFactory Support | last post by:
Description: Professional and easy-to-use patch building environment that can help you to create instant patch packages for software and file updating. Generated patch packages are small size...
2
by: Andrew Rawnsley | last post by:
Downloaded the eRServer 1.2 source (thanks, guys) and installed, and am having a problem. Anyone else dug into this yet? Situation: PG 7.3.4 on linux (master) Its been tried with 3 slaves,...
2
by: Bill Montgomery | last post by:
I am installing erserver 1.2 right now, and am having a problem with the ers_addslave program. It uses the eRServer.pm perl module, which perl is failing to compile. Observe: $ ers_addslave...
14
by: Marc G. Fournier | last post by:
After a relatively short period for beta5, where nothing major arose, we have just packaged up our first Release Candidate for v7.4, with the hopes of producing a full release over the next 7 to 14...
2
by: gaffar | last post by:
Sir, In a form i have kept 2 textboxes(a,b) and a button(add). which supports only of integer values i have written. after entering the values in the textboxes and after clicking the add...
67
by: Bob Powell | last post by:
To whom it may concern: I find the recent articles in various trade publications a little disturbing due to the lack of PostgrSQL mention. I continue to see articles about how IBM may be...
4
by: Richard Jones | last post by:
I'm proud to release version 1.1.3 of Roundup. Feature: - supports Python 2.5, including the sqlite3 module - full timezone support (sf patch 1465296) - handle connection loss when responding...
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm announcing the release of Python 2.3.6 (release candidate 1). Python 2.3.6 is a security bug-fix release. While Python 2.5...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 423 open ( +2) / 3553 closed ( +4) / 3976 total ( +6) Bugs : 963 open (+20) / 6479 closed ( +8) / 7442 total (+28) RFE : 260 open...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.