Re: Copy/Paste table(s) functions - git context patch

Поиск
Список
Период
Сортировка
От Vladimir Kokovic
Тема Re: Copy/Paste table(s) functions - git context patch
Дата
Msg-id CAHsHPqf3-K63Uyt-fOqqZWmSgiS0=f4NEc2QqogbqFRhgRmcWQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Copy/Paste table(s) functions - git context patch  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-hackers
Hi,

> > * If I paste a table to the same schema I copied it from, and if I click
> > Cancel on the dialog asking me for a suffix, it keeps asking me for a
> > Suffix (wether I click OK or cancel, the behavior)

'Cancel' now means the termination of the current paste operation.

---
> > * If I paste a table to another schema and the copied it from, and that
> > The same table name exists in that schema, it asks me for a suffix. If
> > I delete the suffix by default and click OK, it still tries to paste
> > The table (it should, it's obvious it would fail).

'Cancel' now means the termination of the current paste operation.

---
> > There are unexplained colors (green, blue, and red).
> > Checkboxes are not usable on servers and databases.
> > Unless you explain why, I think you should get rid of it, not fix it.
> Now, only schema and tables are colored.
>

It is no longer colored.

---
> > I also do not understand this code in pgColumn.cpp:
> > @ @ @ @ -327.7 +328.8 PgColumn wxString:: GetDefinition ()
>
> > if ((sql == wxT("integer") || sql == wxT("bigint") ||
> >             sql == wxT("pg_catalog.integer") || sql == wxT("pg_catalog.bigint"))
> >             && ((sequence9 && !GetSerialSequence().IsEmpty()) ||
> >             (!sequence9 && (GetDefault() == seqDefault1 || GetDefault() == seqDefault2))))
> >     {
> >         if (sql.Right(6) == wxT("bigint"))
> >             sql = wxT("bigserial");
> >         else
> >             sql = wxT("serial");
> >     }

Some of my tables have the following definition:

uniqueid integer DEFAULT nextval(('ps_nalog_uniqueid_seq'::text)::regclass),

For this case seqDefault1 and seqDefault2 not match !

---
> > I still have crashes from time to time while doing a copy.

Please send me a 'gdb backtrace'.


Best regards,
Vladimir Kokovic, DP senior, Belgrade, Serbia

Вложения

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

Предыдущее
От: philippe rimbault
Дата:
Сообщение: Re: Compilation on Debian SID
Следующее
От: Ken Haley
Дата:
Сообщение: Re: v1.14 SQL editor collapsing feature