Re: [HACKERS] Re: psql and comments

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Postgres Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: psql and comments
Date: 1999-10-06 22:22:35
Message-ID: 199910062222.SAA23693@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Anyway, I'm going to end up rewriting that parser anyway, so that will be
> taken care of. I was almost about to use flex but the Windows crowd
> probably wouldn't find that too funny. (The Windows crowd won't find this
> thing funny anyway, since I have no clue what #ifdef's I need for that.
> Someone else will have to do a looong compile&fix session.)
>
> The question I have though is, is there a reason, besides efficiency, that
> psql doesn't just send the comment to the backend with the query? The
> backend does accept comments last time I checked. Perhaps someone will one
> day write something that makes some use of those comments on the backend
> (thus conflicting with the very definition of "comment", but maybe a
> logger) and it would remove some load out of psql.

Remove it. Send it to the backend.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-10-06 22:28:32 WAL Bootstrap/Startup/Shutdown committed...
Previous Message sszabo 1999-10-06 20:19:43 Re: [HACKERS] Database names with space (II)