Re: CTRL-Z in the SQL command editor.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: BeaG(at)sogi(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: CTRL-Z in the SQL command editor.
Date: 2010-04-07 18:37:35
Message-ID: i2s603c8f071004071137l6fb31852r7018665ebef81b5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Apr 7, 2010 at 8:49 AM, Gaetan beaulieu <BeaG(at)sogi(dot)com> wrote:
> Hi!
> I found a little problem with the CTRL-Z in the SQL command editor.
>
> I have two files, each containing several SQL queries. sql_01.sql and
> sql_02.sql.
>
> I get the first file sql_01.sql from the menu, I run and everything is fine.
>
> I get the second file from the menu in the same edit window and I bring some
> changes.
>
> I did CTRL-Z to remove the last change and I see the SQL statements of the
> first file appear.
>
> So if I save the file, i loose the SQL queries in the file sql_02.sql.
>
> This could represent several hours of work :-(
>
> Windows xp
> French
> Version 1.10.1 (Dec 3 2009, rev:8025:8026M)
>
> Tank you!

Uh, what program are you running? PostgreSQL itself doesn't have
menus, so you must be running some graphical client. PGadmin, maybe?

...Robert

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Vick Khera 2010-04-07 19:27:02 Re: Solid State Drives with PG
Previous Message Gaetan beaulieu 2010-04-07 12:49:27 CTRL-Z in the SQL command editor.