Hi!
Please do not apply this patch in it's current state. It contains a
small bug that appears to trigger a DOS vulnerability in the MIT
Kerberos libraries. I will submit a new patch shortly that does not
expose this bug to a configurable parameter (it can still be exposed by
hacking the code sinc
Here's an updated version of the patch, with the following changes:
1) No longer uses "service name" as "application version". It's instead
hardcoded as "postgres". It could be argued that this part should be
backpatched to 8.0, but it doesn't make a big difference until you can
start changing it
Character type value including multibyte characters is not padded
with spaces. It reproduces at 7.3.x, 7.4.x and 8.0.x.
create table t (a char(10));
insert into t values ('X'); -- X is 2byte character.
I expect that 'X ' is inserted. But 'X' is inserted.
select a, octed_
Andrew Dunstan wrote:
While building some better plperl tests today I discovered a horrid bug
(which I regret to say is my fault), present in both 8.0 and HEAD
branches
BTW, in future it would be good to specify the consequences of the bug
(i.e. beyond "it is horrible"), so committers who don
Neil Conway said:
>
> BTW, in future it would be good to specify the consequences of the bug
> (i.e. beyond "it is horrible"), so committers who don't use pl/perl can
> judge the urgency of the bug.
Yes, sorry. In fact, fortuitously the effects are not disastrous in most
circumstances. Once we t
DDLs was used instead of DDLAFTERs by mistake.
*** pgbench.c Tue Nov 9 15:09:31 2004
--- pgbench.fix.c Mon May 23 12:50:01 2005
*** init(void)
*** 622,628
for (i = 0; i < (sizeof(DDLAFTERs) / sizeof(char *)); i++)
{
res = PQexec(con, DDLAF
Patch retracted for update.
---
Magnus Hagander wrote:
> Here is an updated version of the patch from
> http://candle.pha.pa.us/mhonarc/patches2/msg00025.html. It handles the
> options for libpq connections the same way othe
unsubscribe
---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
ITAGAKI Takahiro wrote:
--- 622,628
for (i = 0; i < (sizeof(DDLAFTERs) / sizeof(char *)); i++)
{
res = PQexec(con, DDLAFTERs[i]);
! if (strncmp(DDLAFTERs[i], "drop", 4) && PQresultStatus(res) !=
PGRES_COMMAND_OK)
{