Re: Tsearch2 update for Win32.

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Tsearch2 update for Win32.
Date: 2004-09-08 15:14:39
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7A8E@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: 08 September 2004 15:49
> To: Magnus Hagander
> Cc: Dave Page; PostgreSQL-patches
> Subject: Re: [PATCHES] Tsearch2 update for Win32.
>
> I was about to mention trapping errors as being a likely weak
> spot of custom-script-execution code. And have you
> duplicated psql's rather extensive logic for determining
> where SQL commands end?

No. Currently it just feeds the scripts into PQexec in one go with no
parsing. There's a fair bit of work to do as well as this so we're
crossing bridges as we get to them, And as there aren't any contribs
with $ quoting yet (that I've found so far anyway)...

Anyway, no need to get annoyed - if it were more than a few inserts in
one file, I would be looking to enhance our code; I've no wish to make
the core distro any less maintainable.readable/whatever.

Regards, Dave.

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-09-08 16:17:24 Re: Tsearch2 update for Win32.
Previous Message Fabien COELHO 2004-09-08 14:50:31 Re: Tsearch2 update for Win32.