Tom Lane
24162978b7
Make sure contrib C functions are marked strict where needed.
...
Kris Jurka
2005-01-29 22:35:53 +00:00
Tom Lane
64e3271ebc
Now that I look at it, int_array_enum() didn't work either.
2005-01-27 21:50:23 +00:00
Tom Lane
05dadca2a0
Fix security and 64-bit issues in contrib/intagg. This code could
...
stand to be rewritten altogether, but for now just stick a finger in
the dike.
2005-01-27 21:36:10 +00:00
Neil Conway
38ab95f703
Mark the text_soundex() function as "strict", to avoid crashing on NULL
...
input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
2005-01-26 08:20:40 +00:00
Tom Lane
d9c1e5e1c2
Back-patch make_oidjoins_check security improvement.
2004-10-21 17:12:27 +00:00
Tom Lane
78c0692b15
Repair possible failure to update hint bits back to disk, per
...
http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php .
I plan a more permanent fix in HEAD, but for the back branches it seems
best to just touch the places that actually have a problem.
2004-10-13 22:22:22 +00:00
Teodor Sigaev
144dc30554
Remove asymetrical word processing in query and text
2004-06-07 16:49:25 +00:00
Joe Conway
a7e5e2fe74
When returning type "record", replace use of pgresultGetTupleDesc
...
with ReturnSetInfo->expectedDesc. This allows custom datatypes
(e.g. from tsearch2) to be returned at runtime. Previous behavior
depended on the type oid to match between the remote and local
database, which obviously doesn't work well for custom types.
Per report from Mark Gibson.
2004-02-24 06:07:52 +00:00
Joe Conway
7ce7e3f036
pply quote_literal to the start_with argument of connectby. Fixes problem
...
reported by David Garamond when working with bytea parent and child keys.
2004-02-24 05:26:27 +00:00
Joe Conway
005887d1c0
Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bug
...
reported by Andrea Grassi.
2003-11-26 20:44:54 +00:00
Teodor Sigaev
fd9397c0e7
Allow sub[path|ltre] return void result
2003-07-22 14:08:58 +00:00
Teodor Sigaev
57970c37f8
Mark as deprecated
2003-07-22 14:04:50 +00:00
Tom Lane
8236cd7e74
Repair quoting sloppiness, lack of schema awareness in reindexdb.
2003-05-19 01:00:18 +00:00
Tom Lane
1e3fbccd6c
Fix failure when uniq-ifying an array of zero elements.
...
Teodor Sigaev
2003-05-16 18:50:00 +00:00
Tom Lane
ab90b49f6b
Check calling context for connectby_text(), per Joe Conway.
2003-05-16 06:07:58 +00:00
Bruce Momjian
7c100e96b7
Please, apply patch for contrib/ltree to current CVS and 7.3.2
...
CHANGES
Mar 28, 2003
Added finctions index(ltree,ltree,offset), text2ltree(text),
ltree2text(text)
Teodor Sigaev
2003-03-31 20:59:20 +00:00
Bruce Momjian
e8b9aeea41
The attatched patch fixes a memory error with contrib/dbmirror/pending.c
...
when running it with older(Pre 7.3.x) versions of Postgresql.
Backpatched to 7.3.X.
Steven Singer
2003-03-20 03:58:48 +00:00
Bruce Momjian
00cb9384a1
Please apply patches for contrib/ltree.
...
ltree_73.patch.gz - for 7.3 :
Fix ~ operation bug: eg '1.1.1' ~ '*.1'
ltree_74.patch.gz - for current CVS
Fix ~ operation bug: eg '1.1.1' ~ '*.1'
Add ? operation
Optimize index storage
Last change needs drop/create all ltree indexes, so only for 7.4
Teodor Sigaev
2003-02-19 03:50:49 +00:00
Tom Lane
b52fe8dcc8
Tweak bison build rules so that we get the same error messages from
...
bison 1.875 and later as we did from earlier bison releases. Eventually
we will probably want to adopt the newer message spelling ... but not yet.
Per recent discussion on pgpatches.
Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql
grammars, since these do not affect regression test results.
2003-01-31 20:58:28 +00:00
Bruce Momjian
7112d38c7e
This patch fixes an incorrect statement and makes a few cleanups to
...
contrib/fulltextindex/README.fti
Backpatched to 7.3.X too.
Neil Conway
2003-01-15 16:45:34 +00:00
Bruce Momjian
9ee86665ef
Upgrade to my2pg 1.9
2003-01-07 22:18:49 +00:00
Bruce Momjian
b2353a3db6
Upgrade to even newer ora2pg 2.0.
2003-01-07 22:17:23 +00:00
Bruce Momjian
de1096bd8e
Upgrade to ora2pg 1.10. Backpatch to 7.3.X.
2003-01-07 22:16:19 +00:00
Hiroshi Inoue
4bd41a4d50
Add casts between oid and lo in contrib.
2003-01-03 15:43:33 +00:00
Bruce Momjian
0b91b448f4
Small fix in documentation and some examples of usage. Please, apply to
...
7.3 and current CVS
Oleg Bartunov
2002-12-27 14:10:49 +00:00
Bruce Momjian
8fba8caba6
This patch fixes minor bugs in dictionary generator in contrib/tsearch
...
(contrib/tsearch/makedict/makedict.pl)
[ Backpatched to 7.3.]
Teodor Sigaev
2002-12-13 05:50:41 +00:00
Bruce Momjian
ab6e38e40a
Thank you very much, you catch it :). This bug had a long life, because it
...
exists if and only if locale of postmaster
was a different from C (or ru_RU.KOI8-R).
Please, apply patch for current CVS & 7.3.1
Magnus Naeslund(f) wrote:
> Ok, I nailed the bug, but i'm not sure what the correct fix is.
> Attached tsearch_morph.diff that remedies this problem by avoiding it.
> Also there's a debug aid patch if someone would like to know how i
> finally found it out :)
>
> There problem in the lemmatize() function is that GETDICT(...) returned
> a value not handled (BYLOCALE).
> The value (-1) and later used as an index into the dicts[] array.
> After that everything went berserk stack went crazy somehow so trapping
> the fault sent me to the wrong place, and every time i read the value it
> was positive ;)
>
> So now i just return the initial word passed to the lemmatize function,
> because i don't know what to do with it.
Magnus Naeslund
2002-12-06 05:15:32 +00:00
Bruce Momjian
530bf204f0
It looks like the problem was introduced when the "SET autocommit" and
...
"SET search_path" commands were added to the beginning of the script.
The attatched patch should fix the problem. It probably should be
applied against the 7.3 and 7.4 branches.
Steven Singer
2002-12-05 21:04:14 +00:00
Tom Lane
5b827b68db
Fix off-by-one bug in usage check.
2002-12-03 07:12:23 +00:00
Tom Lane
22499b4854
Fix script name in README.
2002-12-02 00:29:05 +00:00
Tom Lane
2d9d28038d
Fix dependency generation for multicolumn foreign keys. From Adam Buraczewski.
2002-12-02 00:28:34 +00:00
Bruce Momjian
805acc16b8
Allocate proper length for sprintf string, from Tatsuo.
2002-11-26 03:08:23 +00:00
Tom Lane
027a39726f
Fix inappropriate quoting in dblink. From Joe Conway.
2002-11-23 18:59:29 +00:00
Tom Lane
4f22c3bcfb
Remove inappropriate double-quoting in connectby() code; adjust
...
regression test to avoid using VALUE as a name. From Joe Conway.
2002-11-23 01:54:23 +00:00
Tom Lane
55994bab8e
Fix a dozen or so places that were passing unpredictable data strings
...
as elog format strings. Hai-Chen Tu pointed out the problem in
contrib/dbmirror, but it wasn't the only such error.
2002-11-22 16:25:55 +00:00
Bruce Momjian
7082e7e43a
Fix elog in dbmirror to use %s.
...
Hai-Chen Tu
2002-11-22 16:05:06 +00:00
Tom Lane
7c1364bd19
Remove no-longer-needed inclusions to improve backward compatibility
...
with older bison versions.
2002-11-07 06:06:39 +00:00
Tom Lane
d1a6aa536e
Remove GPL file pursuant to relicensing.
2002-11-06 22:23:33 +00:00
Bruce Momjian
7b13c5a91e
Change dbmirror lincense to BSD.
2002-11-06 17:51:40 +00:00
Tom Lane
a44b69ef4c
Back-patch recent file removals into REL7_3_STABLE branch.
2002-11-04 21:27:47 +00:00
CVS to git conversion script
503b41f6e5
This commit was manufactured by cvs2git to create branch 'REL7_3_STABLE'.
...
Sprout from master 2002-11-04 17:14:29 UTC Tom Lane <tgl@sss.pgh.pa.us> 'Remove extraneous semicolons after routine bodies. These don't bother'
Cherrypick from master 2002-09-04 07:23:04 UTC Bruce Momjian <bruce@momjian.us> 'Brand 7.3. Ready for beta!':
contrib/xml/README
contrib/retep/CHANGELOG
contrib/retep/Implementation
contrib/retep/Makefile
contrib/retep/README
contrib/retep/build.xml
contrib/retep/data/cds.dtd
contrib/retep/data/cds.xml
contrib/retep/uk/org/retep/tools.properties
contrib/retep/uk/org/retep/dtu/DCollection.java
contrib/retep/uk/org/retep/dtu/DConstants.java
contrib/xml/pgxml_dom.source
contrib/retep/uk/org/retep/dtu/DElement.java
contrib/retep/uk/org/retep/dtu/DEnvironment.java
contrib/retep/uk/org/retep/dtu/DModule.java
contrib/retep/uk/org/retep/dtu/DModuleXML.java
contrib/retep/uk/org/retep/dtu/DNode.java
contrib/retep/uk/org/retep/dtu/DProcessor.java
contrib/retep/uk/org/retep/dtu/DTransform.java
contrib/retep/uk/org/retep/tools/Tool.java
contrib/retep/uk/org/retep/util/ExceptionDialog.java
contrib/retep/uk/org/retep/util/Globals.java
contrib/retep/uk/org/retep/util/Logger.java
contrib/retep/uk/org/retep/util/Main.java
contrib/retep/uk/org/retep/util/StandaloneApp.java
contrib/retep/uk/org/retep/util/hba/Editor.java
contrib/retep/uk/org/retep/util/misc/IPAddress.java
contrib/retep/uk/org/retep/util/misc/PropertiesIO.java
contrib/retep/uk/org/retep/util/misc/WStringTokenizer.java
contrib/retep/uk/org/retep/util/models/HBATableModel.java
contrib/retep/uk/org/retep/util/models/PropertiesTableModel.java
contrib/retep/uk/org/retep/util/proped/PropertyEditor.java
contrib/retep/uk/org/retep/xml/core/XMLFactory.java
contrib/retep/uk/org/retep/xml/core/XMLFactoryException.java
contrib/retep/uk/org/retep/xml/jdbc/XMLDatabase.java
contrib/retep/uk/org/retep/xml/jdbc/XMLResultSet.java
contrib/retep/uk/org/retep/xml/parser/TagListener.java
contrib/retep/uk/org/retep/xml/test/XMLExport.java
doc/src/sgml/libpgeasy.sgml
doc/src/sgml/odbc.sgml
contrib/xml/pgxml.source
doc/src/sgml/recovery.sgml
src/test/regress/expected/geometry-bsdi-precision.out
contrib/retep/uk/org/retep/xml/parser/TagHandler.java
doc/src/sgml/version.sgml
doc/src/sgml/y2k.sgml
contrib/retep/retep.jpx
src/interfaces/jdbc/utils/CheckVersion.java
src/interfaces/jdbc/utils/changelog.pl
contrib/retep/uk/org/retep/util/hba/Main.java
contrib/retep/uk/org/retep/util/hba/Record.java
contrib/retep/uk/org/retep/util/proped/Main.java
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/Implementation
src/interfaces/jdbc/utils/buildDriver
src/interfaces/jdbc/jdbc.jpx
2002-11-04 17:14:30 +00:00
Tom Lane
3f435f9e99
Remove extraneous semicolons after routine bodies. These don't bother
...
gcc, but some other compilers don't like 'em.
2002-11-04 17:14:29 +00:00
Tom Lane
bfccacf3f8
Fix dblink regression test so that it works when repeated: don't
...
create a second database, just loop back to 'regression'. Patch
from Joe Conway 10/22/02.
2002-11-03 04:52:09 +00:00
Bruce Momjian
08e8c8a574
Use sed rather than perl for reindexdb.
2002-11-03 01:20:06 +00:00
Tom Lane
776d9651e1
Make it possible to run 'make installcheck' in contrib when building
...
outside the source tree.
2002-11-02 00:16:21 +00:00
Tom Lane
6423a8eef6
Fix contrib/rserv to install successfully when built outside source tree.
...
(Not that it will actually work with 7.3, I fear.)
2002-11-01 23:45:37 +00:00
Tom Lane
c87867f47b
Ooops, forgot to fix contrib regression tests for WARNING/NOTICE change.
2002-11-01 23:44:34 +00:00
Tom Lane
97915fcd14
Need -I. to build outside source tree.
2002-11-01 23:23:29 +00:00
Tom Lane
e9e919f4ee
Fix incorrect subdir value.
2002-11-01 23:16:52 +00:00
Tom Lane
cab9437a43
Arrange to compile flex output files as inclusions into other files
...
(usually bison output files), not as standalone files. This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file. Needed for largefile
support on some platforms.
2002-11-01 22:52:34 +00:00