1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00
Commit Graph

17088 Commits

Author SHA1 Message Date
67a1bf1bb1 Repair planner failure for cases involving Cartesian products inside
IN (sub-SELECT) constructs.  We must force a clauseless join of the
sub-select member relations, but it wasn't happening because the code
thought it would be able to use the join clause arising from the IN.
2004-01-24 00:37:42 +00:00
052cd647c7 Translation update 2004-01-22 21:13:45 +00:00
6369ace248 Fix incorrect dumping of database LOCATION from 7.0.* servers.
Per report from Mattias Kregert.
2004-01-22 19:09:48 +00:00
94db74f370 Fix oversight in optimization that avoids an unnecessary projection step
when scanning a table that we need all the columns from.  In case of
SELECT INTO, we have to check that the hasoids flag matches the desired
output type, too.  Per report from Mike Mascari.
2004-01-22 02:23:35 +00:00
5a2a8b9e01 Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig. 2004-01-21 22:05:53 +00:00
ab65429adf Back-patch repairs for --disable-shared support. 2004-01-21 19:25:11 +00:00
6932861e86 Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE. 2004-01-21 14:11:03 +00:00
767adcf5d6 Correct type for isalnum 2004-01-19 18:40:23 +00:00
0054f82c62 Fix typo. 2004-01-19 14:28:06 +00:00
51299baa9b Translation update 2004-01-18 14:54:18 +00:00
ab189aaad9 Don't use %s-with-precision format spec to truncate data being displayed
in a COPY error message.  It seems that glibc gets indigestion if it is
asked to truncate strings that contain invalid UTF-8 encoding sequences.
vsnprintf will return -1 in such cases, leading to looping and eventual
memory overflow in elog.c.  Instead use our own, more robust pg_mbcliplen
routine.  I believe this problem accounts for several recent reports of
unexpected 'out of memory' errors during COPY IN.
2004-01-18 02:15:57 +00:00
9933ba3f67 Repair faulty plan generation in cases where we choose to implement an
IN clause by mergejoin, and a type coercion is needed just above the subplan.
A more extensive patch will follow in HEAD.
2004-01-18 00:31:53 +00:00
9575c7af6c Translation updates 2004-01-14 12:14:18 +00:00
91d4f280dd pg_settings should have UPDATE privilege allowed to public.
(Can't force initdb for this in 7.4 branch, but we can at least see to it
that post-7.4.2 installations will get it right.)
2004-01-14 03:47:12 +00:00
f07c69ae57 The no-updates-to-system-catalogs-unless-usecatupd restriction should
not apply to system views.  It never mattered before 7.4, but it does now.
2004-01-14 03:45:02 +00:00
c2d9ae899d Revert ill-starred change of 13-Feb-02: it appeared to fix a problem of
incorrect permissions checking, but in fact disabled most all permissions
checks for view updates.  This corrects problems reported by Sergey
Yatskevich among others, at the cost of re-introducing the problem
previously reported by Tim Burgess.  However, since we'd lived with that
problem for quite awhile without knowing it, we can live with it awhile
longer until a proper fix can be made in 7.5.
2004-01-14 03:39:29 +00:00
00e734116c Fix format string error. 2004-01-13 22:43:25 +00:00
31fc448196 Translation update 2004-01-13 18:58:42 +00:00
d45a3bd772 Translation updates 2004-01-11 19:30:42 +00:00
f94ae60a1f Mark string for translation. 2004-01-11 19:25:44 +00:00
6119c7740a Fix subquery pullup logic to not be fooled when a view that appears
'simple' references another view that is not simple.  Must recheck
conditions after performing recursive pullup.  Per example from
Laurent Perez, 9-Jan-04.
2004-01-10 00:30:39 +00:00
05fb316fbb Fix incorrect SQL syntax emitted when -E is given without -P.
Report and fix from Martin Pitt.
2004-01-09 00:15:19 +00:00
2fb41f900a Remove broken (and unnecessary) definition of operator <> for _int4
datatype; the generic array comparators added in 7.4 supersede this.
Per report and patch from Korea PostgreSQL Users' Group.
2004-01-08 23:40:36 +00:00
f389ff33c3 Update OSF thread flags for non-gcc compiles. 2004-01-08 15:51:38 +00:00
611d33a90a Translation updates 2004-01-08 08:51:31 +00:00
88a987fcfd Update Solaris thread setting for non-gcc compilers. 2004-01-08 04:21:20 +00:00
6a78eecf6f Translation updates 2004-01-07 17:44:07 +00:00
0658e7905d Translation updates 2004-01-05 19:15:55 +00:00
0b7bc6288f Correct gettext URL. 2004-01-04 16:44:22 +00:00
630f23962b Fixed bug in GRANT OPTION FOR parsing. 2004-01-04 14:50:13 +00:00
cd632c983e Fix portability bugs: char values passed to <ctype.h> functions must
be cast to unsigned char.  We have learned this the hard way before.
2004-01-04 04:17:14 +00:00
71caa53674 Fix discrepancy in prototypes for HPUX pg_dlerror. 2004-01-04 04:06:45 +00:00
1af7b00169 Fix ReadOffset() to work correctly when off_t is wider than int. 2004-01-04 04:02:22 +00:00
3d5c2692e7 Remove trailing semicolons from macro initializations in plpython.
Problem report on True64 Unix by Nikola Milutinovic.
]
2004-01-04 00:14:55 +00:00
8265a1d816 Do an explicit fflush after writing a progress message with puts.
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.
2004-01-01 19:27:28 +00:00
f40aa225bd Backpatch Solaris non-gcc thread compile fix to 7.4.X. 2004-01-01 17:35:32 +00:00
7302130179 Avoid running out of memory during hash_create, by not passing a
number-of-buckets that exceeds the size we actually plan to allow
the hash table to grow to.  Per trouble report from Sean Shanny.
2003-12-30 20:05:15 +00:00
386258d3e5 Added missing whitespaces to array argument parsing. 2003-12-29 13:53:17 +00:00
9c08d8fe56 Fix sanity-check code that mistakenly assumed error and notice messages
could never exceed 30K.  Per report from Andreas Pflug.
2003-12-28 17:44:05 +00:00
2315548ed7 Avoid infinite loop if connection is lost during PQexecStart() or
PQexecFinish().  Per report from Andreas Pflug.
2003-12-28 17:29:51 +00:00
a8c003ea9d Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int); 2003-12-24 22:05:06 +00:00
03d968fb4e More bogosity in alter_table test: sometimes causes prepare test to fail
by means of arbitrarily renaming tables the other test depends on.
2003-12-23 20:34:51 +00:00
d30c69bc63 alter_table test sometimes failed in parallel mode, because of transient
table name conflict against rangefuncs test.
2003-12-23 20:17:55 +00:00
9c6063890b Regenerate HISTORY for release. 2003-12-22 07:28:46 +00:00
5bb4d8e8ea Update HISTORY for 7.4.1 release. REL7_4_1 2003-12-21 23:44:40 +00:00
74f35bb2b2 Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. 2003-12-21 18:06:26 +00:00
39a08d3ed8 Some refining of release notes. Markup is still broken by someone else,
so I cannot remake HISTORY.
2003-12-21 16:36:34 +00:00
567feba7f6 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:24:00 +00:00
1661b86bca Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge
even when HAVE_GETPEEREID is defined, else it will be unable to connect to
pre-7.4 backends that are using IDENT authentication.
2003-12-20 18:46:02 +00:00
7133152c5b Fix broken IDENT support for FreeBSD (appears to have been broken by
ill-considered conditional logic in getpeereid patch of 3-Dec-2002).
Per bug #1021.
2003-12-20 18:25:02 +00:00