Re: Proof of concept: standalone backend with full FE/BE protocol

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hlinnaka(at)iki(dot)fi
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proof of concept: standalone backend with full FE/BE protocol
Date: 2012-09-07 19:38:13
Message-ID: 21081.1347046693@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <hlinnaka(at)iki(dot)fi> writes:
> It's worth noting that now that libpq constructs the command line to
> execute "postgres --child= -D <datadir>", we'll be stuck with that set
> of arguments forever, because libpq needs to be able to talk to
> different versions. Or at least we'd need to teach libpq to check the
> version of binary and act accordingly, if we change that syntax. That's
> probably OK, I don't feel any pressure to change those command line
> arguments anyway.

Yeah. The -D syntax seems safe enough from here. One thing that's on
my to-do list for this patch is to add a -v switch to set the protocol
version, so that we don't need to assume that libpq and backend have the
same default protocol version.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-09-07 20:10:15 Re: Proof of concept: standalone backend with full FE/BE protocol
Previous Message Heikki Linnakangas 2012-09-07 19:31:03 Re: Proof of concept: standalone backend with full FE/BE protocol