Re: InitPostgres and flatfiles question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: InitPostgres and flatfiles question
Date
Msg-id 9335.1167968920@sss.pgh.pa.us
Whole thread Raw
In response to Re: InitPostgres and flatfiles question  (Bruce Momjian <bruce@momjian.us>)
Responses Re: InitPostgres and flatfiles question
Re: InitPostgres and flatfiles question
Re: InitPostgres and flatfiles question
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> What value is allowing multiple queies via PQexec()

The only argument I can think of is that it allows applications to be
sloppy about parsing a SQL script into individual commands before they
send it.  (I think initdb may be guilty of exactly that BTW...)  At the
same time you could argue that such sloppiness is inherently a Bad Idea.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: InitPostgres and flatfiles question
Next
From: Gavin Sherry
Date:
Subject: Re: ideas for auto-processing patches