Unix Technical Forum

Re: Trivial fix of printing pointer

This is a discussion on Re: Trivial fix of printing pointer within the Pgsql Patches forums, part of the PostgreSQL category; --> Qingqing Zhou <zhouqq@cs.toronto.edu> writes: > In spirit of incremental improvement, here is a trivial fix to use %p > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:39 AM
Tom Lane
 
Posts: n/a
Default Re: Trivial fix of printing pointer

Qingqing Zhou <zhouqq@cs.toronto.edu> writes:
> In spirit of incremental improvement, here is a trivial fix to use %p
> instead %d to print pointer. -- maybe we should use context name better.


Actually, I wonder whether we shouldn't just get rid of these things
(CTX_printf/CTX1_printf) entirely; they seem fairly useless, especially
since most node types don't have 'em. Certainly if anyone had actually
*used* them in the past several years, there would have been some effort
to convert them to elog's instead of raw printf operations.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

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 10:17 PM.


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