2010-12-07から1日間の記事一覧

PHPで引数だけ異なる関数は作れない

PHP

親クラス::method($hoge, $fuga) に対して 派生クラス::method($hoge, $fuga, $piyo) のようにしたら Strict Standards: Declaration of 派生クラス::メソッド() should be compatible with that of 親クラス::メソッド()

Postgres9.0 レプリケーションめも

設定はこのあたりが参考に... http://d.hatena.ne.jp/interdb/20100517/1274031168 Q. warm standbyとStreaming Replicationの違い A. 参照&更新できない点は同じだが、Streaming Replicationの方がレコード単位である為、遅延が少ない warm standby WALフ…