Skip site navigation (1) Skip section navigation (2)

Where to execute the compiled psql

From: "John" <xiaoqianjiang(at)hotmail(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Where to execute the compiled psql
Date: 2006-02-03 04:04:00
Message-ID: BAY105-DAV2F3145A7665DCE51B4BC8AC0D0@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Greetings,

I am writing some plugin for pq. After running ./configure and make, shall I 
just go to /src/bin/psql to execute my executable psql -U (usrname) dbname? 
It seems that my updates in the file parse_expr.c is not reflect in this 
executable? For example, I changed one line from

   if (NULL == tup)
    ereport(ERROR, (errcode(ERRCODE_UNDEFINED_OBJECT),
    errmsg("key value not found")));

-->

   if (NULL == tup)
    ereport(ERROR, (errcode(ERRCODE_UNDEFINED_OBJECT),
    errmsg("key value not found while building relation")));

But the program still reports key value not found when it runs.

Best wishes,
John 

In response to

Responses

pgsql-hackers by date

Next:From: Greg StarkDate: 2006-02-03 04:33:38
Subject: Re: Passing arguments to views
Previous:From: Mark WoodwardDate: 2006-02-03 03:14:11
Subject: Re: Multiple logical databases

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-02-03 05:58:02
Subject: Re: [BUGS] BUG #2171: Differences compiling plpgsql in ecpg and psql
Previous:From: Bruce MomjianDate: 2006-02-03 03:55:23
Subject: Re: [BUGS] BUG #2171: Differences compiling plpgsql in ecpg

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group