there is no an example in reloptions.c for string?

From: "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: there is no an example in reloptions.c for string?
Date: 2022-10-31 03:24:37
Message-ID: 2022103111233195388115@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

jacktby(at)gmail(dot)com

--------------

here is the codes for pg16.

static relopt_string stringRelOpts[] =

{

/* list terminator */

{{NULL}}

};

And I add my string type arguments here, it can't work well.

When I debug, it comes to func allocateReloptStruct, at the

code line "size += optstr->fill_cb(val, NULL);", it gives me segment

fault. what else do I need to add? can you give me an example?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2022-10-31 03:48:24 Re: there is no an example in reloptions.c for string?
Previous Message Bryn Llewellyn 2022-10-30 22:05:09 Re: Unix users and groups... Was: "peer" authentication...