dbTalk Databases Forums  

[BUGS] BUG #6428: pg_restore -l not consistent with function comments

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #6428: pg_restore -l not consistent with function comments in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
keith@omniti.com
 
Posts: n/a

Default [BUGS] BUG #6428: pg_restore -l not consistent with function comments - 02-01-2012 , 03:50 PM






The following bug has been logged on the website:

Bug reference: 6428
Logged by: Keith
Email address: keith (AT) omniti (DOT) com
PostgreSQL version: 9.1.2
Operating system: Any
Description:

Working on a tool that iterates through the pg_restore -l list for doing
more advanced dump filtering (pg_extractor), I came across an inconsistency
in the object list that is generated. If a function is declared with the
argument variable names defined in the argument list, and has an associated
comment, the line for the comment in the pg_restore -l list includes the
variable name in the argument list whereas the line for the function itself
just has the argument types. This has made it hard for me to match comments
with functions. It just seems very inconsistent as well since the function
signature does not require the argument variable names to uniquely identify
it. Not a hugely critical item, but it's made it hard for me to make my
filtering tool as useful as I'd like it to be.

Example:
14663; 1255 16507 FUNCTION keith do_something(integer, text) postgres
48818; 0 0 COMMENT keith FUNCTION do_something(data_source_id integer, query
text) postgres


--
Sent via pgsql-bugs mailing list (pgsql-bugs (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.