Unix Technical Forum

Re: libpq API incompatibility between 7.4 and 8.0

This is a discussion on Re: libpq API incompatibility between 7.4 and 8.0 within the pgsql Hackers forums, part of the PostgreSQL category; --> Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > >> In short, fixing this the way Bruce wants to ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 03:36 AM
Bruce Momjian
 
Posts: n/a
Default Re: libpq API incompatibility between 7.4 and 8.0

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> In short, fixing this the way Bruce wants to will be a nontrivial amount
> >> of effort.

>
> > psql actually calls get_progname(). Do we know that it will try to link
> > in the other functions from path.c? I am unsure.

>
> I don't know of any commonly used linkers that link at granularity finer
> than one source file, and in any case for shared libraries the library
> is all-or-nothing.
>
> Grep shows that 7.4 psql does reference is_absolute_path, and 7.4
> pg_dumpall does reference last_path_separator, so at least three of the
> four are at issue.


Ewe, yep, that is a mess.

OK, so how will we handle this? We will bump the major for 8.0.X.

Do we also hack libpq/Makefile to remove the 8.0.0 libpq? If not, then
RPM folks will need to relink, but source installs will not, but they
will have to remove the 8.0.0 libpq if they also want to run 7.4.

As you can see it is the confusion that bothers me. I am not sure how I
would write a coherent paragraph explaining this.

--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 03:37 AM
Tom Lane
 
Posts: n/a
Default Re: libpq API incompatibility between 7.4 and 8.0

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> As you can see it is the confusion that bothers me. I am not sure how I
> would write a coherent paragraph explaining this.


The same thing you wrote the last time we had to do this (7.3.1).
I don't recall any huge volume of complaints last time, so I think
you're making a mountain out of a molehill.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 03:37 AM
Bruce Momjian
 
Posts: n/a
Default Re: libpq API incompatibility between 7.4 and 8.0

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > As you can see it is the confusion that bothers me. I am not sure how I
> > would write a coherent paragraph explaining this.

>
> The same thing you wrote the last time we had to do this (7.3.1).
> I don't recall any huge volume of complaints last time, so I think
> you're making a mountain out of a molehill.


OK, agreed.

--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com