Lists: | pgsql-bugspgsql-patches |
---|
From: | "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug in byteaout code in all PostgreSQL versions |
Date: | 2003-11-18 23:07:43 |
Message-ID: | 1069196863.9145.61.camel@snc.n21lab.gosniias.msk.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-patches |
Hello!
bytea-test.cxx -- contains detailed description of the bug and test
plan and code.
varlena.c.diff -- patch for PostgreSQL 7.5devel
src/backend/utils/adt/varlena.c#byteaout
fe-exec.c.diff -- patch (optional) for PostgreSQL 7.5devel
src/interface/libpq/fe-exec.c#PQescapeBytea
test.data -- contains test data :-))
--
Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
GosNIIAS
Attachment | Content-Type | Size |
---|---|---|
bytea-test.cxx | text/plain | 7.3 KB |
test.data | application/octet-stream | 256 bytes |
varlena.c.diff | text/x-patch | 498 bytes |
fe-exec.c.diff | text/x-patch | 983 bytes |
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug in byteaout code in all PostgreSQL versions |
Date: | 2003-11-30 03:33:50 |
Message-ID: | 200311300333.hAU3XoF07349@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Sergey N. Yatskevich wrote:
> Hello!
>
> bytea-test.cxx -- contains detailed description of the bug and test
> plan and code.
>
> varlena.c.diff -- patch for PostgreSQL 7.5devel
> src/backend/utils/adt/varlena.c#byteaout
> fe-exec.c.diff -- patch (optional) for PostgreSQL 7.5devel
> src/interface/libpq/fe-exec.c#PQescapeBytea
>
> test.data -- contains test data :-))
>
> --
> Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
> GosNIIAS
[ Attachment, skipping... ]
[ Attachment, skipping... ]
[ Attachment, skipping... ]
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, mail(at)joeconway(dot)com |
Subject: | Re: [BUGS] Bug in byteaout code in all PostgreSQL versions |
Date: | 2003-11-30 16:04:25 |
Message-ID: | 200311301604.hAUG4PP29331@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-patches |
Joe Conway has an updated version of this he will be applying shortly.
Thanks.
Joe, please make sure you CC this person once your patch is applied.
---------------------------------------------------------------------------
Sergey N. Yatskevich wrote:
> Hello!
>
> bytea-test.cxx -- contains detailed description of the bug and test
> plan and code.
>
> varlena.c.diff -- patch for PostgreSQL 7.5devel
> src/backend/utils/adt/varlena.c#byteaout
> fe-exec.c.diff -- patch (optional) for PostgreSQL 7.5devel
> src/interface/libpq/fe-exec.c#PQescapeBytea
>
> test.data -- contains test data :-))
>
> --
> Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
> GosNIIAS
[ Attachment, skipping... ]
[ Attachment, skipping... ]
[ Attachment, skipping... ]
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [BUGS] Bug in byteaout code in all PostgreSQL versions |
Date: | 2003-11-30 20:57:32 |
Message-ID: | 3FCA59BC.9030409@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs pgsql-patches |
Bruce Momjian wrote:
> Joe Conway has an updated version of this he will be applying shortly.
> Thanks.
>
> Joe, please make sure you CC this person once your patch is applied.
I just applied the attached patch to cvs head, and equivalent ones on
the 7.3 and 7.4 stable branches. I also attached the output of Sergey's
test program with the patch applied. Thanks for the nice,
self-contained, test case!
Joe
Attachment | Content-Type | Size |
---|---|---|
bytea-escaping-bugfix.1.patch | text/plain | 6.2 KB |
bytea-test.output | text/plain | 2.2 KB |