Re: Quick-and-Dirty Data Entry with LibreOffice3?

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Quick-and-Dirty Data Entry with LibreOffice3?
Date: 2011-09-28 13:07:20
Message-ID: alpine.LNX.2.00.1109280604560.5098@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 28 Sep 2011, Vincent Veyron wrote:

> I'm not sure what 'INSTALL INTO ... statements' are, but are you aware
> of the very convenient 'M-x sql-postgres' in emacs?

Vincent,

I have a SQL major mode for emacs. Don't know that it's specific to
postgres but it is automatically invoked when I open a buffer with a .sql
file name. I get syntax-related colors; perhaps it does more of which I am
unaware.

> I got it to work with this in my .emacs file
>
> (setq sql-user "yourusername")
> (setq sql-database "yourdbname")
> (setq sql-server "localhost")
> (setq sql-postgres-options '("-Uyourusername" "-P" "pager=off"))

I'll look for sql-postgres if it will allow me to add rows to an existing
table.

Many thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2011-09-28 13:16:50 Re: live metadata changes v8.3.4
Previous Message Alban Hertroys 2011-09-28 12:20:56 Re: tubles matching