


cd C:\Program Files\PostgreSQL\9.3\bin

psql -U postgres

psql -d [f[^x[X] -U [[U[]

Epostgres pX[h́Apostgres
\q   I

Epsql ̕錏
	\encoding SJIS
	܂́A
	SET CLIENT_ENCODING TO 'SJIS';

	JDBC ŐڑĂꍇ
	SET CLIENT_ENCODING TO 'UNICODE';

E[Uꗗ̕\
	select usename from pg_user order by usename;



Ee[uꗗ
	\z

	select * from pg_tables where not tablename like 'pg%' order by tablename;


Ee[ũtB[hꗗ\
	\d e[u

	select attname, atttypid, attlen
	  from pg_attribute
	  where attnum > 0
	    and attrelid = (select relfilenode from pg_class where relname = 'testm')
	  order by attnum
	;



 _
	setQueryTimeout \bh́AĂ܂B
	\[XǂƁADB_MAX_QUERY_TIMEOUT  0 ɃZbg΁Aʂ܂B

	select param_id,param,kbsaku from ge12 where param_id='DB_MAX_QUERY_TIMEOUT';

	insert into GE12(SYSTEM_ID,PARAM_ID,SEQNO,TITLE,PARAM,KBSAKU,FGJ)
	VALUES('**','DB_MAX_QUERY_TIMEOUT','9999','DB_MAX_QUERY_TIMEOUT','0','1','1');

	܂

	insert into GE12(SYSTEM_ID,PARAM_ID,SEQNO,TITLE,PARAM,CONTENTS,PARAM_LVL,KBSAKU,FGCRYPT,CONTXT_PATH,FGREBOOT,FGJ)
		select SYSTEM_ID,PARAM_ID,SEQNO,TITLE,'0',CONTENTS,PARAM_LVL,'1',FGCRYPT,CONTXT_PATH,FGREBOOT,FGJ
		from GE12
		where param_id='DB_MAX_QUERY_TIMEOUT'
		and   KBSAKU = '0'
		and   FGJ    = '1' ;


 _
	^ϊg܂B
	package org.opengion.fukurou.util;
public final class ApplicationInfo {
	public static boolean useParameterMetaData( final Connection conn ) {

			if( "PostgreSQL".equalsIgnoreCase( dbProductName ) ) { return true; }

