Hiroshi Inoue
535d92877e
Remove compile errors of psql.exe and libpq.dll under
...
Multibyte mode.
2001-11-22 10:18:52 +00:00
Tom Lane
6c134eb6f1
Spell 'precedes', 'preceding' correctly in various places.
2001-11-21 22:57:01 +00:00
Tom Lane
82bad53cf5
Insert CommandCounterIncrement call into SPI_cursor_open.
2001-11-21 18:30:58 +00:00
Tom Lane
dcdf9119a8
Tweak interval_avg support to avoid coredump with Alpha/Tru64 compiler.
...
Per report from Bernd Tegge.
2001-11-21 18:29:48 +00:00
Tom Lane
52ca149b36
Update regress tests to reflect removal of 'current'.
2001-11-21 18:27:25 +00:00
Thomas G. Lockhart
90e757c17d
Add a few new time zones, and list every time zone mentioned in my
...
Linux box's time zone database.
Do not allow 'current' as a date/time input value.
2001-11-21 05:58:51 +00:00
Thomas G. Lockhart
4bedbd061c
Repair swapped sign for time minus time routine (time_mi_time()).
...
Problem reported by Manuel Sugawara (masm@fciencias.unam.mx ).
2001-11-21 05:57:33 +00:00
Thomas G. Lockhart
d90b5d06ba
Allow 'PostgreSQL' as a date/time formatting style. Formerly, recognized
...
'Postgres' only, but now accepts both.
2001-11-21 05:55:18 +00:00
Bruce Momjian
2985286eb4
I think it's patch's size problem that I can't
...
send patches to pgsql-patches list.
the zh_CN NLS patch is about 80K,
but sended twice and still can emerge on list.
so I've put it at:
http://laser.zhengmai.com.cn/download/zh_CN.po.diff.tar.gz
If possible, please download it and apply it.
(for current CVS).
regards laser
2001-11-21 05:45:31 +00:00
Bruce Momjian
16cb347eee
// -> /* */, per Tatsuo.
2001-11-21 05:03:16 +00:00
Tom Lane
e1c0bc1b26
Bruce's octet_length change breaks this regression test.
2001-11-20 22:22:24 +00:00
Bruce Momjian
d83cadb314
Add mention of template1 usage.
2001-11-20 18:23:37 +00:00
Tom Lane
604f54cd27
Some minor tweaks of REINDEX processing: grab exclusive lock a little
...
earlier, make error checks more uniform.
2001-11-20 02:46:13 +00:00
Tatsuo Ishii
933761e7b1
Simplify pg_convert() in that it calls pg_convert2 using new fmgr interface.
2001-11-20 01:32:29 +00:00
Tom Lane
1436b212cc
Double quotes in ln command to guard against spaces in path.
2001-11-20 00:27:13 +00:00
Bruce Momjian
28e92b89f4
Change 'return ;' to 'return;'; remove space.
2001-11-19 23:19:21 +00:00
Bruce Momjian
09634eafe1
Indent jdbc case labels using pgjindent.
2001-11-19 23:16:46 +00:00
Bruce Momjian
6c8120d68c
More jdbc comment cleanups. Code looks very nice now.
2001-11-19 22:43:13 +00:00
Bruce Momjian
46d50783bf
Update pgindent README so it gets *.java.in files.
2001-11-19 22:36:11 +00:00
Bruce Momjian
f3148bef9f
JDBC indenting, comment cleanups.
2001-11-19 22:33:39 +00:00
Tom Lane
ed1ff84750
Tweak format_type so that we get good behavior for both column type
...
display (with a typemod) and function arg/result type display (without
a typemod).
2001-11-19 19:51:20 +00:00
Bruce Momjian
40015cdaae
Fix arg coerect match text type, per Tom.
2001-11-19 19:15:07 +00:00
Bruce Momjian
6f6567812e
Make text octet_length() return non-compressed length to be consistent
...
with other data types, per disucssion. Encoding issue still open.
2001-11-19 18:21:10 +00:00
Tom Lane
5e86d226e4
Grammatical and spelling fixes.
2001-11-19 09:05:02 +00:00
Tatsuo Ishii
5590d5fe99
Fix nasty bugs in pg_convert() and pg_convert2().
...
o they sometimes returns a result garbage string appended.
o they do not work if client encoding is different from server
encoding
2001-11-19 06:48:39 +00:00
Hiroshi Inoue
09a2b4f423
Fix comment at top of file to match file name.
2001-11-19 06:26:00 +00:00
Tom Lane
abd6014de9
pg_restore should exit with status 0, not 1, on success.
2001-11-19 06:06:21 +00:00
Tom Lane
9b03776ff2
A bunch of small doco updates motivated by scanning the comments on
...
the interactive docs.
2001-11-19 03:58:25 +00:00
Tom Lane
9f07cb70db
Add example of using 'sameuser' followed by 'all' pg_hba records to
...
enforce a limit on who can connect to databases other than their own.
From a recent discussion in pg-admin.
2001-11-18 23:24:16 +00:00
Bruce Momjian
09bf48cf79
Improve comments about duplicate files.
2001-11-18 23:02:19 +00:00
Tatsuo Ishii
226211f0af
Optimization for bpcharlen, textlen, varcharlen in case of single byte
...
encodings.
2001-11-18 12:07:07 +00:00
Tom Lane
6b516f5951
Fix performance problems in TOAST compressor. The management of
...
search lists was broken in such a way that only the most recent
instance of a given hash code would ever be searched, thus possibly
missing longer matches further back. Fixing this gave 5 to 10%
compression improvement on some text test cases. Additional small
tweaks to improve speed of inner loops a little bit. There is no
compatibility issue created by this change, since the compressed data
format and decompression algorithm don't change.
2001-11-17 06:09:30 +00:00
Tom Lane
c845b4272c
IsSystemRelationName() treats TOAST relations as system relations.
...
This seems the right thing for most usages, but I notice two places
where it is the wrong thing. One is that the default permissions on
TOAST rels should be no-access, not world-readable; the other is that
PrepareForTupleInvalidation doesn't really need to spend time looking
at tuples of TOAST relations.
2001-11-16 23:30:35 +00:00
Bruce Momjian
aea081bb27
Add missing prototype.
2001-11-16 18:28:16 +00:00
Bruce Momjian
07de4cbbbb
Add configure result checks on odbc, per Peter E.
2001-11-16 18:10:04 +00:00
Tom Lane
1ca717f377
plpython security and error handling fixes, from
...
Kevin Jacobs and Brad McLean.
2001-11-16 18:04:31 +00:00
Tom Lane
100e7f0c9d
Once again, Michael has overwritten someone else's patch ...
2001-11-16 17:01:48 +00:00
Peter Eisentraut
aff53b27f0
Make the yacc rules safe for parallel make. See discussion on pgsql-patches
...
and comment in src/backend/parser/Makefile for the technical details.
2001-11-16 16:32:33 +00:00
Tom Lane
7c50767f08
Remove 'triggered data change violation' error check, per recent
...
discussions in pghackers.
2001-11-16 16:31:16 +00:00
Michael Meskes
7845954e49
Committed again to add the missing files/patches.
2001-11-16 08:36:37 +00:00
Hiroshi Inoue
949af991fc
Change SQLDescribeCol so that it returns alias name properly.
2001-11-16 05:55:10 +00:00
Tom Lane
2a4660f5aa
Update keyword lists per suggestions by Peter. There are now four
...
mutually exclusive keyword lists spanning all known keywords ---
including AS. Moved COALESCE and a few other ColLabels into the
can-be-ColId list.
2001-11-16 04:08:33 +00:00
Tom Lane
4be20187ab
Fix some problems in new plpgsql cursor operations, found while trying
...
to reverse-engineer documentation for them.
2001-11-15 23:31:09 +00:00
Bruce Momjian
ea436f9fcf
Well the absolute correct solution would involve all of:
...
int8, int16, int32, int64 and separately uint8, uint16, uint32, uint64
The previous patch grouped:
int8, int16 and int32
uint8, uint16 and uint32
int64 and uint64 <-- this grouping is wrong on AIX 4.3.3 and below
If you prefer to make 4 groups out of this you could apply this patch.
Andreas
2001-11-15 16:35:19 +00:00
Bruce Momjian
2c1784a9c7
Update md5.h because it can't get the value from configure.
2001-11-15 16:16:08 +00:00
Bruce Momjian
6c9b11b35e
Fix for AIX compile and unsigned/signed typedefs.
...
Peter E, Tatsuo, Andreas
2001-11-15 16:09:34 +00:00
Peter Eisentraut
a6348ae332
Only use RTLD_GLOBAL when available, which it isn't in older releases of the OS.
2001-11-15 16:08:15 +00:00
Bruce Momjian
1edbd62cac
Fix comment at top of file to match file name.
2001-11-15 03:12:53 +00:00
Dave Cramer
80c029190f
fixes getIndex to work with forte's transparent persistence
2001-11-14 20:04:00 +00:00
Michael Meskes
32a4c3008f
Added Christof's patches.
2001-11-14 11:11:49 +00:00