Re: [PATCH] Add pg_get_type_ddl() to retrieve the CREATE TYPE statement - Mailing list pgsql-hackers

From Philip Alger
Subject Re: [PATCH] Add pg_get_type_ddl() to retrieve the CREATE TYPE statement
Date
Msg-id CAPXBC8+uwizxR5EbqAYga88U2NoYUOee9xVSKdSA6phx_q=WDw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add pg_get_type_ddl() to retrieve the CREATE TYPE statement  (Quan Zongliang <quanzongliang@yeah.net>)
Responses Re: [PATCH] Add pg_get_type_ddl() to retrieve the CREATE TYPE statement
List pgsql-hackers
Hi Quan, 
 
Found a small bug. MULTIRANGE_TYPE_NAME does not output schema.

When outputting, the function "quote_qualified_identifier" should be
used instead of "quote_identifier".

Similarly, the function names in print_range_type_def and
print_base_type_def should also be processed in this way for their output.

I think I sorted it out. Attached is v2. Thanks for taking a look at it.
 
--
Best, 
Phil Alger
Attachment

pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta
Next
From: Jacob Champion
Date:
Subject: Re: libpq: Bump protocol version to version 3.2 at least until the first/second beta