Browse Source

* added pg_collkey (0.2) - International UTF-8 collation for PostgreSQL

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20460 10447126-35f2-4685-b0cf-6dd780d3921f
early
Nagy Karoly Gabriel 18 years ago
parent
commit
32130be495
  1. 22
      database/pg_collkey/pg_collkey.cache
  2. 25
      database/pg_collkey/pg_collkey.conf
  3. 39
      database/pg_collkey/pg_collkey.desc

22
database/pg_collkey/pg_collkey.cache

@ -0,0 +1,22 @@
[TIMESTAMP] 1174073125 Fri Mar 16 21:25:25 2007
[BUILDTIME] 0 (5)
[SIZE] 0.02 MB, 8 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] icu4c
[DEP] make
[DEP] postgresql
[DEP] sed
[DEP] sysfiles
[DEP] tar

25
database/pg_collkey/pg_collkey.conf

@ -0,0 +1,25 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pg_collkey/pg_collkey.conf
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
pkgprefix -t icu4c
var_append makeopt ' ' "icu_libdir=$root$( pkgprefix libdir icu4c )"
makeinstopt=
pkgprefix -t postgresql
pg_collkey_install() {
cp -vf collkey_icu.so $root$( pkgprefix libdir postgresql )
cp -vf collkey_icu.sql $root$( pkgprefix datadir postgresql )
}
hook_add postmake 5 'pg_collkey_install'

39
database/pg_collkey/pg_collkey.desc

@ -0,0 +1,39 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../pg_collkey/pg_collkey.desc
[COPY] Copyright (C) 2007 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] International UTF-8 collation for PostgreSQL
[T] Pg_collkey is a wrapper to use the collation functions of the ICU library
[T] with a PostgreSQL database server. Using this wrapper, you can specify
[T] the desired locale for sorting UTF-8 strings directly in the SQL query,
[T] rather than setting it during database installation. Default Unicode
[T] collation (DUCET) is supported. You can select whether punctuation should
[T] be a primary collation attribute or not. The level of comparison can be
[T] limited (in order to ignore accents, for example). Numeric sequences of
[T] strings can be recognized, so that 'test2' sorts before 'test10'. This
[T] library is dependent on ICU.
[U] http://www.flexiguided.de/publications.pgcollkey.en.html
[A] Jan Behrens <Jan.Behrens@flexidesk.de>
[M] Nagy Karoly Gabriel <nagy.karoly@opensde.org>
[C] extra/database
[L] BSD
[S] Beta
[V] 0.2
[P] X -----5---9 130.000
[D] 1525007794 pg_collkey-v0.2.tar.gz http://www.flexiguided.de/pub/
Loading…
Cancel
Save