Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 81CC8176E185 for ; Sat, 17 Mar 2012 11:51:29 -0300 (ADT) Received: from mail-ey0-f174.google.com ([209.85.215.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S8uye-0005Hy-3U for pgsql-hackers@postgresql.org; Sat, 17 Mar 2012 14:51:28 +0000 Received: by eaaq12 with SMTP id q12so2377486eaa.19 for ; Sat, 17 Mar 2012 07:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=5ATf8Tf0HyTyGETmvEGBXOwNLweHYNNZcuFLe93QBBQ=; b=ya8cN7cGJaEKxq6oyaNC2x5y3NynkHz78cVpmcNeKqHnQMt0DiD4bbjl5CtlOpDHrA C9CscMjkdcJU6Mcjf1803twygk4sBttTnJwE7Ls7D4v0pmhn7IE74U0tdfaZKNGYSXY7 TK04J1Nc4JXMPHCtQlCZct4zvALZxKeIjaGHVMvzOKt9XqpK1XLa8GxPFRYlLYzf7h7I EuD0XqnpWHZVERWUfDCClLTovctogWi2nlti+gUZOuiU7E/CuVJzqz3wfdg40832KR4n E8yqodf7JoGDRigiGGtIQOy/AXITbIPwyn+pQ13sR0QIED39Xw5a41J/QeKGhT00yRPF 8tHA== Received: by 10.213.27.22 with SMTP id g22mr390256ebc.83.1331995874796; Sat, 17 Mar 2012 07:51:14 -0700 (PDT) Received: from gmail.com (turu7.ee. [217.159.207.194]) by mx.google.com with ESMTPS id x8sm29364552eea.10.2012.03.17.07.51.12 (version=SSLv3 cipher=OTHER); Sat, 17 Mar 2012 07:51:13 -0700 (PDT) Date: Sat, 17 Mar 2012 16:51:10 +0200 From: Marko Kreen To: Alex Cc: Daniel Farina , pgsql-hackers Subject: Re: Another review of URI for libpq, v7 submission Message-ID: <20120317145110.GA25172@gmail.com> References: <87d38eaq3f.fsf@commandprompt.com> <87k42lsgck.fsf@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k42lsgck.fsf@commandprompt.com> X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201203/1138 X-Sequence-Number: 205020 On Thu, Mar 15, 2012 at 11:29:31PM +0200, Alex wrote: > https://github.com/a1exsh/postgres/commits/uri The point of the patch is to have one string with all connection options, in standard format, yes? So why does not this work: db = PQconnectdb("postgres://localhost"); ? -- marko