summaryrefslogtreecommitdiff
path: root/fml/etc/src/config.cf.ja
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-08-23 08:30:26 +0000
committerfukachan <fukachan>2005-08-23 08:30:26 +0000
commit72fcc4b64bae392d24a81f639e716b1fa39b401a (patch)
treeb52dd040209cd084212adfd951d90f5101d9b0d4 /fml/etc/src/config.cf.ja
parentb3fbe0c7a83fab55a1c4e6c48f929bade504ad6e (diff)
downloadfml8-72fcc4b64bae392d24a81f639e716b1fa39b401a.tar.gz
fml8-72fcc4b64bae392d24a81f639e716b1fa39b401a.tar.bz2
fml8-72fcc4b64bae392d24a81f639e716b1fa39b401a.zip
IO::Adapter supports PostgreSQL
Diffstat (limited to 'fml/etc/src/config.cf.ja')
-rw-r--r--fml/etc/src/config.cf.ja/postgresql.cf106
1 files changed, 106 insertions, 0 deletions
diff --git a/fml/etc/src/config.cf.ja/postgresql.cf b/fml/etc/src/config.cf.ja/postgresql.cf
new file mode 100644
index 00000000..9a6fbf7d
--- /dev/null
+++ b/fml/etc/src/config.cf.ja/postgresql.cf
@@ -0,0 +1,106 @@
+=head1 PostgreSQL の例
+
+
+#
+# 注意: 次の ^=head で名前空間はリセットされる
+#
+# [Example]
+# create table ml (
+# fml_ml char(64),
+# fml_address char(64),
+# fml_member int,
+# fml_recipient int
+# );
+
+
+[postgresql:fml]
+
+
+# Descriptions:
+# History:
+# Value: HOSTNAME
+# Examples:
+sql_servers = localhost
+
+
+# Descriptions:
+# History:
+# Value: USER
+# Examples:
+sql_user = fml
+
+
+# Descriptions:
+# History:
+# Value: PASSWORD
+# Examples:
+sql_password = uja
+
+
+# Descriptions:
+# History:
+# Value: SQL_DATABASE
+# Examples:
+sql_database = fml
+
+
+# Descriptions:
+# History:
+# Value: SQL_TABLE
+# Examples:
+sql_table = ml
+
+
+# Descriptions: 注意: 各行を取り出すのではなく
+# とりあえず全て取りだしキャッシュするクエリ
+# History:
+# Value: SQL_QUERY_STATEMENT
+# Examples:
+sql_query_get_next_key = select fml_address from $sql_table
+ where fml_ml = '$ml_name'
+ and
+ fml_domain = '$ml_domain'
+
+
+# Descriptions: 注意: 各行を取り出すのではなく
+# とりあえず全て取りだしキャッシュするクエリ
+# History:
+# Value: SQL_QUERY_STATEMENT
+# Examples:
+sql_query_getline = select fml_address from $sql_table
+ where fml_ml = '$ml_name'
+ and
+ fml_domain = '$ml_domain'
+
+
+# Descriptions:
+# History:
+# Value: SQL_QUERY_STATEMENT
+# Examples:
+sql_query_add = insert into $sql_table
+ values ('$ml_name', '$ml_domain', '&address', 1, 1)
+
+
+# Descriptions:
+# History:
+# Value: SQL_QUERY_STATEMENT
+# Examples:
+sql_query_delete = delete from $sql_table
+ where fml_ml = '$ml_name'
+ and
+ fml_domain = '$ml_domain'
+ and
+ fml_address = '&address'
+
+
+# Descriptions: 注意: 各行を取り出すのではなく
+# とりあえず全て取りだしキャッシュするクエリ
+# History:
+# Value: SQL_QUERY_STATEMENT
+# Examples:
+sql_query_find = select fml_address from $sql_table
+ where fml_ml = '$ml_name'
+ and
+ fml_domain = '$ml_domain'
+ and
+ fml_address like '%&regexp%'