Re: pgAdmin 1.14 bug

Поиск
Список
Период
Сортировка
От Vjacheslav A.
Тема Re: pgAdmin 1.14 bug
Дата
Msg-id CA+BZD7MtyuH0fLQnZ9AT6JoLyNuWaLhz54AJki+M99giY2L4gQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin 1.14 bug  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-support
<div class="gmail_quote">On Fri, Dec 9, 2011 at 1:50 AM, Guillaume Lelarge <span dir="ltr"><<a
href="mailto:guillaume@lelarge.info">guillaume@lelarge.info</a>></span>wrote:<br /><blockquote class="gmail_quote"
style="margin:0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div
class="HOEnZb"><divclass="h5">On Thu, 2011-12-08 at 13:09 +0200, Julius Tuskenis wrote:<br /> > On 2011.12.08 12:37,
DavePage wrote:<br /> > > Hi<br /> > ><br /> > > On Thu, Dec 8, 2011 at 3:37 PM, Vjacheslav
Vjacheslav<br/> > > <<a href="mailto:eferalgan@gmail.com">eferalgan@gmail.com</a>>  wrote:<br /> >
>>Hello,<br /> > >><br /> > >> pgAdmin version: Version 1.14.0 (Sep 12 2011, rev:
REL-1_14_0)<br/> > >> OS: Windows XP Pro RUS SP3<br /> > >> PostgreSQL: 9.1.1. (compiled without any
options)<br/> > >><br /> > >> bug description:<br /> > >>    create a table (creation SQL
below),then right click on it, and select<br /> > >> 'Properties', then write some comment and click Ok, and
youreceive an error<br /> > >> (see in attachment). Bug is beacasue of long contraint 'ck_pos_documents_1'.<br
/>> >><br /> > >> Table creation SQL:<br /> > > It works fine for me. Can anyone else reproduce
theissue?<br /> > ><br /> > I can confirm the problem.<br /> ><br /> > WinXP SP3, pgAdmin 1.14.0,
PostgreSQL8.3.4 on i686-pc-linux-gnu,<br /> > compiled by GCC gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2<br />
><br/> > What I noticed is the check constraint is beeing updated even if nothing<br /> > was done to it. I
onlyadded a comment ant thats the SQL that was generated:<br /> ><br /> > ALTER TABLE pos_documents DROP
CONSTRAINTck_pos_documents_1;<br /> > ALTER TABLE pos_documents ADD CONSTRAINT ck_pos_documents_1 CHECK<br /> >
entry_type::text= 'Z-report open'::text OR entry_type::text =<br /> > 'Return'::text OR entry_type::text =
'Inkasso'::textOR entry_type::text<br /> > = 'Sale'::text OR entry_type::text = 'X-report'::text OR<br /> >
entry_type::text= 'Cash Withdrawal'::text OR entry_type::text =<br /> > 'Z-report closed'::text OR entry_type::text
='Open drawer'::text OR<br /> > entry_type::text = 'Service'::text OR entry_type::text = 'Z-report<br /> >
Z1'::textOR entry_type::text = 'Z-report Z2'::text OR entry_type::text<br /> > = 'Z-report Z3'::text OR
entry_type::text= ';<br /> > COMMENT ON TABLE pos_documents<br /> >    IS 'test';<br /> ><br /> > You can
seethat the constraint text got truncated and left quotes open.<br /> ><br /><br /></div></div>Works fine for me.
Davealso. I guess we both use 1.14.1, and you both<br /> use 1.14.0. Update to 1.14.1 might fix your issue.<br /><br />
Actually,that reminds me that we, once again, forgot to spread the<br /> news... will do.<br /><span
class="HOEnZb"><fontcolor="#888888"></font></span></blockquote><font color="#888888"><br /></font>I've updated pgadmin
toversion 1.4.1 (using upgrade.bat), but the problem the same.<br /></div> 

В списке pgadmin-support по дате отправления:

Предыдущее
От: Julius Tuskenis
Дата:
Сообщение: Re: pgAdmin 1.14 bug
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: pgAdmin 1.14 bug