Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rolf Grossmann <grossman(at)securitas(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Date: 2000-02-24 23:39:15
Message-ID: Pine.LNX.4.21.0002250013250.4316-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 2000-02-24, Rolf Grossmann mentioned:

> use psql as a shell and I think it would be really cool if you could just
> write #!/path/to/psql -f to write sql scripts.

I considered that briefly, but dismissed it equally fast. psql is a shell
to the PostgreSQL backend, if you will, not to the system. It's optimized
as a batch processor and for being called from shell scripts, not for
being a programming language of it's own. (In the future it would be nice
to have a PL/Pgsql based front-end available for that sort of stuff.)

> Uhm ... my tcsh manual describes those options differently:
>
> -f The shell ignores ~/.tcshrc, and thus starts faster.
> -X Is to -x as -V is to -v.

I wasn't actually implying to have picked -X in accordance with tcsh, I
was just confused about how Tom talked about -f.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-02-25 00:35:00 Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Previous Message Peter Eisentraut 2000-02-24 23:39:03 Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-24 23:50:24 Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages
Previous Message Peter Eisentraut 2000-02-24 23:39:03 Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0