OSDN Git Service

ludiafuncs/ludia_funcs.git
2 years agoDocument that ludia_funcs 1.0 was confirmed to work with PostgreSQL 14. master
Fujii Masao [Mon, 11 Oct 2021 04:10:56 +0000 (13:10 +0900)]
Document that ludia_funcs 1.0 was confirmed to work with PostgreSQL 14.

Author: Ken Kato
Discussion: https://osdn.net/projects/ludiafuncs/lists/archive/hackers/2021-October/000055.html

2 years agoUpdate copyright for 2021.
Fujii Masao [Wed, 14 Jul 2021 14:02:30 +0000 (23:02 +0900)]
Update copyright for 2021.

2 years agoAdd textporter_exit_on_segv parameter.
Fujii Masao [Wed, 14 Jul 2021 13:08:31 +0000 (22:08 +0900)]
Add textporter_exit_on_segv parameter.

If off, which is the default, segmentation fault caused by textporter
will lead to the server crash. If on, only the current session calling
pgs2textporter1 function and causing textpoter to throw
segmentation fault will be terminated.

2 years agoUpdate the URL of Travis-CI status badge.
Fujii Masao [Wed, 14 Jul 2021 11:32:37 +0000 (20:32 +0900)]
Update the URL of Travis-CI status badge.

This update is necessary because the CI platform was migrated
from travis-ci.org to travis-ci.com.

2 years agoUpdate .travis.yml to ask Travis CI to build and test on PostgreSQL 14.
Fujii Masao [Tue, 13 Jul 2021 23:37:36 +0000 (08:37 +0900)]
Update .travis.yml to ask Travis CI to build and test on PostgreSQL 14.

3 years agoDocument that ludia_funcs 1.0 was confirmed to work with PostgreSQL 13.
Fujii Masao [Wed, 4 Nov 2020 04:30:45 +0000 (13:30 +0900)]
Document that ludia_funcs 1.0 was confirmed to work with PostgreSQL 13.

Author: Shinya Kato
Discussion: https://osdn.net/projects/ludiafuncs/lists/archive/hackers/2020-November/000053.html

3 years agoMake Travis CI run installcheck regression test.
Fujii Masao [Thu, 15 Oct 2020 01:48:21 +0000 (10:48 +0900)]
Make Travis CI run installcheck regression test.

3 years agoUpdate .travis.yml to ask Travis CI to build and test on PostgreSQL 13.
Fujii Masao [Tue, 6 Oct 2020 17:53:11 +0000 (02:53 +0900)]
Update .travis.yml to ask Travis CI to build and test on PostgreSQL 13.

4 years agoSupport terse logging in enable_debug.
Fujii Masao [Wed, 26 Feb 2020 09:39:41 +0000 (18:39 +0900)]
Support terse logging in enable_debug.

This commit allows us to set enable_debug option to 'terse' as
a setting value. When it's 'terse', the contents dealt in ludia_funcs
internal functions are excluded from the debug messages.
For example, if it's set to 'on', not only the name of function
pgs2norm() but also the target string that the function normalizes
are included in the debug messages. But if it's 'terse', only the
terse information like function name is output.

Previously we set enable_debug to 'on', in order to check
whether recheck is skipped or not in the regression test.
But the order of the contents in the debug messages varied
depending on the block size in PostgreSQL server. Which
would lead to unexpected failure of regression test in PostgreSQL
built with non-default block size. In order to stabilize the result
of this regression test, this patch make the test use debug level
'terse'.

Author: Torikoshi Atsushi
Reviewed-by: Fujii Masao
Discussion: https://osdn.net/projects/ludiafuncs/lists/archive/hackers/2020-February/000046.html

4 years agoUpdate copyright for 2020.
Fujii Masao [Fri, 7 Feb 2020 09:20:13 +0000 (18:20 +0900)]
Update copyright for 2020.

Author: Torikoshi Atsushi
Discussion: https://osdn.net/projects/ludiafuncs/lists/archive/hackers/2020-February/000044.html

4 years agoAdd README.mb for the mirror ludia_funcs GIT repository at github.
Fujii Masao [Wed, 5 Feb 2020 11:50:26 +0000 (20:50 +0900)]
Add README.mb for the mirror ludia_funcs GIT repository at github.

4 years agoMake regression test for textporter work fine on PostgreSQL 12 or later.
Fujii Masao [Tue, 4 Feb 2020 10:12:39 +0000 (19:12 +0900)]
Make regression test for textporter work fine on PostgreSQL 12 or later.

Previously the regression test for textporter failed when it ran on
PostgreSQL 12 or later. The cause of this issue is that commit d8594d1
in PostgreSQL changed the outputs of textporter regression test results.
This leads the existing expected file that depends on PostgreSQL 11
or before not to match with the output of regression test on 12,
and then caused the regression test to fail.

To fix the above issue, this commit adds textporter_1.source as
a variant comparison file, which contains the expected output of
textporter regression test on 12 or later.

Author: Torikoshi Atsushi
Reviewed-by: Fujii Masao
Discussion: https://osdn.net/projects/ludiafuncs/lists/archive/hackers/2020-February/000040.html

4 years agoAdd *.bc to .gitignore.
Fujii Masao [Fri, 4 Oct 2019 08:00:39 +0000 (17:00 +0900)]
Add *.bc to .gitignore.

4 years agoUpdate PGS2_LAST_UPDATE to "2019.10.04". v1.0-20191004
Fujii Masao [Fri, 4 Oct 2019 04:47:54 +0000 (13:47 +0900)]
Update PGS2_LAST_UPDATE to "2019.10.04".

4 years agoUpdate documentations.
Fujii Masao [Fri, 4 Oct 2019 04:43:04 +0000 (13:43 +0900)]
Update documentations.

This commit describes that ludia_funcs 1.0 was confirmed to work with
PostgreSQL12. Also it updates release note and add news about release
of 1.0-20191004.

4 years agoAdd a .travis.yml file to tell Travis CI what to build and test.
Fujii Masao [Fri, 4 Oct 2019 03:38:19 +0000 (12:38 +0900)]
Add a .travis.yml file to tell Travis CI what to build and test.

4 years agoAdd ludia_funcs Development Group copyright.
Fujii Masao [Fri, 4 Oct 2019 02:26:37 +0000 (11:26 +0900)]
Add ludia_funcs Development Group copyright.

4 years agoDon't use pnstrdup() to duplicate non-string data area.
MasaoFujii [Fri, 23 Aug 2019 02:47:45 +0000 (11:47 +0900)]
Don't use pnstrdup() to duplicate non-string data area.

Previously pnstrdup() was used to duplicate the cached result of pgs2norm().
This was improper usage because that cached result is not string. This and
the change of pnstrdup() by the commit 82c117cb90 in PostgreSQL caused
pgs2norm() to emit a segmentation fault.

This commit changes pgs2norm() so that it duplicates the cached result by
using the original logic instead of pnstrdup().

4 years agoMake ludia_funcs work with PostgreSQL 12dev or later.
MasaoFujii [Thu, 22 Aug 2019 13:32:54 +0000 (22:32 +0900)]
Make ludia_funcs work with PostgreSQL 12dev or later.

4 years agoUpdate the URL of Ludia project.
MasaoFujii [Thu, 22 Aug 2019 13:05:05 +0000 (22:05 +0900)]
Update the URL of Ludia project.

8 years agoChange the URL link to the source archive file of version 20150910 in top page.
Masahiko Sawada [Thu, 10 Sep 2015 05:27:12 +0000 (14:27 +0900)]
Change the URL link to the source archive file of version 20150910 in top page.

8 years agoAdd fragment identifier to the link to release note, in index.html. v1.0-20150910
MasaoFujii [Wed, 9 Sep 2015 04:37:18 +0000 (13:37 +0900)]
Add fragment identifier to the link to release note, in index.html.

8 years agoFix corrupted style of source comment.
MasaoFujii [Wed, 9 Sep 2015 04:26:48 +0000 (13:26 +0900)]
Fix corrupted style of source comment.

8 years agoAvoid the redundant declaration of the function prototypes.
Masahiko Sawada [Wed, 9 Sep 2015 02:24:45 +0000 (11:24 +0900)]
Avoid the redundant declaration of the function prototypes.

When the server version is 9.4 or later, PG_FUNCTION_INFO_V1 macro
always creates the prototype of its given function, so we avoid
declaring the prototypes of all the global functions for ludia_funcs.
The function prototypes are there only when the server version is 9.3
or before.

8 years agoUpdate PGS2_LAST_UPDATE.
Masahiko Sawada [Tue, 8 Sep 2015 13:23:53 +0000 (22:23 +0900)]
Update PGS2_LAST_UPDATE.

Update to '2015.09.10'.

8 years agoFix typo in html/ludia_funcs.html.
Masahiko Sawada [Tue, 8 Sep 2015 13:23:02 +0000 (22:23 +0900)]
Fix typo in html/ludia_funcs.html.

8 years agoAdd the information about release note into index.html.
Masahiko Sawada [Tue, 8 Sep 2015 13:18:32 +0000 (22:18 +0900)]
Add the information about release note into index.html.

8 years agoChange the naming rule of the source archive file.
Masahiko Sawada [Tue, 8 Sep 2015 13:14:37 +0000 (22:14 +0900)]
Change the naming rule of the source archive file.

This makes the name of the source archive file contain
the version number of pg_bigm.

8 years agoUpdate the documentation so that supporting the other PostgreSQL version.
Masahiko Sawada [Tue, 8 Sep 2015 13:02:28 +0000 (22:02 +0900)]
Update the documentation so that supporting the other PostgreSQL version.

Previously the documentation are assumed using PostgreSQL 9.1 only.

8 years agoAdd the news about the release of latest version.
Masahiko Sawada [Tue, 8 Sep 2015 11:33:16 +0000 (20:33 +0900)]
Add the news about the release of latest version.

The ludia_funcs-20150910 is released.

8 years agoDrop very large table "utf8_tbl" after it's used in regression test.
MasaoFujii [Tue, 8 Sep 2015 05:55:28 +0000 (14:55 +0900)]
Drop very large table "utf8_tbl" after it's used in regression test.

This is for reducing the performance impact on subsequent checkpoint.

8 years agoRename regression test from pgs2-debug to pgs2_debug.
MasaoFujii [Tue, 8 Sep 2015 05:47:57 +0000 (14:47 +0900)]
Rename regression test from pgs2-debug to pgs2_debug.

This is to ensure the consistency with the corresponding compilation flag
PGS2_DEBUG.

8 years agoImprove test coverages for combination of pg_bigm and ludia_funcs, round 3.
MasaoFujii [Tue, 8 Sep 2015 05:45:47 +0000 (14:45 +0900)]
Improve test coverages for combination of pg_bigm and ludia_funcs, round 3.

Ayumi Ishii

8 years agoImprove test coverages for combination of pg_bigm and ludia_funcs, round 2.
MasaoFujii [Mon, 7 Sep 2015 16:38:55 +0000 (01:38 +0900)]
Improve test coverages for combination of pg_bigm and ludia_funcs, round 2.

Ayumi Ishii

8 years agoImprove test coverages for combination of pg_bigm and ludia_funcs.
MasaoFujii [Mon, 7 Sep 2015 13:39:11 +0000 (22:39 +0900)]
Improve test coverages for combination of pg_bigm and ludia_funcs.

Ayumi Ishii

8 years agoAdd regression tests for UPDATE and DELETE on table indexed with pg_bigm.
MasaoFujii [Fri, 4 Sep 2015 16:58:53 +0000 (01:58 +0900)]
Add regression tests for UPDATE and DELETE on table indexed with pg_bigm.

Ayumi Ishii

8 years agoAdd regression tests for pg_bigm search with AND, OR or NOT condition.
MasaoFujii [Fri, 4 Sep 2015 13:57:00 +0000 (22:57 +0900)]
Add regression tests for pg_bigm search with AND, OR or NOT condition.

Ayumi Ishii

8 years agoAdd regression tests to check that ludia_funcs and pg_bigm work fine together.
MasaoFujii [Fri, 4 Sep 2015 13:19:47 +0000 (22:19 +0900)]
Add regression tests to check that ludia_funcs and pg_bigm work fine together.

This patch allows us to run "make installcheck-bigm" command which checks
whether ludia_funcs can work expectedly together with pg_bigm.

Ayumi Ishii

8 years agoImprove test coverages for pgs2textporter1 function.
MasaoFujii [Fri, 4 Sep 2015 09:41:17 +0000 (18:41 +0900)]
Improve test coverages for pgs2textporter1 function.

This commit adds the tests checking whether pgs2textporter1() can
handle the powerpoint, pdf and csv files.

Ayumi Ishii

8 years agoAdd regression tests for pgs2textporter1 function.
MasaoFujii [Tue, 1 Sep 2015 12:11:47 +0000 (21:11 +0900)]
Add regression tests for pgs2textporter1 function.

Original patch by Ayumi Ishii, heavily modified by me.

8 years agoImprove test coverages for cache mechanism in pgs2norm and pgs2snippet1.
MasaoFujii [Tue, 1 Sep 2015 08:51:38 +0000 (17:51 +0900)]
Improve test coverages for cache mechanism in pgs2norm and pgs2snippet1.

8 years agoDocument that ludia_funcs was confirmed to work with PostgreSQL 9.1 or later.
MasaoFujii [Mon, 31 Aug 2015 07:19:30 +0000 (16:19 +0900)]
Document that ludia_funcs was confirmed to work with PostgreSQL 9.1 or later.

8 years agoFirst-draft release notes for new minor version of 1.0.
MasaoFujii [Mon, 31 Aug 2015 07:14:58 +0000 (16:14 +0900)]
First-draft release notes for new minor version of 1.0.

8 years agoAdd .gitignore file.
MasaoFujii [Fri, 28 Aug 2015 09:31:02 +0000 (18:31 +0900)]
Add .gitignore file.

8 years agoAdd regression tests for pgs2norm function's result cache mechanism.
MasaoFujii [Fri, 28 Aug 2015 09:28:51 +0000 (18:28 +0900)]
Add regression tests for pgs2norm function's result cache mechanism.

This patch allows us to specify PGS2_DEBUG flag when executing "make"
command to compile ludia_funcs as follows. If "make installcheck" is ran
with PGS2_DEBUG flag, the regression tests checking whether pgs2norm
function caches the normalization result expectedly is executed.

    $ make USE_PGXS=1 PGS2_DEBUG=1 ...

Original patch by Ayumi Ishii, heavily modified by me.

8 years agoAdd regression test for the case where database encoding is not UTF8.
MasaoFujii [Wed, 26 Aug 2015 14:47:40 +0000 (23:47 +0900)]
Add regression test for the case where database encoding is not UTF8.

This patch adds the regression tests which check whether pgs2snippet1
and pgs2norm functions exit with an error when database encoding is
not UTF8.

8 years agoAdd regression tests of pgs2norm function.
MasaoFujii [Wed, 26 Aug 2015 14:18:16 +0000 (23:18 +0900)]
Add regression tests of pgs2norm function.

8 years agoImprove regression test coverage of pgs2snippet1 function.
MasaoFujii [Wed, 26 Aug 2015 14:10:34 +0000 (23:10 +0900)]
Improve regression test coverage of pgs2snippet1 function.

8 years agoUse pg_bigm project's style sheet for easier reading.
MasaoFujii [Mon, 10 Aug 2015 16:24:50 +0000 (01:24 +0900)]
Use pg_bigm project's style sheet for easier reading.

8 years agoUpdate the URL of mecab project.
MasaoFujii [Mon, 10 Aug 2015 16:18:06 +0000 (01:18 +0900)]
Update the URL of mecab project.

8 years agoUpdate URLs that pointed to sourceforge.jp.
MasaoFujii [Mon, 10 Aug 2015 16:13:25 +0000 (01:13 +0900)]
Update URLs that pointed to sourceforge.jp.

The URL of site in which ludia_funcs project is hosted was changed from
sourceforge.jp to osdn.jp. This patch applies this change to HTML files.

8 years agoRevert "Add required #include."
Masahiko Sawada [Fri, 24 Jul 2015 02:00:47 +0000 (11:00 +0900)]
Revert "Add required #include."

This reverts commit 1addf5137ede33c2cf1209f5818d4c324479486a.

That change was already done at 1abf25103ae6cf0721c9b8fa04dcb388d8a74332.

8 years agoAdd required #include.
Masahiko Sawada [Tue, 21 Jul 2015 09:29:25 +0000 (18:29 +0900)]
Add required #include.

Fixes compiler warning at 9.3 or later.

8 years agoUpdate copyright for 2015.
Masahiko Sawada [Tue, 21 Jul 2015 09:22:51 +0000 (18:22 +0900)]
Update copyright for 2015.

8 years agoSet the permission of a temporary file that pgs2textporter1() uses to 0600.
MasaoFujii [Fri, 17 Jul 2015 09:33:43 +0000 (18:33 +0900)]
Set the permission of a temporary file that pgs2textporter1() uses to 0600.

This change ensures that only the owner of PostgreSQL server can read and
write such temporary file.

Sawada Masahiko

10 years agoAdd missing header to silence compiler warnings.
MasaoFujii [Wed, 21 Aug 2013 11:06:12 +0000 (20:06 +0900)]
Add missing header to silence compiler warnings.

This patch makes ludia_funcs.c include access/htup_details.h
if the version of PostgreSQL is 9.3 or later. This is required
because, in 9.3, the extern definition of heap_form_tuple that
is used in ludia_funcs.c has been moved from access/htup.h to
access/htup_details.h. This change caused the compiler warings.

10 years agoChange the name of the module from ludia_funcs to Ludia functions.
MasaoFujii [Tue, 23 Jul 2013 09:10:53 +0000 (18:10 +0900)]
Change the name of the module from ludia_funcs to Ludia functions.

This change is required for a trademark issue.

11 years agoAdd the links to the download pages of the latest released modules,
MasaoFujii [Thu, 4 Apr 2013 19:38:54 +0000 (04:38 +0900)]
Add the links to the download pages of the latest released modules,
into index.html.

11 years agoUpdate the last release date of ludia_funcs. v1.0-20130405
MasaoFujii [Thu, 4 Apr 2013 19:03:50 +0000 (04:03 +0900)]
Update the last release date of ludia_funcs.

11 years agoAdd the document and the homepage of ludia_funcs project.
MasaoFujii [Thu, 4 Apr 2013 19:02:58 +0000 (04:02 +0900)]
Add the document and the homepage of ludia_funcs project.

11 years agoInitial commit of ludia_funcs.
MasaoFujii [Fri, 29 Mar 2013 14:34:55 +0000 (23:34 +0900)]
Initial commit of ludia_funcs.