postgresqlの最近のブログ記事

なにはともあれ、wgetしたPostgreSQLのソースを展開して、

INSTALLを見てましょう!!

 

ふむふむ

 

./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

 

まー、いたって普通ですなw

では、installしてみましょうー

 

postgresql8以降で、mysqlのような「LIMIT 10,10」は使えません

こんなことすると

 

SELECT * FROM table ORDER BY id LIMIT 1, 5;

 

こないなエラーが出ます

 

ERROR:  LIMIT #,# syntax is not supported
HINT:  Use separate LIMIT and OFFSET clauses.

 

Perl 勉強本

Oracle 勉強本

J2EE 勉強するなら、これしかなくね?

2008年8月: 月別アーカイブ

このアーカイブについて

このページには、過去に書かれたブログ記事のうちpostgresqlカテゴリに属しているものが含まれています。

前のカテゴリはphpです。

次のカテゴリはrailsです。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Movable Type 4.1

ブログ管理人

SE perler@29

アイテム

  • image001.gif
  • modperl.png

アドパートナー

tooland

Pingo!

boox